/* style.css — Fast Knowledge Design System */

:root {
    /* Brand Colors */
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --primary-light: rgba(245, 158, 11, 0.08);
    --secondary: #06b6d4;
    --secondary-hover: #0891b2;
    --secondary-light: rgba(6, 182, 212, 0.08);

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f7f5f2;
    --bg-accent: #111111;

    /* Text */
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-light: #ffffff;

    /* Borders */
    --border: #e5e7eb;
    --border-hover: #d1d5db;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 6rem 5%;
    --max-width: 1200px;

    /* Transitions */
    --transition: all 0.2s ease-in-out;
    --transition-slow: all 0.4s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.2s ease;
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--text-primary);
    background-color: var(--bg-light);
}

.nav-cta {
    padding: 0.6rem 1.25rem !important;
    border-radius: 6px !important;
    color: white !important;
    background-color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Mobile toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
    background-color: var(--primary);
    color: #fff !important;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary) !important;
    border: 2px solid var(--border);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background-color: var(--text-primary);
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   MAIN & LOADER
   ========================================= */
main {
    flex: 1;
}

.loader {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   SECTION UTILITIES
   ========================================= */
.section {
    padding: var(--section-padding);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-accent); color: var(--text-light); }
.bg-cyan { background-color: var(--secondary); color: var(--text-light); }
.bg-white { background-color: var(--bg-white); }

/* =========================================
   SPLIT LAYOUT
   ========================================= */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 7rem 5% 6rem;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 85%;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero visual — floating cards */
.hero-visual {
    background-color: var(--bg-light);
    border-radius: 16px;
    min-height: 420px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    width: 100%;
}

.hero-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-sm);
    animation: floatCard 3s ease-in-out infinite;
}

.hero-card--2 { animation-delay: 0.5s; }
.hero-card--3 { animation-delay: 1s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-card-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.hero-card strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-card small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 5%;
}

.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background-color: var(--border);
    flex-shrink: 0;
}

/* =========================================
   FEATURE BLOCKS
   ========================================= */
.feature-block {
    padding: 6rem 5%;
}

.feature-block .split-layout {
    gap: 6rem;
}

.feature-block.reverse .split-layout {
    direction: rtl;
}

.feature-block.reverse .split-layout > * {
    direction: ltr;
}

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

