/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --bg-primary: #fbfbfd;
    --bg-section: #ffffff;
    --bg-card: #f5f5f7;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --border: #d2d2d7;
    --radius: 18px;
    --radius-sm: 12px;
    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
                 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ── Typography ───────────────────────────────── */
.headline-hero {
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.headline-section {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

.headline-card {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.subhead {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
}

.body-text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Layout ────────────────────────────────────── */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
}

/* ── Navigation ────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(251, 251, 253, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    height: 52px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.footer-brand .nav-logo-img {
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* ── Dropdown Triggers ── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-chevron {
    transition: transform var(--transition);
    flex-shrink: 0;
}

.nav-dropdown.active .nav-chevron {
    transform: rotate(180deg);
}

/* ── Mega Menu ── */
.mega-menu {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 999;
}

.nav-dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mega-menu-compact .mega-menu-inner {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

.mega-col-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    padding-left: 12px;
}

.mega-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-col ul li a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background var(--transition);
}

.mega-col ul li a:hover {
    background: rgba(0, 0, 0, 0.04);
}

.mega-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.mega-item-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* ── Mega menu footer ── */
.mega-menu-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 28px;
    text-align: center;
}

.mega-menu-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 980px;
    border: 1px solid var(--border);
    transition: background var(--transition), border-color var(--transition);
}

.mega-menu-footer-link:hover {
    background: rgba(0, 113, 227, 0.06);
    border-color: var(--accent);
}

/* ── Mega menu backdrop ── */
.mega-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mega-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 980px;
    font-size: 14px !important;
    font-weight: 500;
    transition: background var(--transition);
}

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

/* ── Hamburger Button (hidden on desktop) ── */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1002;
    position: relative;
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.nav-hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile Nav Drawer ── */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    /* Expand nav to full viewport when menu is open */
    nav.mobile-open {
        height: 100vh;
        height: 100dvh;
        align-items: flex-start;
    }

    nav.mobile-open .nav-inner {
        flex-direction: column;
        align-items: stretch;
        padding-top: 14px;
        height: 100%;
    }

    nav.mobile-open .nav-logo {
        align-self: flex-start;
    }

    nav.mobile-open .nav-hamburger {
        position: absolute;
        top: 8px;
        right: 16px;
    }

    /* Hidden by default, shown when nav.mobile-open */
    .nav-links {
        display: none !important;
    }

    nav.mobile-open .nav-links {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 0 32px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
    }

    .nav-links > li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links > li:last-child {
        border-bottom: none;
        margin-top: auto;
        padding-top: 16px;
    }

    .nav-links > li > a,
    .nav-links > li > .nav-dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 16px;
        font-weight: 500;
        color: var(--text-primary);
        padding: 16px 0;
        width: 100%;
    }

    .nav-links .nav-cta {
        display: block;
        text-align: center;
        padding: 14px 24px;
        font-size: 16px !important;
        border-radius: 12px;
    }

    /* Mobile dropdown — accordion style */
    .nav-dropdown {
        position: static;
    }

    .mega-menu {
        position: static;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .nav-dropdown.active .mega-menu {
        max-height: 1200px;
        transform: none;
    }

    .mega-menu-inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0 0 16px;
    }

    .mega-menu-compact .mega-menu-inner {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .mega-col-title {
        padding-left: 0;
        margin-bottom: 8px;
    }

    .mega-col ul li a {
        padding: 8px 0;
        border-radius: 0;
    }

    .mega-col ul li a:hover {
        background: none;
    }

    .mega-menu-footer {
        padding: 8px 0 0;
        text-align: left;
    }

    /* Hide backdrop on mobile */
    .mega-menu-backdrop {
        display: none;
    }
}

/* ── Hero Section ──────────────────────────────── */
.hero {
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 980px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #30d158;
}

.hero .headline-hero {
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero .subhead {
    max-width: 560px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 30px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--accent);
    padding: 14px 30px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.06);
}

.btn-arrow {
    font-size: 20px;
    transition: transform var(--transition);
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
    transform: translateX(3px);
}

/* ── Demo Section ──────────────────────────────── */
.demo {
    padding-top: 40px;
    padding-bottom: 120px;
}

.demo-window {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-section);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.03),
        0 8px 40px rgba(0, 0, 0, 0.06),
        0 12px 80px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.demo-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot-red { background: #ff5f57; }
.demo-dot-yellow { background: #febc2e; }
.demo-dot-green { background: #28c840; }

.demo-titlebar-text {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-right: 44px;
}

.demo-chat {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 380px;
}

.msg {
    max-width: 75%;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(12px);
}

.msg.visible {
    animation: msgFadeIn 0.5s ease-out forwards;
}

.msg-user {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.msg-ai {
    align-self: flex-start;
    background: var(--bg-card);
    color: var(--text-primary);
    border-bottom-left-radius: 6px;
}

@keyframes msgFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.demo-input-field {
    flex: 1;
    padding: 12px 18px;
    border-radius: 980px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 15px;
    color: var(--text-tertiary);
    outline: none;
    font-family: inherit;
}

.demo-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}

.demo-send-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.08);
}

.demo-send-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* ── Video Showcase Section ────────────────────── */
.video-showcase {
    padding: 100px 0 120px;
    background: var(--bg-primary);
    overflow: hidden;
}

.video-showcase-inner {
    padding: 0 140px;
    transition: padding 0.1s linear;
}

.video-frame {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.04),
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 30px rgba(0, 0, 0, 0.06);
    transition: border-radius 0.1s linear, box-shadow 0.1s linear;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-showcase-text {
    text-align: center;
    max-width: 680px;
    margin: 56px auto 0;
    padding: 0 24px;
}

.video-showcase-text .headline-section {
    margin-bottom: 14px;
}

/* ── Features Section ──────────────────────────── */
.features {
    background: var(--bg-section);
}

.features-header {
    text-align: center;
    margin-bottom: 72px;
}

.features-header .subhead {
    margin-top: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.feature-icon-blue { background: rgba(0, 113, 227, 0.1); color: #0071e3; }
.feature-icon-purple { background: rgba(120, 75, 250, 0.1); color: #784bfa; }
.feature-icon-green { background: rgba(48, 209, 88, 0.1); color: #1db954; }
.feature-icon-orange { background: rgba(255, 159, 10, 0.1); color: #f57c00; }
.feature-icon-pink { background: rgba(255, 55, 95, 0.1); color: #ff375f; }
.feature-icon-teal { background: rgba(90, 200, 250, 0.1); color: #32ade6; }

.feature-card .headline-card {
    margin-bottom: 10px;
}

.feature-card .body-text {
    font-size: 15px;
}

/* ── Bento Highlights Section ─────────────────── */
.bento {
    background: var(--bg-section);
    padding: 120px 0;
}

.bento-header {
    margin-bottom: 56px;
}

.bento-header .headline-section {
    margin-bottom: 12px;
}

.bento-header .subhead strong {
    color: var(--text-primary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bento-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    overflow: hidden;
}

/* ── Stat cards ── */
.bento-card-stat {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
}

.bento-stat-prefix {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bento-stat-number {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.bento-stat-highlight {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--accent);
}

.bento-stat-caption {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ── Visual cards ── */
.bento-card-visual {
    gap: 4px;
}

.bento-card-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.bento-card-sublabel {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
}

.bento-card-graphic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

/* ── App icon row (integrations card) ── */
.bento-icons-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.bento-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bento-footer {
    text-align: center;
    margin-top: 40px;
}

/* ── Bento responsive ── */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        min-height: 180px;
    }
}

/* ── Stats Banner ──────────────────────────────── */
.stats {
    background: var(--bg-primary);
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.stat-label {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ── Testimonials Section ──────────────────────── */
.testimonials {
    background: var(--bg-section);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 32px;
}

.testimonial-stars {
    color: #ff9f0a;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* ── CTA Section ───────────────────────────────── */
.cta {
    padding: 160px 0;
    text-align: center;
    background: var(--accent);
}

.cta .headline-section {
    margin-bottom: 16px;
    color: #fff;
}

.cta .subhead {
    max-width: 520px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.75);
}

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

.cta .btn-primary:hover {
    background: #f5f5f7;
}

.cta .btn-secondary {
    color: #fff;
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ── Horizontal Scroll Cards Section ──────────── */
.hscroll-section {
    padding: 120px 0;
    background: var(--bg-section);
    overflow: hidden;
}

.hscroll-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 44px;
    gap: 24px;
}

.hscroll-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.hscroll-link {
    font-size: 17px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
    flex-shrink: 0;
}

.hscroll-link:hover {
    color: var(--accent-hover);
}

.hscroll-link .btn-arrow {
    font-size: 18px;
}

.hscroll-wrapper {
    position: relative;
}

.hscroll-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.hscroll-track::-webkit-scrollbar {
    display: none;
}

.hscroll-card {
    flex: 0 0 300px;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 340px;
}

.hscroll-card-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
}

.hscroll-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.hscroll-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hscroll-card-graphic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

/* ── Scroll arrows ── */
.hscroll-arrows {
    display: flex;
    gap: 8px;
}

.hscroll-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8e8ed;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #424245;
    transition: background var(--transition), opacity var(--transition);
}

.hscroll-arrow:hover {
    background: #d2d2d7;
}

.hscroll-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hscroll-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hscroll-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .hscroll-card {
        flex: 0 0 260px;
        min-height: 300px;
    }

    .hscroll-track {
        padding: 0 24px;
    }
}

/* ── Footer ────────────────────────────────────── */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-tertiary);
    max-width: 260px;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: color var(--transition);
}

.footer-socials a:hover {
    color: var(--text-primary);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 140px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .demo-chat {
        padding: 24px 20px;
        min-height: 300px;
    }

    .msg {
        max-width: 85%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ══════════════════════════════════════════════════
   Features Page
   ══════════════════════════════════════════════════ */

/* ── Features Hero ── */
.features-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg-primary);
}

.features-hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 20px;
}

.features-hero-overline svg {
    width: 16px;
    height: 16px;
}

.features-hero .headline-hero {
    max-width: 720px;
    margin: 0 auto 20px;
}

.features-hero .subhead {
    max-width: 540px;
    margin: 0 auto;
}

/* ── Features Hero Demo (interactive chat mockup) ── */
.features-hero-demo {
    padding: 0 0 120px;
    background: var(--bg-primary);
    position: relative;
}

.fhd-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.fhd-window {
    background: var(--bg-section);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.03),
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 12px 80px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.fhd-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.fhd-titlebar-text {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-right: 44px;
}

.fhd-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 420px;
}

/* ── Sidebar ── */
.fhd-sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fhd-sidebar-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    padding: 0 16px;
    margin-bottom: 4px;
}

.fhd-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fhd-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: default;
    transition: background var(--transition);
}

.fhd-channel-active {
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent);
    font-weight: 500;
}

.fhd-channel-hash {
    font-weight: 600;
    font-size: 14px;
    opacity: 0.5;
    width: 16px;
    text-align: center;
}

.fhd-channel-active .fhd-channel-hash {
    opacity: 0.8;
}

.fhd-channel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #30d158;
    flex-shrink: 0;
}

