:root {
    /* Paleta Oficial */
    --space-blue: #190B3D;
    --deep-violet: #643E9B;
    --electric-mint: #6FF6C8;
    --ice-white: #E5EBF4;
    --sunset-orange: #FF4D00; 
    --gray: #8B9BB4;
    
    /* Tipografías */
    --font-coolvetica: 'Archivo Black', sans-serif;
    --font-title: 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--space-blue);
    color: var(--ice-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Canvas Background --- */
#bg-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; opacity: 0.6;
}

/* --- Utilities --- */
h1, h2, h3 {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--ice-white), var(--electric-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent { color: var(--electric-mint); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* --- Buttons --- */
.btn-main {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--electric-mint);
    color: var(--electric-mint);
    font-family: var(--font-title);
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    position: relative; overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-main::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--electric-mint); transition: left 0.3s ease; z-index: -1;
}

.btn-main:hover::before { left: 0; }
.btn-main:hover { color: var(--space-blue); box-shadow: 0 0 20px rgba(111, 246, 200, 0.4); }

.btn-orange { border-color: var(--sunset-orange); color: var(--sunset-orange); }
.btn-orange::before { background: var(--sunset-orange); }
.btn-orange:hover { box-shadow: 0 0 20px rgba(255, 77, 0, 0.4); color: var(--space-blue); }

/* --- New Pill Button Style (Translucent) --- */
.btn-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.05); /* Translucent background */
    backdrop-filter: blur(12px); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle border */
    border-radius: 100px; /* Pill shape */
    color: var(--ice-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-pill:hover {
    background: rgba(111, 246, 200, 0.1); /* Slight mint tint on hover */
    border-color: var(--electric-mint);
    color: var(--electric-mint);
    box-shadow: 0 0 20px rgba(111, 246, 200, 0.15);
    transform: translateY(-1px);
}

/* Estilo específico para la etiqueta en el Hero (reutiliza lógica pill) */
.hero-tag {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: var(--electric-mint);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- Header --- */
header {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 0; z-index: 100;
    backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }

/* Modificado para que los logos estén juntos */
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 32px; display: block; }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    /* Modificado: Padding bottom extra para subir visualmente el contenido */
    padding-top: 80px; 
    padding-bottom: 15vh;
    position: relative;
    background-image: url('img/hero.png');
    background-size: cover; background-position: center; background-repeat: no-repeat;
}

.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(25, 11, 61, 0.3); z-index: 1;
}

.hero-content { max-width: 900px; z-index: 2; display: flex; flex-direction: column; align-items: center; }

.hero h1 {
    font-family: var(--font-coolvetica);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9; margin-bottom: 2rem; position: relative;
    letter-spacing: -0.02em;
}

.hero-logo-secondary { width: 120px; height: auto; margin-top: 1rem; opacity: 0.9; }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    animation: bounce 2s infinite; opacity: 0.7; z-index: 2;
}

/* --- Manifesto / History Section --- */
.manifesto {
    padding: 8rem 0;
    position: relative;
    /* Fondo sutil para separar del hero pero mantener continuidad con el canvas */
    background: linear-gradient(180deg, rgba(25,11,61,0) 0%, rgba(25,11,61,0.8) 100%);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 960px) {
    .manifesto-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.manifesto-content h2 {
    font-family: var(--font-coolvetica);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--ice-white);
}

.manifesto-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    border-left: 2px solid var(--electric-mint);
    padding-left: 1.5rem;
}

.manifesto-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 3rem;
    position: relative;
}

.manifesto-tag {
    background: var(--deep-violet);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* --- Products Section (White Cards) --- */
.products-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(25, 11, 61, 0.9) 0%, rgba(25, 11, 61, 0.6) 100%);
}

.products-header {
    display: flex; flex-direction: column; gap: 1rem; margin-bottom: 4rem; align-items: flex-start;
}
@media (min-width: 768px) {
    .products-header { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}

.products-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--electric-mint); text-decoration: none; font-weight: 700;
    border-bottom: 2px solid var(--electric-mint); padding-bottom: 4px; transition: all 0.3s;
}
.products-link:hover { color: var(--ice-white); border-color: var(--ice-white); }

