@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark-1: #020b14;
    --bg-dark-2: #05162a;
    --bg-dark-3: #0a2544;
    --accent-color: #00AEEF;
    --accent-rgb: 0, 174, 239;
    --text-white: #ffffff;
    --text-muted: #cbd5e1;
    --text-dim: #64748b;
    --glass-bg: rgba(5, 22, 42, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(0, 174, 239, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-white);
    background: linear-gradient(135deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 50%, var(--bg-dark-3) 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Grid Effect */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    z-index: 1;
    pointer-events: none;
}

/* Background Glowing Orbs */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.orb-1 {
    top: -150px;
    right: -100px;
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: -150px;
    left: -150px;
    animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

/* Main Container */
.main-wrapper {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 40px 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-grow: 0;
    gap: 35px;
}

/* Logo Styles */
.header-logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.15);
    transform: translateY(-2px);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: var(--text-white);
}

.logo-img-white {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    animation: logoBreathe 5s ease-in-out infinite;
    transform: translate3d(0, 0, 0);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 1;
    text-align: left;
}

.logo-text-acd {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--text-white);
    line-height: 0.85;
}

.logo-text-transportes {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-top: 4px;
}

/* Hero Section */
.hero-content {
    text-align: center;
    max-width: 780px;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: 100px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.05);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 2s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto;
}

/* Glass Countdown Card */
.countdown-container {
    width: 100%;
    max-width: 680px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px 25px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.countdown-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--glass-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.countdown-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.countdown-item:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -10px;
    top: 15%;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: rgba(var(--accent-rgb), 0.3);
    font-weight: 300;
}

.countdown-val {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

.countdown-unit {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
}

/* Call to Action & Subscription */
.cta-container {
    width: 100%;
    max-width: 550px;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-bottom: 40px;
}

.cta-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    position: relative;
}

.input-wrapper {
    position: relative;
    flex-grow: 1;
}

.subscribe-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.25);
}

.subscribe-btn {
    padding: 16px 28px;
    background: var(--accent-color);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.subscribe-btn:hover {
    background: #008cc1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.4);
}

.subscribe-btn:active {
    transform: translateY(0);
}

/* Error/Success Feedbacks */
.form-feedback {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-5px);
}

.form-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.form-feedback.error {
    color: #ef4444;
}

.form-feedback.success {
    color: #10b981;
}

/* Success Card View */
.success-card {
    text-align: center;
    padding: 15px;
    display: none;
    animation: zoomIn 0.5s ease both;
}

.success-icon {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

.success-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Links */
.contact-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-email {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-email:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--accent-rgb), 0.4);
    transform: translateY(-2px);
}

.btn-contact svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer Section */
.footer-simple {
    width: 100%;
    padding: 20px 24px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 2;
    animation: fadeInUp 1s ease-out 1s both;
}

.footer-simple p {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatOrb {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.1); }
}

@keyframes pulseDot {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
    100% { transform: scale(1); opacity: 0; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

@keyframes logoBreathe {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.35rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .countdown-container {
        padding: 25px 15px;
        gap: 8px;
    }
    
    .countdown-val {
        font-size: 2.5rem;
    }
    
    .countdown-item:not(:last-child)::after {
        right: -6px;
        font-size: 1.8rem;
        top: 10%;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .subscribe-btn {
        width: 100%;
        padding: 16px;
    }
    
    .contact-links {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .btn-contact {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .countdown-val {
        font-size: 2rem;
    }
    
    .countdown-unit {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    
    .countdown-item:not(:last-child)::after {
        display: none;
    }
    
    .countdown-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
}

@media (max-height: 720px) {
    .main-wrapper {
        padding: 20px 24px;
        gap: 20px;
    }
    .center-content {
        gap: 20px;
    }
    .header-logo {
        margin-bottom: 0;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .countdown-container {
        padding: 25px 20px;
    }
    .countdown-val {
        font-size: 2.8rem;
    }
}

