/* ==========================================
   OPERA GX LANDER - STYLE.CSS
   Matching Prelander Gaming Style
   ========================================== */

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

:root {
    /* Background Colors - Same as Prelander */
    --bg-dark: #050810;
    --bg-mid: #0d1224;
    --bg-accent: #1a0a1f;
    --color-bg-card: rgba(13, 18, 36, 0.95);
    
    /* Primary Colors */
    --red-primary: #ff2d55;
    --red-secondary: #ff0844;
    --red-glow: rgba(255, 45, 85, 0.6);
    
    /* Accent Colors */
    --cyan-accent: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.3);
    --green-accent: #00ff88;
    --green-glow: rgba(0, 255, 136, 0.4);
    
    /* Text Colors */
    --text-primary: #fff;
    --text-secondary: #a8b2d1;
    --text-muted: #5a6789;
    --color-border: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==========================================
   BACKGROUND EFFECTS (Same as Prelander)
   ========================================== */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 45, 85, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 100% 100% at 50% 100%, rgba(26, 10, 31, 0.8) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-accent) 100%);
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 45, 85, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 45, 85, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--red-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px var(--red-glow);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(6) { left: 85%; animation-delay: 5s; animation-duration: 11s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; transform: translateY(90vh) scale(1); }
    90% { opacity: 0.6; transform: translateY(10vh) scale(1); }
    100% { transform: translateY(0) scale(0); opacity: 0; }
}

/* Scanline Effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03),
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1000;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 8, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 45, 85, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 20px var(--red-glow));
}

/* ==========================================
   CTA BUTTONS
   ========================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 44px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 40px rgba(255, 45, 85, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: cta-pulse 3s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% {
        box-shadow: 
            0 10px 40px rgba(255, 45, 85, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }
    50% {
        box-shadow: 
            0 10px 60px rgba(255, 45, 85, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.2) inset,
            0 0 30px rgba(255, 45, 85, 0.3);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 80px rgba(255, 45, 85, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 100px rgba(255, 45, 85, 0.4);
    animation: none;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:focus {
    outline: 2px solid var(--cyan-accent);
    outline-offset: 2px;
}

.cta-button-large {
    padding: 20px 50px;
    font-size: 1.15rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    padding-top: calc(80px + var(--spacing-md));
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    animation: slideInRight 1s ease-out 0.3s both;
}

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

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 0 60px rgba(255, 45, 85, 0.5),
        0 0 120px rgba(255, 45, 85, 0.3),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 45, 85, 0.3);
    filter: saturate(1.1) contrast(1.05);
}

.hero-headline {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 40px rgba(255, 45, 85, 0.3);
    text-transform: uppercase;
}

.hero-headline-red {
    display: block;
    background: linear-gradient(90deg, var(--red-primary), #ff6b8a, var(--red-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.2em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle .accent {
    color: var(--cyan-accent);
    text-shadow: 0 0 20px var(--cyan-glow);
}

.benefit-list {
    list-style: none;
    max-width: 600px;
    margin: 0 0 var(--spacing-lg) 0;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
    color: var(--text-primary);
}

.benefit-list .icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--green-accent);
    filter: drop-shadow(0 0 8px var(--green-glow));
}

.credibility-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

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

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl) var(--spacing-md);
}

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

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 30px rgba(255, 45, 85, 0.2);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ==========================================
   CARDS
   ========================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.card {
    background: var(--color-bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 85, 0.2);
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(255, 45, 85, 0.2),
        0 0 30px rgba(255, 45, 85, 0.1);
    border-color: rgba(255, 45, 85, 0.4);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-sm);
    color: var(--red-primary);
    filter: drop-shadow(0 0 15px var(--red-glow));
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   STATS
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.stat-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 45, 85, 0.2);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--cyan-accent);
    box-shadow: 0 0 30px var(--cyan-glow);
}

.stat-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-md);
    font-style: italic;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 45, 85, 0.2);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--green-accent);
    box-shadow: 0 0 20px var(--green-glow);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--cyan-accent);
    font-style: italic;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 45, 85, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover,
.faq-question:focus {
    color: var(--red-primary);
    text-shadow: 0 0 20px var(--red-glow);
}

.faq-question:focus {
    outline: 2px solid var(--red-primary);
    outline-offset: 4px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--red-primary);
}

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

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: var(--spacing-md);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */
.final-cta-section {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-top: 1px solid rgba(255, 45, 85, 0.3);
    border-bottom: 1px solid rgba(255, 45, 85, 0.3);
    text-align: center;
}

.final-cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 40px rgba(255, 45, 85, 0.3);
}

.final-cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    position: relative;
    z-index: 1;
    background: rgba(5, 8, 16, 0.95);
    border-top: 1px solid rgba(255, 45, 85, 0.2);
    padding: var(--spacing-lg) var(--spacing-md);
    padding-bottom: 120px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-link {
    background: none;
    border: none;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--red-primary);
    text-shadow: 0 0 10px var(--red-glow);
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto var(--spacing-sm);
}

.footer-notice {
    font-size: 0.9rem;
    color: var(--red-primary);
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

.footer-copyright {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
}

/* ==========================================
   MODAL
   ========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 16, 0.95);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 45, 85, 0.3);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--spacing-lg);
    position: relative;
    box-shadow: 
        0 0 60px rgba(255, 45, 85, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--red-primary);
    text-shadow: 0 0 20px var(--red-glow);
}

.modal-content h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    color: var(--red-primary);
}

.modal-content p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   STICKY BOTTOM CTA
   ========================================== */
.sticky-bottom-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 90;
    background: linear-gradient(135deg, rgba(13, 18, 36, 0.98), rgba(26, 10, 31, 0.98));
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--red-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -10px 40px rgba(255, 45, 85, 0.3);
}

.sticky-bottom-cta.visible {
    bottom: 0;
}

.sticky-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.sticky-cta-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image-wrapper {
        order: 2;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .benefit-list {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .header-container {
        padding: var(--spacing-sm);
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .header .cta-button {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    .logo {
        height: 32px;
    }
    
    .hero {
        padding-top: calc(70px + var(--spacing-sm));
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 320px;
    }
    
    .cards-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky-cta-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .sticky-cta-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .benefit-list li {
        font-size: 0.95rem;
    }
    
    .section {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .faq-question {
        font-size: 0.95rem;
    }
}
