:root {
    --bg: #070b18;
    --panel: #11182a;
    --panel-2: #172039;
    --text: #f5f7fb;
    --muted: #b8c1d9;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #7c5cff;
    --accent-2: #00d4ff;
    --aws: #ff9900;
    --success: #30d158;
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background:
        radial-gradient(
            circle at top left,
            rgba(124, 92, 255, 0.22),
            transparent 32%
        ),
        radial-gradient(
            circle at top right,
            rgba(0, 212, 255, 0.14),
            transparent 28%
        ),
        var(--bg);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}
.container {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(7, 11, 24, 0.78);
    border-bottom: 1px solid var(--line);
}
header .btn-primary {
    box-shadow: 0 8px 30px rgba(124, 92, 255, 0.4);
}

nav {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    font-weight: 900;
    box-shadow: 0 16px 40px rgba(124, 92, 255, 0.35);
}

.nav-links {
    display: flex;
    gap: 26px;
    color: var(--muted);
    font-size: 14px;
}
.nav-links a:hover {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 14px;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border 0.2s ease;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #4f8cff);
    border-color: transparent;
    color: white;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}
.btn-aws {
    background: rgba(255, 153, 0, 0.12);
    border-color: rgba(255, 153, 0, 0.35);
    color: #ffd18a;
}

.hero {
    padding: 82px 0 60px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d7ddff;
    background: rgba(124, 92, 255, 0.14);
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 22px;
}

h1 {
    font-size: clamp(42px, 6vw, 74px);
    line-height: 0.95;
    letter-spacing: -0.065em;
    margin: 0 0 24px;
}
.hero p {
    color: var(--muted);
    font-size: 19px;
    max-width: 650px;
    margin: 0 0 30px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.trust-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}
.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
}

.product-card {
    border: 1px solid var(--line);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03)
    );
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}
.mock-browser {
    border-radius: 22px;
    overflow: hidden;
    background: #0c1222;
    border: 1px solid var(--line);
}
.mock-top {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
}
.circle {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}
.mock-content {
    padding: 22px;
}
.mock-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}
.mock-title h3 {
    margin: 0;
    font-size: 18px;
}
.status {
    color: #9df2b1;
    background: rgba(48, 209, 88, 0.12);
    border: 1px solid rgba(48, 209, 88, 0.25);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.prompt-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 16px;
}
.flow {
    display: grid;
    gap: 10px;
}
.flow-item {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(124, 92, 255, 0.18);
    color: #d8d0ff;
    font-weight: 900;
}
.small {
    color: var(--muted);
    font-size: 12px;
}

section {
    padding: clamp(40px, 5vw, 60px) 0;
}
.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}
.section-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 0 0 14px;
}
.section-head p {
    color: var(--muted);
    font-size: 17px;
    margin: 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    align-items: center; /* 🔥 This is the key */
}
.card {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
}
.card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: -0.02em;
}
.card p,
.card li {
    color: var(--muted);
}
.card p {
    margin: 0;
}

.problem-list {
    display: grid;
    gap: 12px;
}
.problem-item {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--muted);
}
.problem-item strong {
    color: var(--text);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: step;
}
.step {
    position: relative;
    padding-top: 56px;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 22px;
    left: 22px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.aws-panel {
    background: linear-gradient(
        135deg,
        rgba(255, 153, 0, 0.12),
        rgba(124, 92, 255, 0.1)
    );
    border: 1px solid rgba(255, 153, 0, 0.25);
    border-radius: 28px;
    padding: 30px;
}
.aws-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}
.aws-service {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}
.aws-service strong {
    color: #ffd18a;
    display: block;
    margin-bottom: 4px;
}
.aws-service span {
    color: var(--muted);
    font-size: 13px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.metric {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
}
.metric strong {
    display: block;
    font-size: 34px;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}
.metric span {
    color: var(--muted);
    font-size: 14px;
}

.industries {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.pill {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    border-radius: 999px;
    padding: 12px 16px;
    color: var(--muted);
    font-weight: 650;
}

.cta {
    padding: 88px 0;
}
.cta-box {
    text-align: center;
    padding: 52px 28px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: linear-gradient(
        135deg,
        rgba(124, 92, 255, 0.2),
        rgba(0, 212, 255, 0.1)
    );
}
.cta-box h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 54px);
    letter-spacing: -0.05em;
    line-height: 1;
}
.cta-box p {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 24px;
    font-size: 18px;
}

footer {
    border-top: 1px solid var(--line);
    padding: 32px 0;
    color: var(--muted);
    font-size: 14px;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 920px) {
    .hero-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-3,
    .steps,
    .metrics,
    .aws-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links {
        display: none;
    }
}
@media (max-width: 560px) {
    .grid-3,
    .steps,
    .metrics,
    .aws-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
}
/* BACKDROP */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.75);
    backdrop-filter: blur(14px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.25s ease;
}

/* MODAL BOX */
.modal-content {
    width: min(560px, 92%);
    padding: 32px;
    border-radius: 24px;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.02)
    );

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    animation: slideUp 0.3s ease;
}

/* HEADER */
.modal-content h2 {
    margin: 0 0 18px;
    font-size: 26px;
    letter-spacing: -0.02em;
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    top: 14px;
    right: 16px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);

    color: var(--muted);
    font-size: 18px;
    cursor: pointer;

    transition: all 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* FORM GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

/* INPUTS */
input,
textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(255, 255, 255, 0.04);
    color: white;

    transition: all 0.2s ease;
}

/* FOCUS STATE */
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(124, 92, 255, 0.08);
}

/* TEXTAREA */
textarea {
    width: 100%;
    margin-top: 10px;
    resize: none;
}

/* BUTTON */
.modal-content .btn-primary {
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    font-size: 15px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 920px) {
    .hero {
        padding-top: 40px;
    }

    h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 16px;
    }
}
.success-box {
    text-align: center;
}

.success-box h2 {
    margin-bottom: 10px;
}

.success-box p {
    color: var(--muted);
    margin-bottom: 20px;
}

.field {
    display: flex;
    flex-direction: column;
}

.error {
    font-size: 12px;
    color: #ff6b6b;
    margin-top: 4px;
    min-height: 14px;
}

input.error-border,
textarea.error-border,
select.error-border {
    border-color: #ff6b6b !important;
}

/* PHONE FIELD */
.phone-field {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 8px;
}

.phone-field select {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--line);
}
.phone-field input:first-child {
    text-align: center;
}

/* VIDEO MODAL */
.video-modal {
    padding: 20px;
    position: relative;
    width: min(900px, 95%);
}

/* VIDEO WRAPPER (16:9) */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    z-index: 1;
}

.video-modal .close-btn {
    position: absolute;
    top: -12px;
    right: -12px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #11182a;
    border: 1px solid rgba(255, 255, 255, 0.2);

    color: white;
    font-size: 18px;
    cursor: pointer;

    z-index: 10; /* 🔥 IMPORTANT */
}
