/* ==========================================================================
   AI PILOTS - AGENCY LUXURY DESIGN SYSTEM (LIGHT MODE)
   Engineered for B2B Agency Landing Pages, Sub-Second Performance & High Conversions
   ========================================================================== */

:root {
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-subtle: #f1f5f9;
    --border-light: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;

    --primary: #1d4ed8;
    --primary-hover: #1e40af;
    --accent-cyan: #0284c7;
    --accent-emerald: #059669;
    --accent-purple: #7c3aed;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-page);
    color: var(--text-body);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    line-height: 1.6;
}

/* Ambient Radiant Mesh Backgrounds */
.ambient-gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle 900px at 50% -100px, rgba(37, 99, 235, 0.08), transparent 75%),
        radial-gradient(circle 800px at 90% 40%, rgba(14, 165, 233, 0.06), transparent 70%),
        radial-gradient(circle 700px at 10% 75%, rgba(99, 102, 241, 0.05), transparent 65%);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

section {
    padding: 6.5rem 0;
    position: relative;
    z-index: 1;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    color: var(--text-heading);
    line-height: 1.2;
}

.gradient-headline {
    background: linear-gradient(135deg, #0f172a 30%, #1d4ed8 75%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.75rem auto;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: #eff6ff;
    border: 1px solid rgba(29, 78, 216, 0.2);
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse-live 2.5s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.section-title {
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    margin-bottom: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
}

.section-desc {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin-bottom: 1.5rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--text-dim);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

/* Buttons */
.btn-luxury-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.96rem;
    padding: 0.9rem 1.85rem;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(29, 78, 216, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.22s ease;
    cursor: pointer;
}

.btn-luxury-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(2, 132, 199, 0.5);
    filter: brightness(1.05);
    color: #ffffff;
}

.btn-luxury-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #ffffff;
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.9rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: all 0.22s ease;
    cursor: pointer;
}

.btn-luxury-secondary:hover {
    background: #f8fafc;
    border-color: var(--border-hover);
    transform: translateY(-2px);
    color: var(--primary);
}

/* ========================================================
   FLOATING LUXURY NAVBAR (LIGHT MODE)
======================================================== */
.navbar-wrap {
    position: fixed;
    top: 1.15rem;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 1.25rem;
}

.navbar-luxury {
    max-width: 1220px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 16px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.nav-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-light);
}

.nav-brand-text {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    white-space: nowrap !important;
}

.nav-badge-agency {
    font-size: 0.68rem;
    padding: 3px 8px;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid rgba(29, 78, 216, 0.2);
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

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

.nav-link-item a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-link-item a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.nav-phone-link {
    color: var(--text-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.15s ease;
}

.nav-phone-link:hover {
    color: var(--primary);
}

.nav-cta-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    border-radius: 10px;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    cursor: pointer;
    padding: 0.4rem;
}

@media (max-width: 980px) {
    .nav-links, .nav-phone-link { display: none; }
    .nav-badge-agency { display: none !important; }
    .navbar-luxury { position: relative; }
    .mobile-toggle { 
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #f1f5f9;
        border: 1px solid var(--border-light);
        touch-action: manipulation;
    }
}

@media (max-width: 768px) {
    .navbar-wrap {
        top: max(0.6rem, env(safe-area-inset-top));
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }
    
    .navbar-luxury {
        padding: 0.5rem 0.85rem;
        border-radius: 14px;
        gap: 0.5rem;
        position: relative;
    }
    
    .nav-brand {
        gap: 0.55rem;
        min-width: 0;
        flex-shrink: 0;
    }
    
    .nav-logo-img {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .nav-brand-text {
        font-size: 1.15rem;
        white-space: nowrap !important;
        overflow: visible !important;
    }
    
    /* Hide the bulky badge and CTA button from the floating navbar on mobile so logo & brand never squish or wrap */
    .nav-badge-agency {
        display: none !important;
    }
    
    .nav-actions {
        gap: 0.4rem;
        flex-shrink: 0;
    }
    
    .nav-actions .nav-cta-btn {
        display: none !important;
    }
}

/* ========================================================
   HERO SECTIONS
======================================================== */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 5.5rem;
}

.hero-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 980px) {
    .hero-layout-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .breadcrumb-list {
        justify-content: center;
    }
}

.hero-headline {
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 1.35rem;
}

.hero-subhead {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2.25rem;
    max-width: 620px;
}

@media (max-width: 980px) {
    .hero-subhead {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

/* Hero Image Container with Floating Badges */
.hero-image-wrap {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.9);
    overflow: visible;
}

.hero-main-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
    z-index: 3;
    animation: float-badge 6s ease-in-out infinite;
}

.badge-top-left {
    top: -18px;
    left: -18px;
}

.badge-bottom-right {
    bottom: -18px;
    right: -18px;
    animation-delay: -3s;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 640px) {
    .floating-badge {
        position: static;
        margin-top: 1rem;
        display: inline-flex;
    }
}

