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

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

:root {
    /* Rənglər (Colors) */
    --primary-blue: #4facfe;
    --secondary-blue: #00f2fe;
    --dark-blue: #1e3c72;
    --light-blue: #2a5298;
    --white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    
    /* Gradientlər (Gradients) */
    --gradient-primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #e0c3fc 50%, #8ec5fc 100%);
    
    /* Gölgələr (Shadows) */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(79, 172, 254, 0.5);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.4;
    }
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   LOGO SECTION
   ============================================ */

.logo-section {
    margin-bottom: 50px;
}

.logo-wrapper {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.main-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4)) brightness(1.1);
    display: block;
}

/* ============================================
   MESSAGE SECTION
   ============================================ */

.message-section {
    text-align: center;
    margin-bottom: 30px;
}

.main-title {
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-word {
    display: inline-block;
    transition: all 0.8s ease;
}

.title-word:nth-child(1) {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.title-word:nth-child(2),
.title-word:nth-child(4) {
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.title-word:nth-child(3) {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(79, 172, 254, 0.5));
}

.title-underline {
    width: 0;
    height: 5px;
    background: var(--gradient-primary);
    margin: 25px auto;
    border-radius: 3px;
    box-shadow: var(--shadow-glow), 0 0 60px rgba(79, 172, 254, 0.4);
}

/* ============================================
   SUBTITLE
   ============================================ */

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--white);
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    transition: all 0.8s ease;
}

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

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 60px;
    transition: all 0.8s ease;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.6);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   PROGRESS SECTION
   ============================================ */

.progress-section {
    width: 100%;
    max-width: 600px;
    margin-bottom: 50px;
    transition: all 0.8s ease;
}

.progress-container {
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 10px;
    box-shadow: var(--shadow-glow);
}

.progress-text {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.preparing-text {
    display: inline-block;
}

.loading-dots {
    display: inline-flex;
    gap: 3px;
    margin-left: 5px;
}

.dot {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-blue);
    animation: dotBounce 1.4s infinite ease-in-out;
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.2s; }
.dot-3 { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* ============================================
   SOCIAL SECTION
   ============================================ */

.social-section {
    text-align: center;
    margin-bottom: 50px;
    transition: all 0.8s ease;
}

.social-label {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-btn:hover::before {
    width: 100%;
    height: 100%;
}

.social-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
}

.social-btn i {
    position: relative;
    z-index: 1;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    width: 100%;
    max-width: 500px;
    transition: all 0.8s ease;
}

.newsletter-label {
    text-align: center;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.newsletter-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.input-group.focused {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

.email-input {
    flex: 1;
    padding: 15px 25px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    padding: 15px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
    animation: buttonPulse 2s ease-in-out infinite;
}

.submit-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.6);
}

.submit-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(79, 172, 254, 0.7);
    }
}

.form-message {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 24px;
    transition: all 0.3s ease;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

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

@media (max-width: 768px) {
    .main-logo {
        max-width: 220px;
    }

    .main-title {
        gap: 10px;
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .features-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .input-group {
        flex-direction: column;
        border-radius: 25px;
        padding: 10px;
    }

    .email-input,
    .submit-btn {
        width: 100%;
        border-radius: 20px;
    }

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

    .social-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 30px 15px;
    }

    .main-logo {
        max-width: 180px;
    }

    .main-title {
        flex-direction: column;
        gap: 5px;
    }

    .title-word {
        display: block;
    }

    .features-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .social-links {
        gap: 15px;
    }

    .bg-shape {
        opacity: 0.2;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.break-mobile {
    display: none;
}

@media (max-width: 768px) {
    .break-mobile {
        display: block;
    }
}

