/* --- Google Fonts & Değişken Tanımlamaları --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #19c7d3;          /* Ana turkuaz */
    --primary-dark: #0fa7bb;
    --primary-soft: #6be6ee;
    --secondary: #4b1d95;        /* Ana mor */
    --secondary-dark: #281057;   /* Koyu mor */
    --secondary-soft: #7c3aed;
    --bg-light: #f6fdff;
    --bg-soft: #f1ecff;
    --text-main: #42305f;
    --text-muted: #76698c;
    --white: #ffffff;
    --border-color: rgba(25, 199, 211, 0.18);
    --focus-ring: rgba(25, 199, 211, 0.18);
    --danger: #ef4444;
    --success: #10b981;

    /* Efektler ve Kavisler */
    --shadow-sm: 0 6px 18px rgba(75, 29, 149, 0.07);
    --shadow-md: 0 16px 30px rgba(75, 29, 149, 0.12);
    --shadow-lg: 0 24px 60px rgba(75, 29, 149, 0.16);
    --radius-md: 14px;
    --radius-lg: 24px;
}

/* --- Temel Sıfırlamalar --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-light);
    background-image:
        radial-gradient(circle at 8% 12%, rgba(25, 199, 211, 0.14) 0%, transparent 25%),
        radial-gradient(circle at 92% 18%, rgba(139, 92, 246, 0.18) 0%, transparent 26%),
        radial-gradient(circle at 80% 86%, rgba(25, 199, 211, 0.10) 0%, transparent 23%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* --- Sayfa Kapsayıcısı (Split Screen Yapısı) --- */
.demo-page-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 750px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(25, 199, 211, 0.18);
    animation: pageEntry 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
}

.demo-page-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

/* ==========================================
   1. Sol Panel: Kurumsal Bilgilendirme Alanı
   ========================================== */
.demo-info-panel {
    flex: 1;
    background:
        radial-gradient(circle at 18% 16%, rgba(25, 199, 211, 0.28) 0%, transparent 30%),
        radial-gradient(circle at 88% 78%, rgba(139, 92, 246, 0.38) 0%, transparent 30%),
        linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 3.2rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.demo-info-panel::before {
    content: '';
    position: absolute;
    top: -18%;
    right: -20%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25, 199, 211, 0.22) 0%, transparent 70%);
}

.demo-info-panel::after {
    content: '';
    position: absolute;
    left: -36px;
    bottom: 80px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(rgba(107, 230, 238, 0.28) 1.6px, transparent 1.6px);
    background-size: 15px 15px;
    opacity: 0.75;
}

.form-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    user-select: none;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.form-logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.16));
}

.logo-text-light {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
    transition: color 0.3s ease;
}

.form-logo:hover .logo-text-light {
    color: var(--primary-soft);
}

.info-content {
    position: relative;
    z-index: 1;
}

.info-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-soft) 46%, #d8cff5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-content p {
    color: #d8cff5;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #f4f0ff;
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.055);
    backdrop-filter: blur(8px);
}

.benefit-list li i {
    color: var(--primary-soft);
    font-size: 1.1rem;
}

.info-footer {
    position: relative;
    z-index: 1;
}

.info-footer p {
    font-size: 0.82rem;
    color: #d8cff5;
}

.info-footer sup {
    font-size: 0.68em;
    margin-left: 2px;
    color: var(--primary-soft);
}

/* ==========================================
   2. Sağ Panel: Form Yönetim Alanı
   ========================================== */
.demo-form-panel {
    flex: 1.1;
    padding: 3.2rem;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247, 254, 255, 0.95) 100%);
}

.form-box {
    width: 100%;
}

.form-header {
    margin-bottom: 2.4rem;
}

.form-header h3 {
    font-size: 1.75rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Girdi Grupları (Inputs) */
.input-group {
    margin-bottom: 1.45rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #a78bfa;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: rgba(246, 253, 255, 0.88);
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #a79bbd;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper textarea:focus + .input-icon {
    color: var(--primary);
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-icon {
    top: 16px;
}

.input-wrapper textarea {
    resize: none;
    line-height: 1.5;
}

/* Gönder Butonu */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary-soft), var(--primary));
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 24px rgba(75, 29, 149, 0.18);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(25, 199, 211, 0.24);
}

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

/* --- Sayfa Giriş Animasyonu --- */
@keyframes pageEntry {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   3. Gelişmiş Duyarlı (Responsive) Ayarlar
   ========================================== */
@media (max-width: 992px) {
    .demo-page-container {
        flex-direction: column;
        min-height: auto;
        max-width: 600px;
    }

    .demo-info-panel {
        padding: 3rem 2.5rem;
        gap: 2rem;
    }

    .info-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .info-content p {
        margin-bottom: 1.5rem;
    }

    .demo-form-panel {
        padding: 3rem 2.5rem;
    }

    .info-footer {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .demo-page-container {
        border-radius: var(--radius-md);
    }

    .demo-info-panel {
        padding: 2rem 1.5rem;
    }

    .info-content h2 {
        font-size: 1.5rem;
    }

    .demo-form-panel {
        padding: 2.5rem 1.5rem;
    }

    .form-header {
        margin-bottom: 1.8rem;
        text-align: center;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 12px 14px 12px 42px;
        font-size: 0.9rem;
    }

    .input-icon {
        left: 14px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 0.95rem;
    }
}


/* NeduSis demo başvuru geri bildirim modalı */
.demo-feedback-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(14px);
    z-index: 9999;
}
.demo-feedback-modal.active { display: flex; }
.demo-feedback-card {
    position: relative;
    width: min(430px, 100%);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: 0 28px 90px rgba(15, 23, 42, .30);
    padding: 34px 28px 26px;
    text-align: center;
    color: #0f172a;
}
.demo-feedback-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 14px;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
}
.demo-feedback-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 16px 38px rgba(34,197,94,.24);
}
.demo-feedback-card h3 { margin: 0 0 10px; font-size: 1.55rem; }
.demo-feedback-card p { margin: 0; color: #64748b; line-height: 1.6; font-weight: 600; }
.demo-feedback-primary {
    margin-top: 22px;
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(37,99,235,.24);
}
@media (max-width: 768px) {
    .demo-feedback-modal { padding: 16px; align-items: flex-end; }
    .demo-feedback-card { border-radius: 24px 24px 18px 18px; padding: 32px 22px 22px; }
}
