/* =====================================================
   AURORA BOREALIS - STYLES
   Modern dark theme website styles
   ===================================================== */

/* =====================================================
   1. CSS VARIABLES (Custom Properties)
   ===================================================== */
:root {
    /* Colors - Base */
    --color-bg-dark: #0a0a0a;
    --color-bg-card: #1e1e1e;
    --color-bg-secondary: #2a2a2a;
    --color-bg-tertiary: #2d2d2d;
    
    /* Colors - Accent */
    --color-accent-yellow: #ffd750;
    --color-accent-green: #78c850;
    --color-accent-lime: #9acd32;
    --color-accent-gold: #daa520;
    
    /* Colors - Text */
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    
    /* Gradients */
    --gradient-aurora: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-card) 50%, var(--color-bg-secondary) 100%);
    --gradient-yellow: linear-gradient(135deg, var(--color-accent-yellow), var(--color-accent-gold));
    --gradient-green: linear-gradient(135deg, var(--color-accent-green), var(--color-accent-lime));
    --gradient-brand: linear-gradient(135deg, var(--color-accent-yellow), var(--color-accent-green), var(--color-accent-lime));
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 50px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.5);
    --shadow-btn-yellow: 0 15px 40px rgba(255, 215, 80, 0.4);
    --shadow-btn-green: 0 15px 40px rgba(120, 200, 80, 0.3);
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-fixed: 1000;
    --z-modal: 2000;
}

/* =====================================================
   2. RESET & BASE STYLES
   ===================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* =====================================================
   3. UTILITY CLASSES
   ===================================================== */
.text-gradient-yellow {
    background: var(--gradient-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   4. COMPONENTS - Language Switcher
   ===================================================== */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-fixed);
    display: flex;
    gap: 10px;
    background: rgba(30, 30, 30, 0.9);
    padding: 8px 12px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 80, 0.3);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all var(--transition-base);
}

.lang-btn:hover:not(.active) {
    color: var(--color-text-primary);
}

.lang-btn.active {
    background: var(--color-accent-yellow);
    color: var(--color-bg-card);
}

/* =====================================================
   5. COMPONENTS - Navigation
   ===================================================== */
.nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-fixed);
    background: rgba(30, 30, 30, 0.9);
    padding: 12px 30px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 80, 0.3);
}

.nav__list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav__link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color var(--transition-base);
}

.nav__link:hover,
.nav__link:focus {
    color: var(--color-accent-yellow);
}

/* =====================================================
   6. SECTIONS - Hero
   ===================================================== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-aurora);
    z-index: -2;
}

.hero__aurora {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero__aurora-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(ellipse at center, rgba(255, 215, 80, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 20%, rgba(120, 200, 80, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(154, 205, 50, 0.15) 0%, transparent 40%);
    animation: aurora 15s ease-in-out infinite;
}

.hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 60px rgba(255, 215, 80, 0.5);
}

.hero__tagline {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 600px;
    margin-bottom: var(--spacing-xxl);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero__scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-accent-yellow);
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: var(--radius-full);
    animation: float 20s infinite ease-in-out;
}

/* =====================================================
   7. SECTIONS - Product Slides
   ===================================================== */
.slider-container {
    position: relative;
}

.slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide__bg {
    position: absolute;
    inset: 0;
    height: 120%;
    z-index: -1;
    will-change: transform;
}

/* Slide variants */
.slide--yellow .slide__bg {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-card) 50%, var(--color-bg-secondary) 100%);
}

.slide--green .slide__bg {
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-card) 50%, var(--color-bg-dark) 100%);
}

.slide__content {
    max-width: 1200px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 0;
}

/* =====================================================
   8. COMPONENTS - Product Info
   ===================================================== */
.product-info {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease forwards;
}

.product-info__badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.slide--yellow .product-info__badge {
    background: var(--gradient-yellow);
    color: var(--color-bg-card);
}

.slide--green .product-info__badge {
    background: var(--gradient-green);
    color: var(--color-bg-card);
}

.product-info__title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-info__description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Features List */
.features-list {
    list-style: none;
    margin-bottom: var(--spacing-xxl);
}

