/* ==========================================================================
   LOSHARIUS (ЛОШАРИУС) - Official Landing Page Stylesheet
   Designed to match Flutter App Theme & Colors (AppColors)
   ========================================================================== */

:root {
    /* Color Tokens from Flutter App (AppColors) */
    --bg-space-dark: #1D1C1F;
    --bg-space-deep: #0A0E17;
    --bg-space-purple: #0E131F;
    
    --primary-blue: #2563EB;
    --light-blue: #0EA5E9;
    --accent-cyan: #06B6D4;
    --dark-blue-accent: #1E3A8A;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-hover: rgba(255, 255, 255, 0.09);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-subtle: rgba(255, 255, 255, 0.07);
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.45);
    
    --bubble-user: rgba(29, 78, 216, 0.28);
    --bubble-user-border: rgba(29, 78, 216, 0.5);
    --bubble-ai: rgba(255, 255, 255, 0.07);
    --bubble-ai-border: rgba(255, 255, 255, 0.14);
    
    --online-green: #00FF66;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg-space-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    min-height: 100%;
}

/* Background Ambient Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.orb-1 {
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-blue) 0%, rgba(37, 99, 235, 0) 70%);
    animation: floatOrb1 14s ease-in-out infinite alternate;
}

.orb-2 {
    top: 40%;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(6, 182, 212, 0) 70%);
    animation: floatOrb2 18s ease-in-out infinite alternate;
}

.orb-3 {
    bottom: 5%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--dark-blue-accent) 0%, rgba(30, 58, 138, 0) 70%);
    animation: floatOrb3 16s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

@keyframes floatOrb3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.08); }
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.text-max-width {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

/* Glassmorphism Card Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--light-blue) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.6);
}

.glow-button {
    position: relative;
}

.glow-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-blue));
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
    transition: var(--transition);
}

.glow-button:hover::after {
    opacity: 0.9;
    filter: blur(12px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Store Badge Buttons (App Store & Google Play) */
.btn-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.store-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
    align-self: center;
    margin: 0;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    align-self: center;
    margin: 0;
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
    align-self: center;
}

.store-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.store-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 14, 23, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border-subtle);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #FFFFFF;
}

.brand-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.brand-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(6, 182, 212, 0.3);
    margin-left: 6px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #FFFFFF;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border-subtle);
    padding: 24px;
    gap: 20px;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu > a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border-subtle);
}

/* Hero Section */
.hero {
    padding: 160px 0 90px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    color: var(--light-blue);
    margin-bottom: 24px;
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: var(--online-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--online-green);
}

.hero-title {
    font-size: 3.2rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--glass-border-subtle);
    padding-top: 24px;
}

.auth-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.vk-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

/* Phone Mockup Frame */
.hero-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 100%;
    max-width: 380px;
    background: rgba(14, 19, 31, 0.92);
    border: 2px solid var(--glass-border);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(37, 99, 235, 0.25);
    display: flex;
    flex-direction: column;
    animation: floatPhone 6s ease-in-out infinite alternate;
}

@keyframes floatPhone {
    0% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(37, 99, 235, 0.25);
    }
    100% {
        transform: translateY(-14px) rotate(0.5deg);
        box-shadow: 0 35px 75px -10px rgba(0, 0, 0, 0.85), 0 0 55px rgba(6, 182, 212, 0.4);
    }
}

.phone-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.phone-notch {
    width: 80px;
    height: 18px;
    background: #000000;
    border-radius: 10px;
}

.phone-icons {
    display: flex;
    gap: 6px;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border-subtle);
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-container {
    position: relative;
}

.chat-avatar-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    display: block;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--online-green);
    border: 2px solid var(--bg-space-dark);
    border-radius: 50%;
}

.chat-user-meta {
    display: flex;
    flex-direction: column;
}

.chat-user-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.chat-user-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Chat Body & Bubbles */
.chat-body {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msg-bubble {
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 0.88rem;
    position: relative;
    line-height: 1.4;
}

.ai-msg {
    align-self: flex-start;
    background: var(--bubble-ai);
    border: 1px solid var(--bubble-ai-border);
    border-bottom-left-radius: 4px;
    color: #FFFFFF;
}

.user-msg {
    align-self: flex-end;
    background: var(--bubble-user);
    border: 1px solid var(--bubble-user-border);
    border-bottom-right-radius: 4px;
    color: #FFFFFF;
}

.msg-time {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
}

/* Voice Message Static Showcase */
.voice-bubble {
    padding: 10px 14px;
    width: 220px;
}

.voice-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-btn-static {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-grow: 1;
    height: 24px;
}

.waveform span {
    width: 3px;
    background: var(--light-blue);
    border-radius: 2px;
    animation: audioWave 1.2s ease-in-out infinite alternate;
}

.waveform span:nth-child(1) { animation-delay: 0.1s; }
.waveform span:nth-child(2) { animation-delay: 0.3s; }
.waveform span:nth-child(3) { animation-delay: 0.5s; }
.waveform span:nth-child(4) { animation-delay: 0.2s; }
.waveform span:nth-child(5) { animation-delay: 0.4s; }
.waveform span:nth-child(6) { animation-delay: 0.6s; }
.waveform span:nth-child(7) { animation-delay: 0.15s; }
.waveform span:nth-child(8) { animation-delay: 0.35s; }

@keyframes audioWave {
    0% { height: 25%; opacity: 0.5; }
    100% { height: 100%; opacity: 1; }
}

.voice-duration {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.voice-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.speed-pill-static {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--glass-border);
    color: var(--accent-cyan);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.voice-label {
    font-size: 0.7rem;
    color: var(--light-blue);
    font-weight: 600;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

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

.feature-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.feature-vk-wrapper {
    background: transparent;
    border: none;
    padding: 0;
}

.feature-vk-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 119, 255, 0.35);
}

.feature-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 1.25rem;
}

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

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.pricing-card {
    padding: 36px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.15) 0%, rgba(14, 19, 31, 0.6) 100%);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.3);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
}

.plan-header {
    margin-bottom: 24px;
}

.plan-title {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
}

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

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-features li svg {
    width: 18px;
    height: 18px;
    color: var(--online-green);
    flex-shrink: 0;
}

.plan-features li.disabled {
    opacity: 0.4;
}

.plan-features li.disabled svg {
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.faq-chevron {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    color: var(--light-blue);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 24px;
}

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

/* CTA Banner */
.cta-card {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border-subtle);
    background: var(--bg-space-purple);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

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

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border-subtle);
    padding-top: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        align-items: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .nav-links, .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-buttons, .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .btn-store {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .pricing-card.popular {
        transform: scale(1) !important;
    }

    .cta-card {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }


/* Legal Pages */
.legal-container {
    padding-top: 100px;
    padding-bottom: 60px;
    max-width: 900px;
}

.legal-content {
    padding: 40px;
    color: var(--text-secondary);
}

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

.legal-content h1 {
    font-size: 2.2rem;
    margin-top: 0;
}

.legal-content h2 {
    font-size: 1.6rem;
}

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

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

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

@media (max-width: 768px) {
    .legal-content {
        padding: 24px;
    }
    .legal-content h1 {
        font-size: 1.8rem;
    }
}
