/* ============================================================
   UYAP GİRİŞ — Site CSS
   ============================================================ */

:root {
    --g-primary:        #0b2559;
    --g-primary-dark:   #071a40;
    --g-accent:         #10b981;
    --g-accent-dark:    #059669;
    --g-accent-light:   #34d399;
    --g-white:          #ffffff;
    --g-text:           #1e293b;
    --g-text-muted:     #64748b;
    --g-bg:             #f8fafc;
    --g-bg-alt:         #f1f5f9;
    --g-border:         #e2e8f0;
    --g-radius:         12px;
    --g-radius-lg:      18px;
    --g-navbar-height:  64px;
    --g-gradient:       linear-gradient(135deg, #0b2559 0%, #1a3f7a 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--g-text);
    background: var(--g-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── NAVBAR ──────────────────────────────────────────────── */

.g-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--g-navbar-height);
    background: var(--g-primary);
    transition: background 0.3s, box-shadow 0.3s;
}

.g-nav.scrolled {
    background: var(--g-primary-dark);
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.g-nav-inner {
    display: flex;
    align-items: center;
    height: var(--g-navbar-height);
    gap: 0.5rem;
}

.g-nav-brand {
    display: inline-flex;
    align-items: baseline;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    margin-right: auto;
    letter-spacing: -.01em;
    line-height: 1;
}

.g-nav-brand .brand-dot { color: #f59e0b; margin: 0 .05em; }
.g-nav-brand .brand-sub { font-weight: 300; color: rgba(255,255,255,.75); font-size: 1em; letter-spacing: .01em; }

.g-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}

.g-nav-link {
    color: rgba(255,255,255,0.8);
    padding: .42rem .85rem;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.g-nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.g-nav-link.active { color: var(--g-accent); background: rgba(16,185,129,0.12); }

.g-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem 1rem;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
}

.g-nav-btn-login {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
}
.g-nav-btn-login:hover { background: rgba(255,255,255,0.18); color: #fff; }

.g-nav-btn-register {
    background: var(--g-accent);
    color: #fff;
    margin-left: .25rem;
}
.g-nav-btn-register:hover { background: var(--g-accent-dark); }

.g-nav-toggler {
    display: none;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 1.25rem;
    width: 38px; height: 38px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* ── HERO ────────────────────────────────────────────────── */

.g-hero {
    background: var(--g-gradient);
    display: flex;
    align-items: flex-start;
    padding-top: calc(var(--g-navbar-height) + 3rem);
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.g-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(16,185,129,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(16,185,129,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.g-hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.g-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--g-accent-light);
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 999px;
    padding: .25rem .8rem;
    margin-bottom: 1.25rem;
}

.g-hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.g-hero-title span { color: var(--g-accent); }

.g-hero-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 520px;
}

.g-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.g-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1.6rem;
    background: var(--g-accent);
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.g-btn-primary:hover { background: var(--g-accent-dark); transform: translateY(-1px); color: #fff; }

.g-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1.4rem;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: .92rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    transition: background 0.15s, color 0.15s;
}
.g-btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

.g-hero-visual {
    position: relative;
    z-index: 1;
}

.g-hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--g-radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.g-hero-card-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.5);
    margin-bottom: 1rem;
}

.g-hero-step {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .75rem;
    border-radius: 10px;
    margin-bottom: .5rem;
    background: rgba(255,255,255,0.05);
    transition: background 0.15s;
}
.g-hero-step:last-child { margin-bottom: 0; }

.g-hero-step-num {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--g-accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.g-hero-step-text {
    font-size: .85rem;
    color: rgba(255,255,255,.8);
    font-weight: 500;
}

.g-hero-badge-strip {
    display: flex;
    gap: .5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.g-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .7rem;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--g-accent-light);
}

/* ── SECTIONS ────────────────────────────────────────────── */

.g-section {
    padding: 5rem 0;
}

.g-section-alt {
    background: var(--g-bg-alt);
}

.g-section-dark {
    background: var(--g-primary);
    color: #fff;
}

.g-section-kicker {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--g-accent);
    margin-bottom: .6rem;
}

.g-section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--g-text);
    margin-bottom: 1rem;
}

