:root {
    --color-bg: #050a14;
    /* Deep Midnight Blue */
    --color-bg-alt: #0a101f;
    --color-primary: #39ff14;
    /* Neon Green */
    --color-primary-dim: rgba(57, 255, 20, 0.1);
    --color-secondary: #e0e0e0;
    /* Bright Silver */
    --color-text: #ffffff;
    --color-text-muted: #94a3b8;
    --color-glass: rgba(10, 16, 31, 0.7);
    /* Darker glass for better contrast */
    --color-glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Roboto', sans-serif;
    --gradient-hero: linear-gradient(180deg, rgba(5, 10, 20, 0.8) 0%, rgba(5, 10, 20, 0.4) 50%, rgba(5, 10, 20, 0.95) 100%);
    --gradient-glow: linear-gradient(135deg, var(--color-primary), #00ffcc);
    --gradient-silver: linear-gradient(to bottom, #ffffff, #c0c0c0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(57, 255, 20, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 204, 0.03) 0%, transparent 20%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 6rem 0;
    position: relative;
}

/* Utilities */
.text-gradient {
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    /* Tech look: slightly sharper corners */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-primary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-primary:hover {
    color: #000;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: 0.5s;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(57, 255, 20, 0.4);
}

.glass-card:hover::after {
    left: 100%;
}

/* Navigation & Logo */
.site-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    /* Center horizontally */
}

.brand-logo {
    height: 80px;
    /* Increased size for visibility */
    width: auto;
    /* Harmonization: Make it white to stand out on dark background, add neon glow */
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(57, 255, 20, 0.8));
    transition: filter 0.3s ease;
}

.brand-logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(57, 255, 20, 1));
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
    /* Fallback */
    background-image: var(--gradient-hero), url('hero-bg-opt.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    margin-top: 8rem;
    /* Push content down to avoid logo overlap */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-title .highlight {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.date-highlight {
    color: #fff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Development Section */
.narrative-box {
    text-align: center;
    font-size: 1.5rem;
    border-left: none;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.narrative-text .highlight-text {
    color: var(--color-primary);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.value-points-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: 1 column */
    gap: 2rem;
}

@media (min-width: 600px) {
    .value-points-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Tablet: 2 columns */
    }
}

@media (min-width: 1024px) {
    .value-points-grid {
        grid-template-columns: repeat(4, 1fr);
        /* PC: 4 columns */
    }
}

.value-card {
    text-align: left;
}

.value-card h3 {
    margin-top: 1rem;
    color: #fff;
}

.value-card img {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(57, 255, 255, 0.3));
    /* Slightly adjusted for better contrast */
    transition: transform 0.3s ease;
}

.value-card:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.6));
}

.value-card .icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.5));
}

.mental-trigger {
    text-align: center;
    margin-top: 4rem;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.mental-trigger blockquote {
    border-left: 2px solid var(--color-primary);
    padding-left: 1.5rem;
    display: inline-block;
    text-align: left;
}

/* Program Section */
.program-section {
    background-color: var(--color-bg-alt);
    background-image: url('node-bg-opt.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Grid background effect */
.program-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--color-glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-glass-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    z-index: 0;
}

.program-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-weight: 700;
}

.section-title .highlight {
    color: var(--color-primary);
    display: block;
    font-size: 1.2em;
    margin-top: 0.5rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.module-card:hover {
    background: rgba(16, 26, 48, 0.9);
}

.countdown-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.05);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Ajuste para movil */
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    margin: 1.5rem 0;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

/* Services & Gift */
.services-section {
    text-align: center;
    background-color: var(--color-bg);
}

.services-quote {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-top: 1.5rem;
    font-weight: 600;
}

.gift-box {
    border: 2px solid var(--color-primary);
    text-align: center;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.1);
}

.gift-box h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Conversion Form */
.conversion-section {
    background-color: var(--color-bg-alt);
    padding: 6rem 0;
}

.form-container {
    max-width: 550px;
    margin: 0 auto;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}

/* Footer */
.site-footer {
    background: #020408;
    padding: 3rem 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--color-glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .countdown {
        font-size: 2rem;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .countdown-segment {
        min-width: 60px;
    }

    .glass-card {
        padding: 1.5rem;
    }
}