/* This stylesheet is loaded only by the landing (root "/") template.
   Baştan sona light/açık tema — yalnızca kapanış CTA banner'ı (sayfa
   sonu) bilinçli olarak koyu bırakılır, tek bir vurgu/"bookend" öğesi
   olarak (bkz. .landing-cta-card). */

body.qrp-landing {
    --landing-ink: #0d1117;
    --landing-muted: #647084;
    --landing-line: #e6eaf0;
    --landing-canvas: #fbfcfe;
    background: var(--landing-canvas);
}

.qrp-landing .identity-app { display: block; min-height: 0; overflow: visible; }
.qrp-landing .identity-backdrop,
.qrp-landing .identity-glow { display: none; }
.qrp-landing .qrp-icon { display: block; width: 18px; height: 18px; flex: 0 0 auto; }
.qrp-landing a:focus-visible,
.qrp-landing button:focus-visible { outline: 3px solid #ffb21a; outline-offset: 3px; }
.qrp-landing #identity-content:focus-visible { outline: none; }

.landing { display: flex; flex-direction: column; width: 100%; overflow-x: clip; }

/* ── Hero band (nav + hero, açık/light zemin) ──────────────────────── */

.landing-hero-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf8 0%, #fbfaf5 45%, var(--landing-canvas) 100%);
}

.landing-hero-band::before {
    position: absolute;
    z-index: -1;
    content: "";
    inset: 0;
    background:
        radial-gradient(ellipse 640px 420px at 88% -6%, rgba(230, 149, 0, 0.13), transparent 60%),
        radial-gradient(ellipse 520px 420px at 4% 100%, rgba(255, 178, 26, 0.09), transparent 55%);
}

