/* --- CSS Değişkenleri (Premium Zinc/Charcoal Paleti) --- */
:root {
    --bg-base: #09090b; /* Koyu, doğal profesyonel arka plan (Zinc 950) */
    --bg-surface: rgba(255, 255, 255, 0.02); /* Kart arka planı */
    --bg-surface-hover: rgba(255, 255, 255, 0.04);
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    
    --text-main: #f4f4f5; /* Çok hafif kırık beyaz, göz yormaz */
    --text-muted: #a1a1aa; /* Zinc 400 */
    
    --accent-red: #e11d48; /* Sadece sinyal ve vurgu için */
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Genel Gövde (Masaüstünde Tek Viewport, Mobilde Doğal Akış) --- */
body {
    background-color: var(--bg-base);
    /* Yapay grid yerine premium ve doğal tepe ışığı */
    background-image: radial-gradient(circle at 50% -20%, rgba(255,255,255,0.06) 0%, transparent 60%);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5vw;
}

/* --- Header & Logo --- */
.header {
    padding: max(3vh, 20px) 0;
    flex-shrink: 0; /* Header ezilmesin */
}
.header-inner {
    display: flex;
    justify-content: flex-start;
}
.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}
.logo-accent {
    color: var(--text-muted);
}
.signal-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
    position: relative;
}
.signal-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--accent-red);
    border-radius: 50%;
    animation: ripple 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* --- Ana İçerik Esnek Yapısı --- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde tam ortalar */
    gap: max(4vh, 2rem); /* Ekran yüksekliğine göre boşluklar nefes alır */
}

/* --- Hero Bölümü --- */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: max(2vh, 16px);
    color: var(--text-muted);
}
.badge-dot {
    width: 5px;
    height: 5px;
    background-color: var(--text-muted);
    border-radius: 50%;
}
.hero-title {
    font-size: clamp(2rem, 4vh + 1vw, 4.5rem); /* Ekrana göre mükemmel ölçekleme */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: max(1.5vh, 12px);
}
.hero-title span {
    color: var(--text-muted);
}
.hero-desc {
    font-size: clamp(0.95rem, 1.5vh + 0.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Özellik Kartları --- */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.5vw, 24px);
}
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px; /* Daha premium, hafif köşeli görünüm */
    padding: clamp(1.25rem, 3vh, 1.75rem);
    transition: background 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-strong);
}
.card-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: max(1.5vh, 12px);
    color: var(--text-main);
}
.card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Alt Bar (Dikey alanı korumak için yatay tasarlandı) --- */
.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: max(1.5vh, 16px) max(2vw, 24px);
}
.countdown-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bottom-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.countdown {
    display: flex;
    align-items: center;
    gap: 12px;
}
.time-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.time-box span {
    font-size: 1.5rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.time-box small {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 1px;
}
.colon {
    font-size: 1.25rem;
    color: var(--border-subtle);
    font-weight: 300;
    margin-top: -12px;
}

/* Bülten Formu */
.subscribe-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 320px;
}
.subscribe-form {
    display: flex;
    gap: 8px;
    width: 100%;
}
.subscribe-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}
.subscribe-form input:focus {
    border-color: var(--border-strong);
}
.subscribe-form button {
    background: var(--text-main);
    color: var(--bg-base);
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}
.subscribe-form button:hover {
    opacity: 0.9;
}
.subscribe-form button:active {
    transform: scale(0.98);
}
.form-message {
    margin-top: 8px;
    font-size: 0.8rem;
    height: 16px; /* Layout zıplamasını engeller */
}

/* --- Footer --- */
.footer {
    padding: max(3vh, 20px) 0;
    flex-shrink: 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: max(3vh, 20px);
}
.footer-brand {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-copy {
    font-size: 0.85rem;
    color: rgba(161, 161, 170, 0.6);
}

/* --- Animasyonlar (Sadeleştirildi) --- */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ---------------------------------------------------
   RESPONSIVE KONTROLLERİ VE SCROLLBAR YÖNETİMİ
--------------------------------------------------- */

/* MASAÜSTÜ (1024px ve üzeri): 
   Kesinlikle Vertical Scrollbar çıkmaması için yüksekliği kitliyoruz.
   İçerik yukarıdaki vh, max() ve clamp() ayarları ile zaten sığacaktır. */
@media (min-width: 1024px) {
    body {
        height: 100vh;
        overflow: hidden; 
    }
}

/* TABLET ve KÜÇÜK LAPTOP EKRANLARI (Örn: 1024x768 gibi sıkışık durumlar) */
@media (max-width: 1023px) {
    body {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto; /* Mobilde ve tablette taşmayı engellemek için doğal scroll açık */
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr); /* 2x2 düzene geçer */
    }
    
    .bottom-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    
    .subscribe-group {
        align-items: flex-start;
        min-width: 100%;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* MOBİL TELEFONLAR (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .main-container {
        gap: 32px;
        padding: 40px 0;
    }
    
    .features {
        grid-template-columns: 1fr; /* Mobilde tek kolon, asla sağa/sola taşmaz */
        gap: 16px;
    }
    
    .countdown {
        justify-content: space-between;
        width: 100%;
    }
    
    .colon {
        display: none; /* Mobilde ayraçlara gerek yok, aralıklar yeterli */
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form button {
        padding: 12px;
        width: 100%;
    }
}