/* ============================================================
   AsisTron Shell — Paylaşılan stil dosyası
   anasayfa-ornek-3.html ile aynı tasarım dili
   ============================================================ */

:root {
    --bg:           #07080b;
    --bg-1:         #0a0c10;
    --bg-2:         #11141a;
    --surface:      #14181f;
    --surface-2:    #1a1f28;
    --border:       rgba(255,255,255,0.08);
    --border-2:     rgba(255,255,255,0.14);
    --text:         #f4f6fa;
    --muted:        #a8b0bf;
    --faded:        #6b7280;

    --orange:       #FB8500;
    --orange-2:     #ffae3c;
    --pink:         #C41379;
    --pink-2:       #ff58a8;
    --blue:         #4d7dff;
    --blue-2:       #6c8eff;
    --green:        #2fd47a;
    --purple:       #8b5cf6;
    --cyan:         #00d4ff;

    --grad-brand:   linear-gradient(135deg, #FB8500 0%, #ffae3c 100%);
    --grad-aurora:  radial-gradient(900px 500px at 20% 30%, rgba(251,133,0,0.22), transparent 60%),
                    radial-gradient(800px 600px at 80% 60%, rgba(196,19,121,0.18), transparent 60%),
                    radial-gradient(700px 500px at 50% 90%, rgba(77,125,255,0.16), transparent 60%);
    --grad-mix:     linear-gradient(125deg, #FB8500 0%, #C41379 50%, #4d7dff 100%);
    --shadow-lg:    0 30px 80px rgba(0,0,0,0.5);
    --shadow-md:    0 16px 40px rgba(0,0,0,0.35);
    --radius:       16px;
    --radius-lg:    22px;
    --container:    1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Aurora background */
.aurora {
    position: fixed;
    inset: 0;
    background: var(--grad-aurora);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}

/* ===== Top Nav ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 14px 0;
    transition: padding 0.3s, background 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
    padding: 10px 0;
    background: rgba(7,8,11,0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
}
.brand {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 18px; font-weight: 800; letter-spacing: -0.03em;
    white-space: nowrap;       /* AsisTron asla kelime kırılmasın */
}
/* Brand mark icon kaldırıldı — sadece AsisTron yazısı */
.brand-mark { display: none; }
.brand .t { color: var(--orange); }

/* "i" harfinin noktası turuncu — noktasız ı + CSS dot ile çizilir
   line-height: 1 ile span yüksekliği = font-size, top değeri kararlı */
.brand .i-dot {
    position: relative;
    display: inline-block;
    line-height: 0.8;
}
.brand .i-dot::after {
    content: '';
    position: absolute;
    top: 0.02em;          /* en üstte — gövdeden boşluklu */
    left: 50%;
    transform: translateX(-50%);
    width: 0.16em;
    height: 0.16em;
    background: var(--orange);
    border-radius: 50%;
}

.nav-menu {
    display: flex; align-items: center; gap: 4px;
    background: rgba(20,24,31,0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
}
.nav-menu a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-menu a.active { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-cta { display: flex; gap: 8px; align-items: center; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600; font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s, border-color 0.2s;
    position: relative;
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 8px 22px rgba(251,133,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(251,133,0,0.5); }
.btn-ghost {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-2); transform: translateY(-2px); }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ===== Eyebrow ===== */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}
.eyebrow .badge {
    background: var(--grad-brand);
    color: #fff;
    font-weight: 700;
    font-size: 10.5px;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* ===== Page Hero (alt sayfa) ===== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 400px at 50% 30%, rgba(251,133,0,0.15), transparent 60%);
    pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 18px 0;
}
.page-hero h1 .grad {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero p {
    color: var(--muted);
    font-size: clamp(15px, 1.4vw, 18px);
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Section ===== */
.section { padding: 80px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.section-head h2 .grad {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-head p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== Surface Card ===== */
.card {
    background: linear-gradient(155deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-2);
    box-shadow: var(--shadow-md);
}

.icon-tile {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.ico-orange { background: rgba(251,133,0,0.12); color: var(--orange); }
.ico-pink   { background: rgba(196,19,121,0.14); color: var(--pink-2); }
.ico-blue   { background: rgba(77,125,255,0.14); color: var(--blue-2); }
.ico-green  { background: rgba(47,212,122,0.14); color: var(--green); }
.ico-purple { background: rgba(139,92,246,0.14); color: var(--purple); }
.ico-cyan   { background: rgba(0,212,255,0.14); color: var(--cyan); }
.ico-amber  { background: rgba(245,158,11,0.14); color: #f59e0b; }
.ico-red    { background: rgba(255,107,107,0.14); color: #ff6b6b; }

/* ===== Grids ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 991px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Form ===== */
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 575px) { .form-row.cols-2 { grid-template-columns: 1fr; } }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(251,133,0,0.15);
}
.form-textarea { min-height: 130px; resize: vertical; }

/* ===== Legal page (uzun metin sayfaları) ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px;
    line-height: 1.7;
}
.legal-content h2 {
    font-size: 24px;
    margin: 32px 0 14px;
    color: var(--text);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-size: 18px;
    margin: 22px 0 10px;
    color: var(--text);
}
.legal-content p {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 15px;
}
.legal-content ul {
    margin: 14px 0;
    padding-left: 24px;
}
.legal-content ul li {
    color: var(--muted);
    margin-bottom: 8px;
    font-size: 15px;
    list-style: disc;
}
.legal-content .updated {
    display: inline-block;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 24px;
}

@media (max-width: 575px) {
    .legal-content { padding: 28px 22px; }
}

/* ===== Footer ===== */
footer {
    padding: 70px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}
.footer-grid h6 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 18px;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a {
    color: var(--muted);
    font-size: 13.5px;
    transition: color 0.2s;
}
.footer-grid li a:hover { color: var(--orange); }
.footer-grid p {
    color: var(--muted);
    font-size: 13.5px;
    max-width: 320px;
    line-height: 1.6;
    margin: 14px 0 0;
}
.footer-social {
    display: flex; gap: 8px;
    margin-top: 22px;
}
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 16px;
    transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); border-color: var(--orange); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--faded);
    font-size: 13px;
}
.footer-bottom a { color: var(--muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--orange); }

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* Mobile menu — hamburger ile açılır slide-down panel */
    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(7,8,11,0.96);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 10px;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu a {
        padding: 12px 16px;
        text-align: left;
        background: rgba(255,255,255,0.02);
        border-radius: 10px;
    }
    .nav.mobile-open .nav-menu { display: flex; }

    /* Hamburger animasyonlu state */
    .nav-mobile-toggle { transition: transform 0.25s, background 0.2s, color 0.2s; }
    .nav.mobile-open .nav-mobile-toggle {
        background: var(--grad-brand);
        color: #fff;
    }
    .nav.mobile-open .nav-mobile-toggle i {
        transform: rotate(90deg);
        transition: transform 0.25s;
    }
}
@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Reveal-on-scroll utility */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
