/* ===========================================================
   Nola Official Site — Apple-inspired, minimal and elegant
   =========================================================== */

:root {
    --bg: #f5f5f7;
    --bg-alt: #fbfbfd;
    --surface: #ffffff;
    --text: #1d1d1f;
    --text-sub: #515154;
    --muted: #86868b;
    --line: rgba(0, 0, 0, 0.1);
    --line-soft: rgba(0, 0, 0, 0.06);
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --grad-a: #0071e3;
    --grad-b: #6a5cff;
    --grad-c: #ff4d94;
    --radius: 22px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.12);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000;
        --bg-alt: #0a0a0b;
        --surface: #161618;
        --text: #f5f5f7;
        --text-sub: #c7c7cc;
        --muted: #86868b;
        --line: rgba(255, 255, 255, 0.1);
        --line-soft: rgba(255, 255, 255, 0.06);
        --accent: #2997ff;
        --accent-hover: #0a84ff;
        --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
        --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.55);
        --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.65);
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
        "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1120px, 92%); margin: 0 auto; }

.muted { color: var(--muted); font-weight: 500; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    border-bottom-color: var(--line-soft);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.brand-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
    box-shadow: 0 0 12px rgba(106, 92, 255, 0.55);
}

.nav {
    display: flex;
    gap: 28px;
    font-size: 0.92rem;
}
.nav a {
    color: var(--text-sub);
    transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 10px;
    height: 32px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
}
.lang-switch select {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-sub);
    font-size: 0.82rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 12px;
    cursor: pointer;
}
.lang-switch:hover {
    border-color: var(--muted);
}
.chip {
    display: inline-flex; align-items: center;
    height: 32px; padding: 0 14px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    font-size: 0.85rem; font-weight: 500;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.chip:hover { transform: translateY(-1px); opacity: 0.92; }

.menu-btn {
    display: none;
    width: 36px; height: 36px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.menu-btn span {
    width: 16px; height: 1.5px;
    background: var(--text);
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 8px 24px 16px;
    gap: 4px;
    border-top: 1px solid var(--line-soft);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
}
.mobile-menu a {
    padding: 12px 4px;
    color: var(--text-sub);
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
}
.mobile-menu a:last-child { border-bottom: 0; color: var(--accent); }
.mobile-menu.open { display: flex; }

[dir="rtl"] .nav,
[dir="rtl"] .footer-links {
    direction: rtl;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; padding: 0 26px;
    border-radius: 999px; border: 1px solid transparent;
    font-size: 0.98rem; font-weight: 500;
    cursor: pointer;
    transition: all 0.22s var(--ease);
}
.btn-solid {
    background: var(--accent);
    color: #fff;
}
.btn-solid:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-link {
    background: transparent;
    color: var(--accent);
    padding: 0 10px;
}
.btn-link:hover { gap: 10px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 0;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}
.blob-1 { width: 520px; height: 520px; top: -120px; left: -120px;
    background: radial-gradient(circle, var(--grad-a), transparent 70%); }
.blob-2 { width: 460px; height: 460px; top: 40px; right: -160px;
    background: radial-gradient(circle, var(--grad-b), transparent 70%); opacity: 0.45; }
.blob-3 { width: 380px; height: 380px; bottom: -140px; left: 30%;
    background: radial-gradient(circle, var(--grad-c), transparent 70%); opacity: 0.28; }

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
    margin: 0 0 16px;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-title {
    margin: 0 auto 20px;
    max-width: 900px;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 650;
}
.grad-text {
    background: linear-gradient(120deg, var(--grad-a), var(--grad-b) 55%, var(--grad-c));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    margin: 0 auto 34px;
    max-width: 640px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--text-sub);
}

.hero-actions {
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 14px;
    margin-bottom: 80px;
}

/* Phone mockup */
.hero-device {
    position: relative;
    margin: 0 auto;
    width: 300px;
    max-width: 88vw;
}
.phone-glow {
    position: absolute; inset: -40px;
    background: radial-gradient(ellipse at center, rgba(106, 92, 255, 0.25), transparent 65%);
    filter: blur(40px);
    z-index: -1;
}
.phone {
    position: relative;
    aspect-ratio: 300 / 620;
    background: linear-gradient(150deg, #1c1c1e, #3a3a3c);
    border-radius: 46px;
    padding: 10px;
    box-shadow:
        0 0 0 1.5px rgba(255,255,255,0.12),
        var(--shadow-lg);
}
.phone-notch {
    position: absolute;
    top: 18px; left: 50%;
    transform: translateX(-50%);
    width: 96px; height: 26px;
    background: #000;
    border-radius: 16px;
    z-index: 2;
}
.phone-screen {
    position: relative;
    height: 100%;
    background: linear-gradient(180deg, #fbfbfd 0%, #eef1f6 100%);
    border-radius: 36px;
    padding: 54px 16px 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (prefers-color-scheme: dark) {
    .phone-screen { background: linear-gradient(180deg, #1c1c1e 0%, #0a0a0b 100%); }
}
.bar-top {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.78rem; color: var(--muted);
    padding: 0 4px 4px;
}
.dot-online { width: 8px; height: 8px; border-radius: 50%; background: #30d158; }

.msg {
    max-width: 78%;
    padding: 9px 13px;
    font-size: 0.82rem;
    line-height: 1.4;
    border-radius: 16px;
    animation: msgIn 0.6s var(--ease) both;
}
.msg-in {
    align-self: flex-start;
    background: rgba(120, 120, 128, 0.16);
    color: var(--text);
    border-bottom-left-radius: 6px;
}
.msg-out {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 6px;
    animation-delay: 0.15s;
}
.msg.typing {
    display: inline-flex; gap: 4px;
    padding: 12px 14px;
    animation-delay: 0.3s;
}
.msg.typing span {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--muted);
    animation: blink 1.2s infinite;
}
.msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.msg.typing span:nth-child(3) { animation-delay: 0.3s; }

.card-msg {
    animation-delay: 0.6s;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line-soft);
}
.card-msg-title { margin: 0 0 3px; font-weight: 600; font-size: 0.83rem; }
.card-msg-meta { margin: 0; font-size: 0.72rem; color: var(--muted); }
.card-msg-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 8px;
    font-size: 0.7rem;
    background: rgba(48, 209, 88, 0.15);
    color: #30d158;
    border-radius: 6px;
    font-weight: 600;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
    0%, 80%, 100% { opacity: 0.3; }
    40% { opacity: 1; }
}

/* ---------- Stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0 80px;
    border-bottom: 1px solid var(--line-soft);
}
.stat-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-num em { font-style: normal; font-size: 0.5em; color: var(--muted); -webkit-text-fill-color: var(--muted); margin-left: 2px; }
.stat-label {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--text-sub);
    line-height: 1.45;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.kicker {
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
}
.section-title {
    margin: 0 0 56px;
    text-align: center;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 650;
}

/* ---------- Features grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.feature {
    grid-column: span 2;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature.big { grid-column: span 3; }
.feature + .feature.big { /* adjust if needed */ }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.feature-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(106, 92, 255, 0.12));
    color: var(--accent);
    margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -0.015em; font-weight: 600; }
.feature p { margin: 0; color: var(--text-sub); font-size: 0.98rem; }

.feature-bullets {
    margin: 20px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--line-soft);
    list-style: none;
    display: flex; flex-wrap: wrap;
    gap: 10px;
}
.feature-bullets li {
    padding: 4px 12px;
    font-size: 0.82rem;
    background: var(--bg);
    border-radius: 999px;
    color: var(--text-sub);
}

