/* landing.css - Business Essential Landing & Static Pages */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* ================= THEME VARIABLES ================= */
:root {
    --primary: #4361ee; --secondary: #3f37c9; --accent: #4895ef; --success: #2ecc71; --success-dark: #27ae60; --danger: #e74c3c;
    --dark: #0f172a; --light: #f8fafc; --gray: #64748b; --medium-gray: #94a3b8; --light-gray: #cbd5e1;
    --bg-card: #ffffff; --border-color: #e2e8f0; --glass-bg: rgba(255, 255, 255, 0.95); --hover-bg: rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06); --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition-fast: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius-sm: 8px; --radius: 12px; --radius-lg: 16px; --radius-full: 9999px;
    --gradient-bg: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --container: 1200px; --header-height: 72px;
}

/* ================= AUTO & MANUAL DARK THEME ================= */
@media (prefers-color-scheme: dark) {
    :root:not(.light) {
        --dark: #f8fafc;
        --light: #0f172a;
        --gray: #94a3b8;
        --medium-gray: #cbd5e1;
        --light-gray: #64748b;
        --bg-card: #1e293b;
        --border-color: #334155;
        --glass-bg: rgba(15, 23, 42, 0.95);
        --hover-bg: rgba(255, 255, 255, 0.05);
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
}

/* Manual toggle class (overrides auto if present) */
.dark {
    --dark: #f8fafc;
    --light: #0f172a;
    --gray: #94a3b8;
    --medium-gray: #cbd5e1;
    --light-gray: #64748b;
    --bg-card: #1e293b;
    --border-color: #334155;
    --glass-bg: rgba(15, 23, 42, 0.95);
    --hover-bg: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Force light mode if .light class is present */
.light {
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --medium-gray: #94a3b8;
    --light-gray: #cbd5e1;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --hover-bg: rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ================= BASE STYLES ================= */
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    background: var(--light); 
    color: var(--dark); 
    min-height: 100vh; 
    line-height: 1.6; 
    transition: background 0.4s ease, color 0.4s ease;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.gradient-text { background: var(--gradient-bg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { display: inline-block; background: rgba(67, 97, 238, 0.1); color: var(--primary); padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; }
.dark .badge { background: rgba(96, 165, 250, 0.15); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; cursor: pointer; border: none; transition: var(--transition); white-space: nowrap; }
.btn.primary, .btn-primary { background: var(--gradient-bg); color: white; box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3); }
.btn.primary:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(67, 97, 238, 0.45); }
.dark .btn.primary:hover { box-shadow: 0 6px 16px rgba(96, 165, 250, 0.45); }
.btn.secondary, .btn-secondary { background: var(--bg-card); color: var(--dark); border: 1px solid var(--border-color); }
.btn.secondary:hover, .btn-secondary:hover { background: var(--light); border-color: var(--medium-gray); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }

/* Header / Nav */
.site-header { 
    position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); 
    background: var(--glass-bg); 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--border-color); 
    display: flex; align-items: center; padding: 0 5%; z-index: 100; 
    transition: background 0.4s ease, border-color 0.4s ease;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--dark); }
.logo img { width: 36px; height: 36px; }
.nav-menu { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { font-weight: 500; color: var(--gray); padding: 8px 12px; border-radius: var(--radius-sm); }
.nav-link:hover, .nav-link.active { color: var(--dark); background: var(--hover-bg); }
.mobile-toggle { display: none; background: none; border: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; padding: 4px; }
.mobile-toggle .bar { width: 100%; height: 3px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* Hero */
.hero { 
    padding: 120px 0 60px; position: relative; overflow: hidden; 
    background: linear-gradient(180deg, var(--light) 0%, var(--bg-card) 100%); 
    transition: background 0.4s ease;
}
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 70% 20%, rgba(67, 97, 238, 0.15) 0%, transparent 50%); pointer-events: none; }
.dark .hero-bg { background: radial-gradient(circle at 70% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 16px; color: var(--dark); }
.hero-content p { font-size: 1.15rem; color: var(--gray); margin-bottom: 24px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-trust { font-size: 0.9rem; color: var(--medium-gray); display: flex; gap: 8px; align-items: center; }

/* Hero Mockup */
.dashboard-mockup { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 12px; position: relative; transform: perspective(800px) rotateY(-5deg) rotateX(2deg); transition: transform 0.5s ease; border: 1px solid var(--border-color); }
.mockup-header { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); font-size: 0.8rem; color: var(--gray); }
.mockup-dots { display: flex; gap: 4px; }
.mockup-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-color); }
.mockup-body { padding: 16px 0; }
.mockup-stat { height: 8px; background: var(--light); border-radius: 4px; margin-bottom: 10px; overflow: hidden; }
.mockup-bar { height: 100%; background: var(--gradient-bg); border-radius: 4px; }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mockup-card { height: 60px; background: var(--light); border-radius: var(--radius-sm); border: 1px solid var(--border-color); }