.fhd-channel-dot-away {
    background: var(--border);
}

/* ── Chat area ── */
.fhd-chat {
    display: flex;
    flex-direction: column;
}

.fhd-chat-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.fhd-chat-header-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.fhd-chat-header-sub {
    font-size: 12px;
    color: var(--text-tertiary);
}

.fhd-messages {
    flex: 1;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.fhd-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(12px);
}

.fhd-msg.visible {
    animation: msgFadeIn 0.5s ease-out forwards;
}

.fhd-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.fhd-msg-avatar-ai {
    background: var(--accent);
    color: #fff;
    border: none;
}

.fhd-msg-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fhd-msg-badge {
    font-size: 10px;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.fhd-msg-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}

.fhd-msg-text-sub {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ── Action cards inside AI messages ── */
.fhd-action-card {
    margin-top: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
}

.fhd-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fhd-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fhd-action-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.fhd-action-sub {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 1px;
}

.fhd-action-check {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(48, 209, 88, 0.1);
    color: #30d158;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ── Typing indicator ── */
.fhd-typing {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px 16px;
    font-size: 12px;
    color: var(--text-tertiary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fhd-typing.visible {
    opacity: 1;
}

.fhd-typing-dots {
    display: flex;
    gap: 3px;
}

.fhd-typing-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-tertiary);
    animation: typingBounce 1.2s ease-in-out infinite;
}

.fhd-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.fhd-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* ── Input bar ── */
.fhd-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
}

.fhd-input-field {
    flex: 1;
    padding: 10px 16px;
    border-radius: 980px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 13px;
    color: var(--text-tertiary);
}

.fhd-input-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fhd-input-send svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

/* ── Floating feature pills ── */
.fhd-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
    padding: 0 24px;
}

.fhd-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 980px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fhd-pill.visible {
    opacity: 1;
    transform: translateY(0);
}

.fhd-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ── Detailed Feature Sections ── */
.feature-detail {
    padding: 120px 0;
    background: var(--bg-section);
}

.feature-detail-alt {
    background: var(--bg-primary);
}

.feature-detail-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-detail-inner.reversed {
    direction: rtl;
}

.feature-detail-inner.reversed > * {
    direction: ltr;
}

.feature-detail-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 16px;
}

.feature-detail-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.feature-detail-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.feature-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-detail-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Feature visual panels ── */
.feature-visual {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-ai {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.04), rgba(0, 113, 227, 0.06));
}

.fv-ai-inner {
    padding: 48px;
    text-align: center;
}

.fv-ai-orb {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15), rgba(0, 113, 227, 0.06));
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fvOrbPulse 4s ease-in-out infinite;
}

.fv-ai-orb::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.08);
    animation: fvOrbRing 4s ease-in-out infinite reverse;
}

.fv-ai-orb::after {
    content: '';
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.04);
}

@keyframes fvOrbPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fvOrbRing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.fv-ai-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.fv-ai-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 113, 227, 0.08);
}

/* Workflow visual */
.fv-workflow {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.03), rgba(0, 113, 227, 0.05));
    padding: 48px 32px;
}

.fv-workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 340px;
}

.fv-workflow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-section);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.fv-workflow-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fv-workflow-step-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.fv-workflow-step-sub {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* Integration mosaic visual */
.fv-integrations {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.03), rgba(0, 113, 227, 0.05));
    padding: 48px 32px;
}

.fv-int-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 320px;
}

.fv-int-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition);
}

.fv-int-icon:hover {
    transform: scale(1.08);
}

/* Security visual */
.fv-security {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.03), rgba(0, 113, 227, 0.05));
    padding: 48px 32px;
}

.fv-shield {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.1);
}

.fv-shield-ring:nth-child(1) { inset: 0; }
.fv-shield-ring:nth-child(2) { inset: 20px; }
.fv-shield-ring:nth-child(3) { inset: 40px; }

/* ── Video Cinematic Reveal (dark section) ── */
.features-video {
    padding: 0;
    background: #000;
    position: relative;
}

.features-video-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.features-video-spacer {
    height: 200vh;
}

.features-video-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1100px;
    overflow: hidden;
    border-radius: 20px;
    background: #111;
    box-shadow: 0 0 120px rgba(0, 113, 227, 0.08);
}

.features-video-frame video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.features-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.1s linear;
}

.features-video-overlay .headline-section {
    color: #fff;
    margin-bottom: 12px;
    white-space: nowrap;
}

.features-video-overlay .subhead {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(16px, 2vw, 20px);
}

.features-video-text {
    position: relative;
    z-index: 3;
    background: #000;
    padding: 80px 24px 120px;
}

.features-video-text-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.features-video-text-left .headline-section {
    color: #fff;
    margin-bottom: 16px;
    font-size: clamp(28px, 4vw, 44px);
}

.features-video-text-left .subhead {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(16px, 1.8vw, 19px);
    margin-bottom: 32px;
}

.features-video-text-link {
    font-size: 17px;
    font-weight: 500;
    color: #2997ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.features-video-text-link:hover {
    color: #40a9ff;
}

.features-video-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 8px;
}

.features-video-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.features-video-feature-num {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    min-width: 28px;
    padding-top: 2px;
}

.features-video-feature-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.features-video-feature-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
}

.features-video + .feature-detail {
    position: relative;
    z-index: 4;
}

/* ── Capabilities Bento Grid ── */
.capabilities {
    padding: 120px 0;
    background: var(--bg-section);
}

.capabilities-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    padding: 0 24px;
}

.capabilities-header .headline-section {
    margin-bottom: 12px;
}

.capabilities-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.cap-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition);
}

.cap-card:hover {
    transform: translateY(-2px);
}

.cap-card-wide {
    grid-column: span 2;
}

.cap-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.cap-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.cap-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Comparison Table ── */
.comparison {
    padding: 120px 0;
    background: var(--bg-primary);
}

.comparison-header {
    text-align: center;
    margin-bottom: 56px;
    padding: 0 24px;
}

.comparison-header .headline-section {
    margin-bottom: 12px;
}

.comparison-header .subhead {
    max-width: 480px;
    margin: 0 auto;
    font-size: clamp(16px, 1.8vw, 19px);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 120px 120px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    align-items: center;
}

.comparison-row-header {
    border-bottom: 2px solid var(--border);
    padding-bottom: 14px;
}

.comparison-row-header span {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    text-align: center;
}

.comparison-row-header span:first-child {
    text-align: left;
    color: var(--text-primary);
}

.comparison-feature {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.comparison-check {
    text-align: center;
    font-size: 18px;
}

.comparison-check-yes {
    color: var(--accent);
}

.comparison-check-no {
    color: var(--border);
}

/* ── Features CTA ── */
.features-cta {
    padding: 160px 0;
    text-align: center;
    background: var(--accent);
}

.features-cta .headline-section {
    margin-bottom: 16px;
    color: #fff;
}

.features-cta .subhead {
    max-width: 520px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.75);
}

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

.features-cta .btn-primary:hover {
    background: #f5f5f7;
}

.features-cta .btn-secondary {
    color: #fff;
}

.features-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ── Scroll Reveal Animations ── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ── Features Page Responsive ── */
@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cap-card-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 140px 0 60px;
    }

    .fhd-body {
        grid-template-columns: 1fr;
    }

    .fhd-sidebar {
        display: none;
    }

    .feature-detail-inner,
    .feature-detail-inner.reversed {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .feature-visual {
        min-height: 300px;
    }

    .features-video-overlay .headline-section {
        white-space: normal;
    }

    .features-video-frame {
        width: 92%;
    }

    .features-video-text-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .comparison-row {
        grid-template-columns: 1fr 80px 80px;
    }

    .fv-int-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 240px;
    }
}

/* ══════════════════════════════════════════════════
   Articles page
   ══════════════════════════════════════════════════ */

/* ── Page header ── */
.articles-hero {
    padding: 160px 24px 60px;
    text-align: center;
    background: var(--bg-primary);
}

.articles-hero .headline-hero {
    margin-bottom: 14px;
}

.articles-hero .subhead {
    max-width: 520px;
    margin: 0 auto;
}

/* ── Featured article (full-width hero) ── */
.article-featured {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 540px;
    background: #1d1d1f;
    text-decoration: none;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.article-featured:hover {
    transform: scale(1.005);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.article-featured-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.article-featured-media video,
.article-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-featured-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.05) 100%);
}

.article-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 48px;
}

.article-featured-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 12px;
    max-width: 600px;
}

.article-featured-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ── Articles section & grid ── */
.articles-section {
    padding: 0 24px 120px;
    background: var(--bg-primary);
}

.articles-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.articles-section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding-top: 80px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* ── Grid span utilities ── */
.article-span-6 { grid-column: span 6; }
.article-span-4 { grid-column: span 4; }
.article-span-3 { grid-column: span 3; }
.article-span-2 { grid-column: span 2; }

