/* style.css – Pratik Kredi A.Ş. */

/* DEĞİŞKENLER */
:root {
    --bg: #020617;
    --surface: #0b1120;
    --surface-alt: #020617;
    --surface-soft: #0f172a;
    --accent: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.16);
    --accent-secondary: #0ea5e9;
    --text-main: #e5e7eb;
    --text-soft: #9ca3af;
    --text-muted: #6b7280;
    --border-subtle: #1e293b;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
    --radius-pill: 9999px;
}

/* GENEL */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, SF Pro Text, Segoe UI, sans-serif;
    background: radial-gradient(circle at top, #1f2937 0, #020617 48%, #000 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* LİNKLER & BUTONLAR */
a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* YAPISAL ELEMANLAR */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: radial-gradient(circle at top, #0b1120 0, #020617 55%);
}

.section-heading {
    margin-bottom: 2rem;
}

/* .section-heading h1, */
.section-heading h2 {
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0 0 0.6rem;
}

.section-heading h1 {
    font-size: 1.9rem;
}

.section-heading h2 {
    font-size: 1.6rem;
}

.section-heading p {
    margin: 0;
    color: var(--text-soft);
    max-width: 720px;
}

.section-heading.center {
    text-align: center;
}

.section-heading.center p {
    margin-left: auto;
    margin-right: auto;
}

/* GRID YAPILARI */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.text-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.main-nav a {
    padding: 0.35rem 0.6rem;
    border-radius: 9999px;
    color: var(--text-soft);
    transition: all 0.18s ease;
}

.main-nav a:hover {
    color: #f9fafb;
    background: rgba(148, 163, 184, 0.14);
}

.main-nav a.active {
    color: #f9fafb;
    background: rgba(37, 99, 235, 0.3);
}

.nav-cta {
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    color: #f9fafb !important;
    font-weight: 600;
}

/* HERO */
.hero {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

.hero-left h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin: 0 0 1rem;
}

.hero-left p {
    margin: 0 0 1.2rem;
    color: var(--text-soft);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
}

.hero-badges span {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

/* BUTONLAR */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    color: #f9fafb;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.7);
}

.btn-secondary {
    background: rgba(15, 23, 42, 1);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(148, 163, 184, 0.9);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.85);
}

.btn-block {
    width: 100%;
}

