/* Wictus — FiveM script vitrini
   Sade tema: gece laciverti zemin, gümüş vurgu, tek yazı tipi (Montserrat). */
:root {
    --bg: #0d1424;
    --panel: #141d31;
    --line: #24304a;
    --text: #e6ebf2;
    --muted: #93a0b4;
    --dim: #66738a;
    --accent: #b8c7dc;
    --accent-rgb: 184, 199, 220;
    --radius: 10px;
    --font: "Montserrat", "Segoe UI", Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.7;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: Consolas, monospace; font-size: .9em; color: var(--accent); }
::selection { background: rgba(var(--accent-rgb), .3); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- Yazı ---------- */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 14px; }
.lead { color: var(--muted); max-width: 620px; font-size: 17px; }
.section { padding: clamp(72px, 10vw, 112px) 0; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.rule { height: 1px; border: 0; margin: 0; background: var(--line); }

/* ---------- Düğmeler ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 8px;
    font-size: 14px; font-weight: 600; border: 1px solid var(--line); color: var(--text);
    transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn.solid { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn.solid:hover { background: #fff; border-color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .04); }

/* ---------- Üst çubuk ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 50; height: 68px; display: flex; align-items: center;
    border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.nav.scrolled, .nav.open { background: var(--bg); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); }
.logo span { font-size: 17px; font-weight: 700; letter-spacing: .18em; }
.menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.menu a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.menu a:not(.btn):hover, .menu a.active { color: var(--text); }
.menu .btn { padding: 8px 16px; font-size: 13px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); position: relative; }
.burger i, .burger i::before, .burger i::after {
    position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--text);
    transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .2s;
}
.burger i::before, .burger i::after { content: ''; }
.burger i::before { transform: translate(-50%, -6px); }
.burger i::after { transform: translate(-50%, 4.5px); }
.nav.open .burger i { background: transparent; }
.nav.open .burger i::before { transform: translate(-50%, -50%) rotate(45deg); background: var(--text); }
.nav.open .burger i::after { transform: translate(-50%, -50%) rotate(-45deg); background: var(--text); }

/* ---------- Giriş ---------- */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.5); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 25%, rgba(13, 20, 36, .55)), linear-gradient(180deg, transparent 70%, var(--bg)); }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 20px; max-width: 760px; }
.hero h1 em { font-style: normal; display: block; color: var(--muted); font-weight: 500; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 600px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-size: 22px; font-weight: 600; }
.hero-meta span { font-size: 13px; color: var(--dim); }

/* Ana sayfa girişi: ortada banner, altında kısa metin. Banner'ın siyah zemini
   "lighten" ile lacivert zemine karışır, kenarları maskeyle yumuşar. */
.home-hero { min-height: auto; padding: 96px 0 72px; text-align: center; }
.home-hero .banner {
    width: min(920px, 100%); height: auto; margin: 0 auto 8px; mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%);
}
.home-hero h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 14px auto 14px; max-width: 720px; }
.home-hero .lead { margin-inline: auto; }
.home-hero .hero-cta { justify-content: center; }
.home-hero .hero-meta { margin: 48px auto 0; justify-content: center; }
.home-hero .hero-meta div { align-items: center; }

/* ---------- Script kartları ---------- */
.featured {
    display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; background: var(--panel); margin-bottom: 22px; transition: border-color .3s;
}
.featured:hover { border-color: #34425f; }
.featured .shot { position: relative; overflow: hidden; min-height: 340px; }
.featured .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 92% 70%; transition: transform .8s var(--ease); }
.featured:hover .shot img { transform: scale(1.03); }
.featured .body { padding: 40px; display: flex; flex-direction: column; }
.featured h3 { font-size: 26px; margin: 12px 0 8px; }
.featured p { color: var(--muted); }
.featured .tag { align-self: flex-start; }
.featured .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.ticks { list-style: none; margin: 20px 0 28px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 20px; font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); color: var(--muted); }
.tag.live { color: var(--text); }
.tag.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5cc98a; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); border-color: #34425f; }
.card .icon { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(var(--accent-rgb), .08); }
.card .icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .tag { position: absolute; top: 22px; right: 20px; }
.card code { display: block; margin-top: 16px; font-size: 12px; color: var(--dim); }

