/* CvFaction — Landing (eğlenceli ton) */

/* iOS: html/body overflow fixed'i bozar — landing'de kapat */
html.landing-html,
html.landing-html body.landing-page {
    overflow-x: visible !important;
}

body.landing-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
}

/* Mobilde taşan glow kaymayı yapar */
@media (max-width: 600px) {
    body.landing-page .ambient-glow {
        display: none;
    }
}

body.landing-page header,
body.landing-page .lm-main,
body.landing-page footer {
    width: 100%;
    max-width: 100%;
}

body.landing-page footer {
    margin-top: 0;
}

.lm-main {
    flex: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ── Hero ───────────────────────────────────────────── */
.lm-hero {
    padding: 48px 0 56px;
    position: relative;
}

.lm-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.lm-sticker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.lm-sticker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid #0f172a;
    box-shadow: 3px 3px 0 #0f172a;
    background: #fef3c7;
    color: #92400e;
    transform: rotate(-2deg);
}

.lm-sticker:nth-child(2) {
    background: #dbeafe;
    color: #1e40af;
    transform: rotate(1.5deg);
}

.lm-sticker:nth-child(3) {
    background: #dcfce7;
    color: #166534;
    transform: rotate(-1deg);
}

.lm-hero h1 {
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.lm-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary), #0369a1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lm-lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 10px;
    max-width: 520px;
}

