/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --outline: rgba(255, 255, 255, 0.05);
}

body.light-theme {
    --background: #f8fafc;
    --surface: #ffffff;
    --surface-light: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --outline: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--surface-light);
}

.btn-secondary:hover {
    background: var(--surface-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-large > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-large-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-brand i {
    color: var(--primary);
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Hero Image & Phone Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 32px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-header .greeting {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.app-header h3 {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.health-score {
    display: flex;
    justify-content: center;
}

.score-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--gradient-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.3);
}

.score {
    font-size: 3rem;
    font-weight: 800;
}

.score-circle .label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--surface);
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-card i {
    color: var(--primary);
    font-size: 1.25rem;
}

.stat-card .stat-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-card .stat-value {
    font-weight: 600;
    font-size: 0.875rem;
}

.floating-card {
    position: absolute;
    background: var(--surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--success);
    font-size: 1.25rem;
}

.floating-card span {
    font-size: 0.875rem;
    font-weight: 500;
}

.card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -20px;
    animation-delay: 3s;
}

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

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    opacity: 0.3;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #d946ef;
    top: 50%;
    left: 30%;
    opacity: 0.2;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

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

.section-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Features Section */
.features {
    background: linear-gradient(180deg, var(--background) 0%, rgba(30, 41, 59, 0.3) 50%, var(--background) 100%);
    overflow: hidden;
}

.features-circle {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 800px;
    margin: 0 auto;
}

.features-circle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 30px 60px -20px rgba(99, 102, 241, 0.5);
}

.features-circle-center .center-icon {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.features-circle-center span {
    font-size: 1.1rem;
    font-weight: 700;
}

.feature-circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    text-align: center;
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.feature-circle-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 1rem;
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.4);
    transition: transform 0.3s ease;
}

.feature-circle-item:hover .feature-circle-icon {
    transform: scale(1.1);
}

.feature-circle-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-circle-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

body.light-theme .features-circle-center {
    box-shadow: 0 30px 60px -20px rgba(99, 102, 241, 0.3);
}

@media (max-width: 1024px) {
    .features-circle {
        height: auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .features-circle-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        order: 0;
    }
    
    .feature-circle-item {
        position: relative;
        top: auto;
        left: auto;
        transform: none !important;
        text-align: center;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .features-circle {
        gap: 1.5rem;
    }
    
    .features-circle-center {
        width: 120px;
        height: 120px;
    }
    
    .features-circle-center .center-icon {
        font-size: 2rem;
    }
    
    .features-circle-center span {
        font-size: 0.9rem;
    }
    
    .feature-circle-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .feature-circle-content h3 {
        font-size: 1rem;
    }
    
    .feature-circle-content p {
        font-size: 0.8rem;
    }
}

/* How It Works */
.how-it-works {
    background: var(--surface);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    flex-shrink: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Download Section */
.download {
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0.1;
}

.download-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.download-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.download-note i {
    color: var(--success);
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand .brand-logo i {
    color: var(--primary);
}

.footer-brand > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--surface-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-item.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--surface-light);
    }
    
    .nav-links.active .theme-toggle {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .floating-card {
        display: none;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--primary), transparent);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.feature-item,
.step,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--surface-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--surface-light);
    border-color: var(--primary);
}

.lang-btn i {
    font-size: 0.75rem;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--surface-light);
    border-radius: var(--radius);
    padding: 0.5rem;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: var(--shadow-xl);
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.lang-menu a:hover {
    background: var(--surface-light);
    color: var(--primary);
}

/* Topics Section */
.topics {
    background: linear-gradient(180deg, var(--background) 0%, rgba(30, 41, 59, 0.5) 50%, var(--background) 100%);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.topic-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.topic-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.topic-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.topic-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.topic-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.3s ease;
}

.topic-card:hover .topic-link {
    gap: 0.75rem;
}

/* Topic Modal */
.topic-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}

.topic-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid var(--outline);
    position: relative;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.modal-header h2 {
    flex: 1;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--surface-light);
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.topic-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.topic-section {
    margin-bottom: 2rem;
}

.topic-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.topic-list {
    list-style: none;
}