/* HERO KARTI */
.hero-right {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 340px;
    background: radial-gradient(circle at top, #111827, #020617 70%);
    border-radius: 1.4rem;
    padding: 1.3rem 1.4rem 1.4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
}

.hero-card p {
    margin: 0 0 0.4rem;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.hero-card ul {
    list-style: none;
    margin: 0 0 0.7rem;
    padding: 0;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.hero-card li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.15rem;
}

.hero-card li::before {
    content: •;
    position: absolute;
    left: 0.2rem;
    top: 0;
    color: #60a5fa;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0.4rem 0 0.7rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* FEATURE  ÖRNEK RAPOR KARTLARI */
.feature-grid {
    margin-top: 1.5rem;
}

.feature-card {
    background: #020617;
    border-radius: 1.1rem;
    padding: 1rem 1.1rem 1.05rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
}

.feature-card h3 {
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-soft);
}

/* KREDİ TÜRLERİ */
.cards-with-image .type-card {
    background: #020617;
    border-radius: 1.1rem;
    padding: 1rem 1.15rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
}

.type-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.type-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.type-note {
    margin-top: 0.3rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* EKİBİMİZ */
.team-grid {
    margin-top: 1.5rem;
}

.team-card {
    background: #020617;
    border-radius: 1.1rem;
    padding: 1.1rem 1.1rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
    text-align: center;
}

.team-avatar {
    width: 68px;
    height: 68px;
    border-radius: 9999px;
    margin: 0 auto 0.6rem;
    background-size: cover;
    background-position: center;
    background-color: #020617;
    border: 2px solid rgba(148, 163, 184, 0.65);
}

/* BAYAN  ERKEK GERÇEKÇİ FOTOĞRAF ALANI */
/* Bu görselleri senin gerçek fotoğraflarınla değiştirebilirsin */
.team-male-1 { background-image: url('imgteam-male-1.jpg'); }
.team-male-2 { background-image: url('imgteam-male-2.jpg'); }
.team-male-3 { background-image: url('imgteam-male-3.jpg'); }
.team-female-1 { background-image: url('imgteam-female-1.jpg'); }
.team-female-2 { background-image: url('imgteam-female-2.jpg'); }
.team-female-3 { background-image: url('imgteam-female-3.jpg'); }

.team-card h3 {
    margin: 0 0 0.2rem;
    font-size: 0.98rem;
}

.team-role {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.team-text {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* KULLANICI DENEYİMLERİ */
.testimonial-grid {
    margin-top: 1.5rem;
}

.testimonial-card {
    background: #020617;
    border-radius: 1.1rem;
    padding: 0.95rem 1rem 1.05rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
    font-size: 0.84rem;
    color: var(--text-soft);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: radial-gradient(circle at 30% 20%, #e0f2fe, #1d4ed8);
    border: 2px solid #e5e7eb;
}

.testimonial-user strong {
    display: block;
    font-size: 0.85rem;
}

.testimonial-user span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.mini-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mini-note.center {
    text-align: center;
}

/* SSS */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.faq-item {
    background: #020617;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 0.65rem 0.85rem;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* BAŞVURU BİLGİLERİ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: #020617;
    border-radius: 1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* PROBLEM KARTLARI */
.problem-grid {
    margin-top: 1.5rem;
}

.problem-card {
    background: #020617;
    border-radius: 1.1rem;
    padding: 1rem 1.1rem 1.05rem;
    border: 1px solid rgba(248, 250, 252, 0.06);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
}

.problem-card h3 {
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
}

.problem-card p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-soft);
}

/* CHAT FAB & WIDGET */
.floating-actions {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 60;
}

.fab {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    cursor: pointer;
    font-size: 1.2rem;
    text-decoration: none;
    color: #f9fafb;
}

.fab-chat {
    background: #111827;
}

/* BÜYÜK SOHBET KUTUSU */
.chat-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 380px;
    max-width: 95vw;
    height: 420px; /* küçük kutunun yaklaşık 2 katı */
    border-radius: 1.5rem;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 55;
}

.chat-widget.open {
    display: flex;
}

.chat-header {
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    color: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.chat-header-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.chat-header-sub {
    font-size: 0.78rem;
    opacity: 0.95;
}

.chat-body {
    flex: 1;
    padding: 0.9rem 0.9rem 0.6rem;
    background: #f3f4f6;
    overflow-y: auto;
}

.chat-message {
    max-width: 85%;
    padding: 0.55rem 0.7rem;
    border-radius: 1rem;
    font-size: 0.82rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

.chat-message.agent {
    background: #e5edff;
    color: #111827;
    border-bottom-left-radius: 0.2rem;
}

.chat-message.user {
    background: #111827;
    color: #f9fafb;
    border-bottom-right-radius: 0.2rem;
    margin-left: auto;
}

.chat-input-row {
    padding: 0.55rem 0.7rem 0.7rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chat-input-row input {
    flex: 1;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    padding: 0.4rem 0.7rem;
    font-size: 0.82rem;
    font-family: inherit;
}

.chat-input-row button {
    border-radius: 9999px;
    border: none;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    background: #111827;
    color: #f9fafb;
    cursor: pointer;
}

/* FOOTER */
.gk-footer {
    margin-top: 2rem;
    padding-top: 1.7rem;
    padding-bottom: 1.5rem;
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.gk-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
}

.gk-footer-left {
    max-width: 360px;
}

.gk-footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
}

.gk-footer-text {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.gk-footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}

.gk-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
    font-size: 0.8rem;
}

.gk-footer-links a {
    color: var(--text-soft);
}

.gk-footer-links a:hover {
    color: #f9fafb;
}

.gk-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.gk-footer-contact a {
    color: var(--text-main);
}

.gk-footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem 0 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-right {
        order: -1;
    }
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .text-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gk-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .gk-footer-right {
        align-items: flex-start;
    }
    .gk-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width 768px) {
    .section {
        padding: 2.6rem 0;
    }
    .section-heading h1 {
        font-size: 1.6rem;
    }
    .section-heading h2 {
        font-size: 1.4rem;
    }
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
    .faq-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .chat-widget {
        right: 0.8rem;
        bottom: 0.8rem;
        height: 380px;
        width: calc(100% - 1.6rem);
    }
}

/* -------------------------------------------------- */
/* EK DOSYA SORGULAMA SAYFASI ÖZEL STİL */
/* -------------------------------------------------- */

.file-intro-block {
    max-width: 900px;
    margin: 0 auto 1.8rem;
    text-align: left;
}

.file-intro-block p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-soft);
    margin-bottom: 0.6rem;
}

.file-intro-block p strong {
    color: var(--text-main);
}

.file-form-wrapper {
    max-width: 720px;
    margin: 0 auto 1.2rem;
}

.file-form-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.file-label {
    font-size: 0.86rem;
    color: var(--text-main);
    white-space: nowrap;
}

.file-input {
    flex: 0 0 260px;
    max-width: 260px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #020617;
    color: #e5e7eb;
    padding: 0.45rem 0.8rem;
    font-size: 0.88rem;
}

.file-input::placeholder {
    color: var(--text-muted);
}

.file-submit {
    max-width: 720px;
    margin: 0.35rem auto 0;
}

.file-submit .btn-primary {
    width: 100%;
    border-radius: var(--radius-pill);
}

.file-helper {
    max-width: 720px;
    margin: 1rem auto 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.file-error {
    max-width: 720px;
    margin: 1rem auto 0;
    padding: 0.75rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.6);
    color: #fecaca;
    font-size: 0.84rem;
}

/* ÖDEME PLANI TABLOSU */

.plan-wrapper {
    max-width: 900px;
    margin: 2rem auto 0;
}

.plan-wrapper h2 {
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
}

.plan-meta {
    font-size: 0.82rem;
    color: var(--text-soft);
    margin-bottom: 0.6rem;
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

/* .plan-table th, */
.plan-table td {
    border: 1px solid #1e293b;
    padding: 0.4rem 0.45rem;
    text-align: right;
}

.plan-table th:first-child,
.plan-table td:first-child {
    text-align: center;
}

/* .plan-table thnth-child(2), */
.plan-table tdnth-child(2) {
    text-align: center;
}

.plan-table thead {
    background: #020617;
}

.plan-table tbody trnth-child(even) {
    background: #020617;
}

/* -------------------------------------------------- */
/* EK HEMEN BAŞVUR SAYFASI ÖZEL STİL */
/* -------------------------------------------------- */

.apply-section {
    padding: 3rem 0 3.5rem;
}

.apply-card {
    max-width: 760px;
    margin: 0 auto;
    background: #020617;
    border-radius: 1.5rem;
    padding: 1.8rem 2rem 2.1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-soft);
}

.apply-intro {
    margin-bottom: 1.5rem;
    text-align: center;
}

.apply-intro h1 {
    margin: 0 0 0.6rem;
    font-size: 1.7rem;
}

.apply-intro p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.apply-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
    margin-top: 1.3rem;
}

.apply-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.apply-field-full {
    grid-column: 1; /* -1; */
}

.apply-label {
    font-size: 0.86rem;
    color: var(--text-main);
}

.apply-input,
.apply-textarea {
    width: 100%;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #020617;
    color: #e5e7eb;
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
}

.apply-input::placeholder,
.apply-textarea::placeholder {
    color: var(--text-muted);
}

.apply-textarea {
    border-radius: 1rem;
    min-height: 110px;
    resize: vertical;
    padding: 0.6rem 0.85rem;
}

.apply-checkbox-row {
    margin: 1rem 0 0.9rem;
    font-size: 0.78rem;
    color: var(--text-soft);
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.apply-checkbox-row input {
    margin-top: 0.17rem;
    accent-color: #1d4ed8;
}

.apply-submit {
    margin-top: 0.5rem;
}

.apply-note {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

.apply-success {
    max-width: 760px;
    margin: 1rem auto 0;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.7);
    font-size: 0.86rem;
    color: #bbf7d0;
}

@media (max-width 900px) {
    .apply-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .apply-card {
        padding: 1.5rem 1.3rem 1.8rem;
    }
}