/* ---------- Showcase (alternating rows) ---------- */
.showcase { padding: 40px 0 80px; }
.showcase .kicker, .showcase .section-title { /* already styled */ }

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    padding: 60px 0;
}
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-visual { order: 1; }

.step-num {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin: 0 0 10px;
}
.showcase-text h3 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    letter-spacing: -0.025em;
    font-weight: 650;
    line-height: 1.15;
}
.showcase-text p {
    margin: 0;
    color: var(--text-sub);
    font-size: 1.08rem;
    max-width: 480px;
}

.showcase-visual {
    display: flex; justify-content: center;
}

/* Mock: config card */
.mock-card {
    width: 100%; max-width: 400px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
}
.mock-row {
    display: flex; justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
}
.mock-row:last-of-type { border-bottom: 0; }
.mock-row span { color: var(--muted); }
.mock-row b { font-weight: 500; }
.mock-btn {
    margin-top: 16px;
    padding: 12px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Mock: pipeline */
.mock-pipeline {
    display: flex; align-items: center;
    gap: 8px;
    padding: 40px 30px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.node {
    flex: 1;
    padding: 18px 10px;
    background: var(--bg);
    border-radius: 14px;
    text-align: center;
    font-weight: 500;
    font-size: 0.92rem;
}
.node.highlight {
    background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3);
}
.line {
    flex: 0 0 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--line), var(--muted), var(--line));
}

