/* ==========================================================================
   Intervizit tasarım sistemi
   Fikir: ürün bir kartvizit. Arayüz sakin bir "masa" (açık zemin, mürekkep
   rengi metin); kartın kendisi tek renkli, dokulu ve canlı tek nesne.
   ========================================================================== */

:root {
    /* Renkler */
    --ink: #16183A;          /* metin, koyu yüzeyler */
    --ink-2: #3A3F63;        /* ikincil metin */
    --muted: #6A7090;        /* açıklamalar */
    --line: #E2E4EE;         /* çizgiler */
    --line-2: #EEF0F6;
    --paper: #F4F5F9;        /* sayfa zemini */
    --surface: #FFFFFF;      /* paneller */
    --brand: #4334E8;        /* ultramarin: ana eylem */
    --brand-ink: #2B1FB8;
    --brand-tint: #ECEAFE;
    --gold: #F5A524;         /* Pro, vurgu */
    --gold-tint: #FFF3DC;
    --ok: #12805C;
    --ok-tint: #E3F6EE;
    --bad: #C8323F;
    --bad-tint: #FCE9EB;

    /* Tipografi */
    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

    /* Ölçüler */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-card: 22px;
    --shadow-1: 0 1px 2px rgba(22, 24, 58, .06), 0 1px 1px rgba(22, 24, 58, .04);
    --shadow-2: 0 12px 32px -12px rgba(22, 24, 58, .22);
    --shadow-card: 0 30px 60px -24px rgba(22, 24, 58, .45), 0 8px 18px -10px rgba(22, 24, 58, .25);

    /* Bootstrap köprüsü */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-border-color: var(--line);
    --bs-primary: var(--brand);
    --bs-primary-rgb: 67, 52, 232;
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 67, 52, 232;
    --bs-link-hover-color: var(--brand-ink);
    --bs-border-radius: var(--r-md);
    --bs-focus-ring-color: rgba(67, 52, 232, .25);
}

html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.02em;
    font-weight: 700;
}
h1 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.15; }
h2 { font-size: 1.375rem; line-height: 1.25; }
h3 { font-size: 1.125rem; line-height: 1.3; }
p { max-width: 68ch; }
a { text-decoration: none; }
.text-muted, .muted { color: var(--muted) !important; }
.small-print { font-size: .8125rem; color: var(--muted); }

:focus-visible { outline: 3px solid rgba(67, 52, 232, .35); outline-offset: 2px; }

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

/* ---------- Butonlar ---------- */
.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: .55rem;
    --bs-btn-border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    letter-spacing: -.005em;
}
.btn-lg { --bs-btn-padding-x: 1.35rem; --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 12px; }
.btn-sm { --bs-btn-padding-x: .7rem; --bs-btn-padding-y: .35rem; --bs-btn-font-size: .8125rem; --bs-btn-border-radius: 8px; }
.btn-primary {
    --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-ink); --bs-btn-hover-border-color: var(--brand-ink);
    --bs-btn-active-bg: var(--brand-ink); --bs-btn-active-border-color: var(--brand-ink);
    --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand);
    box-shadow: 0 6px 16px -8px rgba(67, 52, 232, .7);
}
.btn-ink {
    --bs-btn-color: #fff; --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #262a5a; --bs-btn-hover-border-color: #262a5a;
    --bs-btn-active-color: #fff; --bs-btn-active-bg: #262a5a;
}
.btn-light, .btn-outline {
    --bs-btn-color: var(--ink); --bs-btn-bg: var(--surface); --bs-btn-border-color: var(--line);
    --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--line-2); --bs-btn-hover-border-color: #d3d6e3;
    --bs-btn-active-bg: var(--line); --bs-btn-active-border-color: #d3d6e3;
}
.btn-gold {
    --bs-btn-color: #2b1d00; --bs-btn-bg: var(--gold); --bs-btn-border-color: var(--gold);
    --bs-btn-hover-color: #2b1d00; --bs-btn-hover-bg: #e8961a; --bs-btn-hover-border-color: #e8961a;
    --bs-btn-active-bg: #e8961a;
}
.btn-ghost {
    --bs-btn-color: var(--ink-2); --bs-btn-bg: transparent; --bs-btn-border-color: transparent;
    --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--line-2); --bs-btn-hover-border-color: transparent;
}
.btn-danger-soft {
    --bs-btn-color: var(--bad); --bs-btn-bg: var(--bad-tint); --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--bad); --bs-btn-hover-border-color: var(--bad);
}
.btn-icon { width: 38px; height: 38px; padding: 0; }