/* ---------- Neden ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why div { padding: 4px 0; }
.why svg { width: 24px; height: 24px; stroke: var(--accent); margin-bottom: 12px; }
.why h3 { font-size: 16px; margin-bottom: 6px; }
.why p { font-size: 14.5px; color: var(--muted); }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; gap: 10px; }
.gallery button { overflow: hidden; border-radius: 8px; }
.gallery button:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery button:nth-child(2), .gallery button:nth-child(3) { grid-column: span 3; }
.gallery button:nth-child(n+4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 12, 22, .95); display: grid; place-items: center; padding: 4vw; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; border-radius: 8px; }
.lightbox .x { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); font-size: 20px; }

/* ---------- Sunucu ---------- */
.server { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.server .frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.server .frame img { width: 100%; aspect-ratio: 520 / 440; object-fit: cover; }

/* ---------- İletişim ---------- */
.contact { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(36px, 6vw, 64px); text-align: center; background: var(--panel); }
.contact .lead { margin: 0 auto 30px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); text-align: left; border: 1px solid var(--line); background: var(--bg); transition: border-color .25s, transform .25s var(--ease); }
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-card svg { width: 22px; height: 22px; stroke: var(--accent); flex-shrink: 0; }
.contact-card small { display: block; font-size: 12px; color: var(--dim); }
.contact-card b { font-weight: 600; font-size: 15px; }
.contact-card em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------- Alt bilgi ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer .logo span { font-size: 15px; color: var(--text); }
footer .logo img { width: 26px; height: 26px; }
footer nav { display: flex; gap: 22px; }
footer nav a:hover { color: var(--text); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; background: var(--text); color: var(--bg); transform: translate(-50%, 20px); opacity: 0; transition: transform .3s var(--ease), opacity .3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Script sayfası ---------- */
.page-hero { min-height: 84vh; }
.crumbs { font-size: 13px; color: var(--dim); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.page-hero .tag { margin-bottom: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.shot-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.shot-frame figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 6px; font-size: 12px; background: rgba(8, 12, 22, .8); color: var(--muted); }
.device-shot { max-width: 360px; margin-inline: auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.feature .num { font-size: 13px; font-weight: 600; color: var(--dim); }
.feature h3 { font-size: 16px; margin: 6px 0 6px; }
.feature p { font-size: 14.5px; color: var(--muted); }

.steps { counter-reset: s; list-style: none; display: grid; gap: 16px; margin-top: 8px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 36px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; border: 1px solid var(--line); color: var(--accent); }
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--muted); font-size: 14.5px; }
kbd { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 4px; font-family: var(--font); font-size: 12px; font-weight: 700; border: 1px solid var(--line); background: var(--panel); text-align: center; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.tier header { padding: 18px 20px 14px; display: flex; align-items: baseline; justify-content: space-between; }
.tier header h3 { font-size: 16px; }
.tier header span { font-size: 20px; font-weight: 600; color: var(--muted); }
.tier .bar { height: 2px; background: var(--line); }
.tier .bar i { display: block; height: 100%; width: 0; background: var(--c); transition: width 1.2s var(--ease) .2s; }
.tier.in .bar i, html:not(.js) .tier .bar i { width: var(--w); }
.tier ul { list-style: none; padding: 8px 10px 12px; }
.tier li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; }
.tier li img { width: 34px; height: 34px; object-fit: contain; }
.tier li b { font-weight: 500; font-size: 14.5px; flex: 1; }
.tier li em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.spec { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.spec h3 { font-size: 16px; margin-bottom: 12px; }
.spec ul { list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.note { border-left: 2px solid var(--accent); padding: 14px 18px; background: var(--panel); border-radius: 0 8px 8px 0; font-size: 14px; color: var(--muted); }
.note b { color: var(--text); font-weight: 600; }

/* ---------- Belirme ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Duyarlı ---------- */
@media (max-width: 980px) {
    .featured { grid-template-columns: 1fr; }
    .featured .shot { min-height: 240px; }
    .featured .body { padding: 28px 24px; }
    .why { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
    .server, .split { grid-template-columns: 1fr; gap: 36px; }
    .split.flip > :first-child { order: 0; }
    .features, .tiers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .burger { display: block; }
    .menu {
        position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 24px 20px;
        background: var(--bg); border-bottom: 1px solid var(--line);
        opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease);
    }
    .nav.open .menu { opacity: 1; pointer-events: auto; transform: none; }
    .menu li { border-bottom: 1px solid var(--line); }
    .menu li:last-child { border: 0; padding-top: 14px; }
    .menu a:not(.btn) { display: block; padding: 14px 0; }
    .menu .btn { justify-content: center; width: 100%; padding: 12px; }
    .hero-meta { gap: 24px; }
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
    .gallery button:nth-child(n) { grid-column: span 1; grid-row: span 1; }
    .gallery button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .contact-cards, .features, .tiers, .specs, .why { grid-template-columns: 1fr; }
    footer .wrap { flex-direction: column; text-align: center; }
}
