/* ===================================
   frend — Coming Soon Page
   Light lavender gradient aesthetic
   =================================== */

:root {
    --lavender-light: #e8dff5;
    --lavender: #d4c5f0;
    --lavender-mid: #c4b0ea;
    --purple-soft: #b89fe3;
    --purple-brand: #1f003d;
    --purple-dark: #2d1154;
    --white-soft: #f7f2ff;
    --white: #ffffff;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(
        180deg,
        #e2d4f5 0%,
        #d9c8f0 20%,
        #ceb8ea 45%,
        #c9b0e8 65%,
        #d0bced 85%,
        #d8c6f0 100%
    );
    color: var(--purple-brand);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===================================
   Soft Ambient Glows
   =================================== */

.bg-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    top: -15%;
    left: 20%;
    animation: drift-1 20s ease-in-out infinite;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 170, 240, 0.35) 0%, transparent 70%);
    bottom: -10%;
    right: 10%;
    animation: drift-2 25s ease-in-out infinite;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: 30%;
    right: -5%;
    animation: drift-3 18s ease-in-out infinite;
}

@keyframes drift-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

@keyframes drift-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-25px, -15px); }
}

@keyframes drift-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 25px); }
}

/* ===================================
   Main Container
   =================================== */

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

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    animation: fadeIn 1.4s ease-out;
}

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

/* ===================================
   Logo
   =================================== */

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.4s ease-out;
}

.logo-img {
    width: clamp(280px, 50vw, 520px);
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

/* ===================================
   Coming Soon Text
   =================================== */

.coming-soon-section {
    animation: fadeIn 1.4s ease-out 0.15s both;
}

.coming-soon-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: lowercase;
    color: var(--purple-dark);
    opacity: 0.7;
}

/* ===================================
   Divider
   =================================== */

.divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-brand), transparent);
    opacity: 0.25;
    animation: fadeIn 1.4s ease-out 0.25s both;
}

/* ===================================
   Email Signup
   =================================== */

.signup-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    animation: fadeIn 1.4s ease-out 0.35s both;
}

.signup-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--purple-dark);
    opacity: 0.55;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 4px;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(31, 0, 61, 0.06);
}

.input-wrapper:focus-within {
    border-color: rgba(31, 0, 61, 0.2);
    box-shadow: 0 4px 24px rgba(31, 0, 61, 0.1);
    background: rgba(255, 255, 255, 0.6);
}

.input-wrapper input[type="email"] {
    background: none;
    border: none;
    outline: none;
    color: var(--purple-brand);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 12px 16px;
    width: 240px;
}

.input-wrapper input[type="email"]::placeholder {
    color: rgba(31, 0, 61, 0.3);
}

.input-wrapper input[type="email"]:disabled {
    opacity: 0.5;
}

.input-wrapper button {
    background: var(--purple-brand);
    border: none;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.input-wrapper button:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(31, 0, 61, 0.25);
}

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

.input-wrapper button.submitted {
    background: #059669;
}

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

.input-wrapper button:hover .btn-arrow {
    transform: translateX(3px);
}

.signup-note {
    font-size: 0.72rem;
    color: var(--purple-dark);
    opacity: 0.35;
    transition: all 0.3s ease;
}

/* ===================================
   Footer
   =================================== */

.footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 1.4s ease-out 0.5s both;
}

.footer p {
    font-size: 0.72rem;
    color: var(--purple-dark);
    opacity: 0.3;
    letter-spacing: 0.03em;
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 640px) {
    .container {
        padding: 1.5rem;
    }

    .input-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        padding: 4px;
    }

    .input-wrapper input[type="email"] {
        width: 100%;
        text-align: center;
    }

    .input-wrapper button {
        width: 100%;
        justify-content: center;
    }

    .glow-1 { width: 350px; height: 350px; }
    .glow-2 { width: 300px; height: 300px; }
    .glow-3 { width: 250px; height: 250px; }
}

/* ===================================
   Selection Style
   =================================== */

::selection {
    background: rgba(31, 0, 61, 0.15);
    color: var(--purple-brand);
}
