/* ==========================================================================
   Akademisi — Minimal Landing Page
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

#main {
    width: 100%;
    height: 100%;
}

/* ══ Tam Ekran Ortalanmış Konteyner ══ */
.stage-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem;
}

/* ══ Tamamen Şeffaf, Çerçevesiz, Büyük Tipografi Domain Alanı ══ */
.domain-search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    cursor: text;
}

.domain-wrapper {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    position: relative;
    max-width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Subdomain Giriş Alanı - Genişliği içeriğe göre esner */
.subdomain-input {
    border: none;
    outline: none;
    background: transparent;
    color: #0f172a;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.2rem, 5.2vw, 4.2rem);
    font-weight: 700;
    text-align: right;
    padding: 0;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    width: 7ch;
    min-width: 1.5ch;
    caret-color: #2563eb;
    transition: width 0.05s ease;
    flex-shrink: 0;
}

.subdomain-input::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

/* Uzantı: .akademisi.com.tr */
.domain-suffix {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.2rem, 5.2vw, 4.2rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.1;
    user-select: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: baseline;
    flex-shrink: 0;
}

.domain-suffix .dot {
    color: #2563eb;
}

.domain-suffix .brand {
    color: #0f172a;
}

.domain-suffix .tld {
    color: #64748b;
    font-weight: 500;
}

/* Enter / İlerle Butonu */
.submit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: #cbd5e1;
    margin-left: 0.5rem;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateX(-8px);
    pointer-events: none;
    flex-shrink: 0;
}

.submit-arrow svg {
    width: clamp(20px, 4.5vw, 36px);
    height: clamp(20px, 4.5vw, 36px);
}

.submit-arrow.visible {
    opacity: 1;
    color: #2563eb;
    transform: translateX(0);
    pointer-events: auto;
}

.submit-arrow:hover {
    color: #1d4ed8;
    transform: translateX(3px);
}

/* ══ Küçük Mobil Ekranlar için Ek İnce Ayar (<= 400px) ══ */
@media (max-width: 400px) {
    .stage-container {
        padding: 0.75rem;
    }

    .submit-arrow {
        margin-left: 0.25rem;
    }
}