/* Metrics Strip */
.hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4.5rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
}

.metric-cell {
    text-align: center;
    border-right: 1px solid var(--border-light);
    padding: 0 1rem;
}

.metric-cell:last-child {
    border-right: none;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.2rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 0;
    }
    .metric-cell:nth-child(2) { border-right: none; }
}

/* ========================================================
   CARDS & PILLARS
======================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

@media (max-width: 1120px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 2.1rem 1.65rem;
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.03);
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: #93c5fd;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.pillar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.pillar-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease;
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.05);
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dim);
}

.pillar-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.pillar-tagline {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--border-light);
}

.pillar-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

.bullet-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.pillar-badge-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    border: 1px solid var(--border-light);
}

/* Feature 3-Column Grid */
.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 980px) {
    .feature-grid-3 { grid-template-columns: 1fr; }
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.1);
    border-color: #bfdbfe;
}

.feature-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-box-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
}

.feature-box-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ========================================================
   STORY / PRODUCT SHOWCASE ROWS (HUMAN IMAGERY)
======================================================== */
.story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.story-row:last-child {
    margin-bottom: 0;
}

.story-row.reverse {
    direction: rtl;
}

.story-row.reverse > * {
    direction: ltr;
}

@media (max-width: 980px) {
    .story-row, .story-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr !important;
        gap: 2.5rem;
        margin-bottom: 4.5rem;
    }
}

.story-media-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.9);
    background: #ffffff;
}

.story-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-media-card:hover .story-img {
    transform: scale(1.02);
}

.story-content-col {
    max-width: 540px;
}

.story-tag {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.story-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1.15rem;
    line-height: 1.25;
}

.story-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.story-perks-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.story-perk-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.94rem;
    color: var(--text-heading);
    font-weight: 600;
}

.story-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ========================================================
   COMPARISON TABLE (FOR GHL / WORDPRESS ALTERNATIVE)
======================================================== */
.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
    margin: 2rem 0 3rem 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.comparison-table-wrap::-webkit-scrollbar {
    height: 6px;
}

.comparison-table-wrap::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 8px;
}

.comparison-table-wrap::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 8px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    min-width: 680px;
}

