:root {
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #64748b;
    --accent-red: #c41e3a;
    --accent-blue: #1a56db;
    --card-border: #e2e8f0;
    --input-bg: #f8fafc;
    --input-border: #cbd5e1;
    --error-color: #c41e3a;
    --success-color: #16a34a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ═══ Layout ═══ */
.split-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ═══════════════════════
   MOBİL (varsayılan)
   Japon mobil LP sırası:
   1. Görsel (hero)
   2. Yazılar + Form
   ═══════════════════════ */

/* Mobilde görsel üstte görünsün */
.info-column { order: -1; }
.form-column { order: 1; }

/* ═══ Görsel Alanı ═══ */
.info-column {
    width: 100%;
}

.media-container {
    width: 100%;
}

.profile-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ═══ Form Alanı ═══ */
.form-column {
    width: 100%;
    padding: 2rem 1.5rem 3rem;
}

/* ═══ Badges ═══ */
.trust-badges {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.badge svg { color: var(--accent-red); }

/* ═══ Text ═══ */
.text-section {
    margin-bottom: 2rem;
}

.brand-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 0.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.headline {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* ═══ Form Card ═══ */
.form-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-top: 3px solid var(--accent-red);
    padding: 2rem 1.5rem;
}

.input-group {
    margin-bottom: 1.1rem;
}

.input-group label {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.required {
    background: #fef2f2;
    color: var(--accent-red);
    font-size: 0.55rem;
    padding: 0.1rem 0.35rem;
    margin-left: 0.4rem;
    font-weight: 700;
    border: 1px solid #fecaca;
}

.input-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: var(--accent-blue);
    background: #fff;
}

.input-group input::placeholder {
    color: #94a3b8;
}

/* ═══ Button ═══ */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--text-primary);
    color: #fff;
    border: none;
    font-size: 0.95rem;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    letter-spacing: 1px;
}

.submit-btn:hover { background: var(--accent-red); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}

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

/* ═══ Messages ═══ */
.form-message {
    margin-top: 1rem;
    padding: 0.7rem;
    font-weight: 700;
    display: none;
    font-size: 0.8rem;
}

.form-message.success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: var(--success-color);
}

.form-message.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--error-color);
}

/* ═══ Footer ═══ */
.footer {
    padding: 1.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.65rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

/* ═══ Notifications ═══ */
.live-notifications {
    position: fixed;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 9999;
    pointer-events: none;
}

.notification-toast {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--accent-blue);
    padding: 0.7rem 0.9rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 280px;

    /* GPU hızlandırma */
    will-change: transform, opacity;
    transform: translate3d(110%, 0, 0) scale(0.95);
    opacity: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    /* Giriş animasyonu (yavaş ve zarif) */
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s ease-out;
}

.notification-toast.show {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

/* Çıkış animasyonu (hızlı ve keskin) */
.notification-toast.hiding {
    transform: translate3d(30%, 0, 0) scale(0.92);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.55, 0, 1, 0.45),
                opacity 0.25s ease-in;
}

.toast-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.nyukin-style { border-left-color: var(--accent-red); }
.nyukin-style .toast-icon { background: #fef2f2; color: var(--accent-red); }
.shukkin-style { border-left-color: var(--accent-blue); }
.shukkin-style .toast-icon { background: #eff6ff; color: var(--accent-blue); }

.toast-content { display: flex; flex-direction: column; }
.toast-location { font-size: 0.55rem; color: var(--text-secondary); margin-bottom: 1px; display: flex; align-items: center; gap: 3px; font-weight: 700; }
.toast-name { font-size: 0.7rem; color: var(--text-primary); margin-bottom: 1px; font-weight: 700; display: flex; align-items: center; }
.name-blur { filter: blur(2.5px); -webkit-filter: blur(2.5px); }
.toast-age { font-weight: 900; color: var(--text-primary); font-size: 0.7rem; }
.toast-amount { font-size: 0.8rem; font-weight: 900; letter-spacing: 0.3px; }
.toast-time { font-size: 0.55rem; color: #94a3b8; margin-left: auto; align-self: flex-start; white-space: nowrap; padding-top: 2px; }

/* ═══════════════════════════════════
   PC (≥900px)
   Japon LP konvansiyonu:
   Sol: Yazı + Form (aksiyon alanı)
   Sağ: Görsel (destekleyici)
   ═══════════════════════════════════ */
@media (min-width: 900px) {
    .split-layout {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }

    /* PC'de order sıfırla — HTML sırası geçerli */
    .form-column { order: 0; }
    .info-column { order: 0; }

    /* Sol: Yazı + Form */
    .form-column {
        width: 50%;
        height: 100vh;
        overflow-y: auto;
        padding: 4rem 3.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .form-card {
        max-width: 440px;
        padding: 2.5rem 2rem;
    }

    .headline {
        font-size: 2rem;
    }

    /* Sağ: Görsel — tam ekran kaplasın */
    .info-column {
        width: 50%;
        height: 100vh;
        overflow: hidden;
    }

    .media-container {
        height: 100%;
    }

    .profile-img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
    }

    /* PC'de bildirimler sağ üstte */
    .live-notifications {
        top: 14px;
        bottom: auto;
        right: 14px;
        left: auto;
        align-items: flex-end;
    }

    .notification-toast {
        transform: translate3d(110%, 0, 0) scale(0.95);
    }

    .notification-toast.show {
        transform: translate3d(0, 0, 0) scale(1);
    }

    .notification-toast.hiding {
        transform: translate3d(30%, 0, 0) scale(0.92);
    }
}

@media (min-width: 1200px) {
    .form-column {
        padding: 4rem 5rem;
    }

    .headline {
        font-size: 2.3rem;
    }
}
