/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

:root {
    /* Colors */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #004E89;
    --accent: #FFD93D;
    --text-dark: #1A1A1A;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --success: #10B981;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #004E89 100%);
    
    /* Spacing */
    --section-padding: 80px 20px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    color: var(--white);
    padding: 60px 20px;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-text {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
}

/* Headlines */
.headline {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.subheadline {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Email Form */
.email-form-wrapper {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.email-form {
    max-width: 600px;
    margin: 0 auto 15px;
}

.input-group {
    display: flex;
    gap: 12px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.input-group input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    font-size: 16px;
    border-radius: var(--radius-md);
    font-family: inherit;
    outline: none;
    color: var(--text-dark);
}

.input-group input::placeholder {
    color: var(--text-light);
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.button-icon {
    font-size: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.form-note {
    font-size: 14px;
    opacity: 0.9;
}

.subscriber-count {
    font-weight: 700;
    color: var(--accent);
}

/* Social Proof */
.social-proof {
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.avatar-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: -10px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 3px solid var(--primary);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 3px solid var(--white);
    margin-left: -10px;
}

/* Background Animation */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.flame {
    position: absolute;
    font-size: 40px;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.flame-1 { top: 10%; left: 10%; animation-delay: 0s; }
.flame-2 { top: 20%; right: 15%; animation-delay: 2s; }
.flame-3 { bottom: 20%; left: 20%; animation-delay: 4s; }
.flame-4 { top: 50%; right: 10%; animation-delay: 6s; }
.flame-5 { bottom: 10%; right: 25%; animation-delay: 8s; }
.flame-6 { top: 70%; left: 15%; animation-delay: 10s; }

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   DEALS PREVIEW SECTION
   ======================================== */

.deals-preview {
    padding: var(--section-padding);
    background: var(--white);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.deal-card {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    color: var(--white);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.deal-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.deal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.deal-destination {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.deal-price {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.deal-info {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.deal-saving {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
}

.deals-note {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    padding: var(--section-padding);
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
}

.cta-headline {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.cta-subheadline {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.inline-form {
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 5px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    animation: slideUp 0.3s ease-out;
}

.modal-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.modal-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.modal-close {
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@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);
    }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-40px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) rotate(-5deg);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .headline {
        font-size: 42px;
    }
    
    .subheadline {
        font-size: 18px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-headline {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 32px;
    }
    
    .logo-text {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .deal-destination {
        font-size: 24px;
    }
    
    .deal-price {
        font-size: 36px;
    }
}
