/*
 * NEXTVIRA — Veresiye Defteri ürün/satış sayfası.
 *
 * Yalnız bu sayfada yüklenir. Mevcut tasarım token'ları (site.css :root) kullanılır;
 * yeni bir framework veya global stil eklenmez. Sınıf öneki: vs- (veresiye sales).
 */

.vs-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 82% -10%, rgba(18, 194, 233, .20), transparent 62%),
        radial-gradient(760px 420px at 6% 4%, rgba(10, 108, 241, .24), transparent 58%),
        linear-gradient(180deg, var(--surface-ink) 0%, var(--surface-ink-2) 100%);
    color: var(--text-on-ink);
    /* Sabit üst çubuk yüksekliği kadar güvenli boşluk (mobilde çakışmayı önler). */
    padding: calc(var(--header-h) + clamp(20px, 4vw, 52px)) 0 clamp(52px, 7vw, 96px);
}

.vs-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
    pointer-events: none;
}

.vs-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

/* Grid/flex çocukları içerikten küçülebilsin: yatay taşma olmaz. */
.vs-hero__inner > *,
.vs-screen > *,
.vs-problem > * { min-width: 0; }

.vs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    color: var(--text-on-ink);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.vs-badge span { color: var(--accent); }

.vs-hero h1 {
    margin: 18px 0 0;
    color: var(--text-on-ink);
    font-size: clamp(2.1rem, 3.9vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.vs-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #6fd8ff 0%, #9ec5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vs-hero__lead {
    margin: 18px 0 0;
    max-width: 54ch;
    color: var(--text-on-ink-muted);
    font-size: 1.06rem;
    line-height: 1.65;
}

.vs-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 0;
}

.vs-hero__cta .btn,
.vs-cta .btn { min-height: 48px; }

.vs-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: var(--text-on-ink-muted);
    font-size: .92rem;
}

.vs-trust li { display: inline-flex; align-items: center; gap: 8px; }
.vs-trust li::before { content: "✓"; color: var(--accent); font-weight: 800; }

.vs-state {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    color: var(--text-on-ink-muted);
    font-size: .92rem;
}

.vs-state b { color: var(--text-on-ink); }

/* ---------------------------------------------------------------- görsel çerçeve */
.vs-shot {
    position: relative;
    margin: 0;
    min-width: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
    padding: 10px;
    box-shadow: 0 40px 90px -46px rgba(0, 0, 0, .8), var(--glow);
}

.vs-shot img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
}

.vs-shot__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 2px 4px 10px;
}

.vs-shot__bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
}

.vs-shot__bar span {
    margin-left: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: .74rem;
    letter-spacing: .04em;
}

.vs-shot--light {
    border-color: var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.vs-shot--light .vs-shot__bar span { color: var(--text-muted); }
.vs-shot--light .vs-shot__bar i { background: var(--border-strong); }

.vs-shot--tilt { transform: perspective(1400px) rotateY(-4deg) rotateX(1.4deg); }

/* ---------------------------------------------------------------- bölüm başlıkları */
.vs-section { padding: var(--section-y) 0; }
.vs-section--alt { background: var(--surface-alt); }
.vs-section--ink { background: linear-gradient(180deg, var(--surface-ink) 0%, var(--surface-ink-2) 100%); color: var(--text-on-ink); }
.vs-section--ink .section-head h2, .vs-section--ink .section-head p { color: var(--text-on-ink); }
.vs-section--ink .section-head p { color: var(--text-on-ink-muted); }

.vs-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.vs-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vs-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ---------------------------------------------------------------- problem / çözüm */
.vs-problem {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.vs-problem__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }

.vs-problem__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-weight: 500;
}

.vs-problem__list li::before {
    content: "!";
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
    font-size: .8rem;
}

.vs-solution {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, var(--surface-alt));
    box-shadow: var(--shadow-sm);
}

.vs-solution h3 { margin: 0 0 10px; font-size: 1.35rem; }
.vs-solution p { margin: 0; color: var(--text-muted); line-height: 1.7; }

