/* ==========================================================================
   h8x.net — ortak tema (Bootstrap tabanlı). Tüm sayfalar bu dosyayı paylaşır.
   Kaynak tasarım dili: h8x Bootstrap mockup ailesi (pricing/about/features...).
   ========================================================================== */
:root {
    --h8x-dark: #070b18;
    --h8x-navy: #101a34;
    --h8x-card: rgba(255,255,255,.08);
    --h8x-border: rgba(255,255,255,.14);
    --h8x-text: #dce5ff;
    --h8x-muted: #96a3c7;
    --h8x-blue: #4f7cff;
    --h8x-cyan: #20d6ff;
    --h8x-purple: #a56bff;
    --h8x-green: #3bea9f;
    --h8x-orange: #ffb14f;
    --h8x-danger: #ff5e7d;
    --h8x-radius: 28px;
    --h8x-shadow: 0 30px 90px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    color: #fff;
    background:
        radial-gradient(circle at 10% 10%, rgba(79,124,255,.35), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(165,107,255,.32), transparent 28%),
        radial-gradient(circle at 50% 90%, rgba(32,214,255,.16), transparent 34%),
        var(--h8x-dark);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ---- Preloader ---- */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(7,11,24,.98);
    display: grid;
    place-items: start center;
    padding-top: 22px;
    transition: opacity .45s ease, visibility .45s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-top {
    width: min(720px, calc(100vw - 40px));
    border: 1px solid var(--h8x-border);
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    border-radius: 999px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--h8x-shadow);
    backdrop-filter: blur(20px);
}
.loader-orb { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(from 90deg, var(--h8x-cyan), var(--h8x-purple), var(--h8x-blue), var(--h8x-cyan)); animation: spin 1s linear infinite; }
.loader-line { flex: 1; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.12); }
.loader-line span { display: block; height: 100%; width: 55%; border-radius: 999px; background: linear-gradient(90deg, var(--h8x-blue), var(--h8x-cyan), var(--h8x-purple)); animation: loadingLine 1.15s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loadingLine { from { transform: translateX(-80%); } to { transform: translateX(115%); } }

/* ---- Navbar ---- */
.navbar-wrap { position: sticky; top: 0; z-index: 1000; padding: 16px 0; transition: .3s ease; }
.navbar-wrap.scrolled { background: rgba(7,11,24,.72); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-shell { border: 1px solid var(--h8x-border); background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.045)); border-radius: 24px; padding: 12px 16px; box-shadow: 0 16px 60px rgba(0,0,0,.24); backdrop-filter: blur(22px); }
.brand-mark { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-weight: 900; letter-spacing: -1px; background: linear-gradient(135deg, var(--h8x-blue), var(--h8x-cyan) 55%, var(--h8x-purple)); box-shadow: 0 12px 35px rgba(32,214,255,.28); }
.brand-text strong { display: block; line-height: 1; font-size: 1.18rem; }
.brand-text small { color: var(--h8x-muted); }
.brand-logo { height: 50px; width: auto; display: block; transition: transform .25s ease, filter .25s ease; filter: drop-shadow(0 2px 10px rgba(79,124,255,.35)); }
.navbar-brand:hover .brand-logo { transform: translateY(-1px); filter: drop-shadow(0 3px 14px rgba(32,214,255,.5)) brightness(1.08); }
.footer-logo { height: 58px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(79,124,255,.3)); }
@media (max-width: 575.98px){ .brand-logo { height: 40px; } }
/* nav öğeleri tek satır (ikon+metin yan yana, sarkma yok) */
.navbar-nav .nav-link { white-space: nowrap; display: inline-flex; align-items: center; }
.navbar-nav .nav-link i { flex: 0 0 auto; }
.nav-icon-only { padding: 10px !important; font-size: 1.1rem; }
/* dil bayrağı */
.lang-flag { display: inline-flex; padding: 4px; border-radius: 50%; line-height: 0; transition: transform .2s ease, box-shadow .2s ease; }
.lang-flag img { border-radius: 50%; display: block; box-shadow: 0 2px 10px rgba(0,0,0,.35); border: 1.5px solid rgba(255,255,255,.25); }
.lang-flag:hover { transform: translateY(-1px); }
.lang-flag:hover img { box-shadow: 0 4px 16px rgba(32,214,255,.4); }
/* nav ayraç */
.nav-divider { width: 1px; height: 26px; margin: 0 6px; align-self: center; background: rgba(255,255,255,.16); }
.navbar-nav .nav-link { color: var(--h8x-text); font-weight: 650; padding: 10px 13px !important; border-radius: 14px; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { background: rgba(255,255,255,.1); color: #fff; }
.dropdown-menu { background: rgba(12,18,38,.96); border: 1px solid var(--h8x-border); border-radius: 18px; padding: 10px; box-shadow: var(--h8x-shadow); }
.dropdown-item { color: var(--h8x-text); border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.dropdown-item:hover { background: rgba(79,124,255,.18); color: #fff; }

/* ---- Buttons ---- */
.btn-h8x { border: 0; border-radius: 999px; color: #fff; font-weight: 800; padding: 12px 20px; background: linear-gradient(135deg, var(--h8x-blue), var(--h8x-cyan)); box-shadow: 0 16px 38px rgba(79,124,255,.32); }
.btn-h8x:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost { border: 1px solid var(--h8x-border); border-radius: 999px; color: #fff; font-weight: 800; padding: 12px 20px; background: rgba(255,255,255,.07); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); }

/* ---- Layout primitives ---- */
.section { padding: 90px 0; position: relative; }
.hero { padding: 86px 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #fff; border: 1px solid var(--h8x-border); border-radius: 999px; padding: 9px 14px; background: rgba(255,255,255,.08); font-weight: 800; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 5.7rem); line-height: .95; letter-spacing: -4px; font-weight: 950; margin-bottom: 24px; }
.gradient-text { background: linear-gradient(135deg, #fff, var(--h8x-cyan), var(--h8x-purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--h8x-text); font-size: 1.18rem; line-height: 1.75; }
.muted { color: var(--h8x-muted); }
.fw-black { font-weight: 950; }
.glass-card { border: 1px solid var(--h8x-border); background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.045)); border-radius: var(--h8x-radius); box-shadow: var(--h8x-shadow); backdrop-filter: blur(20px); }

/* ---- Feature / info list ---- */
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 10px; color: var(--h8x-text); align-items: flex-start; }
.feature-list i { color: var(--h8x-green); margin-top: 2px; }

/* ---- Icon tile (features/solutions/steps) ---- */
.tile-icon { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; font-size: 1.55rem; background: rgba(255,255,255,.1); border: 1px solid var(--h8x-border); margin-bottom: 18px; color: var(--h8x-cyan); }
.hover-card { transition: .32s ease; height: 100%; padding: 30px; }
.hover-card:hover { transform: translateY(-8px); border-color: rgba(32,214,255,.38); }

/* ---- Stat ---- */
.stat-card { padding: 24px; height: 100%; }
a.stat-card { transition: .28s ease; }
a.stat-card:hover { transform: translateY(-4px); border-color: rgba(32,214,255,.38); }
.stat-card h3 { font-size: 2.4rem; font-weight: 950; letter-spacing: -1px; margin: 0; }

/* ---- Step number ---- */
.step-num { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-weight: 950; color: #071021; background: linear-gradient(135deg, var(--h8x-cyan), var(--h8x-blue)); margin-bottom: 16px; }

/* ---- Homepage: canlı kısaltıcı ---- */
.shortener { padding: 16px; border-radius: 26px; }
.shortener .form-control { height: 60px; border-radius: 18px; border: 1px solid var(--h8x-border); background: rgba(2,6,23,.5); color: #fff; font-weight: 700; padding-left: 20px; }
.shortener .form-control:focus { border-color: rgba(32,214,255,.55); box-shadow: 0 0 0 4px rgba(32,214,255,.12); background: rgba(2,6,23,.5); color: #fff; }
.shortener .form-control::placeholder { color: var(--h8x-muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--h8x-border); color: var(--h8x-text); font-size: .85rem; font-weight: 700; }

/* ---- Pricing ---- */
.pricing-toggle { display: inline-flex; gap: 8px; padding: 7px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--h8x-border); }
.pricing-toggle button { border: 0; border-radius: 999px; color: var(--h8x-text); background: transparent; padding: 10px 16px; font-weight: 850; }
.pricing-toggle button.active { color: #071021; background: #fff; }
.pricing-card { position: relative; height: 100%; padding: 30px; overflow: hidden; transition: .32s ease; }
.pricing-card:hover { transform: translateY(-8px); border-color: rgba(32,214,255,.38); }
.pricing-card.featured { border-color: rgba(32,214,255,.55); background: radial-gradient(circle at 70% 0%, rgba(32,214,255,.22), transparent 35%), linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); }
.badge-popular { position: absolute; right: 22px; top: 22px; border-radius: 999px; padding: 8px 12px; color: #071021; background: linear-gradient(135deg, var(--h8x-cyan), var(--h8x-green)); font-weight: 950; font-size: .78rem; }
.price { display: flex; align-items: flex-end; gap: 8px; margin: 18px 0 10px; }
.price strong { font-size: 3rem; letter-spacing: -2px; line-height: 1; }
.price span { color: var(--h8x-muted); margin-bottom: 7px; font-weight: 700; }
.save-pill { display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; padding: 7px 11px; background: rgba(59,234,159,.12); color: var(--h8x-green); font-weight: 850; font-size: .84rem; margin-bottom: 20px; }

/* ---- CTA box ---- */
.cta-box { overflow: hidden; position: relative; padding: clamp(32px, 6vw, 66px); }
.cta-box:before { content: ""; position: absolute; inset: -40%; background: radial-gradient(circle, rgba(32,214,255,.25), transparent 32%), radial-gradient(circle at 80% 30%, rgba(165,107,255,.26), transparent 28%); animation: floatBg 9s ease-in-out infinite alternate; }
.cta-box > * { position: relative; z-index: 1; }
@keyframes floatBg { to { transform: translate3d(5%, -4%, 0) rotate(8deg); } }

/* ---- Footer ---- */
footer { padding: 70px 0 35px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.16); }
.footer-link { color: var(--h8x-muted); display: block; margin: 10px 0; }
.footer-link:hover { color: #fff; }

/* ---- Back to top ---- */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--h8x-border); background: linear-gradient(135deg, var(--h8x-blue), var(--h8x-cyan)); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: .28s ease; z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---- Forms (login/register/contact) ---- */
.form-control, .form-select, textarea.form-control { color: #fff; border: 1px solid var(--h8x-border); border-radius: 18px; background: rgba(255,255,255,.075); padding: 14px 16px; }
.form-control:focus, .form-select:focus { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(32,214,255,.55); box-shadow: 0 0 0 .25rem rgba(32,214,255,.12); }
.form-control::placeholder { color: rgba(220,229,255,.55); }
.form-select option { color: #101a34; }
.form-label { color: var(--h8x-text); }

/* ---- Auth (login/register) ---- */
.login-shell { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 42px); }
.login-shell:before { content: ""; position: absolute; inset: -35% -20% auto auto; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(32,214,255,.22), transparent 68%); pointer-events: none; }
.login-shell > * { position: relative; z-index: 1; }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 7px; border-radius: 999px; border: 1px solid var(--h8x-border); background: rgba(255,255,255,.07); margin-bottom: 24px; }
.login-tabs a { text-align: center; padding: 11px 14px; border-radius: 999px; color: var(--h8x-text); font-weight: 900; }
.login-tabs a.active { color: #071021; background: #fff; }
.password-field { position: relative; }
.password-field .bi { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--h8x-muted); cursor: pointer; }
.login-divider { display: flex; align-items: center; gap: 14px; color: var(--h8x-muted); font-size: .9rem; font-weight: 800; margin: 24px 0; }
.login-divider:before, .login-divider:after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.12); }
.social-login { border: 1px solid var(--h8x-border); background: rgba(255,255,255,.07); color: #fff; border-radius: 18px; padding: 13px 15px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 10px; transition: .25s ease; }
.social-login:hover { transform: translateY(-2px); background: rgba(255,255,255,.11); color: #fff; }
.login-stat { padding: 20px; border-radius: 24px; border: 1px solid var(--h8x-border); background: rgba(255,255,255,.06); height: 100%; }
.login-stat strong { font-size: 1.8rem; letter-spacing: -1px; }

/* ---- Contact ---- */
.contact-card { padding: 26px; height: 100%; transition: .3s ease; }
.contact-card:hover { transform: translateY(-6px); border-color: rgba(32,214,255,.38); }
.contact-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 16px; background: rgba(255,255,255,.1); border: 1px solid var(--h8x-border); color: var(--h8x-cyan); }
.support-chip { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 12px; margin: 4px 6px 0 0; background: rgba(255,255,255,.08); border: 1px solid var(--h8x-border); font-weight: 700; font-size: .85rem; }
.alert-soft { border: 1px solid var(--h8x-border); border-radius: 18px; padding: 14px 18px; }
.alert-soft.ok { background: rgba(59,234,159,.12); color: var(--h8x-green); }
.alert-soft.err { background: rgba(255,94,125,.12); color: var(--h8x-danger); }

/* ---- Blog ---- */
.blog-card { overflow: hidden; height: 100%; transition: .3s ease; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(32,214,255,.38); }
.blog-cover { height: 200px; background-size: cover; background-position: center; background-color: rgba(255,255,255,.05); }
.blog-tag { display: inline-block; border-radius: 999px; padding: 5px 12px; font-size: .78rem; font-weight: 800; background: rgba(79,124,255,.18); color: var(--h8x-cyan); }
.article-body { color: var(--h8x-text); line-height: 1.85; font-size: 1.06rem; }
.article-body h2, .article-body h3 { margin: 28px 0 12px; font-weight: 800; }
.article-body img { max-width: 100%; border-radius: 18px; }

/* ---- Dashboard ---- */
.user-chip { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 7px 12px 7px 7px; background: rgba(255,255,255,.08); font-weight: 800; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--h8x-cyan), var(--h8x-purple)); color: #071021; font-weight: 950; }
.dashboard-wrap { padding: 40px 0 90px; }
.panel-head { padding: 34px; overflow: hidden; position: relative; }
.stat-icon { width: 50px; height: 50px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 1.45rem; margin-bottom: 18px; }
.trend { display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: .82rem; font-weight: 900; background: rgba(59,234,159,.14); color: var(--h8x-green); }
.quick-create { padding: 28px; }
.action-card { padding: 22px; display: flex; align-items: center; gap: 16px; transition: .28s ease; height: 100%; }
.action-card:hover { transform: translateY(-4px); border-color: rgba(32,214,255,.38); }
.section-label { font-weight: 800; opacity: .85; font-size: .95rem; }
.section-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; height: 100%; text-decoration: none; color: inherit; transition: .28s ease; }
.section-card:hover { transform: translateY(-4px); border-color: rgba(32,214,255,.38); }
.section-card .stat-icon { margin-bottom: 12px; }
.section-card .sc-count { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.section-card .sc-title { font-weight: 800; margin-top: 2px; }
.section-card .sc-go { margin-top: auto; padding-top: 12px; color: var(--h8x-cyan); font-weight: 700; font-size: .85rem; }
.api-pre { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: .85rem; color: #cbd5e1; white-space: pre; margin: 0 0 20px; }
.table-card { padding: 26px; overflow: hidden; }
.h8x-table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.h8x-table th { color: var(--h8x-muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 0 14px; text-align: left; }
.h8x-table td { background: rgba(255,255,255,.05); padding: 16px 14px; color: var(--h8x-text); vertical-align: middle; }
.h8x-table td:first-child { border-radius: 16px 0 0 16px; }
.h8x-table td:last-child { border-radius: 0 16px 16px 0; }
.link-badge { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 10px; background: rgba(32,214,255,.12); color: var(--h8x-cyan); font-weight: 850; }
.status-pill { border-radius: 999px; padding: 7px 10px; background: rgba(59,234,159,.12); color: var(--h8x-green); font-weight: 850; font-size: .84rem; }
.status-pill.off { background: rgba(150,163,199,.14); color: var(--h8x-muted); }
.mini-chart { height: 170px; display: flex; align-items: end; gap: 10px; padding-top: 20px; }
.mini-chart .bar { flex: 1; min-width: 16px; border-radius: 999px 999px 8px 8px; background: linear-gradient(180deg, var(--h8x-cyan), var(--h8x-blue)); opacity: .88; }
.side-widget { padding: 24px; }
.activity-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { width: 38px; height: 38px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--h8x-cyan); flex: 0 0 auto; }
.table-responsive-soft { overflow-x: auto; }

/* ---- QR ---- */
.qr-card { padding: 22px; height: 100%; transition: .28s ease; }
.qr-card:hover { transform: translateY(-5px); border-color: rgba(32,214,255,.38); }
.qr-canvas { background: #fff; border-radius: 16px; padding: 12px; width: 148px; height: 148px; display: grid; place-items: center; margin: 0 auto 16px; }
.qr-canvas svg, .qr-canvas img { width: 100%; height: 100%; display: block; }

@media (max-width: 991px) {
    .hero h1 { letter-spacing: -2px; }
    .section { padding: 64px 0; }
    .nav-shell { border-radius: 20px; }
    .navbar-collapse { padding-top: 16px; }
    .panel-head { padding: 26px; }
    .h8x-table { min-width: 760px; }
    .dashboard-wrap { padding-top: 24px; }
}

/* ---- Footer sign + yasal linkler ---- */
.legal-links .footer-link { opacity: .82; }
.footer-sign #ucxfooter { display: inline-flex; }
.footer-sign #ucxfooter img { height: 22px; width: auto; opacity: .85; vertical-align: middle; transition: opacity .2s ease; }
.footer-sign #ucxfooter img:hover { opacity: 1; }

/* ---- Çerez onay widget'ı ---- */
.hero-sm { padding-top: 120px; padding-bottom: 30px; }
.legal-body h2 { font-size: 1.3rem; font-weight: 800; margin: 28px 0 12px; }
.legal-body h3 { font-size: 1.08rem; font-weight: 700; margin: 22px 0 10px; }
.legal-body p, .legal-body li { color: rgba(255,255,255,.78); line-height: 1.75; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 16px; }
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; padding: 14px; transform: translateY(140%); transition: transform .32s ease; }
.cookie-consent.show { transform: translateY(0); }
.cookie-consent-inner { max-width: 1100px; margin: 0 auto; background: rgba(16,18,30,.97); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.cookie-consent-text { flex: 1 1 340px; font-size: .9rem; color: rgba(255,255,255,.82); }
.cookie-consent-text a { color: var(--h8x-cyan); text-decoration: underline; margin-left: 4px; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; margin-left: auto; }
@media (max-width: 575px) {
    .cookie-consent-actions { width: 100%; }
    .cookie-consent-actions .btn { flex: 1; }
}
