/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #111827, #020617 50%, #020617 100%);
    color: #e5e7eb;
}

/* Değişkenler */
:root {
    --bg-dark: #020617;
    --bg-card: #020617;
    --bg-soft: #0b1220;
    --border-soft: #1f2937;
    --accent: #6366f1;       /* mor-mavi */
    --accent-soft: #4f46e5;
    --accent-strong: #a855f7;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.6);
}

/* Container */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.logo-text {
    color: var(--text-main);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.5rem 0.6rem;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-main);
}

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
    color: #f9fafb;
    box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
    transform: translateY(-1px);
}

.btn.secondary {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn.secondary:hover {
    background: rgba(148, 163, 184, 0.2);
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--text-muted);
}

.btn.ghost:hover {
    border-color: var(--accent);
    color: var(--text-main);
}

.btn.outline {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: var(--text-main);
}

.btn.outline:hover {
    border-color: var(--accent-soft);
}

.btn.full {
    width: 100%;
}

/* HERO */
.hero {
    padding: 3.2rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.accent {
    background: linear-gradient(120deg, var(--accent-soft), var(--accent-strong));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    color: var(--text-muted);
    max-width: 32rem;
    font-size: 0.95rem;
}

.hero-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.8rem;
}

/* Hero kartlar */
.hero-card {
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), #020617);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.7);
}

.hero-card-alt {
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.06), #020617);
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.hero-card-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* Hero sağ panel */
.hero-right {
    display: flex;
    justify-content: flex-end;
}

.search-panel {
    width: 100%;
    max-width: 360px;
    background: linear-gradient(145deg, #020617, #020617 50%, #111827);
    border-radius: 22px;
    padding: 1.3rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--shadow-soft);
}

.search-panel h3 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.search-panel form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.search-panel label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.search-panel input {
    background: #020617;
    border-radius: 999px;
    border: 1px solid #1f2937;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    color: var(--text-main);
    outline: none;
}

.search-panel input:focus {
    border-color: var(--accent-soft);
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.3);
}

.search-note {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* İstatistik Şeridi */
.stats-strip {
    border-top: 1px solid #111827;
    border-bottom: 1px solid #111827;
    background: radial-gradient(circle at top, #020617, #020617 60%, #020617);
    padding: 1rem 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: center;
    text-align: center;
}

.stat-item {
    padding: 0.4rem 0;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Genel section stilleri */
.section {
    padding: 2.7rem 0;
}

.section-alt {
    background: radial-gradient(circle at top, #020617, #020617 50%, #020617);
    border-top: 1px solid #111827;
    border-bottom: 1px solid #111827;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.4rem;
    font-size: 0.9rem;
}

/* Section başlığı üst satır */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

/* Küçük chip */
.chip {
    border-radius: 999px;
    border: 1px solid #1f2937;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.8);
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Grid sistem */
.grid {
    display: grid;
    gap: 1.25rem;
}

/* Kategoriler grid */
.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Kategori kartları */
.category-card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), #020617);
    border-radius: var(--radius-lg);
    padding: 1.1rem;
    border: 1px solid #111827;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.8);
}

.category-card.muted {
    opacity: 0.85;
}

.category-card h3 {
    margin: 0.45rem 0;
    font-size: 1rem;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
}

/* Nasıl çalışır */
.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.step-card {
    position: relative;
    background: #020617;
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.1rem 1.1rem;
    border: 1px solid #111827;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.9);
}

.step-number {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #f9fafb;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1;
}

.step-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Neden UstamHizmetinde layout */
.why-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.8rem;
}

.why-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
}

.why-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1;
}

.why-item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.why-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Sağ kart */
.why-card {
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.2), #020617);
    border-radius: 24px;
    padding: 1.4rem;
    border: 1px solid #1f2937;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 1);
}

.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.why-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.9rem 0 0.6rem;
}

.why-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FOOTER */
.footer {
    border-top: 1px solid #111827;
    background: #020617;
    margin-top: 2.4rem;
    padding-top: 1.4rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    padding: 0 0 1rem;
    align-items: start;
}

.footer-logo .logo-text {
    color: #e5e7eb;
}

.footer-logo .logo-img {
    height: 56px;
}

.footer-text {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #9ca3af;
    max-width: 22rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.footer-col a {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.3rem;
}

.footer-col a:hover {
    color: #e5e7eb;
}

.footer-bottom {
    border-top: 1px solid #111827;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    padding: 0.9rem 0 1.2rem;
}

/* Mobil responsive */
@media (max-width: 850px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        height: auto;
        padding: 0.7rem 0;
    }

    .nav {
        flex-wrap: wrap;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-right {
        justify-content: flex-start;
    }

    .hero-cta {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .why-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .stats-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}
