/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* We Flow Hub Brand Colors */
    --brand-dark: hsl(210, 55%, 7%); /* #0B1220 */
    --brand-blue: hsl(219, 100%, 58%); /* #2962FF */
    --brand-teal: hsl(178, 88%, 48%); /* #1ED5D2 */
    
    /* Main theme */
    --background: hsl(210, 55%, 7%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(210, 55%, 10%);
    --card-foreground: hsl(0, 0%, 98%);
    --primary: hsl(178, 88%, 48%);
    --primary-foreground: hsl(210, 55%, 7%);
    --secondary: hsl(219, 100%, 58%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --muted: hsl(210, 55%, 15%);
    --muted-foreground: hsl(0, 0%, 70%);
    --border: hsl(210, 55%, 20%);
    --input: hsl(210, 55%, 15%);
    --ring: hsl(178, 88%, 48%);
    
    /* Animation variables */
    --drop-size: 80px;
    --wave-duration: 1.2s;
    --text-delay: 1.5s;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* Logo Animation Styles */
.logo-animation-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

.logo-drop {
    position: relative;
    z-index: 10;
    transform: translateY(-100vh);
    opacity: 0;
    transition: all 1s ease-out;
}

.logo-drop.animate {
    transform: translateY(0);
    opacity: 1;
    animation: drop-fall 2s ease-out forwards;
}

.logo-image {
    width: 200px;
    height: 200px;
    animation: glow-pulse 2s ease-in-out infinite;
}

@media (min-width: 768px) {
    .logo-image {
        width: 200px;
        height: 200px;
    }
}

.wave-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.wave-container.show {
    opacity: 1;
}

.wave {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: wave-ripple var(--wave-duration) ease-out forwards;
}

.wave-1 {
    background-color: hsla(178, 88%, 48%, 0.3);
    animation-delay: 0s;
}

.wave-2 {
    background-color: hsla(178, 88%, 48%, 0.2);
    animation-delay: 0.2s;
}

.wave-3 {
    background-color: hsla(178, 88%, 48%, 0.1);
    animation-delay: 0.4s;
}

/* Main Content Styles */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header-logo {
    margin-bottom: 1.5rem;
}

.logo-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    opacity: 0;
    animation: text-reveal 0.8s ease-out forwards;
}

.header-logo-image {
    width: 100%;
    height: 100%;
    animation: glow-pulse 2s ease-in-out infinite;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: text-reveal 0.8s ease-out 0.2s forwards;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 3.75rem;
    }
}

.title-underline {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0;
    animation: text-reveal 0.8s ease-out 0.4s forwards;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0;
    animation: text-reveal 0.8s ease-out 0.6s forwards;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.5rem;
    }
}

.main-message {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: text-reveal 0.8s ease-out 0.8s forwards;
}

.message-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .message-title {
        font-size: 1.875rem;
    }
}

.message-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .message-text {
        font-size: 1.25rem;
    }
}

/* Email Capture Styles */
.email-section {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto 4rem;
    opacity: 0;
    animation: text-reveal 0.8s ease-out 1s forwards;
}

.email-capture {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.email-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.email-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.email-form {
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .input-group {
        flex-direction: row;
    }
}

.email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease;
}

.email-input:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 2px hsla(178, 88%, 48%, 0.2);
}

.email-input::placeholder {
    color: var(--muted-foreground);
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.submit-button:hover {
    background-color: hsl(178, 88%, 40%);
    transform: translateY(-1px);
}

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

.button-icon {
    transition: transform 0.2s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(2px);
}

.success-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: hsla(142, 76%, 36%, 0.1);
    border: 1px solid hsla(142, 76%, 36%, 0.3);
    border-radius: 8px;
    color: hsl(142, 76%, 36%);
    font-size: 0.875rem;
    animation: fade-in 0.3s ease-out;
}

.success-icon {
    color: hsl(142, 76%, 36%);
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: var(--card);
    border: 1px solid var(--border);
    opacity: 0;
    animation: text-reveal 0.8s ease-out 1.2s forwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-right: 0.75rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background-color: hsla(210, 55%, 10%, 0.5);
    backdrop-filter: blur(8px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: var(--background);
    color: var(--muted-foreground);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: hsla(178, 88%, 48%, 0.1);
    color: var(--primary);
}

.social-icon {
    width: 16px;
    height: 16px;
}

/* Animations */
@keyframes drop-fall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    70% {
        transform: translateY(10px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px hsla(178, 88%, 48%, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 16px hsla(178, 88%, 48%, 0.6));
    }
}

@keyframes wave-ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

@keyframes text-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}