/* ---------------------------------------------------------------- özellik kartları */
.vs-feature {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.vs-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }

.vs-feature__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 14px;
}

.vs-feature__icon svg { width: 22px; height: 22px; }
.vs-feature h3 { margin: 0 0 6px; font-size: 1.05rem; }
.vs-feature p { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.6; }

/* ---------------------------------------------------------------- ürün ekranı */
.vs-screen {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.vs-callouts { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }

.vs-callouts li {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.vs-callouts strong { display: block; font-size: .96rem; }
.vs-callouts span { color: var(--text-muted); font-size: .88rem; }

/* ---------------------------------------------------------------- adımlar */
.vs-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: vs-step; }

.vs-step {
    position: relative;
    padding: 24px 22px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.vs-step::before {
    counter-increment: vs-step;
    content: counter(vs-step, decimal-leading-zero);
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-ink);
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    margin-bottom: 14px;
}

.vs-step h3 { margin: 0 0 6px; font-size: 1.02rem; }
.vs-step p { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.6; }

/* ---------------------------------------------------------------- deneme bandı */
.vs-cta {
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
    padding: clamp(30px, 5vw, 56px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, .16);
    background:
        radial-gradient(760px 320px at 50% -20%, rgba(18, 194, 233, .26), transparent 60%),
        linear-gradient(180deg, var(--surface-ink) 0%, var(--surface-ink-2) 100%);
    color: var(--text-on-ink);
    box-shadow: var(--shadow-lg);
}

.vs-cta h2 { margin: 0; color: var(--text-on-ink); font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.vs-cta p { margin: 0; max-width: 62ch; color: var(--text-on-ink-muted); }
.vs-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------------------------------------------------------------- güven */
.vs-trust-card {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
}

.vs-trust-card h3 { margin: 0 0 8px; color: var(--text-on-ink); font-size: 1.02rem; }
.vs-trust-card p { margin: 0; color: var(--text-on-ink-muted); font-size: .92rem; line-height: 1.6; }

/* ---------------------------------------------------------------- planlar */
.vs-plan {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.vs-plan.is-featured { border-color: var(--primary); box-shadow: var(--glow); }
.vs-plan__badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.vs-plan__price { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.vs-plan__price small { display: block; font-size: .82rem; font-weight: 500; color: var(--text-muted); }
.vs-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text-muted); font-size: .92rem; }
.vs-plan ul li::before { content: "✓ "; color: var(--primary); font-weight: 800; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
    .vs-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .vs-shot--tilt { transform: none; }
}

@media (max-width: 1024px) {
    .vs-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .vs-hero__visual { order: 2; }
    .vs-problem { grid-template-columns: minmax(0, 1fr); }
    .vs-screen { grid-template-columns: minmax(0, 1fr); }
    .vs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vs-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .vs-grid-2, .vs-grid-3, .vs-grid-4 { grid-template-columns: minmax(0, 1fr); }
    .vs-hero h1 { font-size: clamp(1.75rem, 6.4vw, 2.2rem); }
    .vs-hero__cta .btn { flex: 1 1 100%; justify-content: center; }
    .vs-trust { gap: 8px 14px; font-size: .88rem; }
    .vs-hero__lead { font-size: 1rem; }
}

@media (max-width: 430px) {
    .vs-steps { grid-template-columns: minmax(0, 1fr); }
    .vs-shot { padding: 7px; border-radius: 14px; }
    .vs-shot img { border-radius: 9px; }
    .vs-section { padding: clamp(40px, 10vw, 56px) 0; }
    .vs-feature { padding: 20px; }
    .vs-cta { padding: 26px 18px; border-radius: var(--radius); }
    .vs-hero h1 { font-size: clamp(1.62rem, 7.4vw, 2rem); }
    .vs-hero__cta .btn { width: 100%; }
    .vs-trust { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .vs-feature { transition: none; }
    .vs-feature:hover { transform: none; }
}
