/* ==========================================================================
   AI Chat - Landing & Subpage Stylesheet (Dinhvi.net Design System)
   Typography: Space Grotesk (Headings/Stats/Logo) & Outfit (Body/UI)
   Theme: Modern Dark Slate & Vibrant Orange Accent
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    background-color: #ffffff;
    color: #334155;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* ==========================================================================
   1. Header Navbar (.landing-header)
   ========================================================================== */
.landing-header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-text span {
    color: #f97316;
}

.header-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-item {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-header-login {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-header-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.btn-header-login.btn-admin {
    background: #f97316;
    border-color: #f97316;
}

.btn-header-login.btn-admin:hover {
    background: #ea580c;
    border-color: #ea580c;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Sidebar Drawer */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #0f172a;
    z-index: 1002;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.sidebar-close:hover {
    color: #ffffff;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-link:hover, .sidebar-link.active {
    color: #ffffff;
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   2. Hero Section (.hero-section)
   ========================================================================== */
.hero-section {
    background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0f172a 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 90px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-left {
    z-index: 10;
}

.hero-tag {
    display: inline-block;
    color: #f97316;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-left: 2px solid #f97316;
    padding-left: 10px;
}

.hero-left h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-left h1 span {
    color: #f97316;
}

.hero-desc {
    font-size: 16.5px;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f97316;
    color: #ffffff;
    padding: 13px 30px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-orange:hover {
    background: #ea580c;
    color: #ffffff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    padding: 13px 30px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Direct Login Box Card */
.consult-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.consult-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.consult-card p.subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.btn-submit {
    width: 100%;
    border: none;
    padding: 14px 0;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f97316;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    text-transform: uppercase;
    display: block;
    text-decoration: none;
}

.btn-submit:hover {
    background: #ea580c;
    color: #ffffff;
}

/* ==========================================================================
   3. Stats Section (.stats-section)
   ========================================================================== */
.stats-section {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
    line-height: 1.1;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    max-width: 220px;
    line-height: 1.45;
}

/* ==========================================================================
   4. Problem Solver Section (.solver-section)
   ========================================================================== */
.solver-section {
    background: #f8fafc;
    padding: 90px 0;
    border-bottom: 1px solid #e2e8f0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header span {
    font-size: 12px;
    font-weight: 700;
    color: #f97316;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 15px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.solver-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.solver-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.solver-card h4 {
    font-size: 11.5px;
    font-weight: 700;
    color: #f97316;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.solver-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.solver-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.solver-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    margin-top: auto;
}

.solver-link:hover {
    color: #f97316;
}

/* ==========================================================================
   5. Why Choose Us Section (.why-section)
   ========================================================================== */
.why-section {
    background: #ffffff;
    padding: 90px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.why-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.why-card:hover {
    border-color: #e2e8f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.why-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.why-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================================================
   6. Advisory / Consultation Section (.consult-section)
   ========================================================================== */
.consult-section {
    background: radial-gradient(circle at 20% 80%, #1e293b 0%, #0f172a 100%);
    padding: 90px 0;
    color: #ffffff;
    position: relative;
}

.consult-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.consult-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.25;
}

.consult-info p.consult-subtext {
    font-size: 15.5px;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 30px;
    font-weight: 300;
}

.consult-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.consult-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.consult-label {
    font-size: 11.5px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.consult-val {
    font-size: 16px;
    color: #f8fafc;
    font-weight: 600;
}

.consult-val a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.2s;
}

.consult-val a:hover {
    color: #fb923c;
    text-decoration: underline;
}

/* ==========================================================================
   7. Subpage Standard Architecture (Hero Banner, Detail Grids, Mockups, CTA)
   ========================================================================== */
.page-hero, .api-hero {
    background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0f172a 100%);
    text-align: center;
    padding: 140px 20px 70px 20px;
    color: #ffffff;
    position: relative;
}

.badge-free {
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #f97316;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.page-hero h1, .api-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -1.2px;
    line-height: 1.25;
}

.page-hero h1 span, .api-hero h1 span {
    color: #f97316;
}

.page-hero p, .api-hero p {
    font-size: 16px;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 300;
}

/* Subpage Content Section */
.page-content-section {
    background: #ffffff;
    padding: 80px 0 100px 0;
}

.detail-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.detail-grid-v2:last-child {
    margin-bottom: 0;
}

.detail-info-v2 h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    border-left: 4px solid #f97316;
    padding-left: 14px;
    line-height: 1.3;
}

.detail-info-v2 p {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 22px;
}

.detail-feature-list-v2 {
    list-style: none;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-feature-list-v2 li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}

.detail-feature-list-v2 li i {
    color: #f97316;
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

.detail-feature-list-v2 li strong {
    color: #0f172a;
    font-weight: 700;
}

/* Mockup Container for Preview Cards */
.mockup-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.mockup-header {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #22c55e; }

.mockup-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
    font-family: 'Space Grotesk', sans-serif;
}

.mockup-body {
    padding: 20px;
    color: #f8fafc;
}

/* Subpage Call To Action Banner */
.subpage-cta {
    background: radial-gradient(circle at 20% 80%, #1e293b 0%, #0f172a 100%);
    padding: 70px 0;
    text-align: center;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.subpage-cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.8px;
}

.subpage-cta p {
    font-size: 15.5px;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.subpage-cta .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Policy & Legal White Card */
.policy-card-v2 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.policy-card-v2 h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.8px;
}

.policy-card-v2 .policy-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.policy-card-v2 h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 32px 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-card-v2 h2 i {
    color: #f97316;
}

.policy-card-v2 p {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-card-v2 ul, .policy-card-v2 ol {
    margin: 0 0 20px 24px;
    color: #334155;
}

.policy-card-v2 li {
    margin-bottom: 10px;
    font-size: 14.5px;
    line-height: 1.7;
}

.policy-highlight-v2 {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    color: #9a3412;
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==========================================================================
   8. Landing Footer (.landing-footer)
   ========================================================================== */
.landing-footer {
    background: #0f172a;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 13.5px;
}

.landing-footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer a:hover {
    color: #ffffff;
}

/* ==========================================================================
   9. Responsive Media Queries
   ========================================================================== */
@media (max-width: 991px) {
    .landing-header {
        height: 70px;
    }
    .header-nav {
        display: none;
    }
    .btn-header-login {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding-top: 110px;
        padding-bottom: 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-left h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 40px 0;
    }
    
    .stat-num {
        font-size: 32px;
    }
    
    .solver-grid, .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
    
    .consult-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .detail-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .page-hero, .api-hero {
        padding: 110px 20px 50px 20px;
    }

    .page-hero h1, .api-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .container {
        width: 92%;
    }
    
    .hero-left h1 {
        font-size: 27px;
        line-height: 1.25;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-orange, .btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 13px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solver-grid, .why-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .solver-card, .why-card {
        padding: 22px 18px !important;
    }
    
    .solver-card h3, .why-card h3 {
        font-size: 17.5px !important;
    }
    
    .solver-card p, .why-card p {
        font-size: 13.5px !important;
        line-height: 1.55;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .consult-info h2 {
        font-size: 26px;
    }
    
    .consult-card {
        padding: 24px 20px;
    }

    .page-hero h1, .api-hero h1 {
        font-size: 26px;
    }

    .policy-card-v2 {
        padding: 24px 18px;
    }

    .policy-card-v2 h1 {
        font-size: 24px;
    }
}

/* ==========================================================================
   Header Dropdown Menu & Hierarchy Navigation
   ========================================================================== */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-toggle {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.nav-dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown.open .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    min-width: 450px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    padding: 8px 10px;
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 1200;
}

/* Invisible bridge so mouse never loses hover */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px 6px;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 6px;
    text-decoration: none;
    color: #cbd5e1;
    transition: all 0.15s ease;
}

.dropdown-item:hover, .dropdown-item.active {
    background: #1e293b;
    color: #ffffff;
    transform: translateX(2px);
}

.dropdown-item-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    flex-shrink: 0;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dropdown-item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-item-sub {
    display: none !important;
}

.dropdown-header-parent {
    padding: 3px 6px 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: #f97316;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-footer-all {
    margin-top: 6px;
    padding: 7px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
    color: #38bdf8;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
}

.dropdown-footer-all:hover {
    background: rgba(56, 189, 248, 0.1);
    color: #7dd3fc;
}
    background: #1e293b;
    color: #7dd3fc;
}

/* ==========================================================================
   Breadcrumb Bar & Sibling Tabs
   ========================================================================== */
.breadcrumb-container {
    background: #0b1329;
    border-bottom: 1px solid #1e293b;
    padding: 12px 0;
    margin-top: 80px;
    position: relative;
    z-index: 900;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #94a3b8;
    list-style: none;
}

.breadcrumb-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: #f97316;
}

.breadcrumb-list .sep {
    color: #475569;
}

.breadcrumb-list .current {
    color: #ffffff;
    font-weight: 600;
}

.ai-sibling-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ai-sibling-pills::-webkit-scrollbar {
    display: none;
}

.ai-sibling-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #1e293b;
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #334155;
    transition: all 0.2s ease;
}

.ai-sibling-pill:hover {
    background: #334155;
    color: #ffffff;
    border-color: #f97316;
}

.ai-sibling-pill.active {
    background: #f97316;
    color: #ffffff;
    border-color: #f97316;
}

/* Sidebar Submenu Accordion */
.sidebar-parent-title {
    font-size: 11px;
    font-weight: 700;
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px 4px;
}

.sidebar-submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 10px;
    border-left: 2px solid #334155;
    margin: 4px 10px 10px 14px;
}

.sidebar-sublink {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.sidebar-sublink:hover, .sidebar-sublink.active {
    color: #ffffff;
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

/* Pricing Grid & Card Responsive Enhancements */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
    align-items: stretch;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}
.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 40px rgba(2, 132, 199, 0.25) !important;
}
.home-partners {
    position: relative;
    overflow: hidden;
    padding: 76px 0 84px;
    color: #fff;
    background: radial-gradient(ellipse at 16% 0%, rgba(14, 165, 233, .20), transparent 42%), radial-gradient(ellipse at 88% 100%, rgba(249, 115, 22, .18), transparent 40%), #0f172a;
}
.home-partners .section-header {
    margin-bottom: 34px;
    text-align: center;
}
.home-partners .section-header > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #fdba74;
    font-weight: 800;
    letter-spacing: 1.8px;
}
.home-partners .section-header h2 { color: #fff; }
.home-partners .section-header p { color: #cbd5e1; }
.home-partners-carousel { display: flex; align-items: center; gap: 14px; }
.home-partners-viewport { min-width: 0; flex: 1; overflow: hidden; padding: 8px 2px 16px; }
.home-partners-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.home-partners-group { display: flex; flex: 0 0 auto; gap: 18px; }
.home-partners-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.12);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.home-partners-arrow:hover { background: #0284c7; border-color: #38bdf8; transform: scale(1.06); }
.home-partners-arrow:focus-visible { outline: 3px solid #fdba74; outline-offset: 3px; }
.home-partners-carousel .home-partner-card { flex: 0 0 clamp(220px, 24vw, 285px); }
.home-partner-card {
    position: relative;
    width: clamp(220px, 24vw, 285px);
    min-height: 142px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    color: #0f172a;
    background: linear-gradient(145deg, #fff, #f1f5f9);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.home-partner-card:hover {
    transform: translateY(-5px);
    border-color: #fb923c;
    background: #fff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .3);
}
.home-partner-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #0284c7, #f97316);
    box-shadow: 0 5px 14px rgba(2, 132, 199, .25);
}
.home-partner-card strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
}
.home-partner-card .home-partner-domain {
    color: #64748b;
    font-size: 12px;
}
.home-partner-link-icon {
    position: absolute;
    top: 13px;
    right: 14px;
    color: #94a3b8;
    font-size: 12px;
}
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .pricing-card.featured {
        transform: none !important;
    }
}
@media (max-width: 768px) {
    .home-partners { padding: 52px 0; }
    .home-partners-carousel { gap: 8px; }
    .home-partners-arrow { flex-basis: 36px; width: 36px; height: 36px; }
    .home-partners-track { gap: 12px; }
    .home-partners-carousel .home-partner-card { flex-basis: 220px; min-height: 128px; padding: 16px 12px; }
    .home-partner-card strong { font-size: 15px; }
    .home-partner-card span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-partners-track { will-change: auto; }
}