/* ---------- Form ---------- */
.form-label { font-weight: 600; font-size: .875rem; color: var(--ink); margin-bottom: .35rem; }
.form-hint { font-size: .8125rem; color: var(--muted); margin-top: .3rem; }
.form-control, .form-select {
    border-color: var(--line); border-radius: 10px; padding: .6rem .8rem; font-size: .9375rem;
    background-color: var(--surface); color: var(--ink);
}
.form-control::placeholder { color: #a2a7bf; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(67, 52, 232, .12); }
.form-control.input-validation-error { border-color: var(--bad); }
.field-validation-error, .text-danger { color: var(--bad) !important; font-size: .8125rem; }
.validation-summary-errors ul { margin: 0; padding-left: 1rem; }
.input-group-text { background: var(--line-2); border-color: var(--line); color: var(--muted); border-radius: 10px; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* ---------- Paneller ---------- */
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-1);
}
.panel-body { padding: 1.5rem; }
.panel-head { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 1rem; }
@media (max-width: 575.98px) { .panel-body { padding: 1.1rem; } .panel-head { padding: .9rem 1.1rem; } }

.alert-note {
    display: flex; gap: .75rem; align-items: flex-start;
    padding: .85rem 1rem; border-radius: var(--r-md); font-size: .9rem; border: 1px solid transparent;
}
.alert-note i { font-size: 1.1rem; line-height: 1.3; }
.alert-note.ok { background: var(--ok-tint); color: #0b5c42; border-color: #bfe8d6; }
.alert-note.bad { background: var(--bad-tint); color: #8f1f29; border-color: #f4c7cc; }
.alert-note.info { background: var(--brand-tint); color: var(--brand-ink); border-color: #d6d1fd; }
.alert-note.gold { background: var(--gold-tint); color: #6b4400; border-color: #f7dca8; }

.badge-soft { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--line-2); color: var(--ink-2); }
.badge-soft.brand { background: var(--brand-tint); color: var(--brand-ink); }
.badge-soft.gold { background: var(--gold-tint); color: #7a4d00; }
.badge-soft.ok { background: var(--ok-tint); color: var(--ok); }
.badge-soft.bad { background: var(--bad-tint); color: var(--bad); }

/* ---------- Uygulama iskeleti ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; gap: 1.25rem;
    padding: 1.25rem 1rem;
    background: var(--surface);
    border-right: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 30px; height: 30px; border-radius: 8px; position: relative; flex: none;
    background: var(--ink);
}
.brand-mark::before { /* kartın köşesindeki çip */
    content: ""; position: absolute; left: 7px; top: 8px; width: 9px; height: 7px; border-radius: 2px; background: var(--gold);
}
.brand-mark::after { /* yazı satırları */
    content: ""; position: absolute; left: 7px; bottom: 8px; width: 16px; height: 3px; border-radius: 2px; background: #fff; box-shadow: 0 -5px 0 -0.5px rgba(255,255,255,.45);
}
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-group-title { font-size: .75rem; font-weight: 600; color: var(--muted); padding: .25rem .75rem; margin-top: .25rem; }
.nav-item-link {
    display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; border-radius: 10px;
    color: var(--ink-2); font-weight: 500; font-size: .9375rem;
}
.nav-item-link i { font-size: 1.05rem; color: var(--muted); }
.nav-item-link:hover { background: var(--line-2); color: var(--ink); }
.nav-item-link.active { background: var(--brand-tint); color: var(--brand-ink); font-weight: 600; }
.nav-item-link.active i { color: var(--brand); }
.nav-item-link .badge-soft { margin-left: auto; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: .75rem; }
.upsell {
    border-radius: 14px; padding: .9rem; background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.upsell strong { font-family: var(--font-display); font-size: 1rem; display: block; margin-bottom: .2rem; }
.upsell p { color: rgba(255,255,255,.72); font-size: .8125rem; margin-bottom: .7rem; }
.user-chip { display: flex; align-items: center; gap: .6rem; padding: .5rem; border-radius: 12px; border: 1px solid var(--line); }
.user-chip .avatar { width: 34px; height: 34px; font-size: .8rem; }
.user-chip .name { font-weight: 600; font-size: .875rem; line-height: 1.2; }
.user-chip .chip-plan { font-size: .75rem; color: var(--muted); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; }
.sidebar-backdrop { display: none; }
.content { padding: 2rem 2.25rem 4rem; max-width: 1180px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .35rem 0 0; color: var(--muted); }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

@media (max-width: 991.98px) {
    .shell { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 1045; transform: translateX(-100%);
        transition: transform .2s ease; box-shadow: var(--shadow-2);
    }
    .sidebar.open { transform: none; }
    .sidebar-backdrop { position: fixed; inset: 0; background: rgba(22, 24, 58, .35); z-index: 1040; display: none; }
    .sidebar.open + .sidebar-backdrop { display: block; }
    .topbar {
        display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        position: sticky; top: 0; z-index: 1030; padding: .7rem 1rem; background: rgba(255,255,255,.92);
        backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
    }
    .content { padding: 1.25rem 1rem 3rem; }
}

/* ---------- Avatar ---------- */
.avatar {
    display: inline-grid; place-items: center; flex: none; overflow: hidden;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--brand-tint); color: var(--brand-ink);
    font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- İstatistik ---------- */
.stat { padding: 1.1rem 1.25rem; }
.stat-label { font-size: .8125rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.stat-value { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-top: .15rem; }
.stat-foot { font-size: .8125rem; color: var(--muted); }

/* ---------- Tablo ---------- */
.table-clean { width: 100%; margin: 0; font-size: .9rem; }
.table-clean th { font-size: .75rem; font-weight: 600; color: var(--muted); padding: .7rem 1rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; background: #fafbfd; }
.table-clean td { padding: .8rem 1rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table-clean tr:last-child td { border-bottom: 0; }
.table-clean tbody tr:hover td { background: #fafbfe; }
.table-scroll { overflow-x: auto; }

/* ---------- Boş durum ---------- */
.empty {
    text-align: center; padding: 3.5rem 1.5rem; border: 1.5px dashed #d4d7e6; border-radius: var(--r-lg); background: var(--surface);
}
.empty .empty-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 1.5rem; margin-bottom: 1rem; }
.empty h2 { font-size: 1.25rem; }
.empty p { margin: .4rem auto 1.25rem; color: var(--muted); }

/* ==========================================================================
   KARTVİZİT — ürünün kendisi. Tek renkli, ince dokulu, gerçek kart oranlı.
   ========================================================================== */
.vcard {
    --c-from: #2B2D7C; --c-to: #5146E5; --c-ink: #fff;
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 85 / 55;           /* standart kartvizit oranı */
    width: 100%;
    border-radius: var(--r-card);
    color: var(--c-ink);
    background: linear-gradient(135deg, var(--c-from), var(--c-to));
    box-shadow: var(--shadow-card);
    padding: 7% 7.5%;
    display: flex; flex-direction: column; justify-content: space-between;
    container-type: inline-size;
}
.vcard::before { /* ince kağıt dokusu */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vcard::after { /* kenardan vuran ışık */
    content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -25%; top: -45%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent);
}
.vcard[data-theme="sand"]::after { background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent); }
.vcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 4cqi; }
.vcard-photo {
    width: 21cqi; height: 21cqi; border-radius: 50%; overflow: hidden; flex: none;
    border: .6cqi solid rgba(255,255,255,.35); background: rgba(255,255,255,.16);
    display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 7cqi;
}
.vcard[data-theme="sand"] .vcard-photo { border-color: rgba(42,36,24,.15); background: rgba(42,36,24,.06); }
.vcard-photo { position: relative; }
.vcard-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard-company { font-size: 3.6cqi; font-weight: 600; opacity: .85; text-align: right; max-width: 55%; line-height: 1.25; }
.vcard-name { font-family: var(--font-display); font-weight: 700; font-size: 7.4cqi; line-height: 1.05; letter-spacing: -.025em; margin: 0; color: inherit; }
.vcard-title { font-size: 4cqi; opacity: .85; margin-top: 1cqi; }
.vcard-meta { display: flex; flex-wrap: wrap; gap: .5cqi 4cqi; margin-top: 3cqi; font-size: 3.3cqi; opacity: .9; }
.vcard-meta span { display: inline-flex; align-items: center; gap: 1.3cqi; white-space: nowrap; }
.vcard-chip { /* kart çipi: markanın tekrar eden motifi */
    position: absolute; right: 7.5%; bottom: 9%; width: 9cqi; height: 7cqi; border-radius: 1.4cqi;
    background: linear-gradient(135deg, #ffd27a, var(--gold)); box-shadow: inset 0 0 0 .4cqi rgba(0,0,0,.08);
}
.vcard.is-tilted { transform: rotate(-4deg); }

/* Tema eşlemesi */
.vcard[data-theme="indigo"]   { --c-from: #2B2D7C; --c-to: #5146E5; }
.vcard[data-theme="ocean"]    { --c-from: #064E6E; --c-to: #0EA5B7; }
.vcard[data-theme="forest"]   { --c-from: #14452F; --c-to: #2F8F5B; }
.vcard[data-theme="sunset"]   { --c-from: #8A2C4B; --c-to: #F26B4F; }
.vcard[data-theme="graphite"] { --c-from: #1F2430; --c-to: #4B5468; }
.vcard[data-theme="sand"]     { --c-from: #E9DCC6; --c-to: #F7F1E6; --c-ink: #2A2418; }

/* Tema seçici */
.theme-picker { display: flex; gap: .6rem; flex-wrap: wrap; }
.theme-swatch { position: relative; }
.theme-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.theme-swatch label {
    width: 44px; height: 30px; border-radius: 8px; cursor: pointer; display: block;
    background: linear-gradient(135deg, var(--sw-from), var(--sw-to));
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
    transition: transform .12s ease;
}
.theme-swatch input:checked + label { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.theme-swatch input:focus-visible + label { outline: 3px solid rgba(67, 52, 232, .35); outline-offset: 3px; }
.theme-swatch label:hover { transform: translateY(-1px); }

/* Kart listesi (Kartlarım) */
.card-tile { display: flex; flex-direction: column; gap: 1rem; padding: 1rem; }
.card-tile .vcard { box-shadow: 0 18px 30px -20px rgba(22, 24, 58, .5); }
.card-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card-tile-name { font-weight: 600; line-height: 1.25; }
.card-tile-sub { font-size: .8125rem; color: var(--muted); }

/* Sparkline / bar grafik */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.bars span { flex: 1; min-width: 3px; background: var(--brand-tint); border-radius: 3px 3px 0 0; position: relative; }
.bars span.is-recent { background: var(--brand); }
.bars span:hover { background: var(--brand-ink); }
.bars-axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: .4rem; }

/* Paylaşım kutusu */
.share-box { display: flex; gap: .5rem; }
.share-box input { font-size: .875rem; background: var(--paper); }
.qr-frame { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .75rem; display: inline-block; }
.qr-frame img { display: block; width: 168px; height: 168px; }

/* ==========================================================================
   Pazarlama sayfaları
   ========================================================================== */
.site-nav { position: sticky; top: 0; z-index: 1030; background: rgba(244, 245, 249, .86); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.site-links { display: flex; gap: 1.75rem; }
.site-links a { color: var(--ink-2); font-weight: 500; font-size: .9375rem; }
.site-links a:hover { color: var(--ink); }
@media (max-width: 767.98px) { .site-links { display: none; } }

.hero { padding: 4.5rem 0 5rem; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin-bottom: 1.25rem; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-proof { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; font-size: .875rem; color: var(--muted); }
.hero-proof .faces { display: flex; }
.hero-proof .faces .avatar { width: 32px; height: 32px; border: 2px solid var(--paper); margin-left: -8px; font-size: .7rem; }
.hero-proof .faces .avatar:first-child { margin-left: 0; }

/* Masa üstündeki kart yığını */
.desk { position: relative; min-height: 440px; display: grid; place-items: center; }
.desk .vcard { position: absolute; width: min(420px, 92%); }
.desk .card-back { transform: translate(14%, -16%) rotate(9deg); opacity: .95; }
.desk .card-front { transform: translate(-4%, 6%) rotate(-5deg); animation: card-land .9s cubic-bezier(.2,.8,.2,1) both .15s; }
@keyframes card-land {
    from { transform: translate(-4%, 26%) rotate(-12deg); opacity: 0; }
    to   { transform: translate(-4%, 6%) rotate(-5deg); opacity: 1; }
}
.card-back-qr { display: flex; align-items: center; gap: 5cqi; height: 100%; }
.card-back-qr .qr { width: 32cqi; aspect-ratio: 1; background: #fff; border-radius: 3cqi; padding: 2cqi; }
.card-back-qr .qr img { width: 100%; height: 100%; display: block; }
.card-back-qr .txt { font-size: 4cqi; line-height: 1.35; }
.card-back-qr .txt strong { display: block; font-family: var(--font-display); font-size: 5.6cqi; margin-bottom: 1cqi; }
.scan-pill {
    position: absolute; left: 4%; bottom: 6%; z-index: 3; background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; padding: .6rem .85rem; display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow-2); font-size: .85rem;
}
.scan-pill i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ok-tint); color: var(--ok); }
@media (max-width: 991.98px) { .desk { min-height: 340px; margin-top: 2.5rem; } }

.section { padding: 5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin-top: .75rem; }

.use-case { padding: 1.5rem; height: 100%; display: flex; flex-direction: column; gap: .75rem; }
.use-case .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; }
.use-case h3 { margin: .25rem 0 0; }
.use-case p { color: var(--muted); margin: 0; font-size: .9375rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { position: relative; padding: 1.5rem; border-top: 3px solid var(--ink); background: var(--surface); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--brand); display: block; margin-bottom: .75rem; }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 860px; }
.plan { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.plan.is-pro { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.is-pro h3, .plan.is-pro .price { color: #fff; }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-size: .95rem; font-weight: 500; letter-spacing: 0; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .9375rem; }
.plan li { display: flex; gap: .55rem; }
.plan li i { color: var(--ok); }
.plan.is-pro li i { color: var(--gold); }
.plan.is-pro .muted { color: rgba(255,255,255,.65) !important; }
@media (max-width: 767.98px) { .pricing { grid-template-columns: 1fr; } }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .875rem; }

/* Yetkilendirme sayfaları */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side .brand { color: #fff; }
.auth-side .brand-mark { background: #fff; }
.auth-side .brand-mark::after { background: var(--ink); box-shadow: 0 -5px 0 -0.5px rgba(22,24,58,.4); }
.auth-side blockquote { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.25; letter-spacing: -.02em; max-width: 26rem; margin: 0; }
.auth-side .vcard { width: min(380px, 80%); margin: 2rem 0; }
.auth-main { display: grid; place-items: center; padding: 2.5rem 1.25rem; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 1.9rem; margin-bottom: .35rem; }
.auth-card .sub { color: var(--muted); margin-bottom: 1.75rem; }
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ==========================================================================
   Herkese açık kart sayfası (müşterinin müşterisi görür)
   ========================================================================== */
.public-page { min-height: 100vh; background: var(--paper); padding: 1.25rem 1rem 3rem; }
.public-wrap { max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.public-wrap .vcard { margin-top: .5rem; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.quick-actions a {
    display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .8rem .25rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-size: .8125rem; font-weight: 600;
}
.quick-actions a i { font-size: 1.25rem; color: var(--brand); }
.quick-actions a:hover { border-color: #cfd2e3; background: #fbfbfe; }
.info-list { display: flex; flex-direction: column; }
.info-row { display: flex; align-items: center; gap: .85rem; padding: .85rem 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.info-row:last-child { border-bottom: 0; }
.info-row i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--ink-2); flex: none; }
.info-row .lbl { font-size: .75rem; color: var(--muted); line-height: 1.2; }
.info-row .val { font-weight: 600; font-size: .9375rem; word-break: break-word; }
a.info-row:hover { background: #fbfbfe; }
.social-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-row a {
    display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .875rem; font-weight: 600;
}
.social-row a:hover { border-color: #cfd2e3; }
.save-bar { position: sticky; bottom: 1rem; z-index: 10; }
.save-bar .btn { width: 100%; box-shadow: 0 16px 30px -12px rgba(22, 24, 58, .55); }
.ad-slot { border: 1px dashed #d4d7e6; border-radius: 14px; padding: .75rem; text-align: center; font-size: .75rem; color: var(--muted); background: var(--surface); }
.made-with { text-align: center; font-size: .8125rem; color: var(--muted); }
.made-with a { color: var(--ink); font-weight: 600; }

/* Modal */
.modal-content { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.modal-header { border-bottom-color: var(--line-2); padding: 1.1rem 1.5rem; }
.modal-header .modal-title { font-family: var(--font-display); font-weight: 700; }
.modal-body { padding: 1.5rem; }
.modal-footer { border-top-color: var(--line-2); }

/* Toast */
.toast-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 1090; display: flex; flex-direction: column; gap: .5rem; max-width: min(380px, calc(100vw - 2rem)); }
.toast-stack .alert-note { box-shadow: var(--shadow-2); animation: toast-in .25s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Yardımcılar */
.gap-grid { display: grid; gap: 1.25rem; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.grid-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.divider-text { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .8125rem; margin: 1.25rem 0; }
.divider-text::before, .divider-text::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.kbd-copy { cursor: pointer; }
.visually-hidden-focusable:not(:focus) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
.validation-summary-valid { display: none !important; }

/* ---------- Tasarımlar ---------- */
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.design-tile { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.design-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line-2); border-bottom: 1px solid var(--line-2); }
.design-thumb iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }
.design-thumb .design-thumb-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 1rem; }
.design-thumb-link { position: absolute; inset: 0; z-index: 1; }
.design-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1rem; }
.design-tile-name { font-weight: 600; }
.design-tile-sub { font-size: .8rem; color: var(--muted); }
.tpl-pick { position: relative; cursor: pointer; }
.tpl-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-pick .design-tile { height: 100%; border: 2px solid transparent; transition: border-color .15s, box-shadow .15s; }
.tpl-pick input:checked + .design-tile { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.tpl-pick input:focus-visible + .design-tile { outline: 2px solid var(--brand); outline-offset: 2px; }
.tpl-blank { display: grid; place-items: center; height: 100%; color: var(--brand); font-size: 2rem; background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 10px, #fff 10px, #fff 20px); }
.min-w-0 { min-width: 0; }
.card-tile.is-suspended .suspended-card { filter: grayscale(1); opacity: .55; }
.suspended-note { display: flex; gap: .5rem; align-items: center; font-size: .8125rem; font-weight: 600; color: #7a4d00; background: var(--gold-tint); border-radius: 10px; padding: .5rem .75rem; }
.ad-slot--live { border-style: solid; padding: .5rem; min-height: 100px; }
