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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-gradient-start: #f8fafc;
    --bg-gradient-end: #e0e7ff;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    position: relative;
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 70%;
    top: 10%;
    animation-delay: 1s;
    animation-duration: 19s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 60%;
    animation-delay: 3s;
    animation-duration: 21s;
}

.particle:nth-child(6) {
    left: 20%;
    top: 50%;
    animation-delay: 5s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    left: 90%;
    top: 80%;
    animation-delay: 2.5s;
    animation-duration: 23s;
}

.particle:nth-child(8) {
    left: 60%;
    top: 30%;
    animation-delay: 1.5s;
    animation-duration: 20s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, -80px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.6;
    }
}

.container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.logo-wrapper {
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    }
}

.title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease-out both;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 2px;
    margin-bottom: 3rem;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out 0.9s both;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    animation: progress 3s ease-out 1s forwards;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

@keyframes progress {
    to {
        width: 75%;
    }
}

.form-wrapper {
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out 1.1s both;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.email-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border-radius: 50px;
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

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

.arrow-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeIn 0.8s ease-out 1.3s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

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

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

@media (max-width: 640px) {
    .subscribe-form {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .email-input,
    .submit-btn {
        border-radius: 15px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

