/* ==========================================================================
   Fubby — fubby.social
   Koyu tema, doga/kamp atmosferi.
   Sayfalar: index.html, gizlilik.html, kosullar.html
   ========================================================================== */

:root {
    --bg: #090D13;
    --bg-2: #0D1219;
    --surface: #131A24;
    --surface-2: #18212D;
    --line: rgba(255, 255, 255, .075);
    --line-strong: rgba(255, 255, 255, .14);

    --ink: #EDF1F7;
    --ink-soft: #97A3B6;
    --ink-faint: #66718408;
    --muted: #6C7789;

    --ember: #FF8A3D;
    --ember-deep: #F2670E;
    --pine: #3FCF8E;
    --sky: #5EA8FF;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;

    --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                 Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.18; letter-spacing: -.022em; margin: 0; }

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

/* --------------------------------------------------------------- logo --- */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -.03em;
    color: var(--ink);
    text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(150deg, var(--ember) 0%, #FFB061 50%, #C9481F 120%);
    display: grid;
    place-items: center;
    flex: none;
    box-shadow: 0 0 20px rgba(255, 138, 61, .32);
}
.logo-mark svg { width: 19px; height: 19px; display: block; }

/* ---------------------------------------------------------------- nav --- */

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(9, 13, 19, .72);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}
.nav.is-stuck {
    border-bottom-color: var(--line);
    background: rgba(9, 13, 19, .9);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ------------------------------------------------------------ butonlar --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease,
                border-color .16s ease;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--ember), var(--ember-deep));
    color: #120600;
    box-shadow: 0 6px 22px rgba(255, 138, 61, .28);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(255, 138, 61, .4); }

.btn-ghost {
    background: rgba(255, 255, 255, .04);
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* magaza rozetleri */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }

.store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px 11px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-strong);
    color: var(--ink);
    text-decoration: none;
    transition: transform .16s ease, background .16s ease;
}
.store:hover { text-decoration: none; transform: translateY(-2px); background: rgba(255, 255, 255, .09); }
.store svg { width: 23px; height: 23px; flex: none; }
.store span { display: block; line-height: 1.2; }
.store .store-top { font-size: 11px; color: var(--muted); letter-spacing: .03em; }
.store .store-name { font-size: 15.5px; font-weight: 700; }

.store.is-soon { opacity: .62; cursor: default; }
.store.is-soon:hover { transform: none; background: rgba(255, 255, 255, .05); }

/* --------------------------------------------------------------- hero --- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 0;
    background:
        radial-gradient(120% 90% at 50% -10%, #1B2433 0%, transparent 58%),
        radial-gradient(60% 50% at 50% 78%, rgba(255, 138, 61, .16) 0%, transparent 70%),
        var(--bg);
}

/* yildizlar */
.stars {
    position: absolute;
    inset: 0 0 38% 0;
    pointer-events: none;
    background-image:
        radial-gradient(1.6px 1.6px at 8% 22%, rgba(255, 255, 255, .8), transparent 60%),
        radial-gradient(1.2px 1.2px at 17% 9%, rgba(255, 255, 255, .5), transparent 60%),
        radial-gradient(1.4px 1.4px at 26% 32%, rgba(255, 255, 255, .45), transparent 60%),
        radial-gradient(1px 1px at 34% 14%, rgba(255, 255, 255, .6), transparent 60%),
        radial-gradient(1.7px 1.7px at 44% 6%, rgba(255, 255, 255, .55), transparent 60%),
        radial-gradient(1.1px 1.1px at 57% 26%, rgba(255, 255, 255, .5), transparent 60%),
        radial-gradient(1.5px 1.5px at 66% 12%, rgba(255, 255, 255, .7), transparent 60%),
        radial-gradient(1.2px 1.2px at 74% 30%, rgba(255, 255, 255, .45), transparent 60%),
        radial-gradient(1.8px 1.8px at 83% 17%, rgba(255, 255, 255, .6), transparent 60%),
        radial-gradient(1px 1px at 92% 8%, rgba(255, 255, 255, .5), transparent 60%),
        radial-gradient(1.3px 1.3px at 96% 34%, rgba(255, 255, 255, .4), transparent 60%),
        radial-gradient(1.1px 1.1px at 3% 40%, rgba(255, 255, 255, .35), transparent 60%);
    animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    /* alt bosluk dag siluetlerini gecmeli — ridge yuksekligi genislige bagli */
    padding-bottom: 190px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 11px;
    border-radius: 999px;
    background: rgba(255, 138, 61, .1);
    border: 1px solid rgba(255, 138, 61, .26);
    color: #FFB98A;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 26px;
}
.eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 0 3px rgba(255, 138, 61, .2);
}