.topic-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.topic-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .lang-menu {
        right: auto;
        left: 0;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .topic-modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: calc(95vh - 120px);
    }
    
    .modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
.modal-header h2 {
        font-size: 1.25rem;
    }
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--surface-light);
    border-radius: var(--radius);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background: var(--surface-light);
    border-color: var(--primary);
}

body.light-theme .navbar {
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .nav-links a {
    color: #475569;
}

body.light-theme .nav-links a:hover {
    color: #1e293b;
}

body.light-theme .nav-brand {
    color: #0f172a;
}

body.light-theme .lang-btn {
    color: #0f172a;
    background: var(--surface);
    border-color: var(--surface-light);
}

body.light-theme .lang-menu a {
    color: #0f172a;
}

body.light-theme .hero-badge,
body.light-theme .section-tag {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

body.light-theme .phone-mockup {
    background: linear-gradient(145deg, #e2e8f0 0%, #f8fafc 100%);
}

body.light-theme .phone-screen {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

body.light-theme .floating-card {
    background: var(--surface);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .benefit-card,
body.light-theme .topic-card,
body.light-theme .testimonial-card {
    background: var(--surface);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .benefit-card:hover,
body.light-theme .topic-card:hover,
body.light-theme .testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

body.light-theme .features {
    background: linear-gradient(180deg, var(--background) 0%, rgba(226, 232, 240, 0.5) 50%, var(--background) 100%);
}

body.light-theme .how-it-works {
    background: var(--surface);
}

body.light-theme .footer {
    background: var(--surface);
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .social-links a {
    background: var(--surface-light);
}

body.light-theme .lang-btn {
    background: var(--surface);
    border-color: var(--surface-light);
}

body.light-theme .lang-menu {
    background: var(--surface);
    border-color: var(--surface-light);
}

body.light-theme .lang-menu a:hover {
    background: var(--surface-light);
}

body.light-theme .modal-content {
    background: var(--surface);
}

body.light-theme .modal-header {
    border-bottom-color: var(--outline);
}

body.light-theme .topic-list li {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-theme ::-webkit-scrollbar-track {
    background: var(--background);
}

body.light-theme ::-webkit-scrollbar-thumb {
    background: var(--surface-light);
}

body.light-theme .topics {
    background: linear-gradient(180deg, var(--background) 0%, rgba(226, 232, 240, 0.5) 50%, var(--background) 100%);
}

.nav-links a.active {
    color: var(--primary);
}

body.light-theme .topic-header {
    background: linear-gradient(180deg, var(--background) 0%, rgba(226, 232, 240, 0.8) 100%);
}

body.light-theme .topic-modal {
    background: rgba(248, 250, 252, 0.9);
}

body.light-theme .btn-secondary {
    background: var(--surface);
    border-color: var(--surface-light);
}

body.light-theme .btn-secondary:hover {
    background: var(--surface-light);
}

body.light-theme .input-with-currency input,
body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
    background: var(--background);
    border-color: var(--surface-light);
    color: var(--text-primary);
}

body.light-theme .cookie-consent {
    background: var(--surface);
    border-top-color: var(--surface-light);
}

body.light-theme .cookie-modal {
    background: rgba(248, 250, 252, 0.9);
}

body.light-theme .cookie-modal-content {
    background: var(--surface);
}

body.light-theme .cookie-modal-header,
body.light-theme .cookie-modal-footer {
    border-color: var(--surface-light);
}

/* Topic Detail (Inline Expansion) */
.topic-detail {
    display: none;
    background: var(--surface);
    border-radius: var(--radius-lg);
    margin-top: -1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.topic-detail.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.topic-detail-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2rem;
}

.topic-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.topic-detail-content {
    min-width: 0;
}

.topic-detail-content .topic-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

body.light-theme .topic-detail {
    background: var(--surface);
    border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .topic-detail-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .topic-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.topics-main {
    padding: 4rem 0 6rem;
}

.topics-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.topic-item {
    display: flex;
    flex-direction: column;
}

.topic-item .topic-card {
    width: 100%;
}

.topic-item .topic-detail {
    margin-top: 1rem;
    margin-bottom: 0;
}
