/* Base Styles */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

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

/* Logo Styles */
.logo-container {
    margin: 0 auto 2rem;
    text-align: center;
    max-width: 300px;
    animation: float 6s ease-in-out infinite;
}

.logo-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-height: 150px;
    object-fit: contain;
}

/* Typography */
.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1rem 0 1.5rem;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Group */
.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

/* Documentation Button */
.docs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

/* Secondary Button Style */
.docs-button.secondary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.docs-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
}

.docs-button.secondary:hover {
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
}

.docs-button:active {
    transform: translateY(1px);
}

.docs-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.docs-button:hover::before {
    left: 100%;
}

.docs-button svg {
    transition: transform 0.3s ease;
}

.docs-button:hover svg {
    transform: translateX(5px);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
    max-width: 1000px;
}

.time-block {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    min-width: 140px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.time-block:hover {
    transform: translateY(-5px);
}

.time-block span {
    display: block;
}

.time-block span:first-child {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}

.time-block .label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Form */
.notify-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.notify-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.notify-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.notify-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notify-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Bubbles Animation */
@keyframes floatBubble {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

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

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatBubble 15s infinite linear;
    z-index: 0;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 20s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 25s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 30s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 50%;
    animation-duration: 22s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    width: 25px;
    height: 25px;
    left: 70%;
    animation-duration: 28s;
    animation-delay: 3s;
}

.bubble:nth-child(6) {
    width: 15px;
    height: 15px;
    left: 85%;
    animation-duration: 26s;
    animation-delay: 5s;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    backdrop-filter: blur(5px);
    animation: float 15s infinite linear;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
    animation-duration: 20s;
    animation-delay: 0s;
    opacity: 0.6;
}

.shape-2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -200px;
    animation-duration: 25s;
    animation-delay: -5s;
    opacity: 0.4;
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 30%;
    right: 15%;
    animation-duration: 15s;
    animation-delay: -10s;
    opacity: 0.3;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes draw {
    from {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .docs-button {
        width: 100%;
        max-width: 280px;
    }
    .title {
        font-size: 2.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .time-block {
        min-width: 80px;
        padding: 1rem 0.5rem;
    }
    
    .time-block span:first-child {
        font-size: 2rem;
    }
    
    .notify-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .shape {
        display: none;
    }
    
    .shape-1, .shape-2, .shape-3 {
        display: block;
        width: 200px;
        height: 200px;
    }
}