/* Features */
.features { padding: 80px 0; background: var(--bg-card); transition: background 0.4s ease; }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 50px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; color: var(--dark); }
.section-header p { color: var(--gray); font-size: 1.1rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { background: var(--light); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(67, 97, 238, 0.2); }
.dark .feature-card:hover { border-color: rgba(96, 165, 250, 0.3); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.feature-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.5; }

/* CTA Section */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: white; }
.dark .cta-section { background: linear-gradient(135deg, #020617 0%, #0f172a 100%); }
.cta-card { background: rgba(255,255,255,0.08); padding: 40px; border-radius: var(--radius-lg); text-align: center; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.cta-card h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-card p { color: #cbd5e1; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Page Hero (About, Contact, Privacy) */
.page-hero { 
    padding: 120px 0 40px; 
    background: linear-gradient(180deg, var(--light) 0%, var(--bg-card) 100%); 
    text-align: center; 
    transition: background 0.4s ease;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; color: var(--dark); }
.page-hero p { color: var(--gray); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* About Page */
.about-grid { padding: 60px 0; }
.about-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.about-card { background: var(--bg-card); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.about-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.values-list { padding-left: 16px; color: var(--gray); }
.values-list li { margin-bottom: 6px; list-style-type: disc; }
.about-cta { text-align: center; padding: 40px 0; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-color); }
.about-cta h2 { font-size: 1.8rem; margin-bottom: 16px; color: var(--dark); }

/* Contact Page */
.contact-section { padding: 40px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.contact-form-card, .contact-info-card { background: var(--bg-card); padding: 28px; border-radius: var(--radius); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.contact-form-card h3, .contact-info-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; color: var(--dark); margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { 
    width: 100%; padding: 10px 12px; border: 1px solid var(--border-color); 
    border-radius: var(--radius-sm); font-family: inherit; font-size: 0.95rem; 
    background: var(--bg-card); color: var(--dark); transition: var(--transition-fast); 
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15); }
.dark .form-group input:focus, .dark .form-group select:focus, .dark .form-group textarea:focus { box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15); }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.info-icon { font-size: 1.5rem; width: 40px; height: 40px; background: var(--light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item strong { display: block; margin-bottom: 2px; font-size: 0.95rem; color: var(--dark); }
.info-item p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.info-item small { color: var(--medium-gray); font-size: 0.8rem; }

/* Privacy Policy */
.policy-section { padding: 40px 0 80px; }
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-toc { background: var(--bg-card); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border-color); margin-bottom: 30px; }
.policy-toc h3 { margin-bottom: 12px; font-size: 1.1rem; color: var(--dark); }
.policy-toc ul { padding-left: 18px; }
.policy-toc li { margin-bottom: 6px; color: var(--primary); font-weight: 500; }
.policy-content h2 { font-size: 1.4rem; font-weight: 700; margin: 30px 0 12px; border-bottom: 1px solid var(--border-color); padding-bottom: 8px; color: var(--dark); }
.policy-content p, .policy-content ul { color: var(--gray); line-height: 1.7; margin-bottom: 12px; }
.policy-content ul { padding-left: 20px; list-style-type: disc; }
.policy-content a { color: var(--primary); font-weight: 500; text-decoration: underline; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; }
.dark .site-footer { background: #020617; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.footer-brand img { width: 40px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; transition: var(--transition); color: #cbd5e1; }
.social-links a:hover { background: var(--primary); color: white; }
.footer-links h4 { color: white; font-size: 1rem; margin-bottom: 14px; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; color: #64748b; }

/* Toast */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--bg-card); color: var(--dark); padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; box-shadow: var(--shadow-lg); animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards; pointer-events: auto; border: 1px solid var(--border-color); }
.toast.success { background: var(--success-dark); color: white; border-color: transparent; }
.toast.error { background: var(--danger); color: white; border-color: transparent; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.4s ease, border-color 0.4s ease;
    padding: 16px 20px;
    backdrop-filter: blur(12px);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-container { max-width: var(--container); margin: 0 auto; }
.cookie-content { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cookie-text h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.cookie-text p { font-size: 0.9rem; color: var(--gray); margin: 0; line-height: 1.5; }
.cookie-link { font-size: 0.85rem; color: var(--primary); font-weight: 500; text-decoration: underline; margin-top: 4px; display: inline-block; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; border-radius: var(--radius-sm); }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { margin-bottom: 30px; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .dashboard-mockup { transform: none; max-width: 500px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    :root { --header-height: 64px; }
    .site-header { padding: 0 16px; }
    .mobile-toggle { display: flex; }
    .nav-menu { position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border-color); padding: 20px; transform: translateY(-150%); transition: transform 0.3s ease, background 0.4s ease; z-index: 99; box-shadow: var(--shadow-lg); }
    .nav-menu.active { transform: translateY(0); }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links li { border-bottom: 1px solid var(--border-color); }
    .nav-links li:last-child { border: none; }
    .nav-link { display: block; padding: 14px 12px; width: 100%; text-align: left; }
    .nav-links .btn { margin: 10px 0; }
    .hero { padding-top: 100px; }
    .hero-content h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .cookie-content { flex-direction: column; text-align: center; gap: 14px; }
    .cookie-actions { width: 100%; justify-content: center; }
    .cookie-actions .btn-sm { flex: 1; }
    .cookie-banner { padding: 20px 16px; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.9rem; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 24px; }
    .cta-card h2 { font-size: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .social-links { justify-content: center; }
    .social-links { justify-content: center; }
}


/* ================= DARK THEME ================= */

body.dark-theme,
html.dark-theme {
    --primary: #5b7cff;
    --secondary: #6d5efc;
    --accent: #60a5fa;

    --dark: #f8fafc;
    --light: #0f172a;

    --gray: #cbd5e1;
    --medium-gray: #94a3b8;
    --light-gray: #475569;

    --bg-card: #1e293b;
    --border-color: #334155;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);

    --gradient-bg: linear-gradient(
        135deg,
        #4f46e5 0%,
        #2563eb 100%
    );
}

/* Global */

body.dark-theme {
    background: #0f172a;
    color: #f8fafc;
}

/* Header */

body.dark-theme .site-header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: #334155;
}

body.dark-theme .nav-link {
    color: #cbd5e1;
}

body.dark-theme .nav-link:hover,
body.dark-theme .nav-link.active {
    color: #ffffff;
    background: rgba(255,255,255,0.08);
}

body.dark-theme .mobile-toggle .bar {
    background: #f8fafc;
}

body.dark-theme .nav-menu {
    background: #1e293b;
    border-color: #334155;
}

/* Hero */

body.dark-theme .hero {
    background: linear-gradient(
        180deg,
        #0f172a 0%,
        #111827 100%
    );
}

body.dark-theme .page-hero {
    background: linear-gradient(
        180deg,
        #0f172a 0%,
        #111827 100%
    );
}

body.dark-theme .hero-content p,
body.dark-theme .page-hero p {
    color: #cbd5e1;
}

/* Cards */

body.dark-theme .feature-card,
body.dark-theme .about-card,
body.dark-theme .contact-form-card,
body.dark-theme .contact-info-card,
body.dark-theme .policy-toc,
body.dark-theme .about-cta,
body.dark-theme .dashboard-mockup,
body.dark-theme .mockup-card {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

body.dark-theme .feature-card p,
body.dark-theme .about-card p,
body.dark-theme .info-item p,
body.dark-theme .policy-content p,
body.dark-theme .policy-content ul {
    color: #cbd5e1;
}

body.dark-theme .mockup-stat {
    background: #334155;
}

/* Forms */

body.dark-theme .form-group label {
    color: #e2e8f0;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea,
body.dark-theme .form-group select {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

body.dark-theme .form-group input::placeholder,
body.dark-theme .form-group textarea::placeholder {
    color: #94a3b8;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group textarea:focus,
body.dark-theme .form-group select:focus {
    border-color: var(--primary);
}

/* Buttons */

body.dark-theme .btn.secondary,
body.dark-theme .btn-secondary {
    background: #1e293b;
    color: #f8fafc;
    border-color: #334155;
}

body.dark-theme .btn.secondary:hover,
body.dark-theme .btn-secondary:hover {
    background: #334155;
}

/* Contact */

body.dark-theme .info-icon {
    background: #334155;
}

/* Footer */

body.dark-theme .site-footer {
    background: #020617;
}

body.dark-theme .footer-links a {
    color: #cbd5e1;
}

body.dark-theme .footer-links a:hover {
    color: #ffffff;
}

body.dark-theme .footer-bottom {
    color: #94a3b8;
}

/* Privacy Policy */

body.dark-theme .policy-content h2 {
    border-color: #334155;
}

body.dark-theme .policy-content a,
body.dark-theme .cookie-link {
    color: #60a5fa;
}

/* Cookie Banner */

body.dark-theme .cookie-banner {
    background: #1e293b;
    border-top-color: #334155;
}

body.dark-theme .cookie-text h4 {
    color: #f8fafc;
}

body.dark-theme .cookie-text p {
    color: #cbd5e1;
}

/* Toasts */

body.dark-theme .toast {
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
}

/* Section Headers */

body.dark-theme .section-header p,
body.dark-theme .cta-card p {
    color: #cbd5e1;
}

/* Text */

body.dark-theme .company-name,
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme strong {
    color: #f8fafc;
}

/* Scrollbar */

body.dark-theme::-webkit-scrollbar {
    width: 10px;
}

body.dark-theme::-webkit-scrollbar-track {
    background: #0f172a;
}

body.dark-theme::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

body.dark-theme::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.spinner{
width:14px;
height:14px;

display:inline-block;

border:2px solid rgba(255,255,255,.3);

border-top-color:white;

border-radius:50%;

animation:
spin .7s linear infinite;
}

@keyframes spin{
to{
transform:
rotate(
360deg
);
}
}

/* ================= PROBLEM/SOLUTION SECTION ================= */
.problem-solution {
    padding: 80px 0;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.dark .problem-solution {
    background: rgba(30, 41, 59, 0.5);
}

.problem-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.problem-solution::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.problem-solution-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Problem Question */
.problem-question {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.question-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warning);
}

.dark .question-icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(248, 113, 113, 0.15) 100%);
}

.question-icon svg {
    width: 32px;
    height: 32px;
}

.problem-question h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin: 0;
}

/* Solution Arrow */
.solution-arrow {
    display: flex;
    justify-content: center;
    animation: bounceDown 2s ease-in-out infinite;
}

.solution-arrow svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

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

/* Solution Answer */
.solution-answer {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(46, 204, 113, 0.05) 100%);
    border: 1px solid rgba(67, 97, 238, 0.15);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.dark .solution-answer {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(52, 211, 153, 0.08) 100%);
    border-color: rgba(96, 165, 250, 0.2);
}

.answer-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(52, 152, 219, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}

.dark .answer-icon {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
}

.answer-icon svg {
    width: 28px;
    height: 28px;
}

.solution-answer p {
    font-size: 1.25rem;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
}

.solution-answer strong {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
    .problem-solution {
        padding: 60px 0;
    }
    
    .problem-solution-content {
        gap: 32px;
    }
    
    .question-icon {
        width: 56px;
        height: 56px;
    }
    
    .question-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .problem-question h2 {
        font-size: 1.6rem;
    }
    
    .solution-arrow svg {
        width: 28px;
        height: 28px;
    }
    
    .answer-icon {
        width: 48px;
        height: 48px;
    }
    
    .answer-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .solution-answer {
        padding: 24px 20px;
    }
    
    .solution-answer p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .problem-solution {
        padding: 48px 0;
    }
    
    .problem-question h2 {
        font-size: 1.4rem;
    }
    
    .solution-answer p {
        font-size: 1rem;
    }
}
/* ================= ABOUT PAGE STYLES ================= */
.story-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.5;
}

.story-intro strong {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-hero p:last-child {
    margin-bottom: 0;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.dark .values-list strong {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .story-intro {
        font-size: 1.1rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
}
