:root {
    --primary: #7f54b3;
    --primary-dark: #674399;
    --primary-light: #f3e8ff;
    --secondary: #ff6b35;
    --accent: #00a32a;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;

    --gray-50: #f6f8fa;
    --gray-100: #eaeef2;
    --gray-200: #d0d7de;
    --gray-300: #afb8c1;
    --gray-400: #8c959f;
    --gray-500: #6e7781;
    --gray-600: #57606a;
    --gray-700: #424a53;
    --gray-800: #32383f;
    --gray-900: #24292f;

    --white: #ffffff;
    --black: #0d1117;

    --gradient-primary: linear-gradient(135deg, #7f54b3 0%, #ff6b35 100%);
    --gradient-hero: linear-gradient(135deg, #7f54b3 0%, #9f7aea 100%);
    --gradient-text: linear-gradient(135deg, #7f54b3 0%, #ff6b35 100%);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--gray-800); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); font-size: 0.95rem; }
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--gray-900); color: var(--white); }
.btn-secondary:hover { background: var(--gray-700); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-link { color: var(--primary); background: transparent; padding: 8px 0; }
.text-muted { color: var(--gray-500); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); transition: var(--transition); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gray-900); }
.logo-icon { font-size: 1.6rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-weight: 800; font-size: 1.1rem; color: var(--gray-900); }
.logo-sub { font-size: 0.7rem; color: var(--gray-500); font-weight: 500; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--gray-700); font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
.nav-menu a:hover { color: var(--primary); }
.nav-cta a { padding: 10px 18px; border-radius: var(--radius-md); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-800); transition: var(--transition); }

/* Language selector */
.lang-selector { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; background: var(--gray-100); border: none; padding: 8px 12px; border-radius: var(--radius-md); cursor: pointer; font-weight: 500; }
.lang-dropdown { position: absolute; top: 100%; right: 0; margin-top: 8px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); min-width: 150px; display: none; overflow: hidden; }
.lang-dropdown.active { display: block; }
.lang-option { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; border: none; background: none; cursor: pointer; font-size: 0.9rem; }
.lang-option:hover { background: var(--gray-50); }

/* Hero */
.hero { position: relative; padding: 140px 0 100px; overflow: hidden; background: linear-gradient(135deg, #faf8ff 0%, #fff5f0 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -50px; left: -50px; opacity: 0.3; }
.orb-3 { width: 200px; height: 200px; background: var(--accent); top: 50%; left: 30%; opacity: 0.15; }
.hero .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.badge-new { background: var(--secondary); color: var(--white); padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.badge-text { color: var(--gray-600); font-size: 0.85rem; }
.hero-title { font-size: 3.2rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: var(--gray-900); }
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.15rem; color: var(--gray-600); margin-bottom: 32px; max-width: 540px; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 32px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--gray-500); }
.hero-cta { display: flex; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-cta .btn { flex-direction: column; align-items: flex-start; }
.hero-cta .btn small { font-size: 0.75rem; font-weight: 400; opacity: 0.9; }
.hero-cta .btn-outline { align-items: center; flex-direction: row; }
.hero-trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trust-text { font-size: 0.85rem; color: var(--gray-500); }
.trust-logos { display: flex; gap: 8px; }
.trust-logo { background: var(--white); border: 1px solid var(--gray-200); padding: 4px 10px; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; color: var(--gray-600); }

/* Dashboard preview */
.dashboard-preview { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; border: 1px solid var(--gray-200); }
.dashboard-preview.wide { max-width: 900px; margin: 0 auto; }
.preview-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.preview-dots { display: flex; gap: 6px; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); }
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-title { font-size: 0.85rem; font-weight: 600; color: var(--gray-600); }
.preview-content { padding: 24px; }
.module-list { display: flex; flex-direction: column; gap: 10px; }
.module-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--gray-50); border: 1px solid var(--gray-200); }
.module-icon { font-size: 1.2rem; }
.module-name { flex: 1; font-weight: 500; font-size: 0.9rem; }
.module-status { font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full); text-transform: uppercase; }
.module-status.on { background: #dcfce7; color: #166534; }
.module-status.pro { background: #dbeafe; color: #1e40af; }
.module-status.premium { background: #fef3c7; color: #92400e; }

/* Sections */
section { padding: 90px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 6px 14px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-size: 2.4rem; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; line-height: 1.2; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-600); }
.highlight { color: var(--primary); }

/* Problem */
.problem { background: var(--gray-50); }
.problem-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-bottom: 50px; }
.problem-card { background: var(--white); padding: 32px; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.problem-icon { font-size: 2.5rem; margin-bottom: 16px; }
.problem-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--gray-900); }
.problem-card p { color: var(--gray-600); }
.problem-vs { display: flex; align-items: center; justify-content: center; padding: 20px; background: none; box-shadow: none; border: none; }
.vs-badge { background: var(--gray-900); color: var(--white); padding: 8px 16px; border-radius: var(--radius-full); font-weight: 800; }
.problem-solution { border-color: var(--primary); }
.problem-data { display: flex; justify-content: center; gap: 60px; text-align: center; }
.data-item { display: flex; flex-direction: column; }
.data-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.data-label { color: var(--gray-600); max-width: 160px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { position: relative; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 28px; transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--gray-900); }
.feature-card p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }
.feature-badge { position: absolute; top: 16px; right: 16px; font-size: 0.65rem; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-full); text-transform: uppercase; }
.feature-badge.lite { background: #dcfce7; color: #166534; }
.feature-badge.pro { background: #dbeafe; color: #1e40af; }
.feature-badge.premium { background: #fef3c7; color: #92400e; }

/* Demo */
.demo-section { background: var(--gray-50); }
.demo-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.demo-table th { text-align: left; padding: 10px; border-bottom: 2px solid var(--gray-200); color: var(--gray-600); font-weight: 600; }
.demo-table td { padding: 10px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.demo-input { width: 80px; padding: 6px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 0.85rem; text-align: right; }

/* Pricing */
.pricing-lite-standalone { max-width: 500px; margin: 0 auto 40px; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; }
.toggle-label { font-size: 0.9rem; color: var(--gray-600); font-weight: 500; }
.toggle-label.active { color: var(--gray-900); }
.toggle-switch { position: relative; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--gray-300); border-radius: var(--radius-full); cursor: pointer; transition: var(--transition); }
.toggle-slider:before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: var(--transition); }
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(22px); }
.toggle-save { background: var(--secondary); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full); }
.pricing-toggle-note { text-align: center; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 30px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.pricing-card { position: relative; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 32px; transition: var(--transition); }
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-popular { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); padding: 6px 16px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 800; }
.lifetime-badge { position: absolute; top: 16px; right: 16px; background: var(--gray-900); color: var(--white); padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 800; }
.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-header h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 8px; }
.pricing-price .price { font-size: 2.5rem; font-weight: 800; color: var(--gray-900); }
.pricing-price .period { color: var(--gray-500); font-size: 0.9rem; }
.pricing-desc { color: var(--gray-600); font-size: 0.9rem; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--gray-700); }
.pricing-features .check { color: var(--accent); font-weight: 700; }
.pricing-features .cross { color: var(--gray-400); }
.pricing-features-columns { display: grid; grid-template-columns: 1fr 1fr; }
.pricing-guarantee { text-align: center; margin-top: 30px; color: var(--gray-600); }