.comparison-table th, .comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.comparison-table th {
    background: #f8fafc;
    color: var(--text-heading);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.comparison-table th.highlight-col, .comparison-table td.highlight-col {
    background: #eff6ff;
    font-weight: 700;
    color: var(--primary);
}

.table-check {
    color: var(--accent-emerald);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.table-cross {
    color: #ef4444;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Mobile Scroll Cue */
.table-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
    padding: 0.45rem 1.15rem;
    margin: 0 auto 1.25rem auto;
    width: fit-content;
    text-align: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

@media (max-width: 768px) {
    .table-scroll-hint {
        display: inline-flex;
    }
    
    .comparison-table {
        min-width: 580px;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 0.85rem 0.9rem;
        font-size: 0.84rem;
        line-height: 1.45;
    }
    
    .comparison-table th {
        font-size: 0.88rem;
    }
    
    /* Sticky First Column so row titles stay visible during horizontal swipe */
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #ffffff;
        box-shadow: 3px 0 8px rgba(15, 23, 42, 0.06);
        min-width: 135px;
        max-width: 155px;
    }
    
    .comparison-table th:first-child {
        background: #f8fafc;
        z-index: 4;
    }
}

@media (max-width: 480px) {
    .comparison-table {
        min-width: 500px;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 0.75rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 120px;
        max-width: 135px;
    }
}

/* ========================================================
   FAQ ACCORDION
======================================================== */
.faq-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item.active {
    border-color: #93c5fd;
    box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.08);
}

.faq-btn {
    width: 100%;
    padding: 1.5rem 1.75rem;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.faq-btn:hover {
    color: var(--primary);
}

.faq-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    color: var(--text-muted);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-body {
    display: none;
    padding: 0 1.75rem 1.5rem 1.75rem;
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.7;
}

.faq-item.active .faq-body {
    display: block;
}

/* ========================================================
   PARTNER APPLICATION FORM
======================================================== */
.application-card {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

@media (max-width: 768px) {
    .application-card {
        padding: 2.25rem 1.5rem;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.45rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-heading);
    transition: all 0.15s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #ffffff;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.35rem;
}

@media (max-width: 580px) {
    .checkbox-group { grid-template-columns: 1fr; }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-body);
    cursor: pointer;
}

.checkbox-label input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

/* ========================================================
   LUXURY FOOTER (LIGHT MODE)
======================================================== */
.footer-luxury {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 2.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

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

.footer-col-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-list a {
    color: var(--text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

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

.footer-bottom-bar {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ========================================================
   UNIVERSAL MOBILE, IPHONE & BROWSER COMPATIBILITY
   Ensures Centered Alignment, Zero Viewport Clipping & Touch Fit
======================================================== */
@media (max-width: 768px) {
    /* Prevent side-scrolling and page wobble */
    html, body, main, section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: clip !important;
    }

    .container {
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    section {
        padding: 3.5rem 0 !important;
    }

    /* Universal Center Alignment for Mobile Headlines & Text */
    .section-header {
        margin-bottom: 2rem !important;
        text-align: center !important;
    }

    .section-title {
        font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
        line-height: 1.22 !important;
        text-align: center !important;
    }

    .section-desc {
        font-size: 0.95rem !important;
        text-align: center !important;
        line-height: 1.6 !important;
        margin: 0 auto !important;
    }

    /* Hero Center Alignment */
    .hero-section {
        padding-top: 6.25rem !important;
        padding-bottom: 3rem !important;
        text-align: center !important;
    }

    .hero-layout-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.45rem) !important;
        line-height: 1.18 !important;
        text-align: center !important;
    }

    .hero-subhead {
        font-size: 0.98rem !important;
        text-align: center !important;
        line-height: 1.65 !important;
        margin: 0 auto 1.5rem auto !important;
        max-width: 100% !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        gap: 0.75rem !important;
    }

    .hero-actions .btn-luxury-primary,
    .hero-actions .btn-luxury-secondary {
        width: 100% !important;
        text-align: center !important;
        padding: 0.85rem 1.25rem !important;
        font-size: 0.96rem !important;
        box-sizing: border-box !important;
    }

    .breadcrumb-list {
        justify-content: center !important;
    }

    /* Hero Badges - Prevent overflow off screen edges */
    .hero-image-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 580px !important;
        margin: 0 auto !important;
    }

    .floating-badge {
        position: static !important;
        margin: 0 auto !important;
        display: flex !important;
        width: 100% !important;
        max-width: 320px !important;
        box-sizing: border-box !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
    }

    /* Metrics Strip */
    .hero-metrics-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem 0.5rem !important;
        padding: 1.25rem 0.75rem !important;
        margin-top: 2rem !important;
        border-radius: 14px !important;
    }

    .metric-value {
        font-size: 1.5rem !important;
    }

    .metric-label {
        font-size: 0.76rem !important;
    }

    /* Feature Grids */
    .feature-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .feature-box {
        text-align: center !important;
        padding: 1.75rem 1.25rem !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .feature-box-title {
        text-align: center !important;
    }

    .feature-box-desc {
        text-align: center !important;
    }

    /* Story Rows */
    .story-row, .story-row.reversed {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
        text-align: center !important;
    }

    .story-content-col {
        max-width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .story-title {
        font-size: 1.6rem !important;
        text-align: center !important;
    }

    .story-desc {
        text-align: center !important;
        font-size: 0.95rem !important;
    }

    .story-perks-list {
        align-items: center !important;
        padding: 0 !important;
    }

    .story-perk-item {
        justify-content: center !important;
        text-align: left !important;
    }

    .story-content-col .btn-luxury-primary {
        display: block !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Callout & Bottom Line box */
    div[style*="padding: 2.5rem"],
    div[style*="padding:2.5rem"],
    div[style*="background: #eff6ff"],
    div[style*="background:#eff6ff"] {
        padding: 1.65rem 1.15rem !important;
        border-radius: 16px !important;
        text-align: center !important;
        margin: 2rem auto 0 auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    div[style*="background: #eff6ff"] h3,
    div[style*="background:#eff6ff"] h3 {
        font-size: 1.35rem !important;
        text-align: center !important;
        margin-bottom: 0.75rem !important;
    }

    div[style*="background: #eff6ff"] p,
    div[style*="background:#eff6ff"] p {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
        text-align: center !important;
        margin-bottom: 1.25rem !important;
    }

    div[style*="background: #eff6ff"] a,
    div[style*="background:#eff6ff"] a {
        display: inline-flex !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Comparison Table Container & Table Fit */
    .comparison-table-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 1.25rem 0 2rem 0 !important;
        border-radius: 14px !important;
    }

    .comparison-table-wrap table {
        max-width: none !important;
    }

    /* Forms on Mobile */
    .application-card {
        padding: 1.75rem 1rem !important;
        border-radius: 16px !important;
    }

    /* iOS Safari Auto-Zoom Fix */
    .form-control, input, select, textarea {
        font-size: 16px !important;
    }

    /* Footer Center Alignment on Mobile */
    .footer-luxury {
        padding: 3.5rem 0 2rem 0 !important;
        text-align: center !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }

    .footer-grid > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-links-list {
        align-items: center !important;
    }

    .footer-bottom-bar {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem !important;
    }

    .navbar-wrap {
        padding: 0 0.5rem !important;
    }

    .hero-section {
        padding-top: 5.75rem !important;
    }

    .hero-headline {
        font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    }
}
