/* ==========================================
   GetLanded Waitlist Landing Page Styles
   Enhanced with Gradients & Animations
   ========================================== */

/* CSS Custom Properties */
:root {
    --color-bg: #000000;
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.6);
    --color-text-muted: rgba(255, 255, 255, 0.4);
    --color-accent-blue: #0066ff;
    --color-accent-cyan: #00f2fe;
    --color-accent-teal: #22d3ee;
    --color-input-bg: rgba(255, 255, 255, 0.08);
    --color-input-border: rgba(255, 255, 255, 0.15);
    --color-btn-bg: #ffffff;
    --color-btn-text: #000000;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* Reset & Base Styles */
*,
*::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: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================
   Background Effects - Enhanced
   ========================================== */

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

/* Subtle Edge Vignette Glow - Softer blue frame */
.background-effects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 40% 70% at 0% 50%, rgba(0, 51, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 70% at 100% 50%, rgba(0, 51, 255, 0.06) 0%, transparent 50%);
    z-index: 1;
}

/* ==========================================
   Planet Effect - The curved horizon
   ========================================== */

/* Main Planet Body - Massive ellipse at bottom */
.planet {
    position: absolute;
    bottom: -700px;
    left: 50%;
    transform: translateX(-50%);
    width: 3000px;
    height: 900px;
    background: #050505;
    border-radius: 100%;
    /* Sharp white rim light on the horizon edge */
    box-shadow:
        /* Inner rim - sharp white/silver line */
        inset 0px 1px 3px 0px rgba(255, 255, 255, 1),
        inset 0px 2px 15px 0px rgba(200, 220, 255, 0.7),
        /* Outer atmospheric glow - more blue/indigo */
        0px -5px 40px 0px rgba(180, 200, 255, 0.5),
        0px -15px 80px 0px rgba(100, 140, 220, 0.35),
        0px -30px 120px 0px rgba(60, 100, 180, 0.25),
        0px -50px 180px 0px rgba(30, 60, 140, 0.15);
    z-index: 2;
}

/* Secondary glow layer - central hot spot */
.planet-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100px;
    background: radial-gradient(ellipse 30% 100% at 50% 0%,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(200, 230, 255, 0.3) 20%,
            transparent 60%);
    filter: blur(10px);
}

/* Shimmer line removed per user request */

/* Star Particles Container */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
}

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

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

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

.logo-link {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    z-index: 100;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out both;
    transition: opacity 0.3s ease;
}

.logo-link:hover .logo-text {
    opacity: 0.85;
}

.logo {
    width: 50px;
    height: auto;
    animation: fadeInUp 0.8s ease-out both;
    filter: drop-shadow(0 0 15px rgba(100, 150, 255, 0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(100, 150, 255, 0.4));
}

/* ==========================================
   Badge Pill
   ========================================== */

.badge-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 0 20px rgba(0, 102, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.badge-pill span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    text-align: center;
    max-width: 650px;
    padding: 3rem 3rem;

    position: relative;
    /* Vibrant gradient background */
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(60, 100, 220, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(60, 100, 220, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(60, 100, 220, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 120% 100% at 50% 100%, rgba(30, 80, 180, 0.15) 0%, transparent 50%);
    /* Subtle border glow */
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.15;

    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    /* Text gradient for metallic effect */
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Fallback */
    -webkit-text-fill-color: transparent;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .hero-title {
        color: white;
        -webkit-text-fill-color: white;
    }
}

.hero-title .title-line {
    display: block;
}

.hero-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(200, 200, 200, 0.9) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.0rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.35s both;
}

/* ==========================================
   Signup Form
   ========================================== */

.signup-form {
    display: flex;
    align-items: center;
    background: var(--color-input-bg);
    border: 1px solid var(--color-input-border);
    border-radius: 100px;
    padding: 0.35rem 0.35rem 0.35rem 1.5rem;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-medium),
        transform var(--transition-fast);
    animation: fadeInUp 0.8s ease-out 0.5s both;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.signup-form:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.signup-form:focus-within {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow:
        0 0 0 4px rgba(0, 242, 254, 0.1),
        0 4px 30px rgba(0, 242, 254, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    padding: 0.75rem 0;
}

.email-input::placeholder {
    color: var(--color-text-muted);
    transition: opacity var(--transition-fast);
}

.email-input:focus::placeholder {
    opacity: 0.5;
}

.submit-btn {
    background: var(--color-btn-bg);
    color: var(--color-btn-text);
    border: none;
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-medium),
        background-color var(--transition-fast);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(255, 255, 255, 0.25),
        0 4px 10px rgba(0, 242, 254, 0.2);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

/* Signup Form Wrapper */
.signup-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Consent Checkbox */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    text-align: left;
    max-width: 400px;
}

.consent-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--color-input-border);
    border-radius: 4px;
    background: var(--color-input-bg);
    cursor: pointer;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

.consent-checkbox input[type="checkbox"]:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.consent-checkbox input[type="checkbox"]:checked {
    background: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
}

.consent-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    width: 100%;
    height: 100%;
}

.checkbox-label {
    font-size: 0.6rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    text-align: center;
}

.consent-helper-center {
    font-size: 0.5rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    text-align: center;
    max-width: 380px;
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
}

/* Disabled Submit Button Look */
.submit-btn.btn-disabled {
    opacity: 0.5;
    cursor: pointer;
}

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

.footer {
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.65s both;
}

.footer p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.footer .separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* ==========================================
   Keyframe Animations
   ========================================== */

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

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

@media (max-width: 768px) {
    .logo-link {
        top: 1rem;
        left: 1.5rem;
        gap: 0.5rem;
    }

    .logo {
        width: 40px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .container {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .signup-form {
        flex-direction: column;
        padding: 0.75rem;
        border-radius: 16px;
        gap: 0.75rem;
    }

    .email-input {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1rem;
    }

    .consent-checkbox {
        max-width: 100%;
    }

    .consent-helper {
        max-width: 100%;
    }

    .footer {
        position: relative;
        bottom: auto;
        transform: none;
        margin-top: 4rem;
    }

    .horizon-arc {
        bottom: 5%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .logo-link {
        top: 0.75rem;
        left: 1rem;
        gap: 0.4rem;
    }

    .logo {
        width: 32px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .badge-pill {
        padding: 0.4rem 1rem;
    }

    .badge-pill span {
        font-size: 0.8125rem;
    }

    .hero-subtitle br {
        display: none;
    }
}

/* ==========================================
   Reduced Motion Support
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .horizon-glow {
        animation: none;
    }

    .star {
        animation: none;
        opacity: 0.5;
    }
}