:root {
    --color-primary: #0098d6;     /* Light blue seen in Movistar text */
    --color-primary-dark: #0077a9;
    --color-dark: #0a0e17;        /* Very dark blue/black */
    --color-darker: #05070a;
    --color-text: #e2e8f0;
    --color-white: #ffffff;
    
    --font-heading: 'Crimson Pro', serif;
    --font-body: 'Raleway', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-darker);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
}

.navbar .logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.8) 50%, rgba(5, 7, 10, 0.4) 100%);
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.date-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 152, 214, 0.15);
    border: 1px solid rgba(0, 152, 214, 0.3);
    color: var(--color-primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 8px; /* Added back to give space from logo above */
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

/* Fallback image if main title isn't used */
.main-title {
    display: none; /* Hidden for visual design, kept for SEO in HTML */
}
.text-logo-img {
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
    margin-bottom: 8px; /* Reduced to bring date closer */
    max-width: 650px; /* Increased from 450px for more impact */
    width: 100%;
}

.subtitle {
    font-size: 1.25rem; /* Increased from 1.1rem */
    color: #cbd5e1;
    max-width: 600px; /* Increased from 500px to allow more text per line */
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.4;
}

.hero-brand-logo {
    height: 48px; /* Increased from 32px */
    filter: brightness(0) invert(1) opacity(0.8); /* Slightly more visible */
    display: block;
    transition: var(--transition);
}

.hero-brand-logo:hover {
    filter: brightness(0) invert(1) opacity(1);
}

/* Glassmorphism Form */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(200%); }
}

.glass-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.glass-card p {
    font-size: 1.15rem; /* Increased significantly from 0.9rem */
    color: var(--color-white); /* Brighter for contrast */
    margin-bottom: 32px;
    font-weight: 500;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--color-primary), #00d2ff);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 15px 30px rgba(0, 152, 214, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    text-align: center;
}

.floating-cta.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.floating-cta:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 152, 214, 0.5);
    filter: brightness(1.1);
}

@media (max-width: 576px) {
    .floating-cta {
        bottom: 0;
        left: 0;
        width: 100%;
        transform: translateY(100px);
        border-radius: 0;
        padding: 20px;
    }
    .floating-cta.active {
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cbd5e1;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 152, 214, 0.2);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.phone-input {
    display: flex;
    gap: 8px;
}

.country-code {
    width: 110px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 10px;
    border-radius: 8px;
    font-family: var(--font-body);
    appearance: none;
    cursor: pointer;
}
.country-code option {
    background: var(--color-dark);
    color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 30px;
}

.checkbox-group input {
    margin-top: 4px;
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.legal-text {
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    color: #94a3b8;
    margin: 0;
}

.legal-text a {
    color: var(--color-primary);
    text-decoration: none;
}
.legal-text a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary), #00d2ff);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 152, 214, 0.3);
}

.submit-btn:active {
    transform: translateY(1px);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.hidden { display: none !important; }

.success-msg {
    margin-top: 20px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--color-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.rounded-shadow {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    filter: grayscale(80%) sepia(10%) hue-rotate(180deg);
    transition: var(--transition);
}

.rounded-shadow:hover {
    filter: grayscale(0%);
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-dark);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.m-logo {
    height: 40px;
}

.floating-badge span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 20px;
    color: #94a3b8;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: rgba(0, 152, 214, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.feature-list strong {
    color: white;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.5);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-logo {
    height: 30px;
    filter: opacity(0.5) brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo:hover {
    filter: opacity(1) brightness(0) invert(1);
}

footer p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }
    
    .overlay {
        background: rgba(5, 7, 10, 0.85); /* Darker on mobile for text readability */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-badge {
        right: 20px;
        bottom: -20px;
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .main-title { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .glass-card { padding: 30px 20px; }
    .section-title { font-size: 2.2rem; }
    .text-logo-img { max-width: 100%; }
}