/* ── Card base ── */
.article-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ── Card image area ── */
.article-card-img {
    position: relative;
    flex: 1;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Centered icon style (like articles2.png Apple logo card) */
.article-card-img-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card-img-icon svg {
    width: 100%;
    height: 100%;
}

/* ── Card body ── */
.article-card-body {
    padding: 20px 24px 24px;
}

/* ── Tag (category label) ── */
.article-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.article-tag-blue { color: var(--accent); }
.article-tag-teal { color: #32ade6; }
.article-tag-green { color: #30d158; }
.article-tag-purple { color: #784bfa; }
.article-tag-orange { color: #ff9f0a; }
.article-tag-pink { color: #ff375f; }

/* Featured tag on dark bg */
.article-featured .article-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 16px;
}

/* ── Card title ── */
.article-card-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* Larger title for big cards */
.article-span-4 .article-card-title {
    font-size: 24px;
    letter-spacing: -0.015em;
}

/* ── Card date ── */
.article-card-date {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ── Card read time ── */
.article-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.article-card-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

/* ── Dark card variant ── */
.article-card-dark {
    position: relative;
    background: #1d1d1f;
    min-height: 340px;
}

.article-card-dark .article-card-img {
    position: absolute;
    inset: 0;
    min-height: unset;
    flex: unset;
    z-index: 0;
}

.article-card-dark .article-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    padding-top: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}

.article-card-dark .article-tag {
    color: rgba(255, 255, 255, 0.7);
}

.article-card-dark .article-card-title {
    color: #fff;
}

.article-card-dark .article-card-date {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Load more ── */
.articles-load-more {
    text-align: center;
    padding: 60px 24px 0;
}

.articles-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 980px;
    border: 1.5px solid var(--border);
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    font-family: inherit;
}

.articles-load-more-btn:hover {
    background: var(--bg-card);
    border-color: var(--text-tertiary);
}

.articles-load-more-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.articles-load-more-btn:hover svg {
    transform: translateY(2px);
}

/* ── Responsive: articles ── */
@media (max-width: 1024px) {
    .article-span-4 { grid-column: span 6; }
    .article-span-2 { grid-column: span 3; }

    .article-featured {
        min-height: 440px;
    }

    .article-featured-content {
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .articles-hero {
        padding: 140px 24px 40px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-span-6,
    .article-span-4,
    .article-span-3,
    .article-span-2 {
        grid-column: span 1;
    }

    .article-featured {
        min-height: 380px;
        border-radius: 18px;
    }

    .article-featured-content {
        padding: 24px;
    }

    .article-featured-title {
        font-size: 24px;
    }

    .article-card-dark {
        min-height: 280px;
    }

    .articles-section-title {
        padding-top: 48px;
    }
}

/* ══════════════════════════════════════════════════
   Individual Article Page
   ══════════════════════════════════════════════════ */

/* ── Article Hero (scroll-expanding) ── */
.article-hero-wrap {
    padding: 52px 0 0;
    background: var(--bg-primary);
}

.article-hero-spacer {
    height: 60vh;
}

.article-hero-sticky {
    position: sticky;
    top: 52px;
    height: calc(100vh - 52px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-hero-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    will-change: transform, border-radius;
    transform-origin: center center;
}

.article-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.article-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.article-hero-content-inner {
    width: 100%;
    max-width: 680px;
    padding: 48px 24px;
}

.article-hero-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 16px;
}

.article-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 16px;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.article-hero-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.article-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    max-width: 560px;
    margin-top: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.article-hero-desc.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Article Body ── */
.article-body {
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
    padding: 80px 24px 120px;
}

.article-body-inner {
    max-width: 680px;
    margin: 0 auto;
}

/* ── Article meta bar ── */
.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.article-meta-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(0, 113, 227, 0.08);
}

.article-meta-date {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ── Drop cap ── */
.article-dropcap::first-letter {
    float: left;
    font-size: 3.8em;
    font-weight: 700;
    line-height: 0.85;
    margin: 4px 12px 0 0;
    color: var(--text-primary);
}

/* ── Article typography ── */
.article-body p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(0, 113, 227, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition);
}

.article-body a:hover {
    text-decoration-color: var(--accent);
}

.article-body h2 {
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 56px 0 20px;
}

.article-body h3 {
    font-size: clamp(22px, 2.5vw, 26px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 44px 0 16px;
}

.article-body h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 36px 0 12px;
}

/* ── Blockquote ── */
.article-body blockquote {
    margin: 40px 0;
    padding: 24px 28px;
    border-left: 3px solid var(--accent);
    background: rgba(0, 113, 227, 0.03);
    border-radius: 0 12px 12px 0;
}

.article-body blockquote p {
    font-size: 19px;
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Article image (wide breakout) ── */
.article-img {
    margin: 48px -60px;
    border-radius: 20px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    display: block;
}

.article-img-caption {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 12px;
    padding: 0 60px;
}

/* ── Article list ── */
.article-body ul {
    margin: 0 0 28px;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-body ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 10px;
}

/* ── Inline bento elements ── */
.article-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 48px 0;
}

.article-bento-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.article-bento-number {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1;
}

.article-bento-highlight {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.article-bento-caption {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* ── SVG chart container ── */
.article-chart {
    margin: 48px 0;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
}

.article-chart-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.article-chart-subtitle {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.article-chart svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Highlight box ── */
.article-highlight {
    margin: 48px 0;
    padding: 32px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.article-highlight-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-highlight-title svg {
    flex-shrink: 0;
}

.article-highlight p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ── Article tags / footer ── */
.article-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-footer-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: 980px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
}

.article-footer-tag:hover {
    background: rgba(0, 113, 227, 0.06);
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Related articles ── */
.article-related {
    padding: 80px 24px 120px;
    background: var(--bg-section);
}

.article-related-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.article-related-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Article page responsive ── */
@media (max-width: 1024px) {
    .article-hero-content-inner {
        padding: 40px 24px;
    }

    .article-img {
        margin-left: -20px;
        margin-right: -20px;
    }

    .article-img-caption {
        padding: 0 20px;
    }

    .article-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-hero-content-inner {
        padding: 28px 20px;
    }

    .article-hero-title {
        font-size: clamp(26px, 6vw, 36px);
    }

    .article-body {
        padding: 48px 20px 80px;
    }

    .article-body p {
        font-size: 17px;
    }

    .article-img {
        margin-left: -10px;
        margin-right: -10px;
        border-radius: 14px;
    }

    .article-bento {
        grid-template-columns: 1fr;
    }

    .article-chart {
        padding: 24px 20px;
    }

    .article-related {
        padding: 48px 20px 80px;
    }

    .article-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Features Metrics Chart ─────────────────────── */
.features-metrics {
    padding: 100px 0 40px;
    background: var(--bg-primary);
}

.metrics-header {
    text-align: center;
    margin-bottom: 48px;
}

.metrics-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 36px 32px 28px;
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.metrics-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.metrics-tabs {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
}

.metrics-tab {
    padding: 10px 22px;
    border: none;
    background: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}

.metrics-tab:hover {
    color: var(--text-primary);
}

.metrics-tab.active {
    background: white;
    color: var(--text-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
}

.metrics-panel {
    display: none;
}

.metrics-panel.active {
    display: block;
    animation: metricsFadeIn 0.35s ease;
}

@keyframes metricsFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.metrics-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
}

.metrics-big-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
}

.metrics-unit {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 2px;
}

.metrics-big-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.metrics-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: 4px;
}

.metrics-badge-green {
    background: rgba(48, 209, 88, 0.1);
    color: #28a745;
}

.metrics-chart-wrap {
    margin: 0 -4px;
}

.metrics-svg {
    width: 100%;
    height: auto;
    display: block;
}

.metrics-svg .chart-label {
    fill: var(--text-secondary);
    font-size: 11px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', sans-serif;
}

.metrics-svg .chart-end-label {
    font-size: 12px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', sans-serif;
}

.metrics-svg .chart-end-blue { fill: #0071e3; }
.metrics-svg .chart-end-gray { fill: #86868b; }
.metrics-svg .chart-end-green { fill: #1db954; }
.metrics-svg .chart-end-purple { fill: #784bfa; }

.metrics-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.metrics-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.metrics-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.metrics-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.metrics-kpi {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.metrics-kpi-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.metrics-kpi-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .features-metrics {
        padding: 80px 0 20px;
    }

    .metrics-card {
        padding: 24px 16px 20px;
        border-radius: 18px;
    }

    .metrics-tabs {
        width: 100%;
    }

    .metrics-tab {
        padding: 8px 14px;
        font-size: 13px;
        flex: 1;
        text-align: center;
    }

    .metrics-big-number {
        font-size: 36px;
    }

    .metrics-unit {
        font-size: 20px;
    }

    .metrics-panel-header {
        flex-direction: column;
        gap: 12px;
    }

    .metrics-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── About Us Page ───────────────────────────────── */

.about-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: var(--bg-primary);
}

.about-hero .subhead {
    max-width: 580px;
    margin: 20px auto 0;
}

/* ── About Video Scroll Overlay ──────────────────── */
.about-video-overlay {
    padding: 0;
    background: var(--bg-primary);
    position: relative;
}

.about-video-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.about-video-spacer {
    height: 250vh;
}

.about-video-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: padding 0.1s linear;
    padding: 0 140px;
}

.about-video-frame {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.04),
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 30px rgba(0, 0, 0, 0.06);
    transition: border-radius 0.1s linear, box-shadow 0.1s linear;
}

.about-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-video-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.1s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.about-video-content {
    text-align: center;
    max-width: 680px;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.1s linear, transform 0.1s linear;
}

.about-video-content .headline-section {
    color: #fff;
    margin-bottom: 16px;
}

.about-video-content .subhead {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(16px, 2vw, 20px);
}

/* ── Mission Statement ───────────────────────────── */
.about-mission {
    padding: 120px 0;
    background: var(--bg-section);
}

.about-mission-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-mission-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 24px;
}

.about-mission-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.about-mission .headline-section {
    margin-bottom: 28px;
}

.about-mission-text {
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

/* ── Values Section ──────────────────────────────── */
.about-values {
    padding: 120px 0;
    background: var(--bg-primary);
}

.about-values-header {
    text-align: center;
    margin-bottom: 64px;
}

.about-values-header .headline-section {
    margin-bottom: 12px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-value-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.about-value-num {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, var(--border), rgba(210, 210, 215, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-value-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.about-value-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Team Section ────────────────────────────────── */
.about-team {
    padding: 120px 0;
    background: var(--bg-section);
}

.about-team-header {
    text-align: center;
    margin-bottom: 64px;
}

.about-team-header .headline-section {
    margin-bottom: 12px;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-team-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.about-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.about-team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}

.about-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.about-team-card:hover .about-team-photo img {
    transform: scale(1.04);
}

.about-team-info {
    padding: 28px 24px 32px;
}

.about-team-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.about-team-role {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 14px;
}

.about-team-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.about-team-linkedin:hover {
    color: #0a66c2;
}

.about-team-linkedin svg {
    width: 20px;
    height: 20px;
}

.about-team-footer {
    text-align: center;
    margin-top: 48px;
}

/* ── About Stats ─────────────────────────────────── */
.about-stats {
    padding: 80px 0;
    background: var(--bg-primary);
}

/* ── About Responsive ────────────────────────────── */
@media (max-width: 1024px) {
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-team-grid .about-team-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 140px 0 60px;
    }

    .about-video-inner {
        padding: 0 24px;
    }

    .about-video-frame {
        border-radius: 16px;
    }

    .about-mission {
        padding: 80px 0;
    }

    .about-values {
        padding: 80px 0;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-team {
        padding: 80px 0;
    }

    .about-team-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .about-team-grid .about-team-card:last-child {
        max-width: none;
    }

    .about-stats {
        padding: 60px 0;
    }
}

/* ── Contact Page ────────────────────────────────── */
.contact-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg-primary);
}

.contact-section {
    padding: 0 0 120px;
    background: var(--bg-primary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form-row .contact-field {
    margin-bottom: 0;
}

.contact-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.contact-field select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l3 3 3-3' stroke='%2386868b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #aaa;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
    background: #005bb5;
    transform: translateY(-1px);
}

.contact-submit .btn-arrow {
    transition: transform 0.2s ease;
}

.contact-submit:hover .btn-arrow {
    transform: translateX(3px);
}

/* Contact Info Sidebar */
.contact-info {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Shared card base */
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 113, 227, 0.18);
}

/* Map card — stacked layout */
.contact-card.contact-card-map {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.contact-card-map-graphic {
    width: 100%;
    background: linear-gradient(135deg, #f5f5f7 0%, #eef2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.contact-card-map-graphic svg {
    width: 100%;
    height: auto;
    display: block;
}

.contact-card-map .contact-card-body {
    padding: 18px 20px 20px;
}

.contact-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.contact-card-text {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.55;
}

.contact-card-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #0071e3;
    margin-top: 10px;
}

.contact-card-action .btn-arrow {
    transition: transform 0.2s ease;
}

.contact-card:hover .contact-card-action .btn-arrow {
    transform: translateX(3px);
}

/* Icon cards (email, phone) */
.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 113, 227, 0.07);
    color: #0071e3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.contact-card:hover .contact-card-icon {
    background: rgba(0, 113, 227, 0.12);
}

.contact-card-arrow {
    margin-left: auto;
    font-size: 16px;
    color: #d1d1d6;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover .contact-card-arrow {
    color: #0071e3;
    transform: translateX(2px);
}

/* Resource links section */
.contact-resources {
    margin-top: 8px;
}

.contact-resources-title {
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.contact-resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-resource-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #6e6e73;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-resource-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #0071e3;
    border-color: rgba(0, 113, 227, 0.18);
}

.contact-resource-card svg {
    flex-shrink: 0;
    color: #86868b;
    transition: color 0.2s ease;
}

.contact-resource-card:hover svg {
    color: #0071e3;
}

/* Contact Responsive */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 140px 0 60px;
    }

    .contact-section {
        padding: 0 0 80px;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-resources-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Case Studies: Listing Page ──────────────────── */
.cs-hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
}

.cs-hero .subhead {
    max-width: 600px;
    margin: 20px auto 0;
}

/* Animated hero metrics */
.cs-hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 56px;
    padding: 36px 48px;
    background: #1d1d1f;
    border-radius: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cs-hero-metric {
    text-align: center;
}

.cs-hero-metric-number {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.cs-hero-metric-suffix {
    font-size: 28px;
    font-weight: 700;
    color: #0071e3;
}

.cs-hero-metric-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    line-height: 1.3;
}

.cs-hero-metric-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
}

/* Case study listing grid */
.cs-list-section {
    padding: 0 0 120px;
}

.cs-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.cs-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.cs-card-visual {
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    min-height: 260px;
}

.cs-card-chart {
    width: 100%;
    height: auto;
    max-width: 400px;
}

.cs-card-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cs-card-industry {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    background: rgba(0, 113, 227, 0.08);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    width: fit-content;
}

.cs-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.cs-card-excerpt {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cs-card-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cs-card-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cs-card-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.cs-card-stat-label {
    font-size: 12px;
    color: #86868b;
}

.cs-card-link {
    font-size: 15px;
    font-weight: 600;
    color: #0071e3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cs-card-link .btn-arrow {
    transition: transform 0.2s ease;
}

.cs-card:hover .cs-card-link .btn-arrow {
    transform: translateX(4px);
}

/* Case Studies Listing Responsive */
@media (max-width: 900px) {
    .cs-card {
        grid-template-columns: 1fr;
    }
    .cs-card-visual {
        min-height: 200px;
    }
    .cs-hero-metrics {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }
    .cs-hero-metric-divider {
        width: 60px;
        height: 1px;
    }
}

@media (max-width: 600px) {
    .cs-card-body {
        padding: 24px;
    }
    .cs-card-stats {
        flex-direction: column;
        gap: 12px;
    }
    .cs-card-stat {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }
}

/* ── Case Studies: Detail Pages ─────────────────── */
.cs-detail-hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
}

.cs-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #0071e3;
    text-decoration: none;
    margin-bottom: 24px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.cs-back-link:hover {
    opacity: 0.7;
}

.cs-detail-industry {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    background: rgba(0, 113, 227, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.cs-detail-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    max-width: 800px;
}

.cs-detail-subhead {
    font-size: 19px;
    line-height: 1.5;
    color: #6e6e73;
    max-width: 640px;
    margin: 0;
}

/* Results banner */
.cs-results-banner {
    background: #1d1d1f;
    border-radius: 20px;
    padding: 48px;
    margin: -30px auto 60px;
    max-width: 960px;
    position: relative;
    z-index: 2;
}

.cs-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.cs-result-value {
    display: block;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cs-result-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    line-height: 1.4;
}

/* Content sections */
.cs-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.cs-section {
    margin-bottom: 64px;
}

.cs-section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    margin-bottom: 12px;
}

.cs-section h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 20px;
}

.cs-section p {
    font-size: 17px;
    line-height: 1.7;
    color: #424245;
    margin: 0 0 16px;
}

.cs-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.cs-section ul li {
    font-size: 17px;
    line-height: 1.7;
    color: #424245;
    padding: 8px 0 8px 28px;
    position: relative;
}

.cs-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0071e3;
}

/* Company info card */
.cs-company-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.cs-company-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-company-detail-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #86868b;
}

.cs-company-detail-value {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
}

/* Chart section */
.cs-chart-section {
    max-width: 960px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.cs-chart-wrap {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 40px;
}

.cs-chart-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px;
    text-align: center;
}

.cs-chart-subtitle {
    font-size: 14px;
    color: #86868b;
    text-align: center;
    margin: 0 0 32px;
}

.cs-chart-svg {
    width: 100%;
    height: auto;
    display: block;
    max-width: 700px;
    margin: 0 auto;
}

/* Detail metrics grid */
.cs-metrics-section {
    max-width: 960px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.cs-metrics-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0 0 36px;
}

.cs-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cs-metric-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.cs-metric-label {
    display: block;
    font-size: 14px;
    color: #86868b;
    margin-bottom: 12px;
    font-weight: 500;
}

.cs-metric-before-after {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

.cs-metric-before {
    font-size: 22px;
    color: #d2d2d7;
    font-weight: 600;
    text-decoration: line-through;
}

.cs-metric-arrow {
    color: #86868b;
    font-size: 16px;
}

.cs-metric-after {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.cs-metric-after.green {
    color: #30d158;
}

.cs-metric-single {
    font-size: 36px;
    font-weight: 700;
    color: #0071e3;
    letter-spacing: -0.02em;
}

.cs-metric-context {
    display: block;
    font-size: 13px;
    color: #86868b;
    margin-top: 8px;
}

/* Also support bar-style metrics from other detail pages */
.cs-detail-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.cs-detail-metric-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 28px;
}

.cs-detail-metric-card .cs-metric-label {
    text-align: left;
    margin-bottom: 16px;
}

.cs-metric-values {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.cs-metric-bar {
    height: 6px;
    background: #e5e5e7;
    border-radius: 3px;
    overflow: hidden;
}

.cs-metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0071e3, #30d158);
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* Quote */
.cs-quote-section {
    max-width: 800px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.cs-quote-card {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 20px;
    padding: 48px;
    position: relative;
}

.cs-quote-mark {
    font-size: 72px;
    font-weight: 700;
    color: #0071e3;
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    top: 24px;
    left: 40px;
}

.cs-quote-text {
    font-size: 20px;
    line-height: 1.6;
    color: #1d1d1f;
    font-weight: 500;
    margin: 0 0 24px;
    position: relative;
    z-index: 1;
}

.cs-quote-author {
    font-size: 15px;
    color: #6e6e73;
    margin: 0;
}

.cs-quote-author strong {
    color: #1d1d1f;
    font-weight: 600;
}

/* Also support blockquote cs-quote class from other pages */
blockquote.cs-quote {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    margin: 0 0 64px;
    border: none;
}

blockquote.cs-quote::before {
    content: '\201C';
    font-size: 72px;
    font-weight: 700;
    color: #0071e3;
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    top: 24px;
    left: 40px;
}

blockquote.cs-quote p {
    font-size: 20px;
    line-height: 1.6;
    color: #1d1d1f;
    font-weight: 500;
    margin: 0 0 24px;
    position: relative;
    z-index: 1;
}

blockquote.cs-quote cite {
    font-size: 15px;
    color: #6e6e73;
    font-style: normal;
}

/* Timeline */
.cs-timeline-section {
    max-width: 760px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.cs-timeline-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin: 0 0 36px;
}

.cs-timeline {
    position: relative;
    padding-left: 32px;
}

.cs-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #0071e3 0%, #30d158 100%);
    border-radius: 2px;
}

.cs-timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.cs-timeline-item:last-child {
    padding-bottom: 0;
}

.cs-timeline-dot {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0071e3;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0071e3;
}

.cs-timeline-item:last-child .cs-timeline-dot {
    background: #30d158;
    box-shadow: 0 0 0 2px #30d158;
}

.cs-timeline-period {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0071e3;
    margin-bottom: 4px;
}

.cs-timeline-desc {
    font-size: 17px;
    line-height: 1.5;
    color: #424245;
    margin: 0;
}

/* ── Case Studies: Compatibility for variant class names ──── */

/* Container variant used by ClearView */
.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section variant used by Apex & ClearView (matches .cs-section) */
.cs-detail-section {
    margin-bottom: 64px;
    padding: 0; /* override global section { padding: 120px 0 } */
}

.cs-detail-section h2,
.cs-detail-heading {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 20px;
}

.cs-detail-section p {
    font-size: 17px;
    line-height: 1.7;
    color: #424245;
    margin: 0 0 16px;
}

.cs-detail-section ul,
.cs-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.cs-detail-section ul li,
.cs-detail-list li {
    font-size: 17px;
    line-height: 1.7;
    color: #424245;
    padding: 8px 0 8px 28px;
    position: relative;
}

.cs-detail-section ul li::before,
.cs-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0071e3;
}

/* Article wrapper (Apex) */
.cs-detail-article {
    padding-bottom: 0;
}

/* Results banner grid when .cs-result-card children are direct (Apex variant) */
.cs-results-banner:has(> .cs-result-card) {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

/* Chart container variants */
.cs-detail-chart,
.cs-detail-chart-wrapper {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
}

.cs-detail-chart svg,
svg.cs-detail-chart {
    width: 100%;
    height: auto;
    display: block;
    max-width: 700px;
    margin: 0 auto;
}

/* Metric change variant used by ClearView (matches .cs-metric-before-after) */
.cs-metric-change {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

/* Quote variant used by ClearView */
blockquote.cs-detail-quote {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    margin: 0;
    border: none;
}

blockquote.cs-detail-quote::before {
    content: '\201C';
    font-size: 72px;
    font-weight: 700;
    color: #0071e3;
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    top: 24px;
    left: 40px;
}

blockquote.cs-detail-quote p {
    font-size: 20px;
    line-height: 1.6;
    color: #1d1d1f;
    font-weight: 500;
    margin: 0 0 24px;
    position: relative;
    z-index: 1;
}

blockquote.cs-detail-quote footer {
    position: relative;
    z-index: 1;
}

blockquote.cs-detail-quote cite {
    font-size: 15px;
    color: #6e6e73;
    font-style: normal;
}

/* Timeline marker variant (Apex & ClearView use .cs-timeline-marker instead of .cs-timeline-dot) */
.cs-timeline-marker {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0071e3;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0071e3;
}

.cs-timeline-item:last-child .cs-timeline-marker {
    background: #30d158;
    box-shadow: 0 0 0 2px #30d158;
}

/* Timeline content wrapper (Apex & ClearView wrap text in .cs-timeline-content) */
.cs-timeline-content h3,
.cs-timeline-content h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0071e3;
    margin: 0 0 4px;
}

.cs-timeline-content p {
    font-size: 17px;
    line-height: 1.5;
    color: #424245;
    margin: 0;
}

/* Timeline label variant (ClearView uses .cs-timeline-label instead of .cs-timeline-period) */
.cs-timeline-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0071e3;
    margin-bottom: 4px;
}

/* ClearView timeline uses h3 for the description title after the label */
.cs-timeline-content .cs-timeline-label + h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1d1d1f;
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

/* Case Studies Detail Responsive */
@media (max-width: 768px) {
    .cs-detail-hero {
        padding: 100px 0 40px;
    }
    .cs-results-banner {
        padding: 32px 20px;
        margin: -20px 16px 40px;
    }
    .cs-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .cs-company-card {
        grid-template-columns: 1fr;
    }
    .cs-metrics-grid {
        grid-template-columns: 1fr;
    }
    .cs-detail-metrics-grid {
        grid-template-columns: 1fr;
    }
    .cs-chart-wrap {
        padding: 24px 16px;
    }
    .cs-quote-card {
        padding: 32px 24px;
    }
    .cs-quote-mark {
        font-size: 48px;
        top: 16px;
        left: 20px;
    }
    blockquote.cs-quote {
        padding: 32px 24px;
    }
    blockquote.cs-quote::before {
        font-size: 48px;
        top: 16px;
        left: 20px;
    }
    .cs-results-banner:has(> .cs-result-card) {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .cs-detail-chart,
    .cs-detail-chart-wrapper {
        padding: 24px 16px;
    }
    blockquote.cs-detail-quote {
        padding: 32px 24px;
    }
    blockquote.cs-detail-quote::before {
        font-size: 48px;
        top: 16px;
        left: 20px;
    }
}

/* ── Changelog Page ──────────────────────────────── */
.changelog-header {
    padding: 120px 0 48px;
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
}

.changelog-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.changelog-subtitle {
    font-size: 19px;
    color: #6e6e73;
    margin: 0;
}

.changelog-feed {
    padding: 48px 0 80px;
}

.changelog-entry {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid #e5e5e7;
}

.changelog-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.changelog-date {
    padding-top: 4px;
}

.changelog-date time {
    font-size: 14px;
    font-weight: 500;
    color: #86868b;
    white-space: nowrap;
}

.changelog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.changelog-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.tag-feature {
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
}

.tag-improvement {
    background: rgba(48, 209, 88, 0.1);
    color: #248a3d;
}

.tag-fix {
    background: rgba(255, 69, 58, 0.1);
    color: #d70015;
}

.tag-compliance {
    background: rgba(175, 82, 222, 0.1);
    color: #8944ab;
}

.changelog-body h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    line-height: 1.3;
}

.changelog-body p {
    font-size: 16px;
    line-height: 1.7;
    color: #424245;
    margin: 0 0 12px;
}

.changelog-body p:last-child {
    margin-bottom: 0;
}

.changelog-body ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}

.changelog-body ul li {
    font-size: 16px;
    line-height: 1.7;
    color: #424245;
    padding: 4px 0 4px 24px;
    position: relative;
}

.changelog-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0071e3;
}

/* Changelog Pagination */
.changelog-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 48px;
}

.changelog-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

a.changelog-page:hover {
    background: #f5f5f7;
}

.changelog-page.active {
    background: #1d1d1f;
    color: #fff;
}

.changelog-page-next {
    margin-left: auto;
}

/* Changelog Responsive */
@media (max-width: 600px) {
    .changelog-entry {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 36px;
        margin-bottom: 36px;
    }
    .changelog-date {
        padding-top: 0;
    }
}

/* ── Careers Page ────────────────────────────────── */
.careers-hero {
    padding: 120px 0 64px;
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
}

.careers-hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0071e3;
    background: rgba(0, 113, 227, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.careers-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #1d1d1f;
    margin: 0 0 16px;
    max-width: 640px;
}

.careers-hero-subtitle {
    font-size: 19px;
    line-height: 1.55;
    color: #6e6e73;
    margin: 0 0 32px;
    max-width: 560px;
}

.careers-perks {
    padding: 80px 0;
}

.careers-perks-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin: 0 0 48px;
    text-align: center;
}

.careers-perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.careers-perk {
    padding: 32px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e5e7;
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.35s;
    position: relative;
    overflow: hidden;
}

.careers-perk:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* Scroll reveal */
.cp-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cp-reveal.cp-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.careers-perks-grid .cp-reveal:nth-child(2) { transition-delay: 0.1s; }
.careers-perks-grid .cp-reveal:nth-child(3) { transition-delay: 0.2s; }
.careers-perks-grid .cp-reveal:nth-child(4) { transition-delay: 0.3s; }

/* SVG visual area */
.careers-perk-visual {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-perk-visual svg {
    width: 100%;
    height: 100%;
    max-width: 140px;
}

.careers-perk h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 8px;
}

.careers-perk p {
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
    margin: 0;
}

/* ── Careers SVG Animations ── */

/* Rocket flame flicker */
@keyframes cp-flame {
    0%, 100% { transform: scaleY(1); opacity: 0.9; }
    50% { transform: scaleY(1.25); opacity: 1; }
}
.cp-flame { transform-origin: center top; animation: cp-flame 0.4s ease-in-out infinite; }
.cp-flame-inner { animation-delay: 0.15s; }

/* Speed lines drift */
@keyframes cp-speed {
    0% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(6px); opacity: 0.15; }
    100% { transform: translateY(12px); opacity: 0; }
}
.cp-speed { animation: cp-speed 1.2s ease-out infinite; }
.cp-speed-2 { animation-delay: 0.3s; }
.cp-speed-3 { animation-delay: 0.15s; }
.cp-speed-4 { animation-delay: 0.45s; }

/* Floating particles */
@keyframes cp-particle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-5px) scale(1.3); opacity: 1; }
}
.cp-particle { animation: cp-particle 2.5s ease-in-out infinite; }
.cp-p2 { animation-delay: 0.6s; }
.cp-p3 { animation-delay: 1.2s; }
.cp-p4 { animation-delay: 1.8s; }