.hero h1 {
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 800;
    margin-bottom: 22px;
}
.hero h1 .accent {
    background: linear-gradient(100deg, #FF7A2E 0%, #FFA95C 52%, #FFD9A6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero .lead {
    font-size: 19px;
    color: var(--ink-soft);
    margin: 0 auto 36px;
    max-width: 33em;
}

.hero .stores { justify-content: center; }

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--muted);
}

/* dag siluetleri */
.ridge {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    pointer-events: none;
}

/* ------------------------------------------------------------ bolumler --- */

.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head {
    max-width: 640px;
    margin: 0 auto 58px;
    text-align: center;
}
.section-head .kicker {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 15px;
}
.section-head h2 {
    font-size: clamp(28px, 3.7vw, 41px);
    font-weight: 800;
    margin-bottom: 16px;
}
.section-head p {
    color: var(--ink-soft);
    font-size: 18px;
    margin: 0;
}

/* kartlar */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(246px, 1fr));
    gap: 20px;
}

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% 0%, rgba(255, 138, 61, .09), transparent 70%);
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    background: var(--surface-2);
}
.card:hover::after { opacity: 1; }

.card-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: rgba(255, 138, 61, .12);
    color: var(--ember);
    border: 1px solid rgba(255, 138, 61, .2);
}
.card-icon svg { width: 23px; height: 23px; }
.card-icon.pine { background: rgba(63, 207, 142, .1); color: var(--pine); border-color: rgba(63, 207, 142, .2); }
.card-icon.sky  { background: rgba(94, 168, 255, .1); color: var(--sky); border-color: rgba(94, 168, 255, .2); }

.card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 9px; position: relative; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; position: relative; }

/* adimlar */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 30px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.step::before {
    counter-increment: step;
    content: '0' counter(step);
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--ember);
    margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* guvenlik */
.safety {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
    gap: 18px;
}
.safety-item {
    display: flex;
    gap: 15px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.safety-item .tick {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: rgba(63, 207, 142, .12);
    color: var(--pine);
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid rgba(63, 207, 142, .22);
}
.safety-item .tick svg { width: 16px; height: 16px; }
.safety-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 5px; }
.safety-item p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* --------------------------------------------------------- cta bandi --- */

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 138, 61, .22);
    background:
        radial-gradient(90% 130% at 50% 115%, rgba(255, 138, 61, .3) 0%, transparent 62%),
        linear-gradient(180deg, #141C26 0%, #0F151D 100%);
    padding: 68px 48px;
    text-align: center;
}
.cta-band h2 {
    font-size: clamp(27px, 3.6vw, 39px);
    font-weight: 800;
    margin-bottom: 14px;
}
.cta-band p {
    font-size: 18px;
    color: var(--ink-soft);
    margin: 0 auto 32px;
    max-width: 34em;
}
.cta-band .stores { justify-content: center; }

/* ------------------------------------------------------------------ sss - */

.faq { max-width: 760px; margin: 0 auto; }

.faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 2px 22px;
    margin-bottom: 11px;
    transition: border-color .2s ease, background .2s ease;
}
.faq details[open] { border-color: var(--line-strong); background: var(--surface-2); }

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-weight: 700;
    font-size: 16.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--ember);
    flex: none;
    line-height: 1;
    transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer {
    padding: 0 0 20px;
    color: var(--ink-soft);
    font-size: 15.5px;
    margin: 0;
}

/* ---------------------------------------------------------------- footer - */

.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 62px 0 30px;
    font-size: 15px;
}
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: none; }

.footer .logo { margin-bottom: 15px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 38px;
    border-bottom: 1px solid var(--line);
}
.footer-grid p { margin: 0; color: var(--muted); max-width: 32em; font-size: 15px; }

.footer h4 {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 11px; }

.footer-bottom {
    padding-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    color: var(--muted);
    font-size: 14px;
}

/* --------------------------------------------------------- metin sayfasi - */

.doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 62px 24px 88px;
}
.doc h1 {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 10px;
}
.doc .updated {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.doc h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 44px 0 14px;
    color: var(--ink);
}
.doc p, .doc li { color: var(--ink-soft); font-size: 16.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--ink); font-weight: 700; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 34px;
    color: var(--ink-soft);
}
.back-link:hover { color: var(--ember); text-decoration: none; }

/* --------------------------------------------------------------- mobil --- */

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero { padding-top: 64px; }
    .hero-inner { padding-bottom: 140px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .cta-band { padding: 52px 26px; border-radius: 22px; }
    .section { padding: 72px 0; }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .hero .lead { font-size: 17.5px; }
    .stores { flex-direction: column; align-items: stretch; }
    .store { justify-content: center; }
    .hero-inner { padding-bottom: 105px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    html { scroll-behavior: auto; }
}