/* Mock: notification */
.mock-notify {
    width: 100%; max-width: 380px;
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    padding: 14px 16px;
    box-shadow: var(--shadow-lg);
}
.notify-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 6px;
}
.notify-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
    color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.notify-title { margin: 0; font-weight: 600; font-size: 0.88rem; }
.notify-sub { margin: 0; color: var(--muted); font-size: 0.78rem; }
.notify-time { margin-left: auto; color: var(--muted); font-size: 0.78rem; }
.notify-body { margin: 0; font-size: 0.88rem; color: var(--text-sub); line-height: 1.45; }

/* ---------- Architecture ---------- */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.arch-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease);
}
.arch-card:hover { transform: translateY(-3px); }
.arch-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 113, 227, 0.1);
    border-radius: 6px;
    margin-bottom: 16px;
}
.arch-card h3 { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -0.015em; }
.arch-card p { margin: 0; color: var(--text-sub); font-size: 0.98rem; }

.tech-pills {
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 10px;
    padding-top: 30px;
    border-top: 1px solid var(--line-soft);
}
.tech-pills span {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    font-size: 0.88rem;
    color: var(--text-sub);
    font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
    border-bottom: 1px solid var(--line-soft);
    padding: 4px 0;
}
.faq-list details[open] { padding-bottom: 18px; }
.faq-list summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 40px 22px 4px;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    color: var(--text);
    transition: color 0.2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--muted);
    transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p {
    margin: 0 40px 0 4px;
    color: var(--text-sub);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ---------- CTA ---------- */
.cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(0, 113, 227, 0.15), transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(106, 92, 255, 0.18), transparent 55%);
    z-index: 0;
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
    font-weight: 650;
}
.cta p {
    margin: 0 auto 32px;
    max-width: 480px;
    color: var(--text-sub);
    font-size: 1.1rem;
}
.cta .hero-actions { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--line-soft);
    background: var(--bg-alt);
}
.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600;
}
.footer-meta { margin: 0; color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; gap: 22px; font-size: 0.88rem; }
.footer-links a { color: var(--text-sub); }
.footer-links a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .msg, .phone, html { scroll-behavior: auto; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature, .feature.big { grid-column: span 1; }
    .arch-grid { grid-template-columns: 1fr; }
    .showcase-row { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
    .showcase-row.reverse .showcase-text,
    .showcase-row.reverse .showcase-visual { order: unset; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; padding-bottom: 60px; }
}

@media (max-width: 720px) {
    .nav { display: none; }
    .nav-cta .chip { display: none; }
    .menu-btn { display: inline-flex; }

    .hero { padding: 56px 0 40px; }
    .hero-actions { margin-bottom: 56px; }
    .section { padding: 72px 0; }
    .section-title { margin-bottom: 40px; }

    .feature-grid { grid-template-columns: 1fr; }
    .feature { padding: 28px 24px; }

    .footer-wrap { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
    .cta { padding: 80px 0; }
}

@media (max-width: 420px) {
    .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .hero-title { font-size: 2.2rem; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: start;
}

.pricing-grid-2 {
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 36px 32px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pricing-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
    transform: scale(1.04);
}

.pricing-featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 18px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.plan-header { display: flex; flex-direction: column; gap: 6px; }

.plan-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.plan-price {
    font-size: 44px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.plan-period {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
}

.plan-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 2px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.plan-features li {
    font-size: 14.5px;
    color: var(--text-sub);
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    top: 1px;
}

.plan-cta {
    display: block;
    text-align: center;
    padding: 11px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid var(--line);
    color: var(--text);
    background: transparent;
    transition: all 0.2s var(--ease);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.plan-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.plan-cta-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.plan-cta-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.pricing-note {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 36px;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .pricing-grid, .pricing-grid-2 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
    .pricing-featured { transform: none; }
    .pricing-featured:hover { transform: translateY(-4px); }
}