/* Neural pulse rings */
@keyframes cp-pulse {
    0% { r: 7; opacity: 0.4; }
    100% { r: 22; opacity: 0; }
}
.cp-pulse { animation: cp-pulse 2.5s ease-out infinite; }
.cp-pulse-2 { animation-delay: 1.25s; }

/* Neural node float */
@keyframes cp-nodeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.cp-node { animation: cp-nodeFloat 3s ease-in-out infinite; }
.cp-node-2 { animation-delay: 0.4s; }
.cp-node-3 { animation-delay: 0.8s; }
.cp-node-4 { animation-delay: 1.2s; }
.cp-node-5 { animation-delay: 1.6s; }
.cp-node-6 { animation-delay: 0.2s; }

/* Connection line shimmer */
@keyframes cp-conn {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.45; }
}
.cp-conn { animation: cp-conn 2s ease-in-out infinite; }

/* People breathe */
@keyframes cp-personBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.cp-person { animation: cp-personBreath 3s ease-in-out infinite; transform-origin: center; }
.cp-person-2 { animation-delay: 1s; }
.cp-person-3 { animation-delay: 2s; }

/* Arc dash animation */
@keyframes cp-arcDash {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -14; }
}
.cp-arc { animation: cp-arcDash 1.5s linear infinite; }
.cp-arc-2 { animation-delay: 0.5s; }
.cp-arc-3 { animation-delay: 1s; }