.landing-hero-band::after {
    position: absolute;
    z-index: -1;
    content: "";
    inset: 0;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(13, 17, 23, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 17, 23, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.landing-nav {
    position: relative;
    display: flex;
    width: min(1180px, calc(100% - 48px));
    min-height: 100px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.landing-logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--landing-ink);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.landing-logo img { display: block; width: 118px; height: auto; }
.landing-logo-divider { width: 1px; height: 30px; background: var(--landing-line); }

.landing-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 11px;
    font-size: 0.87rem;
    font-weight: 720;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.landing-btn svg { width: 16px; height: 16px; transition: transform 160ms ease; }
.landing-btn:hover svg { transform: translateX(3px); }

.landing-btn--nav {
    padding: 10px 16px;
    color: #1a1300;
    background: linear-gradient(135deg, #ffb21a, #e69500);
    box-shadow: 0 6px 18px rgba(230, 149, 0, 0.3);
}

.landing-btn--nav:hover { box-shadow: 0 8px 22px rgba(230, 149, 0, 0.4); transform: translateY(-1px); }

.landing-btn--primary {
    color: #1a1300;
    background: linear-gradient(135deg, #ffb21a, #e69500);
    box-shadow: 0 12px 28px rgba(230, 149, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.landing-btn--primary:hover { box-shadow: 0 16px 34px rgba(230, 149, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.landing-btn--primary:active { transform: translateY(0); }

.landing-btn--ghost {
    color: var(--landing-ink);
    background: #fff;
    border: 1px solid var(--landing-line);
    box-shadow: 0 4px 12px rgba(13, 17, 23, 0.04);
}

.landing-btn--ghost:hover { background: var(--identity-surface-muted, #f6f8fb); border-color: #d8dee8; }

.landing-hero-inner {
    display: grid;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 56px 0 96px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}

.landing-eyebrow {
    display: inline-flex;
    margin: 0 0 20px;
    align-items: center;
    gap: 10px;
    color: var(--identity-brand-dark, #b86f00);
    font-size: 0.76rem;
    font-weight: 780;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.landing-eyebrow > span {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 4px -4px 0 rgba(230, 149, 0, 0.25);
}

.landing-hero-copy h1 {
    margin: 0;
    color: var(--landing-ink);
    font-size: clamp(2.4rem, 4.4vw, 3.7rem);
    font-weight: 740;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-wrap: balance;
}

.landing-hero-copy h1 span { color: var(--identity-brand-dark, #b86f00); }

.landing-hero-desc {
    max-width: 520px;
    margin: 22px 0 0;
    color: var(--landing-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.landing-hero-actions { display: flex; flex-wrap: wrap; margin-top: 32px; gap: 14px; }

.landing-hero-trust {
    display: flex;
    margin: 28px 0 0;
    align-items: center;
    gap: 8px;
    color: var(--landing-muted);
    font-size: 0.8rem;
}

.landing-hero-trust svg { color: #18a776; }

/* ── Hero preview card (dekoratif) ─────────────────────────────────── */

.landing-hero-visual { position: relative; }

.landing-preview-card {
    position: relative;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--landing-line);
    border-radius: 22px;
    box-shadow: 0 32px 70px rgba(13, 17, 23, 0.1);
    animation: landing-card-in 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-preview-hub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--identity-surface-muted, #f6f8fb);
    border: 1px solid var(--landing-line);
    border-radius: 13px;
}

.landing-preview-hub-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    color: #9d711f;
    background: #f6ecd4;
    border-radius: 11px;
}

.landing-preview-hub > div { min-width: 0; }
.landing-preview-hub strong { display: block; color: #1a2233; font-size: 0.85rem; font-weight: 700; }
.landing-preview-hub > div > span { display: block; margin-top: 2px; color: #6b7688; font-size: 0.7rem; }

.landing-preview-hub-mark {
    display: grid;
    width: 28px;
    height: 28px;
    margin-left: auto;
    flex: 0 0 auto;
    place-items: center;
    color: #18a776;
    background: #e4f7ee;
    border-radius: 50%;
}

.landing-preview-hub-mark svg { width: 14px; height: 14px; }

.landing-preview-list { display: flex; margin: 14px 0 0; padding: 0; flex-direction: column; gap: 8px; list-style: none; }

.landing-preview-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--landing-line);
    border-radius: 12px;
}

.landing-preview-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
}

.landing-preview-icon--erp { color: #9a6a13; background: #f8edcf; }
.landing-preview-icon--hr { color: #4d7959; background: #eaf2e5; }
.landing-preview-icon--crm { color: #75649e; background: #f0ecf8; }
.landing-preview-icon svg { width: 17px; height: 17px; }

.landing-preview-list li > div { min-width: 0; flex: 1; }
.landing-preview-list strong { display: block; color: var(--landing-ink); font-size: 0.82rem; font-weight: 680; }
.landing-preview-list span { display: block; margin-top: 2px; color: var(--landing-muted); font-size: 0.7rem; }
.landing-preview-list li > svg { flex: 0 0 auto; color: #18a776; }

@keyframes landing-card-in {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── İçerik bölümleri (açık zemin) ─────────────────────────────────── */

.landing-section { padding: 88px 0; }
.landing-section--muted { background: var(--identity-surface-muted, #f6f8fb); }

.landing-section-head {
    width: min(1180px, calc(100% - 48px));
    max-width: 680px;
    margin: 0 auto 44px;
    text-align: center;
}

.landing-section-head .landing-eyebrow { color: var(--identity-brand-dark, #b86f00); justify-content: center; }
.landing-section-head .landing-eyebrow > span { box-shadow: 4px -4px 0 rgba(230, 149, 0, 0.25); }

.landing-section-head h2 {
    margin: 0;
    color: var(--landing-ink);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 740;
    letter-spacing: -0.03em;
    line-height: 1.18;
    text-wrap: balance;
}

.landing-section-head p {
    max-width: 480px;
    margin: 14px auto 0;
    color: var(--landing-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

/* Ürünler */

.landing-product-grid {
    display: grid;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.landing-product-card {
    position: relative;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid var(--landing-line);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(13, 17, 23, 0.05);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.landing-product-card:hover {
    border-color: rgba(230, 149, 0, 0.3);
    box-shadow: 0 20px 44px rgba(13, 17, 23, 0.09);
    transform: translateY(-3px);
}

.landing-product-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 13px;
}

.landing-product-icon svg { width: 23px; height: 23px; }
.landing-product-card--erp .landing-product-icon { color: #9a6a13; background: #f8edcf; }
.landing-product-card--hr .landing-product-icon { color: #4d7959; background: #eaf2e5; }
.landing-product-card--crm .landing-product-icon { color: #75649e; background: #f0ecf8; }

.landing-product-card h3 { margin: 0 0 8px; color: var(--landing-ink); font-size: 1.08rem; font-weight: 720; }
.landing-product-card p { margin: 0 0 18px; color: var(--landing-muted); font-size: 0.87rem; line-height: 1.65; }

.landing-product-tag {
    display: inline-block;
    padding: 5px 11px;
    color: #6b7688;
    background: var(--identity-surface-muted, #f6f8fb);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 650;
}

/* Neden QRP (benefit grid) */

.landing-benefit-grid {
    display: grid;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.landing-benefit-card {
    padding: 24px 20px;
    background: #fff;
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(13, 17, 23, 0.04);
}

.landing-benefit-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    place-items: center;
    color: var(--identity-brand-dark, #b86f00);
    background: var(--identity-brand-soft, #fff5df);
    border-radius: 11px;
}

.landing-benefit-icon svg { width: 19px; height: 19px; }
.landing-benefit-card h3 { margin: 0 0 6px; color: var(--landing-ink); font-size: 0.94rem; font-weight: 720; }
.landing-benefit-card p { margin: 0; color: var(--landing-muted); font-size: 0.83rem; line-height: 1.6; }

/* Nasıl çalışır (steps) */

.landing-steps {
    display: grid;
    width: min(920px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
}

.landing-step { position: relative; text-align: center; }

.landing-step-number {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0 auto 18px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--identity-brand-bright, #ffb21a), var(--identity-brand-dark, #b86f00));
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(230, 149, 0, 0.28);
    font-size: 1rem;
    font-weight: 780;
}

.landing-step:not(:last-child)::after {
    position: absolute;
    top: 22px;
    left: calc(50% + 46px);
    width: calc(100% - 92px);
    height: 1px;
    content: "";
    background: linear-gradient(90deg, var(--landing-line), transparent);
}

.landing-step strong { display: block; color: var(--landing-ink); font-size: 0.98rem; font-weight: 720; }
.landing-step p { max-width: 240px; margin: 8px auto 0; color: var(--landing-muted); font-size: 0.85rem; line-height: 1.65; }

/* Final CTA */

.landing-cta { padding: 0 0 96px; }

.landing-cta-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(40px, 6vw, 64px);
    text-align: center;
    background: linear-gradient(155deg, #171b28 0%, #0d1117 60%, #0a0e14 100%);
    border-radius: 28px;
}

.landing-cta-card::before {
    position: absolute;
    z-index: -1;
    content: "";
    inset: 0;
    background: radial-gradient(ellipse 480px 300px at 50% -10%, rgba(255, 178, 26, 0.22), transparent 65%);
}

.landing-cta-card h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 740;
    letter-spacing: -0.03em;
}

.landing-cta-card p {
    max-width: 460px;
    margin: 14px auto 28px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.94rem;
    line-height: 1.7;
}

.landing-cta-card .landing-btn { margin: 0 auto; }

/* Footer */

.landing-footer {
    display: flex;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 40px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--landing-muted);
    border-top: 1px solid var(--landing-line);
    font-size: 0.8rem;
}

.landing-footer-meta { display: flex; align-items: center; gap: 10px; }
.landing-footer-dot { width: 3px; height: 3px; background: #b6bfcb; border-radius: 50%; }

.landing-footer-link {
    color: var(--identity-brand-dark, #b86f00);
    font-weight: 650;
    text-decoration: none;
    text-underline-offset: 3px;
}

.landing-footer-link:hover { text-decoration: underline; }

@media (max-width: 1100px) {
    .landing-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: 64px; }
    .landing-hero-visual { max-width: 460px; }
    .landing-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .landing-product-grid { grid-template-columns: minmax(0, 1fr); }
    .landing-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .landing-step:not(:last-child)::after { display: none; }
}

@media (max-width: 760px) {
    .landing-hero-copy h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
    .landing-section { padding: 64px 0; }
    .landing-benefit-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
    .landing-logo img { width: 92px; }
    .landing-logo-divider, .landing-logo > span:last-child { display: none; }
    .landing-nav { min-height: 84px; }
}

@media (max-width: 480px) {
    .landing-hero-actions { flex-direction: column; align-items: stretch; }
    .landing-hero-actions .landing-btn { justify-content: center; }
    .landing-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .qrp-landing *, .qrp-landing *::before, .qrp-landing *::after { animation: none !important; transition: none !important; }
}