.lm-lead--punch {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.lm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.lm-hero-note {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lm-hero-note i {
    color: var(--primary);
}

/* Hero görsel — konuşma balonu */
.lm-hero-scene {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lm-bubble {
    position: relative;
    background: #fff;
    border: 2px solid #0f172a;
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 4px 4px 0 #0f172a;
    max-width: 260px;
    margin-bottom: 16px;
    align-self: flex-end;
    margin-right: 8%;
    animation: lm-bob 3s ease-in-out infinite;
}

.lm-bubble--robot {
    align-self: flex-start;
    margin-left: 4%;
    margin-right: 0;
    background: #f1f5f9;
    animation-delay: 0.5s;
}

.lm-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-right: 2px solid #0f172a;
    border-bottom: 2px solid #0f172a;
    transform: rotate(45deg);
}

.lm-bubble--robot::after {
    right: auto;
    left: 24px;
    background: #f1f5f9;
}

.lm-bubble small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
    font-size: 11px;
}

@keyframes lm-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.lm-cv-card {
    position: relative;
    display: flex;
    width: min(100%, 280px);
    aspect-ratio: 210 / 297;
    border: 2px solid #0f172a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 8px 8px 0 #0f172a;
    background: #fff;
}

.lm-cv-side {
    width: 30%;
    background: linear-gradient(180deg, #0e7490, #0369a1);
}

.lm-cv-body {
    flex: 1;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lm-cv-line {
    height: 5px;
    border-radius: 3px;
    background: #e2e8f0;
    width: 90%;
}

.lm-cv-line--t { width: 65%; height: 7px; background: #cbd5e1; }
.lm-cv-line--s { width: 40%; height: 4px; }

.lm-score-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: #ecfdf5;
    border: 2px solid #059669;
    color: #047857;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 2px 2px 0 #047857;
}

.lm-score-badge.is-live {
    animation: lm-wiggle 2s ease-in-out infinite;
}

@keyframes lm-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

/* ── Bölüm ortak ────────────────────────────────────── */
.lm-section {
    padding: 56px 0;
}

.lm-section--soft {
    background: rgba(14, 116, 144, 0.04);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.lm-head {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 36px;
}

.lm-head h2 {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    margin-bottom: 10px;
}

.lm-head p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.lm-emoji {
    font-size: 1.2em;
}

/* ── Acı noktaları ──────────────────────────────────── */
.lm-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.lm-pain {
    padding: 22px 20px;
    border: 2px solid #0f172a;
    border-radius: 16px;
    background: #fff;
    box-shadow: 5px 5px 0 #0f172a;
    transition: transform 0.15s ease;
}

.lm-pain:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #0f172a;
}

.lm-pain-emoji {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.lm-pain h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.lm-pain p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ── Sohbet (ATS) ───────────────────────────────────── */
.lm-chat {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-msg {
    max-width: 88%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.55;
    border: 2px solid #0f172a;
}

.lm-msg--bot {
    align-self: flex-start;
    background: #f1f5f9;
    border-bottom-left-radius: 4px;
}

.lm-msg--you {
    align-self: flex-end;
    background: #cffafe;
    border-bottom-right-radius: 4px;
}

.lm-msg--win {
    align-self: center;
    background: #ecfdf5;
    border-color: #059669;
    text-align: center;
    font-weight: 600;
    color: #047857;
    max-width: 100%;
}

.lm-msg strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.lm-chat-cta {
    text-align: center;
    margin-top: 28px;
}

/* ── VS kartları ────────────────────────────────────── */
.lm-vs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.lm-vs-card {
    padding: 24px 20px;
    border-radius: 16px;
    border: 2px solid #0f172a;
    text-align: center;
}

.lm-vs-card--bad {
    background: #fef2f2;
    box-shadow: 5px 5px 0 #dc2626;
    transform: rotate(-1deg);
}

.lm-vs-card--good {
    background: #ecfdf5;
    box-shadow: 5px 5px 0 #059669;
    transform: rotate(1deg);
}

.lm-vs-score {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.lm-vs-card--bad .lm-vs-score { color: #dc2626; }
.lm-vs-card--good .lm-vs-score { color: #059669; }

.lm-vs-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.lm-vs-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.lm-vs-meme {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    color: var(--text-muted);
}

/* ── Araçlar ────────────────────────────────────────── */
.lm-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lm-tool {
    padding: 22px 18px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-surface-opaque);
    transition: border-color 0.2s, transform 0.2s;
}

.lm-tool:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.lm-tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.lm-tool h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.lm-tool p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.lm-tool-tag {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    background: #fffbeb;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ── Adımlar ────────────────────────────────────────── */
.lm-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    counter-reset: lmstep;
}

.lm-step {
    padding: 24px 20px;
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    background: #fff;
    position: relative;
}

.lm-step::before {
    counter-increment: lmstep;
    content: counter(lmstep);
    position: absolute;
    top: -14px;
    left: 18px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: var(--shadow-md);
}

.lm-step h3 {
    font-size: 16px;
    margin: 8px 0 8px;
}

.lm-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ── Gizlilik ───────────────────────────────────────── */
.lm-privacy {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 24px;
    max-width: 720px;
    margin: 0 auto;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 16px;
    background: rgba(var(--primary-rgb), 0.05);
}

.lm-privacy-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.lm-privacy h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.lm-privacy p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.lm-privacy a {
    color: var(--primary);
    text-decoration: underline;
}

/* ── CTA ────────────────────────────────────────────── */
.lm-cta {
    padding: 32px 0 72px;
}

.lm-cta-box {
    text-align: center;
    padding: 48px 32px;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid #0f172a;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff 0%, #f0fdfa 100%);
    box-shadow: 8px 8px 0 #0f172a;
}

.lm-cta-box h2 {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    margin-bottom: 10px;
}

.lm-cta-box p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.lm-footer-joke {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* ── Scroll reveal ──────────────────────────────────── */
.lm-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease var(--d, 0s), transform 0.45s ease var(--d, 0s);
}

.lm-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* Yukarı çık — masaüstü yuvarlak */
body.landing-page .lm-scroll-top {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #0f172a !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #fff !important;
    box-shadow: 4px 4px 0 #0f172a;
    cursor: pointer;
    z-index: 2147483646;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 0;
    margin: 0;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body.landing-page .lm-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

body.landing-page .lm-scroll-top:not([hidden]).is-visible {
    display: flex !important;
}

body.landing-page .lm-scroll-top:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 #0f172a;
}

/* Mobil: sabit pill buton */
body.landing-page .lm-up-bar-btn {
    display: none;
}

@media (max-width: 600px) {
    body.landing-page .lm-scroll-top {
        display: none !important;
    }

    body.landing-page .lm-up-bar-btn {
        position: fixed;
        right: calc(14px + env(safe-area-inset-right, 0px));
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        z-index: 2147483647;
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        border-radius: 999px;
        border: 2px solid #0f172a !important;
        background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
        color: #fff !important;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        box-shadow: 3px 3px 0 #0f172a;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(16px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
        -webkit-tap-highlight-color: transparent;
        margin: 0;
    }

    body.landing-page .lm-up-bar-btn.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.landing-page .lm-up-bar-btn:not([hidden]).is-visible {
        display: inline-flex !important;
    }

    body.landing-page .lm-up-bar-btn:active {
        transform: translateY(1px);
        box-shadow: 2px 2px 0 #0f172a;
    }
}

/* ── Mobil ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .lm-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lm-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .lm-sticker-row,
    .lm-hero-actions,
    .lm-hero-note {
        justify-content: center;
    }

    .lm-hero-note {
        justify-content: center;
    }

    .lm-tools {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .lm-vs-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .lm-pain-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body.landing-page .container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .lm-cta > .container,
    .lm-section > .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .lm-cta-box {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .lm-hero {
        padding: 32px 0 40px;
    }

    .lm-section {
        padding: 40px 0;
    }

    .lm-hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .lm-sticker-row {
        justify-content: center;
    }

    .lm-sticker {
        box-shadow: 0 3px 0 #0f172a;
        transform: none;
    }

    .lm-hero-scene {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0;
        box-sizing: border-box;
    }

    .lm-bubble {
        max-width: 100%;
        font-size: 12px;
        align-self: stretch !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-shadow: 0 3px 0 #0f172a;
        animation: none;
    }

    .lm-cv-card {
        width: min(100%, 220px);
        margin: 0 auto;
        box-shadow: 0 4px 0 #0f172a;
    }

  /* Sağa taşan çizgi-gölge efektini mobilde kaldır */
    .lm-pain,
    .lm-cta-box {
        box-shadow: 0 4px 0 #0f172a;
        margin-left: 0;
        margin-right: 0;
    }

    .lm-vs-card--bad {
        box-shadow: 0 4px 0 #dc2626;
        transform: none;
    }

    .lm-vs-card--good {
        box-shadow: 0 4px 0 #059669;
        transform: none;
    }

    .lm-tools {
        grid-template-columns: 1fr;
    }

    .lm-cta {
        padding-bottom: 24px;
    }

    .lm-cta-box {
        padding: 28px 18px;
    }

    .lm-privacy {
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
    }

    body.landing-page footer {
        padding-bottom: 16px;
    }
}

/* Landing ad slots */
.landing-page .cf-ad-wrap {
    margin: 4px auto 32px;
    max-width: 728px;
}

.landing-page .cf-ad-placeholder {
    border: 2px solid #0a0a0a;
    box-shadow: 4px 4px 0 #0a0a0a;
    background: #fffcf5;
}

.landing-page .cf-ad-label {
    color: #ff2e00;
}