/* Location pin pulse */
@keyframes cp-pinPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.2); opacity: 1; }
}
.cp-pin { animation: cp-pinPulse 2s ease-in-out infinite; transform-origin: center; }
.cp-pin-2 { animation-delay: 0.7s; }
.cp-pin-3 { animation-delay: 1.4s; }

.careers-listings {
    padding: 80px 0 80px;
    background: #f5f5f7;
}

.careers-listings-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.careers-listings-subtitle {
    font-size: 17px;
    color: #6e6e73;
    margin: 0 0 40px;
    line-height: 1.5;
}

.careers-listings-subtitle a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

.careers-listings-subtitle a:hover {
    text-decoration: underline;
}

/* Careers Responsive */
@media (max-width: 900px) {
    .careers-perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .careers-perk-visual { max-width: 120px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
    .careers-perks-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .careers-perk {
        padding: 28px;
    }
    .careers-perk-visual { max-width: 100px; }
}

/* ── Team Page ───────────────────────────────────── */
.team-page-section {
    padding: 80px 0 100px;
    background: var(--bg-primary);
}

.team-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-page-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.team-page-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-page-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.team-page-card:hover .team-page-photo img {
    transform: scale(1.04);
}

.team-page-info {
    padding: 20px 24px 24px;
}

.team-page-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.team-page-role {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
}

/* Team Page Pagination */
.team-page-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.team-page-pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-page-pagination-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.team-page-pagination-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.team-page-pagination-next {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-page-pagination-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Team Modal */
.team-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.team-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.team-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.team-modal-overlay.active .team-modal {
    transform: translateY(0) scale(1);
}

.team-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #6e6e73;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.team-modal-close:hover {
    background: var(--accent);
    color: #fff;
}

.team-modal-inner {
    display: flex;
    gap: 0;
}

.team-modal-photo {
    width: 280px;
    min-height: 320px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 20px 0 0 20px;
}

.team-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-modal-content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-modal-name {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.team-modal-role {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 16px;
}

.team-modal-bio {
    font-size: 15px;
    color: #424245;
    line-height: 1.7;
    margin-bottom: 20px;
}

.team-modal-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #86868b;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.team-modal-linkedin:hover {
    color: #0a66c2;
}

.team-modal-linkedin svg {
    width: 22px;
    height: 22px;
}

/* Team Page Responsive */
@media (max-width: 1024px) {
    .team-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .team-page-section {
        padding: 60px 0 80px;
    }

    .team-page-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 20px;
    }

    .team-modal-inner {
        flex-direction: column;
    }

    .team-modal-photo {
        width: 100%;
        min-height: 240px;
        max-height: 280px;
        border-radius: 20px 20px 0 0;
    }

    .team-modal-content {
        padding: 24px;
    }

    .team-modal-name {
        font-size: 20px;
    }

    .team-page-pagination {
        margin-top: 40px;
    }
}

/* ── CTA Dark Cinematic ── */
.cta-dark {
    position: relative;
    padding: 160px 0;
    background: #000;
    text-align: center;
    overflow: hidden;
}

.cta-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.cta-dark::after {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 113, 227, 0.15) 0%, rgba(120, 75, 250, 0.08) 40%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.cta-dark .container {
    position: relative;
    z-index: 1;
}

.cta-dark .headline-section {
    margin-bottom: 16px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-dark .subhead {
    max-width: 520px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.45);
}

.cta-dark .btn-primary {
    background: #fff;
    color: #000;
}

.cta-dark .btn-primary:hover {
    background: #f5f5f7;
}

.cta-dark .btn-secondary {
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-dark .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* ══════════════════════════════════════════════════
   Legal Pages (Terms of Service, Privacy Policy)
   ══════════════════════════════════════════════════ */

/* ── Legal Hero ── */
.legal-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: var(--bg-primary);
}

.legal-hero .headline-hero {
    max-width: 720px;
    margin: 0 auto 16px;
    font-size: clamp(36px, 5vw, 56px);
}