.products-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2rem;
}
@media (min-width: 960px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    background: #ffffff;
    border-radius: 2.5rem;
    padding: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative; cursor: pointer; color: var(--space-blue);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3), 0 0 0 2px var(--electric-mint);
}

@media (min-width: 960px) {
    .product-card:nth-child(2) { margin-top: -3rem; z-index: 10; }
}

.product-image-wrapper {
    position: relative; overflow: hidden; border-radius: 2rem;
    aspect-ratio: 4/3; width: 100%;
}

.product-image {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease;
}
.product-card:hover .product-image { transform: scale(1.1); }

.price-tag {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px);
    padding: 0.5rem 1rem; border-radius: 9999px;
    font-weight: 700; font-size: 0.8rem; color: var(--space-blue);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); text-transform: uppercase;
}

.product-content { padding: 1.5rem; }
.product-title {
    color: var(--space-blue); font-size: 1.5rem; font-weight: 700;
    margin-bottom: 0.5rem; font-family: var(--font-title);
}
.product-desc {
    color: #64748b; font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.5;
}
.product-specs {
    color: var(--deep-violet); font-size: 0.75rem; font-weight: 700;
    margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em;
}

.product-footer {
    border-top: 1px solid #e2e8f0; padding-top: 1rem;
    display: flex; justify-content: space-between; align-items: center;
}
.product-icons { display: flex; gap: 12px; color: #94a3b8; font-size: 0.8rem; }
.product-icons span { display: flex; align-items: center; gap: 4px; }

.add-btn {
    width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: #f1f5f9; color: var(--space-blue);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.product-card:hover .add-btn { background: var(--space-blue); color: #ffffff; }

/* --- New Risk / Freedom Section --- */
.risk-section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    background-image: url('img/risk.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

/* Overlay to improve text readability on image */
.risk-section::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(25, 11, 61, 0.4); /* Dark translucent overlay */
    z-index: 1;
}

/* Removed background animated element (.risk-bg-text) */

.risk-container {
    position: relative;
    z-index: 2; /* Content above overlay */
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.risk-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.risk-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6); /* Translucent White Stroke */
    color: transparent;
    display: block;
    margin-bottom: 0.2em;
}

.risk-filled {
    color: rgba(255, 255, 255, 0.8); /* Translucent White Fill */
    display: block;
}

/* Removed risk-highlight class */

.risk-icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
}

.risk-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.8); /* Translucent White Text */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.risk-item:hover {
    transform: translateY(-5px);
    color: var(--electric-mint);
}

.icon-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Translucent White Border */
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.1); /* Translucent White BG */
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.risk-item:hover .icon-circle {
    border-color: var(--electric-mint);
    background: rgba(111, 246, 200, 0.1);
    box-shadow: 0 0 30px rgba(111, 246, 200, 0.15);
}

/* --- Pre-Order Section (Minimalist White Card) --- */
.preorder {
    padding: 6rem 0 10rem; display: flex; justify-content: center;
}

/* Reemplazamos .terminal-window con .contact-card estilo minimalista */
.contact-card {
    width: 100%; max-width: 600px;
    background: #ffffff; /* Fondo Blanco */
    border-radius: 2.5rem; /* Bordes redondos como productos */
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    color: var(--space-blue);
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--space-blue);
}

.contact-card p {
    color: #64748b; /* Gris medio */
    margin-bottom: 2rem;
}

.input-group { margin-bottom: 1.5rem; position: relative; text-align: left; }

.input-group label {
    display: block; font-family: var(--font-body); color: var(--space-blue);
    margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 700;
}

.input-field {
    width: 100%; background: #f1f5f9; /* Gris muy claro */
    border: 1px solid #e2e8f0; border-radius: 0.75rem;
    padding: 1rem;
    color: var(--space-blue); font-family: var(--font-body); font-size: 1rem;
    outline: none; transition: all 0.3s;
}
.input-field:focus {
    background: #ffffff;
    border-color: var(--deep-violet);
    box-shadow: 0 0 0 3px rgba(100, 62, 155, 0.1);
}

.status-msg {
    margin-top: 1rem; font-family: monospace; font-size: 0.9rem; min-height: 1.5em;
}

/* Ajuste del botón para fondo blanco */
.btn-form {
    background: var(--deep-violet);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-family: var(--font-title);
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-form:hover {
    background: var(--space-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}