/* Base Styles */
:root {
    --bg-dark: #050a12;
    --ice-cyan: #00f0ff;
    --ice-blue: #0b4e72;
    --anomaly-purple: #8a2be2;
    --text-main: #e0f2fe;
    --glass-bg: rgba(5, 20, 35, 0.6);
    --glass-border: rgba(0, 240, 255, 0.3);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background: radial-gradient(circle at 50% 50%, #0b4e72 0%, #070e17 80%);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Canvas Particles */
#snow-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.overlay-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    /* A subtle noise or snow overlay could go here via an image, using a basic linear gradient for now to add depth */
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    z-index: 10;
}

/* Subtle Levitation Animation for Title */
@keyframes levitate-subtle {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 10px var(--ice-cyan), 0 0 20px var(--ice-cyan), 0 0 40px var(--anomaly-purple);
    letter-spacing: 2px;
    animation: levitate-subtle 6s ease-in-out infinite;
    text-align: center;
}

.subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #b0c4de;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    color: #fff;
    background: transparent;
    border: 2px solid var(--ice-cyan);
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), inset 0 0 10px rgba(138, 43, 226, 0.2);
    cursor: pointer;
}

.cta-button:hover {
    background: var(--ice-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 25px var(--ice-cyan);
}

/* Language Toggle */
.top-nav {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
}

.lang-toggle a {
    color: var(--ice-blue);
    text-decoration: none;
    font-weight: bold;
    margin: 0 5px;
    transition: color 0.3s;
}

.lang-toggle a.active, .lang-toggle a:hover {
    color: var(--ice-cyan);
    text-shadow: 0 0 10px var(--ice-cyan);
}

/* Sneak Peek & Carousel */
.sneak-peek {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ice-cyan);
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 20px var(--anomaly-purple);
    background: var(--glass-bg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    display: flex;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: var(--ice-cyan);
    color: var(--bg-dark);
}

.prev-btn { left: 0; border-radius: 0 5px 5px 0; }
.next-btn { right: 0; border-radius: 5px 0 0 5px; }

.carousel-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active, .dot:hover {
    background: var(--ice-cyan);
    box-shadow: 0 0 10px var(--ice-cyan);
}

/* Capture Section (Glassmorphism) */
.capture {
    padding: 5rem 2rem;
    display: flex;
    justify-content: center;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    max-width: 500px;
    width: 100%;
    margin-top: 1.5rem;
}

.glass-panel:hover {
    border-color: rgba(0, 230, 255, 0.4);
    box-shadow: 0 10px 50px rgba(0, 240, 255, 0.15);
}

.glass-panel h2 {
    margin-bottom: 1rem;
}

.glass-panel p {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #b0c4de;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--ice-cyan);
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #b0c4de;
}

.checkbox-group a {
    color: var(--ice-cyan);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    padding: 1rem 2.5rem;
    background: var(--ice-cyan);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.glow-effect:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--ice-cyan), 0 0 40px var(--ice-cyan);
    transform: scale(1.05);
}

/* Scroll Reveal Classes */
.hidden-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Feedback Messages */
#form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
}

#form-message.success {
    background: rgba(0, 255, 100, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 100, 0.3);
}

#form-message.error {
    background: rgba(255, 0, 50, 0.1);
    color: #ff4466;
    border: 1px solid rgba(255, 0, 50, 0.3);
}

.hidden {
    display: none;
}

/* Footer */
footer {
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 7, 13, 0.6);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

#footer-text {
    font-size: 0.85rem;
    color: #5a738e;
    font-weight: 400;
}

.footer-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-icon-link {
    color: #5a738e;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-icon-link:hover {
    color: var(--ice-cyan);
    opacity: 0.95;
    transform: translateY(-3px);
    filter: drop-shadow(0 0 5px var(--ice-cyan));
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for mobile and in-app browsers (e.g. Instagram) */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }
    .title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        line-height: 1.3;
    }
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .glass-panel {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
        margin-top: 1rem;
    }
    .form-group {
        margin-bottom: 1.2rem;
    }
    .form-group input[type="text"],
    .form-group input[type="email"] {
        padding: 0.85rem;
        font-size: 16px; /* Prevent iOS zoom on focus */
    }
    .radio-options {
        gap: 1.25rem;
    }
    .radio-label {
        font-size: 0.88rem;
    }
    .submit-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    .lang-toggle {
        top: 15px;
        right: 15px;
    }
}

/* Language Selection & Warning Styles */
.lang-selection-group {
    margin-bottom: 1.5rem;
}

.lang-selection-title {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    color: #b0c4de;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(176, 196, 222, 0.2);
}

.radio-options {
    display: flex;
    gap: 2rem;
    margin-top: 0.35rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
    user-select: none;
    transition: color 0.3s ease;
}

.radio-label:hover {
    color: var(--ice-cyan);
}

.radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.radio-label input[type="radio"]:checked {
    border-color: var(--ice-cyan);
    box-shadow: 0 0 8px var(--ice-cyan);
}

.radio-label input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--ice-cyan);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px var(--ice-cyan);
}

.warning-text {
    margin-top: 0.8rem;
    font-size: 0.82rem;
    color: #ffcc00;
    border-left: 2px solid #ffcc00;
    padding-left: 0.65rem;
    line-height: 1.4;
    transition: opacity 0.3s ease;
}

.warning-text.hidden {
    display: none;
}

/* Hero Split Layout */
.hero-split {
    display: flex;
    gap: 3.5rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    max-width: 1100px;
}

.hero-left {
    flex: 1;
    max-width: 450px;
    width: 100%;
}

.hero-right {
    flex: 1;
    max-width: 480px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-right .glass-panel {
    margin-top: 0;
}

/* Preview Dossier Card */
.preview-card {
    background: rgba(10, 25, 47, 0.45);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 15px rgba(0,240,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    backdrop-filter: blur(5px);
}

.preview-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    aspect-ratio: 3 / 4;
}
/* New Promo Section Styles */
.promo-section {
    animation: fadeInDown 1.2s ease-out 0.8s backwards;
}

.promo-section .glass-panel {
    background: rgba(3, 7, 13, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 230, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-section .glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 230, 255, 0.15), 0 0 15px rgba(0,230,255,0.05) inset;
}

.download-counter {
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    from { box-shadow: 0 0 10px rgba(0, 230, 255, 0.1); }
    to { box-shadow: 0 0 20px rgba(0, 230, 255, 0.3); }
}

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