.legal-hero .subhead {
    max-width: 520px;
    margin: 0 auto;
}

.legal-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 20px;
}

/* ── Legal Body ── */
.legal-body {
    background: var(--bg-primary);
    padding: 60px 24px 120px;
}

.legal-body-inner {
    max-width: 720px;
    margin: 0 auto;
}

.legal-body h2 {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 56px 0 16px;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 36px 0 12px;
}

.legal-body p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-body a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(0, 113, 227, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition);
}

.legal-body a:hover {
    text-decoration-color: var(--accent);
}

.legal-body ul,
.legal-body ol {
    margin: 0 0 24px;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-body ul li,
.legal-body ol li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.legal-body ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 10px;
}

.legal-body ol {
    counter-reset: legal-counter;
}

.legal-body ol li::before {
    counter-increment: legal-counter;
    content: counter(legal-counter) '.';
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
    min-width: 20px;
}

.legal-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 48px 0;
}

.legal-toc {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 48px;
}

.legal-toc-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.legal-toc ol {
    counter-reset: toc-counter;
    margin: 0;
    gap: 6px;
}

.legal-toc ol li {
    font-size: 15px;
}

.legal-toc ol li::before {
    counter-increment: toc-counter;
    content: counter(toc-counter) '.';
    font-size: 14px;
}

.legal-toc a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.legal-toc a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 140px 0 48px;
    }

    .legal-body {
        padding: 40px 20px 80px;
    }

    .legal-body p {
        font-size: 16px;
    }
}

/* ── Integrations Page ─────────────────────────── */

/* Hero */
.int-hero {
    padding: 160px 0 40px;
    text-align: center;
    background: var(--bg-primary);
    overflow: hidden;
}

.int-hero-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.int-hero .subhead {
    max-width: 640px;
    margin: 16px auto 0;
}

/* Hub visual */
.int-hub {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 420px;
    margin: 48px auto 0;
}

.int-hub-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.int-hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 16px rgba(0,113,227,0.3));
}

/* Pulse rings */
.int-hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0,113,227,0.1);
    transform: translate(-50%, -50%);
}

.int-hub-ring-1 {
    width: 140px;
    height: 140px;
    animation: intPulseRing 3s ease-in-out infinite;
}

.int-hub-ring-2 {
    width: 240px;
    height: 240px;
    animation: intPulseRing 3s ease-in-out infinite 1s;
}

.int-hub-ring-3 {
    width: 360px;
    height: 360px;
    animation: intPulseRing 3s ease-in-out infinite 2s;
}

@keyframes intPulseRing {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.04); }
}

/* Orbits */
.int-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.int-orbit-1 {
    width: 240px;
    height: 240px;
}

.int-orbit-2 {
    width: 360px;
    height: 360px;
}

.int-orbit-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    animation: intOrbit 16s linear infinite;
    animation-delay: var(--orb-delay, 0s);
}

.int-orbit-2 .int-orbit-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    animation-duration: 22s;
    animation-direction: reverse;
}

@keyframes intOrbit {
    0% { top: 0%; left: 50%; transform: translate(-50%, -50%) rotate(0deg); }
    25% { top: 50%; left: 100%; transform: translate(-50%, -50%) rotate(0deg); }
    50% { top: 100%; left: 50%; transform: translate(-50%, -50%) rotate(0deg); }
    75% { top: 50%; left: 0%; transform: translate(-50%, -50%) rotate(0deg); }
    100% { top: 0%; left: 50%; transform: translate(-50%, -50%) rotate(0deg); }
}

/* Platforms section */
.int-platforms {
    padding: 100px 0;
    background: #fff;
}

.int-platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.int-platform-card {
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.int-platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.int-platform-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.int-platform-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.int-platform-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.int-platform-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0,113,227,0.08);
    padding: 4px 14px;
    border-radius: 20px;
}

/* Integration grid */
.int-grid-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.int-category {
    margin-bottom: 56px;
}

.int-category:last-child {
    margin-bottom: 0;
}

.int-category-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.int-icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.int-icon-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
}

.int-icon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.int-icon-img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.int-icon-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Scroll reveal */
.int-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.int-reveal.int-visible {
    opacity: 1;
    transform: translateY(0);
}

/* How it works */
.int-how {
    padding: 100px 0;
    background: #fff;
}

.int-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.int-step {
    text-align: center;
    max-width: 260px;
    flex: 0 0 auto;
}

.int-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.int-step-visual {
    margin-bottom: 20px;
}

.int-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.int-step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.int-step-connector {
    display: flex;
    align-items: center;
    padding-top: 72px;
    margin: 0 16px;
}

/* API preview */
.int-api {
    padding: 120px 0;
    background: var(--bg-primary);
}

.int-api-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.int-api-text .subhead {
    margin-top: 16px;
}

.int-api-window {
    background: #1d1d1f;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.int-api-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #2a2a2c;
}

.int-api-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.int-api-titlebar-text {
    font-size: 12px;
    color: #86868b;
    margin-left: 8px;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
}

.int-api-pre {
    padding: 24px;
    margin: 0;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
    color: #e5e5e7;
}

.int-api-pre code {
    font-family: inherit;
}

.int-code-comment {
    color: #6e6e73;
}

.int-code-keyword {
    color: #ff453a;
}

.int-code-string {
    color: #30d158;
}

.int-code-number {
    color: #ff9f0a;
}

/* Responsive */
@media (max-width: 900px) {
    .int-platforms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .int-icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .int-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .int-step-connector {
        padding-top: 0;
        margin: 0;
        transform: rotate(90deg);
    }

    .int-api-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .int-hub {
        max-width: 320px;
        height: 320px;
    }

    .int-orbit-1 { width: 180px; height: 180px; }
    .int-orbit-2 { width: 280px; height: 280px; }
    .int-hub-ring-1 { width: 100px; height: 100px; }
    .int-hub-ring-2 { width: 180px; height: 180px; }
    .int-hub-ring-3 { width: 280px; height: 280px; }
}

@media (max-width: 600px) {
    .int-hero {
        padding: 140px 0 32px;
    }

    .int-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .int-icon-card {
        padding: 18px 12px;
    }

    .int-hub {
        max-width: 260px;
        height: 260px;
    }

    .int-orbit-1 { width: 150px; height: 150px; }
    .int-orbit-2 { width: 230px; height: 230px; }
    .int-hub-ring-1 { width: 80px; height: 80px; }
    .int-hub-ring-2 { width: 150px; height: 150px; }
    .int-hub-ring-3 { width: 230px; height: 230px; }

    .int-orbit-icon { width: 36px; height: 36px; border-radius: 10px; }
    .int-orbit-icon svg { width: 20px; height: 20px; }
    .int-orbit-2 .int-orbit-icon { width: 32px; height: 32px; }
    .int-orbit-2 .int-orbit-icon svg { width: 18px; height: 18px; }

    .int-platforms {
        padding: 60px 0;
    }

    .int-grid-section {
        padding: 60px 0;
    }

    .int-how {
        padding: 60px 0;
    }

    .int-api {
        padding: 60px 0;
    }
}

/* ── Get Started Page ──────────────────────────── */

.gs-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: var(--bg-primary);
}

.gs-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.gs-hero .subhead {
    max-width: 600px;
    margin: 16px auto 0;
}

.gs-booking {
    padding: 0 0 80px;
    background: var(--bg-primary);
}

.gs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.gs-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.gs-section-sub {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 28px;
}

.gs-calendar-wrap {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--border);
}

.gs-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gs-cal-month {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.gs-cal-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.gs-cal-nav:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,113,227,0.04);
}

.gs-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.gs-cal-weekdays span {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 0;
}

.gs-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.gs-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    border: none;
    background: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gs-cal-day:hover:not(:disabled) {
    background: rgba(0,113,227,0.08);
    color: var(--accent);
}

.gs-cal-day-empty {
    cursor: default;
}

.gs-cal-day-disabled {
    color: var(--border) !important;
    cursor: default !important;
}

.gs-cal-day-selected {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 700;
}

.gs-times {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    animation: gsFadeIn 0.3s ease;
}

.gs-times-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.gs-times-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gs-time-slot {
    padding: 10px 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gs-time-slot:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,113,227,0.04);
}

.gs-time-slot-selected {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
}

@keyframes gsFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.gs-form-wrap {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--border);
}

.gs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gs-field {
    margin-bottom: 18px;
}

.gs-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.gs-req {
    color: #ff453a;
}

.gs-field input,
.gs-field select,
.gs-field textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}

.gs-field input:focus,
.gs-field select:focus,
.gs-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.1);
}

.gs-field input::placeholder,
.gs-field textarea::placeholder {
    color: var(--text-tertiary);
}

.gs-field textarea {
    resize: vertical;
    min-height: 80px;
}

.gs-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l3 3 3-3' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.gs-selection {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0,113,227,0.04);
    border: 1px solid rgba(0,113,227,0.15);
    border-radius: 12px;
    margin-bottom: 20px;
    animation: gsFadeIn 0.3s ease;
}

.gs-selection-icon {
    flex-shrink: 0;
}

.gs-selection-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gs-selection-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 2px;
}

.gs-selection-change {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gs-selection-change:hover {
    color: var(--text-primary);
}

.gs-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
    overflow: hidden;
}

.gs-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,113,227,0.25);
}

.gs-submit:active {
    transform: translateY(0);
}

.gs-submit-loading {
    pointer-events: none;
    opacity: 0.8;
}

.gs-submit-loading .gs-submit-icon {
    animation: gsSpin 0.8s linear infinite;
}

@keyframes gsSpin {
    to { transform: rotate(360deg); }
}

.gs-submit-success {
    background: #30d158 !important;
    pointer-events: none;
}

.gs-trust {
    padding: 80px 0 100px;
    background: #fff;
}

.gs-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.gs-trust-item {
    text-align: center;
}

.gs-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.gs-trust-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.gs-trust-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.gs-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gs-reveal.gs-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .gs-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gs-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .gs-times-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gs-hero {
        padding: 140px 0 40px;
    }

    .gs-calendar-wrap,
    .gs-form-wrap {
        padding: 24px 20px;
    }

    .gs-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gs-times-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gs-trust-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gs-trust {
        padding: 60px 0 80px;
    }

    .gs-booking {
        padding: 0 0 40px;
    }
}

/* ── Help Center Page ──────────────────────────── */

.hc-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: var(--bg-primary);
}

.hc-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(0,113,227,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.hc-hero .subhead {
    max-width: 500px;
    margin: 16px auto 0;
}

.hc-search {
    position: relative;
    max-width: 520px;
    margin: 32px auto 0;
}

.hc-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.hc-search-input {
    width: 100%;
    padding: 14px 18px 14px 50px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hc-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.1);
}

.hc-search-input::placeholder {
    color: var(--text-tertiary);
}

/* Topics grid */
.hc-topics {
    padding: 0 0 80px;
    background: var(--bg-primary);
}

.hc-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hc-topic-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 28px 24px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    display: block;
}