.feature-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.feature-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 1.4rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Feature visuals */
.feature-visual {
    min-height: 360px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.feature-visual--pink { background-color: #fdf2f8; }
.feature-visual--blue { background-color: #eff6ff; }
.feature-visual--amber { background-color: #fffbeb; }

.feature-mockup {
    width: 85%;
    padding: 1.5rem;
}

.mockup-bar {
    height: 10px;
    background: var(--border);
    border-radius: 6px;
    margin-bottom: 1.25rem;
    width: 60%;
}

.mockup-row {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.mockup-row--short { width: 70%; }

.mockup-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--secondary-light);
}

.mockup-event {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    width: 80%;
}

.mockup-event--accent {
    background: var(--secondary);
    opacity: 0.4;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.mockup-cell {
    height: 40px;
    background: var(--border);
    border-radius: 6px;
}

.mockup-cell--accent {
    background: var(--primary);
    opacity: 0.3;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
    background-color: var(--text-primary);
    color: var(--text-light);
    padding: 6rem 5%;
    text-align: center;
}

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.15rem;
    opacity: 0.75;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.contact-wrapper p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* =========================================
   PRICING
   ========================================= */
.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h1 {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.pricing-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.pricing-card.highlight {
    border-top: 3px solid var(--primary);
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0;
}

.pricing-card .price {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-card .price span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card .desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

/* Dropbox-style pricing enhancements */
.pricing-demo-banner {
    max-width: 860px;
    margin: 0 auto 4.5rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
    text-align: left;
}

.pricing-demo-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.pricing-demo-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.25rem;
}

.pricing-demo-text p {
    font-size: 0.92rem;
    color: #b45309;
    line-height: 1.5;
    margin: 0;
}

.pricing-card-header {
    margin-bottom: 1.25rem;
    position: relative;
    min-height: 110px;
}

.pricing-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.pricing-discount-badge {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fab005;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(250, 176, 5, 0.35);
    white-space: nowrap;
    z-index: 2;
}

.pricing-card.highlight {
    border: 2px solid #fab005;
    position: relative;
    box-shadow: 0 12px 35px rgba(250, 176, 5, 0.15);
}

.pricing-price-box {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    min-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-bottom: 0.2rem;
}

.price-current-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.price-current {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.price-demo-note {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d97706;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.pricing-feature-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
    text-align: left;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.45;
}

.pricing-feature-item svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.feature-check {
    color: #10b981;
}

.feature-cross {
    color: #9ca3af;
}

.feature-disabled {
    color: #9ca3af;
    text-decoration: line-through;
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background-color: #0d0d0d;
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 5% 3rem;
    font-size: 0.9rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-column h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .feature-block.reverse .split-layout {
        direction: ltr;
    }
    .hero-visual {
        min-height: 280px;
    }
    .feature-visual {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .main-nav {
        display: none;
        width: 100%;
    }
    .main-nav.open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
    .nav-mobile-toggle {
        display: flex;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary, .btn-ghost {
        width: 100%;
        text-align: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .cta-banner h2 {
        font-size: 2rem;
    }
    .contact-wrapper h1 {
        font-size: 2.5rem;
    }
    .stat-divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card-header,
    .pricing-price-box {
        height: auto;
    }
}

/* =========================================
   FAST KNOWLEDGE LOGO
   ========================================= */
.fk-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    user-select: none;
}

.fk-logo-icon {
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.fk-bracket {
    display: inline-block;
    width: 10px;
    height: 28px;
    border: 2.5px solid var(--secondary);
    flex-shrink: 0;
}

.fk-bracket--left {
    border-right: none;
    border-radius: 3px 0 0 3px;
}

.fk-bracket--right {
    border-left: none;
    border-radius: 0 3px 3px 0;
}

.fk-f {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    padding: 0 3px;
    line-height: 28px;
    font-family: var(--font-family);
}

.fk-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
}

.fk-fast {
    color: var(--primary);
}

.fk-knowledge {
    color: var(--secondary);
}

/* Footer logo variant */
.fk-logo--footer .fk-bracket {
    border-color: rgba(255, 255, 255, 0.5);
}
.fk-logo--footer .fk-f {
    color: var(--primary);
}
.fk-logo--footer .fk-fast {
    color: var(--primary);
}
.fk-logo--footer .fk-knowledge {
    color: rgba(255, 255, 255, 0.8);
}

.fk-logo-icon--sm .fk-bracket {
    height: 22px;
    width: 8px;
}
.fk-logo-icon--sm .fk-f {
    font-size: 0.9rem;
    line-height: 22px;
}

/* =========================================
   FK HERO
   ========================================= */
.hero-fk {
    padding: 7rem 5% 6rem;
    background: linear-gradient(160deg, #fff 60%, #f0fafa 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-fk::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-fk::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-fk-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-fk-inner h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-fk-inner p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-fk-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   FASTKNOWLEDGE SEARCH & ASK AI BANNER
   ========================================= */
.kb-search-banner {
    background: linear-gradient(135deg, #000000 0%, #11141a 50%, #0d1117 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 5%;
    position: relative;
    overflow: hidden;
}

.kb-search-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(250, 176, 5, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.kb-search-container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.kb-search-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.kb-badge-dot {
    width: 7px;
    height: 7px;
    background-color: #fab005;
    border-radius: 50%;
    box-shadow: 0 0 8px #fab005;
    animation: pulseDot 2s infinite;
}

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

.kb-search-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    max-width: 680px;
    margin: 0 auto;
}

.kb-search-form {
    flex: 1;
    min-width: 0;
}

.kb-search-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.35rem 0.5rem 0.35rem 1.25rem;
    transition: all 0.25s ease;
}

.kb-search-input-group:focus-within {
    background: #ffffff;
    border-color: #fab005;
    box-shadow: 0 0 0 3px rgba(250, 176, 5, 0.3), 0 10px 25px rgba(0, 0, 0, 0.3);
}

.kb-search-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #ffffff;
    font-family: inherit;
    min-width: 0;
}

.kb-search-input-group:focus-within .kb-search-field {
    color: #111827;
}

.kb-search-field::placeholder {
    color: #94a3b8;
}

.kb-search-input-group:focus-within .kb-search-field::placeholder {
    color: #6b7280;
}

.kb-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.kb-search-input-group:focus-within .kb-search-submit {
    background: #fab005;
    color: #111827;
}

.kb-search-submit:hover {
    background: #fab005;
    color: #111827;
    transform: scale(1.05);
}

.kb-search-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 48px;
    padding: 0 1.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.kb-search-ai-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fab005;
    color: #fab005;
    box-shadow: 0 0 15px rgba(250, 176, 5, 0.25);
    transform: translateY(-1px);
}

.kb-search-trending {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.82rem;
}

.kb-trending-label {
    color: #94a3b8;
    font-weight: 500;
}

.kb-trending-tag {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kb-trending-tag:hover {
    background: rgba(250, 176, 5, 0.15);
    border-color: #fab005;
    color: #fab005;
}

@media (max-width: 640px) {
    .kb-search-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    .kb-search-form,
    .kb-search-ai-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-section {
    padding: 6rem 5%;
    background-color: var(--bg-white);
}

.features-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.features-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.features-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.feature-card-icon--primary {
    background-color: var(--primary-light);
    color: var(--primary-hover);
}

.feature-card-icon--secondary {
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* =========================================
   CATEGORIES PREVIEW
   ========================================= */
.categories-preview {
    padding: 6rem 5%;
}

.categories-preview-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.category-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex-grow: 1;
}

.category-count {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    background: var(--secondary-light);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    margin-top: 0.25rem;
}

/* =========================================
   PAGE HERO (About, Privacy, etc.)
   ========================================= */
.page-hero {
    padding: 5rem 5% 4rem;
    border-bottom: 1px solid var(--border);
}

.page-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-inner h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.page-hero-inner p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-wrapper {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.contact-wrapper h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.contact-wrapper > p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.contact-form-card {
    max-width: 600px;
    margin: 0 auto 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    text-align: left;
    min-height: 200px;
}

.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-card:not(.contact-card--muted):hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-card--muted {
    opacity: 0.8;
    cursor: default;
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.contact-card-icon--secondary {
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
}

.contact-card-icon--muted {
    background-color: var(--bg-light);
    color: var(--text-secondary);
}

.contact-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.contact-card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
}

.coming-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-hover);
    background-color: var(--secondary-light);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    margin-top: 0.5rem;
    width: fit-content;
}

.contact-note {
    padding: 1.25rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* =========================================
   PRICING COMING SOON
   ========================================= */
.coming-soon-pricing {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

.coming-soon-pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.coming-soon-pricing-card h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.coming-soon-pricing-card > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 2rem;
}

.pricing-teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.pricing-teaser-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.pricing-teaser-item strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-teaser-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* =========================================
   POLICY BLOCKS
   ========================================= */
.policy-block {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.policy-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.policy-block h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.policy-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* =========================================
   FOOTER SOCIAL & BOTTOM
   ========================================= */
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   RESPONSIVE ADDITIONS
   ========================================= */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-fk-inner h1 {
        font-size: 2.5rem;
    }
    .hero-fk-actions {
        flex-direction: column;
        align-items: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .coming-soon-pricing-card {
        padding: 2.5rem 1.5rem;
    }
    .pricing-teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-hero-inner h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .pricing-teaser-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   COMING SOON PAGE
   ========================================= */
.coming-soon-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72vh;
    padding: 4rem 5%;
    text-align: center;
    background: linear-gradient(160deg, #ffffff 55%, #f0fafa 100%);
    position: relative;
    overflow: hidden;
}

.coming-soon-page::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.coming-soon-page::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.coming-soon-page-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.coming-soon-page-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-hover);
    background-color: var(--secondary-light);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.coming-soon-page-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.25rem;
    animation: pulse-icon 2.5s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.coming-soon-page h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1.05;
    margin: 0;
}

.coming-soon-page-date {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
    margin-top: 0.1rem;
}

.coming-soon-page-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 420px;
    margin-top: 0.5rem;
}

.coming-soon-page-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 1.25rem 0 0.75rem;
}

.coming-soon-page-inner > a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.coming-soon-page-inner > a:hover {
    color: var(--primary);
}

/* =========================================
   LEGAL PAGES (Terms of Use, Privacy, etc.)
   ========================================= */
.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 5% 6rem;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
}

.legal-meta-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.legal-badge--secondary {
    background: #f3f4f6;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.legal-sidebar {
    position: sticky;
    top: 6rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.legal-sidebar-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.legal-toc-list a {
    display: block;
    padding: 0.45rem 0.65rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    line-height: 1.35;
}

.legal-toc-list a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.legal-article {
    background: var(--bg-white);
}

.legal-intro-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.04) 0%, rgba(6, 182, 212, 0.04) 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    padding: 2rem 2.25rem;
    margin-bottom: 3.5rem;
}

.legal-intro-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.legal-intro-card p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

.legal-intro-card p:last-child {
    margin-bottom: 0;
}

.legal-section {
    padding-bottom: 3.5rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 6rem;
}

.legal-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.legal-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    padding: 0 0.5rem;
}

.legal-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.legal-subsection {
    margin-top: 2rem;
}

.legal-subsection h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.legal-section p, .legal-subsection p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.legal-list li {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.75rem;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0.45rem;
    top: -0.1rem;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: bold;
}

.legal-list strong {
    color: var(--text-primary);
}

.legal-numbered-list {
    list-style: none;
    counter-reset: legal-counter;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.legal-numbered-list li {
    counter-increment: legal-counter;
    position: relative;
    padding-left: 2.5rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-numbered-list li::before {
    content: counter(legal-counter);
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #f3f4f6;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.legal-callout-box {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin: 1.75rem 0;
}

.legal-callout-box--warning {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.03);
    border-color: rgba(239, 68, 68, 0.15);
}

.legal-callout-box--info {
    border-left-color: var(--secondary);
    background: rgba(6, 182, 212, 0.03);
    border-color: rgba(6, 182, 212, 0.15);
}

.legal-callout-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.legal-callout-box p:last-child {
    margin-bottom: 0;
}

.legal-caps-text {
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 500;
    letter-spacing: 0.015em;
    color: #374151;
}

.legal-contact-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.legal-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.legal-contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.legal-contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.legal-contact-item a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.legal-table-wrapper {
    overflow-x: auto;
    margin: 1.75rem 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.legal-table th {
    background: #f9fafb;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
    font-size: 0.88rem;
    letter-spacing: 0.01em;
}

.legal-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.6;
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:nth-child(even) td {
    background: #fafafa;
}

@media (max-width: 992px) {
    .legal-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .legal-sidebar {
        position: static;
        margin-bottom: 1rem;
    }

    .legal-toc-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 0.25rem;
    }
}

/* =========================================
   COOKIE SETTINGS & PREFERENCES CENTER
   ========================================= */
.cookie-settings-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 5% 6rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.cookie-pref-hero-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-pref-hero-box h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cookie-pref-hero-box p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #4b5563;
    margin: 0;
}

.cookie-actions-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.btn-cookie-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-cookie-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.btn-cookie-save {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-save:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.cookie-category-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cookie-category-card:hover {
    border-color: #d1d5db;
    box-shadow: var(--shadow-md);
}

.cookie-cat-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.cookie-cat-info {
    flex: 1;
}

.cookie-cat-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.cookie-cat-header-row h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cookie-cat-info p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 1.25rem 0;
}

.cookie-badge-always {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 9999px;
    white-space: nowrap;
}

/* Custom Accessible Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #d1d5db;
    transition: var(--transition);
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:focus-visible + .toggle-slider {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
    background-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #111827;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.cookie-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-toast svg {
    color: #10b981;
    flex-shrink: 0;
}

.browser-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.browser-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.browser-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.browser-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    margin-bottom: 0.85rem;
    color: var(--primary);
}

.browser-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.browser-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.browser-card a {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.browser-card a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .cookie-cat-top {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .cookie-actions-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cookie-primary, .btn-cookie-secondary, .btn-cookie-save {
        justify-content: center;
        width: 100%;
    }
}




