/* Yes, completely overkill lol, but I'm too lazy to fix it */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables */
:root {
    --grid-size: 64px;
    --grid-color: #1E293B;
    --grid-opacity: 0.12;
}

/* Container */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Background Effects */
.container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30, 58, 138, 0.1), transparent);
    pointer-events: none;
}

.container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    opacity: var(--grid-opacity);
    pointer-events: none;
}

/* Content Wrapper */
.content {
    max-width: 80rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

/* Logo */
.logo-container {
    width: 100%;
    max-width: 28rem;
    animation: slideDown 0.8s ease-out;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

/* Text Content */
.text-content {
    max-width: 64rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
    position: relative;
}

/* Headline */
.headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 48rem;
    animation: slideUp 0.8s ease-out;
}

.highlight {
    background: linear-gradient(to right, #ffffff, #dbeafe, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Date Section */
.date-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideUp 0.8s ease-out;
    animation-delay: 100ms;
    animation-fill-mode: both;
}

.date-line {
    height: 1px;
    width: 3rem;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2));
}

.date-line:last-child {
    background: linear-gradient(to left, transparent, rgba(255,255,255,0.2));
}

.date {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.95);
}

/* Description */
.description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 42rem;
    animation: slideUp 0.8s ease-out;
    animation-delay: 200ms;
    animation-fill-mode: both;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-1.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(1.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Signup Form */
.signup-section {
    width: 100%;
    max-width: 24rem;
    margin-top: 1rem;
    animation: slideUp 0.8s ease-out;
    animation-delay: 300ms;
    animation-fill-mode: both;
}

/* Honey Fields */
.honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.submit-btn {
    margin-top: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.form-message {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: rgba(134, 239, 172, 0.9);
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: rgba(252, 165, 165, 0.9);
}

/* Animated Background Layer */
.pulse-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Ping indicators - radar-style ripples */
.ping {
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.ping::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid currentColor;
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 0 2px currentColor;
}

.ping.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    margin: -0.5px 0 0 -0.5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 4px currentColor;
    animation: pingCore 2s ease-out;
}

.ping.green {
    color: rgba(16, 255, 176, 0.7);  /* Half opacity green */
}

.ping.red {
    color: rgba(255, 107, 107, 0.7);  /* Half opacity red */
}

.ping.active::before {
    animation: radarPingStrong 3s ease-out;
}


@keyframes radarPingStrong {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    5% {
        transform: scale(1.5);
        opacity: 0.15;
        border-width: 0.8px;
    }
    25% {
        transform: scale(2);
        opacity: 0.13;
        border-width: 0.6px;
    }
    50% {
        transform: scale(2.5);
        opacity: 0.08;
        border-width: 0.4px;
    }
    70% {
        transform: scale(3);
        opacity: 0.04;
        border-width: 0.2px;
    }
    100% {
        transform: scale(3.5);
        opacity: 0;
        border-width: 0.2px;
    }
}

@keyframes radarPingWeak {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    10% {
        transform: scale(0.8);
        opacity: 0.13;
    }
    30% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.9);
        opacity: 0.06;
    }
    70% {
        transform: scale(2.5);
        opacity: 0.03;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes pingCore {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    10% {
        opacity: 0.8;
        transform: scale(1);
    }
    30% {
        opacity: 0.7;
        transform: scale(1.7);
    }
    50% {
        opacity: 0.6;
        transform: scale(2.5);
    }
    60% {
        opacity: 0.5;
        transform: scale(3);
    }
    70% {
        opacity: 0.4;
        transform: scale(2.5);
    }
    80% {
        opacity: 0.2;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}




/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .pulse-layer {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .container { padding: 2rem 1rem; }
    .content { gap: 3rem; }
    .text-content { gap: 2rem; }
    .date-wrapper { gap: 0.75rem; }
    .date-line { width: 2rem; }
    .signup-section { max-width: 100%; }
    .bg-watermark {
        top: 2rem;
        right: 1rem;
        width: 150px;
        height: 80px;
        opacity: 0.03;
    }
    .ping {
        width: 6px;
        height: 6px;
    }
}