.hc-topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.hc-topic-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.hc-topic-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.hc-topic-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FAQ */
.hc-faq {
    padding: 100px 0;
    background: #fff;
}

.hc-faq-group {
    margin-bottom: 48px;
    scroll-margin-top: 100px;
}

.hc-faq-group:last-child {
    margin-bottom: 0;
}

.hc-faq-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.hc-faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.hc-faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hc-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.hc-faq-chevron {
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: transform 0.25s ease;
}

.hc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}

.hc-faq-a p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hc-faq-a a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.hc-faq-a a:hover {
    text-decoration: underline;
}

.hc-faq-open .hc-faq-chevron {
    transform: rotate(180deg);
}

.hc-faq-open .hc-faq-a {
    max-height: 400px;
    padding: 0 20px 20px;
}

/* Support section */
.hc-support {
    padding: 100px 0;
    background: var(--bg-primary);
    scroll-margin-top: 80px;
}

.hc-support-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.hc-support-form-wrap {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--border);
}

.hc-support-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.hc-support-sub {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 28px;
}

.hc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hc-field {
    margin-bottom: 18px;
}

.hc-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.hc-req {
    color: #ff453a;
}

.hc-field input,
.hc-field select,
.hc-field textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}

.hc-field input:focus,
.hc-field select:focus,
.hc-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.1);
}

.hc-field input::placeholder,
.hc-field textarea::placeholder {
    color: var(--text-tertiary);
}

.hc-field textarea {
    resize: vertical;
    min-height: 100px;
}

.hc-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l3 3 3-3' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.hc-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
}

.hc-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,113,227,0.25);
}

.hc-submit:active {
    transform: translateY(0);
}

.hc-submit-loading {
    pointer-events: none;
    opacity: 0.8;
}

.hc-submit-success {
    background: #30d158 !important;
    pointer-events: none;
}

/* Sidebar */
.hc-support-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hc-sidebar-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border);
}

.hc-sidebar-icon {
    margin-bottom: 10px;
}

.hc-sidebar-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.hc-sidebar-card p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.hc-sidebar-card a,
.hc-sidebar-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.hc-sidebar-card a:hover {
    text-decoration: underline;
}

.hc-sidebar-links {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border);
}

.hc-sidebar-links h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.hc-sidebar-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

.hc-sidebar-links a:hover {
    color: var(--accent);
}

.hc-sidebar-links a svg {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

/* Scroll reveal */
.hc-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hc-reveal.hc-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hc-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hc-support-layout {
        grid-template-columns: 1fr;
    }

    .hc-support-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hc-sidebar-card,
    .hc-sidebar-links {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 600px) {
    .hc-hero {
        padding: 140px 0 40px;
    }

    .hc-topics-grid {
        grid-template-columns: 1fr;
    }

    .hc-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hc-support-form-wrap {
        padding: 24px 20px;
    }

    .hc-faq {
        padding: 60px 0;
    }

    .hc-support {
        padding: 60px 0;
    }

    .hc-support-sidebar {
        flex-direction: column;
    }
}

/* ══════════════════════════════════════════════════
   Help Center: Tutorial Videos Section
   ══════════════════════════════════════════════════ */

.hc-tutorials {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid var(--border);
}

.hc-tutorials-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
}

.hc-tutorials-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.hc-tutorials-sub {
    font-size: 16px;
    color: var(--text-secondary);
}

.hc-tutorials-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.3s ease;
}

.hc-tutorials-link:hover {
    gap: 10px;
}

.hc-tutorials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hc-tutorial-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hc-tutorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.hc-tutorial-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hc-tutorial-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hc-tutorial-card:hover .hc-tutorial-play {
    transform: scale(1.1);
    background: var(--accent);
}

.hc-tutorial-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hc-tutorial-info {
    padding: 20px;
}

.hc-tutorial-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.hc-tutorial-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .hc-tutorials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hc-tutorials {
        padding: 60px 0;
    }

    .hc-tutorials-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hc-tutorials-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════
   Tutorials Page
   ══════════════════════════════════════════════════ */

/* ── Hero ── */
.tut-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg-primary);
}

.tut-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 980px;
    background: rgba(0,113,227,0.08);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.tut-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding: 20px 36px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.tut-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.tut-stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.tut-stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.tut-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ── Filter bar ── */
.tut-filter {
    padding: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 52px;
    z-index: 90;
}

.tut-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tut-filter-btn {
    padding: 8px 20px;
    border-radius: 980px;
    border: 1.5px solid var(--border);
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}

.tut-filter-btn:hover {
    border-color: var(--text-tertiary);
    color: var(--text-primary);
}

.tut-filter-active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
}

.tut-filter-active:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
}

/* ── Video grid ── */
.tut-grid-section {
    padding: 60px 0 80px;
    background: var(--bg-primary);
}

.tut-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tut-video-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tut-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    border-color: rgba(0,113,227,0.3);
}

/* ── Video poster ── */
.tut-video-player {
    position: relative;
}

.tut-video-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 50%, #1d1d1f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.tut-poster-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,113,227,0.08) 0%, transparent 70%);
}

.tut-poster-content {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tut-poster-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tut-poster-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
}

.tut-play-btn {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.tut-play-btn svg {
    margin-left: 3px;
}

.tut-video-card:hover .tut-play-btn {
    transform: scale(1.12);
    background: var(--accent);
}

.tut-video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 2;
}

/* ── Video body ── */
.tut-video-body {
    padding: 22px 24px 26px;
}

.tut-video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tut-video-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tag-color);
    background: color-mix(in srgb, var(--tag-color) 10%, transparent);
}

.tut-video-time {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.tut-video-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tut-video-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ── CTA ── */
.tut-cta {
    padding: 0 0 100px;
    background: var(--bg-primary);
}

.tut-cta-card {
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
    border-radius: 24px;
    color: #fff;
}

.tut-cta-card h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.tut-cta-card p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
}

.tut-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Scroll reveal ── */
.tut-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tut-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes tutFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .tut-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tut-hero-stats {
        gap: 24px;
        padding: 16px 28px;
    }
}

@media (max-width: 600px) {
    .tut-hero {
        padding: 140px 0 60px;
    }

    .tut-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tut-hero-stats {
        gap: 20px;
        padding: 14px 20px;
    }

    .tut-stat-num {
        font-size: 22px;
    }

    .tut-filter-bar {
        padding: 10px 0;
    }

    .tut-cta-card {
        padding: 48px 24px;
    }

    .tut-cta-card h2 {
        font-size: 22px;
    }

    .tut-grid-section {
        padding: 40px 0 60px;
    }
}

/* ══════════════════════════════════════════════════
   Video Popup Modal (shared)
   ══════════════════════════════════════════════════ */

.vid-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.vid-modal-open {
    opacity: 1;
    visibility: visible;
}

.vid-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vid-modal-container {
    position: relative;
    width: 90%;
    max-width: 820px;
    background: #1d1d1f;
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.vid-modal-open .vid-modal-container {
    transform: translateY(0) scale(1);
}

.vid-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.vid-modal-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.08);
}

/* ── Player screen ── */
.vid-modal-player {
    position: relative;
    width: 100%;
}

.vid-modal-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #111 0%, #1a1a1d 50%, #111 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vid-modal-poster-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,113,227,0.12) 0%, transparent 65%);
}

.vid-modal-play-center {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.vid-modal-play-center svg {
    margin-left: 4px;
}

.vid-modal-play-center:hover {
    transform: scale(1.1);
    background: var(--accent);
}

/* ── Control bar ── */
.vid-modal-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 0 16px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.vid-modal-progress {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 8px;
    cursor: pointer;
    overflow: hidden;
}

.vid-modal-progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
    transition: width 0.15s ease;
}

.vid-modal-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vid-modal-ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.vid-modal-ctrl-btn:hover {
    opacity: 1;
}

.vid-modal-time {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.vid-modal-fullscreen {
    margin-left: auto;
}

/* ── Info area ── */
.vid-modal-info {
    padding: 24px 28px 28px;
}

.vid-modal-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 980px;
    background: rgba(0,113,227,0.12);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.vid-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.3;
}

.vid-modal-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .vid-modal-container {
        width: 95%;
        border-radius: 16px;
    }

    .vid-modal-info {
        padding: 20px 20px 24px;
    }

    .vid-modal-title {
        font-size: 17px;
    }

    .vid-modal-play-center {
        width: 60px;
        height: 60px;
    }

    .vid-modal-play-center svg {
        width: 36px;
        height: 36px;
    }
}

/* ══════════════════════════════════════════════════
   API Documentation Page
   ══════════════════════════════════════════════════ */

/* ── Hero ── */
.api-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg-primary);
}

.api-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 980px;
    background: rgba(0,113,227,0.08);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.api-hero-base {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
}

.api-hero-base-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
}

.api-hero-base-url {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #1d1d1f;
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.api-hero-base-url code {
    color: #30d158;
    font-size: 15px;
    font-weight: 500;
}

/* ── Layout ── */
.api-layout {
    padding: 0 0 80px;
    background: var(--bg-primary);
}

.api-layout-inner {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Sidebar ── */
.api-sidebar {
    position: sticky;
    top: 72px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 8px 0;
}

.api-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.api-sidebar-group h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    padding-left: 12px;
}

.api-sidebar-link {
    display: block;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.api-sidebar-link:hover {
    color: var(--text-primary);
    background: rgba(0,0,0,0.03);
}

.api-sidebar-active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: rgba(0,113,227,0.06);
}

/* ── Content ── */
.api-content {
    min-width: 0;
}

.api-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.api-section:first-child {
    padding-top: 0;
}

.api-section:last-child {
    border-bottom: none;
}

.api-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.api-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--section-color) 10%, transparent);
    color: var(--section-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.api-section-header h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.api-section-header p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.api-section-header code {
    background: rgba(0,113,227,0.08);
    color: var(--accent);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}

/* ── Code blocks ── */
.api-code-block {
    background: #1d1d1f;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 16px 0;
}

.api-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.api-code-lang {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.45);
}

.api-code-block pre {
    padding: 16px 20px;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.api-code-block code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.65;
    color: #e5e5ea;
}

