@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');

/* Acid Grotesk - Custom Font */
@font-face {
    font-family: 'Acid Grotesk';
    src: url('fonts/Acid Grotesk TRIAL/Acid Grotesk TRIAL/TRIAL OTF (Static)/FFF-AcidGrotesk-Light-TRIAL.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Acid Grotesk';
    src: url('fonts/Acid Grotesk TRIAL/Acid Grotesk TRIAL/TRIAL OTF (Static)/FFF-AcidGrotesk-Regular-TRIAL.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #000000;
    --text-primary: #FFFFFF;
    --text-secondary: #888888;
    --input-bg: rgba(255, 255, 255, 0.08);
    --input-border: rgba(255, 255, 255, 0.12);
    --focus-glow: rgba(255, 255, 255, 0.3);
    --btn-bg: #FFFFFF;
    --btn-text: #000000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* --- IŞIK (BASIT VE SMOOTH) --- */
.spotlight-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.spotlight-core {
    position: absolute;
    /* Işık kaynağı: Ekranın daha yukarısında */
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    
    /* Büyük bir daire */
    width: 150vw;
    height: 150vh;
    
    /* EN BASİT VE EN SMOOTH IŞIK: Radial gradient, merkezi yukarıda */
    background: radial-gradient(
        circle at 50% 0%,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.10) 20%,
        rgba(255, 255, 255, 0.05) 40%,
        transparent 60%
    );
    
    /* Yüksek blur = o smooth görünüm */
    filter: blur(40px);
    
    /* Animasyon - İlk başlayacak (delay yok) */
    opacity: 0;
    animation: spotlightFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- YILDIZLAR --- */
.stars-container {
    position: absolute;
    top: -50%; left: -50%; 
    width: 200%; height: 200%;
    z-index: -1;
    animation: rotateStars 240s linear infinite;
}

.stars {
    width: 100%; height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.3) 1px, transparent 1.5px),
        radial-gradient(white, rgba(255,255,255,.2) 1px, transparent 1.5px);
    background-size: 385px 385px, 269px 269px;
    background-position: 0 0, 77px 115px;
    opacity: 0.4;
}

@keyframes rotateStars {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- CONTAINER --- */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

@keyframes spotlightFade {
    to { opacity: 1; }
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --- TYPOGRAPHY --- */
.main-title {
    font-family: 'Acid Grotesk', 'DM Sans', sans-serif;
    font-size: clamp(44px, 9vw, 72px);
    font-weight: 300;
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 24px;
    padding-bottom: 4px;
    background: linear-gradient(180deg, #FFFFFF 40%, #777777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.1s;
}

.subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 56px;
    max-width: 360px;
    font-weight: 400;
    animation-delay: 0.2s;
}

/* --- FORM --- */
form {
    width: 100%;
    animation-delay: 0.3s;
}


.input-group {
    position: relative;
    margin-bottom: 16px;
}

.custom-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 18px 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    appearance: none;
    transition: all 0.25s ease;
    min-height: 56px;
    resize: none;
    overflow: hidden;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--focus-glow);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    transform: scale(1.01);
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    opacity: 1;
}

/* --- BUTTON --- */
.submit-btn {
    width: 100%;
    margin-top: 24px;
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
    background: #ffffff;
}

.submit-btn:active {
    transform: scale(0.98);
}

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

.loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

#successBox {
    display: none;
    margin-top: 32px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: slideUpFade 0.5s ease forwards;
}

#successBox strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 16px;
}

#successBox span {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* --- LOGO (Şimdilik gizli) --- */
.logo-wrapper {
    display: none;
}

/* --- FOOTER CREDIT --- */
.footer-credit {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

/* --- RESPONSIVE --- */
@media (max-height: 700px) {
    .container { margin-bottom: 20px; }
    .logo-wrapper { position: relative; bottom: auto; margin-top: 40px; transform: none; left: auto; }
}