.features-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.features-list__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.slide--yellow .features-list__icon {
    stroke: var(--color-accent-yellow);
}

.slide--green .features-list__icon {
    stroke: var(--color-accent-green);
}

/* =====================================================
   9. COMPONENTS - Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn--primary {
    margin-right: 15px;
    margin-bottom: 10px;
}

.btn--secondary {
    background: transparent;
    border: 2px solid;
    margin-bottom: 10px;
}

.slide--yellow .btn--primary {
    background: var(--gradient-yellow);
    color: var(--color-bg-card);
}

.slide--green .btn--primary {
    background: var(--gradient-green);
    color: var(--color-bg-card);
}

.slide--yellow .btn--secondary {
    border-color: var(--color-accent-yellow);
    color: var(--color-accent-yellow);
}

.slide--green .btn--secondary {
    border-color: var(--color-accent-green);
    color: var(--color-accent-green);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn--primary:hover {
    box-shadow: var(--shadow-btn-yellow);
}

.slide--yellow .btn--secondary:hover {
    background: var(--color-accent-yellow);
    color: var(--color-bg-card);
    box-shadow: var(--shadow-btn-yellow);
}

.slide--green .btn--secondary:hover {
    background: var(--color-accent-green);
    color: var(--color-bg-card);
    box-shadow: var(--shadow-btn-green);
}

.btn__icon {
    width: 20px;
    height: 20px;
}

/* =====================================================
   10. COMPONENTS - Product Visual
   ===================================================== */
.product-visual {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease forwards;
    animation-delay: 0.3s;
}

.visual-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-xxl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 80, 0.2);
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.slide--yellow .visual-card::before {
    background: var(--gradient-yellow);
}

.slide--green .visual-card::before {
    background: var(--gradient-green);
}

.visual-card__icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-secondary));
}

.slide--yellow .visual-card__icon {
    border: 2px solid var(--color-accent-yellow);
}

.slide--green .visual-card__icon {
    border: 2px solid var(--color-accent-green);
}

.visual-card__icon img,
.visual-card__icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mockup Window */
.mockup-window {
    background: #1a1a1a;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.mockup-window__header {
    background: var(--color-bg-tertiary);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-window__btn {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.mockup-window__btn--close { background: #ff5f57; }
.mockup-window__btn--minimize { background: #febc2e; }
.mockup-window__btn--maximize { background: #28c840; }

.mockup-window__title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-left: -36px;
}

.mockup-window__content {
    padding: 30px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-window__line {
    height: 12px;
    background: var(--color-bg-tertiary);
    border-radius: 6px;
}

.mockup-window__line:nth-child(1) { width: 80%; }
.mockup-window__line:nth-child(2) { width: 60%; }
.mockup-window__line:nth-child(3) { width: 90%; }
.mockup-window__line:nth-child(4) { width: 45%; }

/* =====================================================
   11. COMPONENTS - Footer
   ===================================================== */
.footer {
    background: var(--color-bg-card);
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 80, 0.2);
}

.footer__logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__text {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.footer__link:hover {
    color: var(--color-accent-yellow);
}

.footer__link svg {
    width: 20px;
    height: 20px;
}

/* =====================================================
   12. ANIMATIONS
   ===================================================== */
@keyframes aurora {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5%, 5%) rotate(5deg); }
    50% { transform: translate(5%, -5%) rotate(-5deg); }
    75% { transform: translate(-3%, -3%) rotate(3deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

@keyframes slideInLeft {
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    to { transform: translateX(0); opacity: 1; }
}

/* =====================================================
   13. RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 900px) {
    .slide__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-list__item {
        justify-content: center;
    }
    
    .product-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 10px 20px;
    }
    
    .nav__list {
        gap: 20px;
    }
    
    .slide__content {
        padding: 80px 20px;
    }
    
    .lang-switcher {
        top: auto;
        bottom: 20px;
        right: 20px;
    }
    
    .footer__links {
        flex-direction: column;
        gap: 15px;
    }
}

/* =====================================================
   14. PRINT STYLES
   ===================================================== */
@media print {
    .nav,
    .lang-switcher,
    .hero__scroll-indicator,
    .particles {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