/* Testimonials */
.testimonials { background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); padding: 28px; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.testimonial-rating { color: var(--warning); margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-card blockquote { font-size: 1rem; color: var(--gray-700); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.author-info { display: flex; flex-direction: column; }
.author-info strong { color: var(--gray-900); font-size: 0.9rem; }
.author-info span { color: var(--gray-500); font-size: 0.8rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: none; border: none; text-align: left; font-size: 1rem; font-weight: 600; color: var(--gray-900); cursor: pointer; }
.faq-icon { font-size: 1.3rem; color: var(--primary); transition: var(--transition); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; color: var(--gray-600); }

/* CTA */
.cta-section { padding: 60px 0; }
.cta-box { background: var(--gradient-hero); border-radius: var(--radius-xl); padding: 60px; text-align: center; color: var(--white); }
.cta-box h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta-subtitle { font-size: 1.1rem; opacity: 0.95; margin-bottom: 28px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.cta-box .btn-outline { border-color: var(--white); color: var(--white); }
.cta-box .btn-outline:hover { background: rgba(255,255,255,0.15); }
.cta-note { font-size: 0.85rem; opacity: 0.85; }

/* Footer */
.footer { background: var(--gray-900); color: var(--gray-300); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: var(--white); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray-400); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--gray-500); }
.footer-bottom a { color: var(--gray-400); }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal.show { opacity: 1; visibility: visible; }
.modal-content { background: var(--white); border-radius: var(--radius-xl); padding: 32px; width: 90%; max-width: 450px; position: relative; box-shadow: var(--shadow-xl); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-500); }
.checkout-plan { text-align: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
.checkout-price { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.form-group input { width: 100%; padding: 12px; border: 1px solid var(--gray-300); border-radius: var(--radius-md); font-size: 1rem; }
.checkout-note { text-align: center; font-size: 0.8rem; color: var(--gray-500); margin-top: 12px; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--gray-900); color: var(--white); padding: 16px 24px; z-index: 100000; transform: translateY(100%); transition: transform 0.4s ease; }
.cookie-banner.active { transform: translateY(0); }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-content p { font-size: 0.9rem; }
.cookie-content a { color: var(--primary-light); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }

/* Responsive */
@media (max-width: 992px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { order: -1; }
    .problem-grid { grid-template-columns: 1fr; }
    .problem-vs { display: none; }
    .problem-data { flex-direction: column; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu { position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 16px; box-shadow: var(--shadow-lg); transform: translateY(-150%); transition: transform 0.3s ease; }
    .nav-menu.active { transform: translateY(0); }
    .nav-cta { margin-top: 10px; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .pricing-features-columns { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-popular { transform: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 24px; }
    .cta-box h2 { font-size: 1.6rem; }
    .cookie-content { flex-direction: column; text-align: center; }
}
