/* ==================== */
/* ROOT VARIABLES */
/* ==================== */
:root {
    /* Facebook Blue Color Palette */
    --primary-blue: #1877F2;
    --primary-blue-dark: #0D4DA3;
    --primary-blue-darker: #083A7A;
    --primary-blue-light: #4A9AF7;
    --primary-blue-lighter: #E7F3FF;
    
    /* Accent Colors */
    --accent-cyan: #00C9FF;
    --accent-purple: #667EEA;
    --success-green: #10B981;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue) 100%);
    --gradient-purple: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-blue) 100%);
    --gradient-radial: radial-gradient(circle at 50% 50%, var(--primary-blue-light), var(--primary-blue-dark));
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(24, 119, 242, 0.1);
    --shadow-md: 0 4px 12px rgba(24, 119, 242, 0.15);
    --shadow-lg: 0 10px 40px rgba(24, 119, 242, 0.2);
    --shadow-xl: 0 20px 60px rgba(24, 119, 242, 0.3);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ==================== */
/* RESET & BASE STYLES */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0d2847 100%);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ==================== */
/* ANIMATED BACKGROUND */
/* ==================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle, rgba(24, 119, 242, 0.15) 0%, rgba(24, 119, 242, 0) 70%);
    border-radius: 50%;
    animation: float-up 20s infinite ease-in-out;
}

.bubble:nth-child(1) {
    width: 300px;
    height: 300px;
    left: 10%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 200px;
    height: 200px;
    left: 30%;
    animation-duration: 22s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 400px;
    height: 400px;
    left: 50%;
    animation-duration: 25s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 250px;
    height: 250px;
    left: 70%;
    animation-duration: 20s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    width: 350px;
    height: 350px;
    left: 85%;
    animation-duration: 23s;
    animation-delay: 3s;
}

@keyframes float-up {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-80vh) scale(1.2);
        opacity: 0.2;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) scale(0.8);
        opacity: 0;
    }
}

/* ==================== */
/* CONTAINER */
/* ==================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ==================== */
/* HERO SECTION */
/* ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    padding: 0.8rem 1.5rem;
    background: rgba(24, 119, 242, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(24, 119, 242, 0.3);
    transition: all var(--transition-normal);
}

.logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.logo svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.main-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.main-title span {
    display: block;
    margin: 0.2rem 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-blue-light) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--gray-300);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}



/* ==================== */
/* CTA BUTTON */
/* ==================== */
.cta-container {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue-darker) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

/* ==================== */
/* FEATURES SECTION */
/* ==================== */
.features {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gray-300);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(24, 119, 242, 0.05);
    border: 2px solid rgba(24, 119, 242, 0.2);
    border-radius: 30px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(24, 119, 242, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
    background: rgba(24, 119, 242, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(24, 119, 242, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(24, 119, 242, 0.25);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.feature-description {
    font-size: 1.1rem;
    color: var(--primary-blue-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 2px solid rgba(24, 119, 242, 0.3);
    margin-bottom: 0.5rem;
    transition: all var(--transition-fast);
}

.feature-list li:hover {
    border-left-color: var(--primary-blue);
    padding-left: 2rem;
    color: var(--white);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--white);
    font-weight: bold;
}

.feature-list li strong {
    color: var(--primary-blue-light);
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* ==================== */
/* STATS SECTION */
/* ==================== */
.stats {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(24, 119, 242, 0.05);
    border: 2px solid rgba(24, 119, 242, 0.2);
    border-radius: 20px;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-300);
    font-weight: 600;
}

/* ==================== */
/* MODAL */
/* ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.95) 0%, rgba(13, 40, 71, 0.95) 100%);
    border: 2px solid rgba(24, 119, 242, 0.3);
    border-radius: 30px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s ease-out;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(24, 119, 242, 0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--primary-blue);
    transform: rotate(90deg);
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content p {
    color: var(--gray-300);
    margin-bottom: 2rem;
}

#notifyForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#emailInput {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(24, 119, 242, 0.3);
    border-radius: 15px;
    background: rgba(24, 119, 242, 0.1);
    color: var(--white);
    font-family: var(--font-family);
    transition: all var(--transition-fast);
}

#emailInput:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(24, 119, 242, 0.15);
}

#emailInput::placeholder {
    color: var(--gray-300);
}

.success-message {
    display: none;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid var(--success-green);
    border-radius: 15px;
    color: var(--success-green);
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    animation: slideUp 0.3s ease-out;
}

.success-message.active {
    display: block;
}

/* ==================== */
/* FOOTER */
/* ==================== */
.footer {
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(24, 119, 242, 0.2);
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ==================== */
/* 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;
    }
}

/* Data-aos animation delays */
[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease-out forwards;
}

[data-aos-delay="100"] {
    animation-delay: 0.1s;
}

[data-aos-delay="200"] {
    animation-delay: 0.2s;
}

[data-aos-delay="300"] {
    animation-delay: 0.3s;
}

[data-aos-delay="400"] {
    animation-delay: 0.4s;
}

[data-aos-delay="500"] {
    animation-delay: 0.5s;
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 0.6s ease-out forwards;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 90px;
        padding: 1rem 1.5rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .modal-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
        padding: 0.6rem 1.2rem;
    }
    
    .logo svg {
        width: 40px;
        height: 40px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem 1rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-text {
        font-size: 0.75rem;
    }
    
    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
