:root {
    --bg-dark: #050505;
    --bg-glass: rgba(15, 15, 20, 0.4);
    --bg-glass-hover: rgba(25, 25, 35, 0.5);
    
    --color-primary: #7c3aed; /* Deep Purple */
    --color-secondary: #ec4899; /* Pink/Magenta */
    --color-tertiary: #3b82f6; /* Blue */
    
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.2);
    
    --glow-primary: rgba(124, 58, 237, 0.5);
    --glow-secondary: rgba(236, 72, 153, 0.5);
    
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.5;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

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

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(5, 5, 5, 0.6);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
    animation: heart-pulse 2s infinite;
}

/* Buttons */
a {
    text-decoration: none;
    color: inherit;
}

.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary.glow-effect::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: inherit;
    filter: blur(15px);
    opacity: 0.6;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--glow-primary);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: white;
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
}

.btn-outline {
    border: 1px solid var(--border-glass);
    background: transparent;
    padding: 0.5rem 1.25rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    width: fit-content;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.badge-part {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-part:first-child {
    color: #c4b5fd;
}

.badge-part:last-child {
    color: #f9a8d4;
}

.badge-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.5;
    font-weight: 500;
    max-width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    padding: 0.5rem 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
}

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

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

/* Glass Card & Tilt */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-smooth);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.7s;
}

.glass-card:hover::before {
    left: 150%;
}

.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Premium Card (Hero) */
.premium-card {
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(30,30,40,0.6) 0%, rgba(10,10,15,0.8) 100%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.card-inner {
    transform: translateZ(30px); /* 3D pop effect */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-hero-image {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bot-logo-hero {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.15));
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(ellipse 70% 70% at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.floating-status {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.card-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--border-glass);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981; /* Green */
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: heart-pulse 2s infinite;
}

.premium-card h3 {
    font-size: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.premium-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    gap: 10px;
}

.tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
}

/* Advantages Section */
.advantages {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem 8rem;
}

.cta-container {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.cta-container h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Language Switcher */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lang-pill {
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: background 0.3s;
}

.lang-pill:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pill-knob {
    width: 26px;
    height: 26px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 2px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    overflow: hidden;
}

.emoji-ru, .emoji-uz {
    position: absolute;
    font-size: 14px;
    transition: opacity 0.3s, transform 0.3s;
}

.emoji-uz {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

.lang-pill[data-current="uz"] .pill-knob {
    transform: translateX(28px);
}

.lang-pill[data-current="uz"] .emoji-ru {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.lang-pill[data-current="uz"] .emoji-uz {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Remove obsolete media query for lang-pill margins */

/* Animations */
@keyframes heart-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes sexy-breath {
    0% { transform: scale(1); }
    50% { transform: scale(1.015); }
    100% { transform: scale(1); }
}

.pulse-anim {
    animation: sexy-breath 3s ease-in-out infinite;
}

/* Scroll Animations Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .badge {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .premium-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .advantages {
        padding: 5rem 1.5rem;
    }
    .cta-section {
        padding: 3rem 1.5rem 5rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .glass-nav {
        padding: 0.75rem 0;
    }
    .hero {
        padding-top: 6rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        gap: 2.5rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    .stats-row {
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn-primary, 
    .hero-actions .btn-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
        min-height: 48px;
    }
    
    .feature-card {
        padding: 1.75rem;
    }
    
    .cta-container {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }
    
    .premium-card {
        max-width: 100%;
        width: 100%;
    }
    
    .premium-card h3 {
        font-size: 1.5rem;
        word-break: break-word;
        hyphens: auto;
    }
}

/* Fix iOS Safe Areas */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    .glass-nav {
        padding-top: calc(1rem + env(safe-area-inset-top));
    }
}
