/* ===== CSS Variables ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --secondary-gradient: linear-gradient(135deg, #0c1445 0%, #1a237e 50%, #311b92 100%);
    --accent-color: #667eea;
    --accent-light: #8b9ff3;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(102, 126, 234, 0.4);
    --success-color: #10b981;
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--secondary-gradient);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Animated Background ===== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
    filter: blur(80px);
    animation: float 20s infinite ease-in-out;
}

.floating-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.floating-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.floating-3 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.floating-4 {
    width: 500px;
    height: 500px;
    top: 30%;
    left: -100px;
    animation-delay: -15s;
}

.floating-5 {
    width: 350px;
    height: 350px;
    bottom: 20%;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(50px, -50px) rotate(90deg);
    }

    50% {
        transform: translate(-30px, 80px) rotate(180deg);
    }

    75% {
        transform: translate(-80px, -30px) rotate(270deg);
    }
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* ===== Header / Logo ===== */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: fadeInDown 1s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    color: white;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.logo-icon svg {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px var(--shadow-color));
}

/* ===== Hero Section ===== */
.hero {
    width: 100%;
    max-width: 700px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ===== Countdown Timer ===== */
.countdown-wrapper {
    margin-bottom: 2.5rem;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    min-width: 80px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ===== Newsletter Form ===== */
.newsletter {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.newsletter-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

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

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.newsletter-form input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

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

.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    color: var(--success-color);
    font-weight: 500;
}

.success-message svg {
    width: 24px;
    height: 24px;
}

.success-message.show {
    display: flex;
    animation: fadeInUp 0.5s ease-out;
}

/* ===== Features Section ===== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 700px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

/* ===== Contact Info Section ===== */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 700px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.contact-item {
    flex: 1;
    min-width: 200px;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    color: var(--text-primary);
}

.contact-link svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.contact-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25d366;
}

/* ===== Social Section ===== */
.social {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.social-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding-top: 1rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .glass-card {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .countdown {
        gap: 0.25rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.75rem;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .submit-btn {
        justify-content: center;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
        padding: 1.25rem;
    }

    .feature-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .feature-card h4 {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.25rem;
        letter-spacing: 2px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .countdown-item {
        min-width: 50px;
        padding: 0.5rem;
    }

    .countdown-value {
        font-size: 1.25rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .countdown-separator {
        font-size: 1.25rem;
    }
}