/* JSON syntax colors */
.api-json-key { color: #82aaff; }
.api-json-str { color: #c3e88d; }
.api-json-num { color: #f78c6c; }
.api-json-bool { color: #c792ea; }
.api-sh-cmd { color: #82aaff; font-weight: 600; }

/* ── Copy button ── */
.api-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.api-copy-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.api-copied {
    background: rgba(48,209,88,0.2) !important;
    color: #30d158 !important;
}

/* ── Steps ── */
.api-steps {
    margin: 24px 0;
}

.api-steps h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.api-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
    color: var(--text-secondary);
}

.api-step:last-child {
    border-bottom: none;
}

.api-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Tables ── */
.api-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.api-table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    background: rgba(0,0,0,0.02);
    border-bottom: 1.5px solid var(--border);
}

.api-table td {
    padding: 10px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    vertical-align: top;
}

.api-table td code {
    background: rgba(0,113,227,0.06);
    color: var(--accent);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.api-table-sm td, .api-table-sm th {
    padding: 8px 12px;
}

/* ── Endpoint cards ── */
.api-endpoint {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 20px 0;
    transition: border-color 0.3s ease;
}

.api-endpoint:hover {
    border-color: rgba(0,113,227,0.2);
}

.api-endpoint-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.api-endpoint-path {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.api-endpoint-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 10px 0 0;
    line-height: 1.5;
}

/* ── Method badges ── */
.api-method-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.api-method-get { background: rgba(0,113,227,0.1); color: #0071e3; }
.api-method-post { background: rgba(48,209,88,0.1); color: #30d158; }
.api-method-put { background: rgba(255,159,10,0.1); color: #ff9f0a; }
.api-method-delete { background: rgba(255,69,58,0.1); color: #ff453a; }
.api-method-misc { background: rgba(120,75,250,0.1); color: #784bfa; }

/* ── Scope badge ── */
.api-scope-badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 980px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(0,0,0,0.04);
    color: var(--text-tertiary);
    margin-left: auto;
}

/* ── Status codes ── */
.api-status {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.api-status-ok { background: rgba(48,209,88,0.1); color: #30d158; }
.api-status-warn { background: rgba(255,159,10,0.1); color: #ff9f0a; }
.api-status-err { background: rgba(255,69,58,0.1); color: #ff453a; }

/* ── Info grid ── */
.api-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 20px 0;
}

.api-info-card {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.25s ease;
}

.api-info-card:hover {
    border-color: rgba(0,113,227,0.2);
}

.api-info-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.api-info-card code {
    background: rgba(0,113,227,0.06);
    color: var(--accent);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* ── CTA ── */
.api-cta {
    padding: 0 0 100px;
    background: var(--bg-primary);
}

.api-cta-card {
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
    border-radius: 24px;
    color: #fff;
}

.api-cta-card h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.api-cta-card p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.api-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Scroll reveal ── */
.api-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.api-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .api-layout-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .api-sidebar {
        display: none;
    }

    .api-info-grid {
        grid-template-columns: 1fr;
    }

    .api-info-grid[style] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    .api-hero {
        padding: 140px 0 60px;
    }

    .api-section-header {
        flex-direction: column;
        gap: 12px;
    }

    .api-endpoint {
        padding: 18px 16px;
    }

    .api-endpoint-head {
        gap: 8px;
    }

    .api-scope-badge {
        margin-left: 0;
    }

    .api-cta-card {
        padding: 48px 24px;
    }

    .api-cta-card h2 {
        font-size: 22px;
    }

    .api-hero-base-url {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ── Press Page ──────────────────────────────────── */
.press-hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: #0a1628;
    min-height: 540px;
}
/* Background image layer */
.press-hero-img {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.18;
    z-index: 0;
}
/* Dark gradient overlay on top of image */
.press-hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10,22,40,0.7) 0%, rgba(13,31,60,0.5) 40%, rgba(15,40,71,0.6) 70%, rgba(10,22,40,0.8) 100%);
}
/* Dot-pattern overlay */
.press-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.12) 1px, transparent 0);
    background-size: 28px 28px;
    z-index: 1;
}
/* Soft vignette edges */
.press-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 40%, rgba(10,22,40,0.6) 100%);
    z-index: 1;
}
.press-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}
.press-hero-grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}
.press-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.press-hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(0,113,227,0.15);
    top: -100px;
    right: -50px;
    animation: pressOrbFloat 8s ease-in-out infinite;
}
.press-hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(48,209,88,0.08);
    bottom: -80px;
    left: -60px;
    animation: pressOrbFloat 10s ease-in-out infinite reverse;
}
.press-hero-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(175,130,255,0.1);
    top: 50%;
    left: 40%;
    animation: pressOrbFloat 12s ease-in-out infinite 2s;
}
@keyframes pressOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.05); }
    66% { transform: translate(-10px, 10px) scale(0.95); }
}
.press-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}
.press-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(13,31,60,0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 44px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}
.press-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0,113,227,0.15);
    color: #5ba8f5;
    border: 1px solid rgba(0,113,227,0.25);
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.press-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 18px;
}
.press-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    max-width: 440px;
    line-height: 1.65;
    margin-bottom: 32px;
}
.press-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.press-hero-feature {
    position: relative;
}
.press-hero-card {
    position: relative;
    background: rgba(13,31,60,0.55);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}
.press-hero-card-glow {
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,113,227,0.5), rgba(91,168,245,0.4), transparent);
    border-radius: 2px;
}
.press-hero-card-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0,113,227,0.2);
    color: #5ba8f5;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.press-hero-card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(48,209,88,0.12);
    color: #30d158;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}
.press-hero-card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 10px;
    margin-top: 4px;
}
.press-hero-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
    margin-bottom: 16px;
}
.press-hero-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}
.press-hero-card-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}
.press-hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(13,31,60,0.5);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 10px 16px 10px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}
.press-hero-float svg {
    flex-shrink: 0;
}
.press-hero-float-1 {
    top: -16px;
    right: -24px;
    animation: pressFloat 6s ease-in-out infinite;
}
.press-hero-float-2 {
    bottom: -16px;
    left: -24px;
    animation: pressFloat 6s ease-in-out infinite 1.5s;
}
@keyframes pressFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Brand asset logos */
.press-asset-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.press-asset-logo-invert {
    filter: brightness(0) invert(1);
}
.press-asset-icon {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Stats */
.press-stats {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}
.press-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.press-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.press-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.press-stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* Section titles */
.press-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.press-section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Press Releases */
.press-releases {
    padding: 80px 0;
}
.press-release-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 32px;
}
.press-release-card {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}
.press-release-card:first-child {
    border-top: 1px solid var(--border);
}
.press-release-card:hover {
    background: rgba(0,113,227,0.02);
}
.press-release-card:hover .press-release-arrow {
    transform: translate(2px, -2px);
    color: #0071e3;
}
.press-release-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    padding-top: 4px;
}
.press-release-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.press-release-day {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}
.press-release-year {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}
.press-release-body {
    flex: 1;
}
.press-release-tag {
    display: inline-block;
    padding: 3px 10px;
    background: color-mix(in srgb, var(--tag-color) 10%, transparent);
    color: var(--tag-color);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.press-release-body h3 {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 6px;
}
.press-release-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.press-release-arrow {
    flex-shrink: 0;
    color: var(--text-tertiary);
    margin-top: 8px;
    transition: transform 0.2s, color 0.2s;
}

/* Brand Assets */
.press-assets {
    padding: 80px 0;
    background: #fafafa;
}
.press-assets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.press-asset-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.press-asset-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.press-asset-preview {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.press-asset-light {
    background: #f5f5f7;
}
.press-asset-dark {
    background: #1d1d1f;
}
.press-color-swatches {
    display: flex;
    gap: 10px;
}
.press-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.press-asset-info {
    padding: 20px;
}
.press-asset-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.press-asset-info p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.press-asset-formats {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Media Coverage */
.press-coverage {
    padding: 80px 0;
}
.press-coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.press-coverage-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.press-coverage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: #0071e3;
}
.press-coverage-source {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0071e3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.press-coverage-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
}
.press-coverage-date {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    margin-top: auto;
}

/* Media Contact CTA */
.press-contact {
    padding: 80px 0 100px;
}
.press-contact-card {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 48px 56px;
    background: linear-gradient(135deg, #f0f4ff 0%, #fafbff 100%);
    border: 1px solid rgba(0,113,227,0.12);
    border-radius: 24px;
}
.press-contact-content {
    flex: 1;
}
.press-contact-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.press-contact-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}
.press-contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.press-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.press-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* Scroll reveal */
.press-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.press-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .press-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .press-hero-text {
        align-items: center;
        text-align: center;
        padding: 36px;
    }
    .press-hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    .press-hero-actions {
        justify-content: center;
    }
    .press-hero-float-1 {
        right: 0;
    }
    .press-hero-float-2 {
        left: 0;
    }
    .press-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .press-assets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .press-coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .press-contact-card {
        flex-direction: column;
        gap: 32px;
        padding: 36px;
        text-align: center;
    }
    .press-contact-details {
        align-items: center;
    }
    .press-contact-actions {
        width: 100%;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .press-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    .press-hero-text {
        padding: 28px 24px;
    }
    .press-hero-card {
        padding: 24px;
    }
    .press-hero-float {
        display: none;
    }
    .press-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .press-release-card {
        flex-direction: column;
        gap: 12px;
    }
    .press-release-date {
        flex-direction: row;
        gap: 6px;
    }
    .press-release-arrow {
        position: absolute;
        top: 28px;
        right: 0;
    }
    .press-assets-grid {
        grid-template-columns: 1fr;
    }
    .press-coverage-grid {
        grid-template-columns: 1fr;
    }
    .press-contact-card {
        padding: 28px 24px;
    }
}

/* ── Thank You Page ──────────────────────────────── */
.ty-hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.ty-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.ty-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.ty-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0,113,227,0.06);
    top: -120px;
    right: -100px;
    animation: pressOrbFloat 10s ease-in-out infinite;
}
.ty-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(48,209,88,0.05);
    bottom: -100px;
    left: -80px;
    animation: pressOrbFloat 12s ease-in-out infinite reverse;
}
.ty-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(175,130,255,0.04);
    top: 40%;
    left: 50%;
    animation: pressOrbFloat 14s ease-in-out infinite 3s;
}
.ty-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Animated checkmark */
.ty-check-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 36px;
}
.ty-check-circle {
    display: block;
}
@keyframes tyDrawCircle {
    to { stroke-dashoffset: 0; }
}
@keyframes tyDrawCheck {
    to { stroke-dashoffset: 0; }
}

/* Particle burst */
.ty-particles {
    position: absolute;
    inset: 0;
    opacity: 0;
}
@keyframes tyBurst {
    0% { opacity: 1; }
    100% { opacity: 0; }
}
.ty-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color);
    top: 50%;
    left: 50%;
    animation: tyParticleOut 0.8s ease-out forwards 0.9s;
    opacity: 0;
}
@keyframes tyParticleOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-60px) scale(0);
    }
}

.ty-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.ty-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 48px;
}

/* Steps */
.ty-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 48px;
    text-align: left;
}
.ty-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 420px;
    width: 100%;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.25s, box-shadow 0.25s;
}
.ty-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.ty-step-icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.ty-step-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.ty-step-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.ty-step-line {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--border), transparent);
    margin: 0 auto;
}

/* Actions */
.ty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Resources section */
.ty-resources {
    padding: 80px 0 100px;
    background: #fafafa;
}
.ty-resources-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 8px;
}
.ty-resources-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}
.ty-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ty-resource-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ty-resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--rc-color, var(--accent));
}
.ty-resource-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--rc-color) 8%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ty-resource-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.ty-resource-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.ty-resource-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
}

/* Scroll reveal */
.ty-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.ty-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .ty-resources-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .ty-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    .ty-step {
        padding: 16px;
    }
    .ty-resource-card {
        padding: 24px;
    }
}
