:root {
    --yellow: #eaf3ff;
    --text: #0f172a;
    --muted: #475569;
    --line: #e5e7eb;
    --card: #f3f4f6;
    --surface: #ffffff;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--surface);
}

.container {
    width: min(1120px, 100% - 32px);
    margin: 0 auto;
}

.topbar-wrap {
    background: var(--yellow);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.topbar {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand span {
    font-weight: 700;
}

.menu {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
    font-weight: 600;
}

.menu a {
    color: #111827;
    text-decoration: none;
}

.menu .cta {
    background: #fff;
    border: 2px solid #1f2937;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
}

.hero-wrap {
    background: var(--yellow);
    padding: 24px 0 42px;
}

.hero {
    text-align: center;
}

.hero h1 {
    margin: 20px auto 14px;
    max-width: 760px;
    font-size: clamp(2rem, 5.6vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1rem, 2.2vw, 1.9rem);
    line-height: 1.35;
    color: #1f2937;
}

.hero .hero-cta {
    margin-top: 24px;
    display: inline-block;
    background: #fff;
    color: #111827;
    border: 2px solid #1f2937;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.module-chips {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.chip {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    padding: 16px 10px;
    font-size: 0.92rem;
    font-weight: 700;
}

.section {
    padding: 34px 0;
}

.panel {
    background: var(--card);
    border: 1px solid #eceff3;
    border-radius: var(--radius);
    padding: 24px;
}

.showcase,
.audience {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    align-items: center;
}

.showcase h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 2.6vw, 2.7rem);
    letter-spacing: -0.02em;
}

.showcase p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 1.05rem;
}

.feature-stack {
    display: grid;
    gap: 14px;
}

.spotlight-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 14px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

/* Image-left layout: put .spotlight-copy first, then .spotlight-visual in HTML; "reverse" swaps columns. */
.spotlight-card.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.spotlight-card.reverse .spotlight-copy {
    order: 2;
}

.spotlight-card.reverse .spotlight-visual {
    order: 1;
}

.spotlight-copy h3 {
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: -0.02em;
}

.spotlight-copy p {
    margin: 0 0 10px;
    color: #334155;
    font-size: 1rem;
    line-height: 1.45;
}

.spotlight-cta {
    display: inline-block;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 16px;
    margin-bottom: 16px;
}

.spotlight-icons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.spotlight-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 0.94rem;
}

.spotlight-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #d3dbe6;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #111827;
    flex: 0 0 auto;
}

.spotlight-copy ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.45;
}

.spotlight-copy li {
    margin-bottom: 6px;
}

.spotlight-visual {
    min-height: 300px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dbe3ee;
    background: #fff;
}

.spotlight-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pill-btn {
    display: inline-block;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 20px;
    margin-bottom: 18px;
}

.mini-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    color: #374151;
    font-size: 1rem;
}

/* Fixed height so laptop vs phone scale is predictable (phone always shorter than laptop area). */
.mockup-stage {
    position: relative;
    height: 420px;
    min-height: 420px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.mockup-stage .desktop {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    border-radius: 0;
    border: none;
    overflow: hidden;
    background: transparent;
}

.mockup-stage .desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #64748b;
    font-size: 0.9rem;
    background: linear-gradient(145deg, #eef2f7, #e2e8f0);
}

.hidden {
    display: none;
}

.title {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    letter-spacing: -0.02em;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.tile {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 16px;
    font-size: 1.05rem;
    font-weight: 700;
}

.tile.wide {
    grid-column: span 2;
}

.audience > div:first-child > p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.45;
}

.fit-matrix {
    display: grid;
    gap: 14px;
}

.matrix-intro {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.matrix-cell {
    padding: 12px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.4;
}

.matrix-grid .matrix-cell:nth-child(4n) {
    border-right: none;
}

.matrix-header {
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
}

.matrix-label {
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
}

.cta-band {
    background: var(--yellow);
    border-radius: 18px;
    padding: 26px 20px;
    text-align: center;
}

.cta-band h3 {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 3.2vw, 2.3rem);
    letter-spacing: -0.02em;
}

.pricing-bundles {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 26px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-title {
    margin-bottom: 8px;
}

.pricing-subtitle {
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
}

.pricing-link {
    display: inline-block;
    margin-top: 12px;
    margin-bottom: 22px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 700;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.bundle-card {
    position: relative;
    background: #fff;
    border: 1.5px solid #d9dde5;
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
}

.bundle-card.featured {
    border: 3px solid #111827;
}

.bundle-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 6px 12px;
}

.bundle-card h3 {
    margin: 12px 0 6px;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.bundle-tagline {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 1rem;
}

.bundle-cta {
    display: inline-block;
    min-width: 190px;
    border: 2px solid #111827;
    border-radius: 999px;
    text-decoration: none;
    color: #111827;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 10px 16px;
}

.bundle-cta.featured {
    background: #fbbf24;
}

.bundle-features {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    text-align: left;
    color: #374151;
    font-weight: 600;
}

.bundle-features li {
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
}

.bundle-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
}

.footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.1fr repeat(3, 1fr);
    gap: 14px;
    font-size: 0.95rem;
}

.footer h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.footer a {
    display: block;
    color: #334155;
    text-decoration: none;
    margin-bottom: 6px;
}

@media (max-width: 980px) {
    .menu {
        display: none;
    }

    .module-chips,
    .tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .showcase,
    .spotlight-card,
    .audience,
    .footer {
        grid-template-columns: 1fr;
    }

    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .matrix-grid .matrix-cell {
        border-right: none;
    }

    .spotlight-card.reverse .spotlight-copy,
    .spotlight-card.reverse .spotlight-visual {
        order: unset;
    }

    .bundle-grid {
        grid-template-columns: 1fr;
    }

    .bundle-card h3 {
        font-size: 1.7rem;
    }

    .mockup-stage .desktop {
        left: 12px;
    }
}

@media (max-width: 640px) {
    .module-chips,
    .tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tile.wide {
        grid-column: auto;
    }

    .mockup-stage {
        height: 320px;
        min-height: 320px;
    }
}

.contact-form {
    margin-top: 16px;
    display: grid;
    gap: 14px;
    max-width: 720px;
}

.contact-field {
    display: grid;
    gap: 6px;
}

.contact-field label {
    font-weight: 700;
    color: #0f172a;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    color: #0f172a;
    background: #fff;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-submit {
    border: 0;
    cursor: pointer;
}

.contact-validation {
    color: #dc2626;
    font-size: 0.9rem;
}

.contact-alert {
    margin-top: 10px;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
}

.contact-alert.success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.contact-alert.error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.contact-divider {
    margin: 20px 0;
    border-top: 1px solid #e5e7eb;
}