.g-section-dark .g-section-title { color: #fff; }

.g-section-lead {
    font-size: 1rem;
    color: var(--g-text-muted);
    line-height: 1.75;
    max-width: 580px;
}

.g-section-dark .g-section-lead { color: rgba(255,255,255,.65); }

.g-divider {
    width: 36px; height: 3px;
    background: var(--g-accent);
    border-radius: 999px;
    margin: .75rem 0 1.25rem;
}

/* ── FEATURE CARDS ───────────────────────────────────────── */

.g-feature-card {
    background: var(--g-white);
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.g-feature-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

.g-feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}

.g-icon-green { background: rgba(16,185,129,0.12); color: var(--g-accent); }
.g-icon-blue  { background: rgba(59,130,246,0.12); color: #3b82f6; }
.g-icon-amber { background: rgba(245,158,11,0.12); color: #f59e0b; }
.g-icon-purple{ background: rgba(139,92,246,0.12); color: #8b5cf6; }

.g-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--g-text);
}

.g-feature-card p {
    font-size: .875rem;
    color: var(--g-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ── STEPS ───────────────────────────────────────────────── */

.g-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.g-step-num {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--g-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: .1rem;
}

.g-step-body h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--g-text);
    margin-bottom: .3rem;
}

.g-step-body p {
    font-size: .875rem;
    color: var(--g-text-muted);
    line-height: 1.65;
    margin: 0;
}

.g-step-connector {
    width: 2px;
    height: 32px;
    background: var(--g-border);
    margin: .5rem 0 .5rem 21px;
}

/* ── STATS ───────────────────────────────────────────────── */

.g-stats-bar {
    background: var(--g-primary);
    padding: 2.5rem 0;
}

.g-stat-item { text-align: center; }

.g-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.g-stat-num span { color: var(--g-accent); }
.g-stat-label { display: block; font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .4rem; font-weight: 500; }

/* ── CTA ─────────────────────────────────────────────────── */

.g-cta-box {
    background: var(--g-gradient);
    border-radius: var(--g-radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.g-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(16,185,129,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ── FOOTER ──────────────────────────────────────────────── */

.g-footer {
    background: var(--g-primary-dark);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.g-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.g-footer-brand {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.01em;
    line-height: 1;
}

.g-footer-brand .brand-dot { color: #f59e0b; margin: 0 .05em; }
.g-footer-brand .brand-sub { font-weight: 300; color: rgba(255,255,255,.7); font-size: 1em; }

.g-footer-tagline {
    font-size: .8rem;
    color: rgba(255,255,255,.4);
    margin-top: .4rem;
    line-height: 1.5;
}

.g-footer-col-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.35);
    margin-bottom: .75rem;
}

.g-footer-links {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.g-footer-links a {
    font-size: .83rem;
    color: rgba(255,255,255,.5);
    transition: color 0.15s;
}

.g-footer-links a:hover { color: rgba(255,255,255,.9); }

.g-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.25rem;
    font-size: .75rem;
    color: rgba(255,255,255,.25);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 991.98px) {
    .g-nav-menu, .g-nav-btn-login, .g-nav-btn-register {
        display: none;
    }
    .g-nav-toggler { display: flex; }

    .g-nav-menu.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: var(--g-navbar-height);
        left: 0; right: 0;
        background: var(--g-primary-dark);
        padding: 1rem;
        gap: .25rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .g-nav-menu.open .g-nav-btn-login,
    .g-nav-menu.open .g-nav-btn-register {
        display: flex;
        width: 100%;
        justify-content: center;
        margin: .25rem 0 0;
    }

    .g-hero { min-height: auto; padding-top: calc(var(--g-navbar-height) + 3rem); padding-bottom: 3rem; }
    .g-hero-visual { margin-top: 2.5rem; }

    .g-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
    .g-footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 575.98px) {
    .g-section { padding: 3.5rem 0; }
    .g-hero-actions { flex-direction: column; align-items: flex-start; }
    .g-footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ── AUTH PAGES ──────────────────────────────────────────── */

.g-auth-section {
    min-height: 100vh;
    background: var(--g-bg-alt);
    display: flex;
    align-items: center;
    padding-top: calc(var(--g-navbar-height) + 2rem);
    padding-bottom: 3rem;
}

.g-auth-card {
    background: var(--g-white);
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.g-auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
    font-size: 1.2rem;
}

.g-auth-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--g-text);
    letter-spacing: -0.02em;
    margin-bottom: .4rem;
    text-align: center;
}

.g-auth-sub {
    font-size: .85rem;
    color: var(--g-text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.g-form-group {
    margin-bottom: 1rem;
}

.g-form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--g-text);
    margin-bottom: .35rem;
}

.g-form-hint {
    font-weight: 400;
    color: var(--g-text-muted);
    font-size: .75rem;
}

.g-input {
    display: block;
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid var(--g-border);
    border-radius: 10px;
    font-size: .9rem;
    color: var(--g-text);
    background: var(--g-white);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    font-family: inherit;
}

.g-input:focus {
    border-color: var(--g-accent);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}

.g-input::placeholder { color: #cbd5e1; }

.g-alert-error {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: .65rem .9rem;
    font-size: .85rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.g-auth-link {
    font-size: .82rem;
    color: var(--g-text-muted);
    transition: color 0.15s;
}
.g-auth-link:hover { color: var(--g-accent); }
.g-auth-link--strong { color: var(--g-accent); font-weight: 600; }
.g-auth-link--strong:hover { color: var(--g-accent-dark); }

.g-auth-footer {
    text-align: center;
    font-size: .85rem;
    color: var(--g-text-muted);
    margin-top: 1.25rem;
    margin-bottom: 0;
}
