:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-primary: #818cf8;
    --accent-secondary: #6366f1;
    --accent-glow: rgba(129, 140, 248, 0.3);
    --card-bg: #1e293b;
    --card-border: #334155;
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    --transition-speed: 0.3s;
    --container-width: 1200px;
    --border-radius: 16px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-primary: #6366f1;
    --accent-secondary: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.2);
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --hero-gradient: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: background-color var(--transition-speed);
}

[data-theme="light"] .header {
    background: rgba(248, 250, 252, 0.85);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.logo-img {
    width: 185px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-speed);
}

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

.nav-promo {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-promo:hover {
    color: var(--accent-primary) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-speed);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
}

.mobile-nav a {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--card-border);
}

.mobile-nav a[href="#promo"] {
    color: #f59e0b;
    font-weight: 600;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.legal-content {
    padding: 140px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--accent-primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 40px 0;
}

.legal-content .legal-notice {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 120px 24px 80px;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.brand-highlight {
    color: var(--accent-primary);
    background: linear-gradient(135deg, var(--accent-primary), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.cta-button svg {
    width: 24px;
    height: 24px;
}

.hero-stats {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-images {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow-elevated);
    object-fit: cover;
}

.hero-img-main {
    width: 240px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.hero-img-secondary {
    width: 180px;
    height: auto;
    animation: float 6s ease-in-out infinite 1s;
}

.hero-img-tertiary {
    width: 140px;
    height: auto;
    animation: float 6s ease-in-out infinite 2s;
}

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

.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features h2,
.how-it-works h2,
.testimonials h2,
.faq h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: all var(--transition-speed);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.step {
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    margin-top: 32px;
}

.testimonials {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: all var(--transition-speed);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.testimonial-stars {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-primary);
}

.faq {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    transition: all var(--transition-speed);
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.cta-section {
    padding: 100px 0;
    background: var(--hero-gradient);
    text-align: center;
    position: relative;
}

.promo-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-section h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.promo-section > .container > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 30px;
}

.promo-email {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.footer {
    background: var(--bg-primary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 120px;
    height: auto;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: color var(--transition-speed);
}

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

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        margin: 0 auto;
        padding: 0 20px;
        text-align: center;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-button {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-images {
        margin-top: 40px;
        justify-content: center;
    }
    
    .hero-img-main {
        width: 180px;
    }
    
    .hero-img-secondary {
        width: 130px;
    }
    
    .hero-img-tertiary {
        width: 100px;
    }
    
    .features-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--accent-primary), transparent);
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .promo-section h2 {
        font-size: 1.5rem;
    }
    
    .promo-section > .container > p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .features h2,
    .how-it-works h2,
    .testimonials h2,
    .faq h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   BLOG STYLES
   ============================================ */

.blog-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 60px;
}

.blog-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--card-border);
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.blog-card h2 a {
    color: var(--text-primary);
    transition: color var(--transition-speed);
}

.blog-card h2 a:hover {
    color: var(--accent-primary);
}

.blog-meta {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.read-more:hover {
    color: var(--accent-secondary);
}

/* Post Article Styles */

.post {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 32px;
}

.post-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
}

.post-header h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

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

.post-content {
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.post-content h1 { font-size: 1.75rem; }
.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.25rem; }

.post-content p {
    margin-bottom: 16px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.post-content ul,
.post-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 16px;
    margin: 24px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.post-content code {
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.post-content pre {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Share Buttons */

.post-share {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
}

.post-share h3 {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
    min-width: 120px;
    justify-content: center;
}

.share-button.x {
    background: #000000;
    color: white;
}

.share-button.x:hover {
    background: #333333;
}

.share-button.facebook {
    background: #4267b2;
    color: white;
}

.share-button.facebook:hover {
    background: #365899;
}

.share-button.linkedin {
    background: #0077b5;
    color: white;
}

.share-button.linkedin:hover {
    background: #005885;
}

.share-button.generic {
    background: var(--accent-primary);
    color: white;
}

.share-button.generic:hover {
    background: var(--accent-secondary);
}

/* Floating Play Store Button */
.floating-play {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: all var(--transition-speed);
    text-decoration: none;
}

.floating-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.floating-play svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 769px) {
    .floating-play {
        bottom: 32px;
        right: 32px;
    }
}

/* Blog Responsive */

@media (max-width: 768px) {
    .blog-main {
        padding: 100px 16px 40px;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .post {
        padding: 24px;
    }
    
    .post-header h1 {
        font-size: 1.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-button {
        width: 100%;
        justify-content: center;
    }
}
