﻿/* ============================================================
   Lemodate – Landing Page
   ============================================================ */

:root {
    --green: #34c759;
    --green-deep: #1f9d4d;
    --green-soft: #e7f6ec;
    --green-mint: #d6f0df;
    --yellow: #f5c518;
    --yellow-soft: #fdf3cf;
    --purple: #8b5cf6;
    --purple-soft: #efe9fd;
    --purple-mint: #e7defb;
    --ink: #111315;
    --ink-soft: #2a2d31;
    --muted: #7c8088;
    --line: #eceef0;
    --card: #ffffff;
    --bg: #ffffff;
    --shadow-sm: 0 4px 14px rgba(17, 19, 21, .06);
    --shadow-md: 0 14px 40px rgba(17, 19, 21, .10);
    --shadow-lg: 0 30px 70px rgba(17, 19, 21, .14);
    --radius: 22px;
    --radius-lg: 30px;
    --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Inter", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -.01em;
    line-height: 1.5;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.italic-serif {
    font-family: inherit;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -.05em;
}

.accent-green { color: var(--green-deep); }
.accent-yellow { color: var(--yellow); }
.accent-purple { color: var(--purple); }
.accent-rainbow {
    background: linear-gradient(90deg, #ff5f6d 0%, #ffb03a 22%, #ffd93a 40%, #4ecb5c 58%, #4aa3ff 76%, #a066ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 16px 0;
    background: transparent;
}
.nav .wrap {
    display: flex;
    justify-content: center;
    max-width: none;
}

/* Figma: kompakt pill — marka | Keşfet+Güvenlik | Destek */
.nav-inner {
    display: inline-flex;
    align-items: stretch;
    width: auto;
    max-width: 100%;
    min-height: 48px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid #FFFFFF;
    border-radius: 999px;
    box-shadow: 0 2px 25.7px 0 rgba(131, 131, 131, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: visible;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    justify-content: center;
    margin: 0;
    padding: 10px 18px 10px 20px;
    text-decoration: none;
    color: #111;
}
.nav-brand img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}
.nav-wordmark {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -.03em;
    color: #111;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    gap: 0;
}
.nav-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1.5px solid rgba(255, 255, 255, .85);
    box-sizing: border-box;
}
.nav-seg-mid {
    gap: 4px;
    padding: 0 6px;
}
.nav-seg-mid > a,
.nav-seg-end {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    padding: 12px 16px;
    transition: background .15s;
    white-space: nowrap;
}
.nav-drop {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-drop-btn {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    padding: 12px 16px;
    border-radius: 0;
    transition: background .15s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}
.nav-seg-mid > a:hover,
.nav-seg-end:hover,
.nav-drop-btn:hover,
.nav-drop.open .nav-drop-btn,
.nav-drop.is-active .nav-drop-btn {
    background: rgba(255, 255, 255, .35);
}

.nav-drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    padding: 10px 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 70;
}
.nav-drop-menu::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(17, 19, 21, .12);
    z-index: -1;
}
.nav-drop.open .nav-drop-menu,
.nav-drop:hover .nav-drop-menu { display: block; }
.nav-drop-menu a {
    display: block;
    position: relative;
    z-index: 1;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #585858;
    white-space: nowrap;
    text-decoration: none;
    transition: background .12s, color .12s;
}
.nav-drop-menu a:first-child { margin-top: 6px; border-radius: 16px 16px 0 0; }
.nav-drop-menu a:last-child { margin-bottom: 6px; border-radius: 0 0 16px 16px; }
.nav-drop-menu a:hover,
.nav-drop-menu a.is-current {
    background: rgba(0, 0, 0, .04);
    color: var(--ink);
    text-decoration: none;
}

.nav-cta { display: none; }

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s;
}
.store-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.store-btn svg { width: 18px; height: 18px; }

/* mobile hamburger */
.nav-burger {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-burger span {
    width: 24px;
    height: 2.5px;
    background: #000;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    flex-direction: column;
    gap: 2px;
    z-index: 60;
}
.nav.menu-open .nav-mobile-menu { display: flex; }
.nav-mobile-menu > a,
.nav-m-legal-btn {
    padding: 13px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    width: 100%;
}
.nav-mobile-menu > a:hover,
.nav-m-legal-btn:hover { background: var(--green-soft); color: var(--green-deep); }
.nav-m-legal-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-m-legal.open .nav-m-legal-btn svg { transform: rotate(180deg); }
.nav-m-legal-btn svg { transition: transform .2s ease; }
.nav-m-legal-list {
    display: none;
    flex-direction: column;
    padding: 2px 6px 8px 10px;
    gap: 2px;
}
.nav-m-legal.open .nav-m-legal-list { display: flex; }
.nav-m-legal-list a {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #585858;
    text-decoration: none;
}
.nav-m-legal-list a:hover,
.nav-m-legal-list a.is-current {
    background: rgba(0, 0, 0, .04);
    color: var(--ink);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 30px 0 90px;
    background: transparent;
}

/* full-bleed rainbow wave background behind nav + hero (Figma Lemo_LP) */
.page-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1060px;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background:
        url('/images/bg-wave-1.webp') top center / 100% auto no-repeat,
        url('/images/bg-wave-2.webp') top center / 100% auto no-repeat,
        linear-gradient(180deg, #fcfcfe 0%, #ffffff 70%);
}
/* fade the waves out toward the bottom so it blends into the page */
.page-bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 320px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
}

.hero-logo { display: flex; justify-content: center; margin: 26px 0 18px; }
.brandmark { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.brandmark .wordmark {
    font-weight: 800;
    font-size: 23px;
    letter-spacing: -.04em;
    color: #000;
}

.hero h1 {
    text-align: center;
    font-size: clamp(40px, 7.4vw, 96px);
    line-height: 1.0;
    font-weight: 800;
    letter-spacing: -.05em;
    margin: 8px 0 0;
    color: #000;
}
.hero h1 .q { font-weight: 700; }

/* ---- hero: static 4-photo collage (Figma Lemo_LP birebir) ---- */
.collage {
    margin: 44px auto 0;
    width: min(955px, 100%);
    aspect-ratio: 955 / 417;
    position: relative;
}
.collage .card { position: absolute; top: 0; filter: drop-shadow(0 12px 24px rgba(17, 19, 21, .16)); }
.collage .card img { width: 100%; height: auto; display: block; }
.collage .c1 { left: 0;      width: 36.65%; z-index: 2; }
.collage .c2 { left: 26.39%; width: 29.32%; top: 10.55%; z-index: 3; }
.collage .c3 { left: 44.40%; width: 36.75%; z-index: 5; }
.collage .c4 { left: 70.68%; width: 29.32%; top: 10.55%; z-index: 3; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { padding: 70px 0; }

.h2 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.05em;
    margin: 0 0 14px;
}
.lead { color: var(--muted); font-size: 17px; margin: 0; max-width: 460px; }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.check {
    flex: 0 0 auto;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--green);
    color: #fff;
}
.check svg { width: 13px; height: 13px; }

/* ---- Section 2 : hint (green) — Figma Component 11 birebir ---- */
.s-hint {
    background: #FAFAFA;
    padding: 56px 0;
}
.hint-grid {
    display: grid;
    grid-template-columns: 640fr 544fr;
    gap: 0;
    align-items: center;
}

/* left: green stage card with white ring */
.hint-left {
    position: relative;
    overflow: hidden;
    background: rgba(128, 240, 166, .4);
    border: 8px solid #fff;
    border-radius: 24px;
    box-shadow: 0 2px 22px rgba(131, 131, 131, .25);
    min-height: 624px;
    z-index: 2;
}
/* darker green pills (Rectangle 1026 / 1027) */
.hint-left .blob { position: absolute; background: rgba(128, 240, 166, .6); box-shadow: 0 2px 33px rgba(189, 189, 189, .25); }
.blob-1 { left: 27%; bottom: -2%; width: 47%; height: 80%; border-radius: 999px 999px 0 0; }
.blob-2 { left: 14%; top: -2%; width: 31%; height: 26%; border-radius: 0 0 999px 999px; }
.blob-3 { display: none; }
.blob-4 { display: none; }

.hint-left .phone {
    position: absolute;
    left: 6%;
    top: 13%;
    width: 47%;
    border-radius: 28px;
    filter: drop-shadow(0 20px 40px rgba(17, 19, 21, .14));
    z-index: 2;
}
.hint-left .float {
    position: absolute;
    width: 40%;
    filter: drop-shadow(0 12px 26px rgba(17, 19, 21, .12));
    z-index: 3;
}
.f-muzik { left: 55%; top: 24%; }
.f-seyahat { left: 46%; top: 50%; width: 37%; }
.f-sosyal { left: 60%; top: 73%; width: 34%; }

/* outlined arrow triangles (svg) */
.hint-left .tri { position: absolute; z-index: 4; }
.tri-g1 { top: 16%; right: -3%; width: 110px; transform: rotate(6deg); }
.tri-g2 { left: 14%; top: 72%; width: 78px; transform: rotate(-4deg); }

/* right: lighter green text card — attached to the left card (no left border) */
.hint-right {
    background: rgba(128, 240, 166, .2);
    border: 8px solid #fff;
    border-left: 0;
    border-radius: 0 24px 24px 0;
    box-shadow: 0 2px 4px rgba(131, 131, 131, .25);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}
.s-hint .h2 { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.19; letter-spacing: -.05em; }
.s-hint .lead { color: #292929; font-size: 17px; max-width: 448px; }
.s-hint .accent-green { color: #47ae6e; }
.hint-div { border: none; border-top: 1px solid #E3E3E3; margin: 24px 0 8px; }
.s-hint .check { background: #6AC488; width: 26px; height: 26px; }
.s-hint .checklist li { color: #292929; font-size: 16.5px; }

/* ---- Section 3 : two cards (Figma: Component 9 / 10) ---- */
.s-duo { background: #FAFAFA; padding: 56px 0; }
.s-duo .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.duo-card {
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    border-radius: 24px;
    padding: 48px;
    transition: box-shadow .25s ease;
}
.duo-card:hover {
    box-shadow: 0 2px 22px 0 rgba(131, 131, 131, 0.25);
}
.duo-card .h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.19; letter-spacing: -.05em; margin-bottom: 16px; }
.duo-card .lead { color: #6F6F6F; font-size: 18px; line-height: 1.5; max-width: 475px; }
.duo-card img { margin-top: 32px; width: 100%; aspect-ratio: 475 / 319; object-fit: cover; }
.duo-card.reverse img { margin-top: 0; margin-bottom: 32px; }

/* ---- Section 4 : first message (purple) ---- */
.s-msg { background: #FAFAFA; padding: 56px 0; }
.panel-msg {
    display: grid;
    grid-template-columns: 544fr 640fr;
    gap: 0;
    align-items: center;
}
/* left lilac text card — attached to the right card (no right border) */
.msg-card {
    background: rgba(217, 170, 255, .2);
    border: 8px solid #fff;
    border-right: 0;
    border-radius: 24px 0 0 24px;
    box-shadow: 0 2px 4px rgba(131, 131, 131, .25);
    padding: 48px;
    position: relative;
    z-index: 1;
}
.msg-card .h2 { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.19; letter-spacing: -.05em; margin-bottom: 16px; }
.msg-card .lead { color: #292929; font-size: 17px; max-width: 448px; }
.accent-gray { color: #8a8a8a; }
.panel-msg .msg-right { width: 100%; height: auto; position: relative; z-index: 2; }

/* ---- Section 5 : premium features ---- */
.s-prem { text-align: center; background: #FAFAFA; }
.s-prem .h2 { max-width: 720px; margin: 0 auto 14px; }
.s-prem .lead { margin: 0 auto 40px; }
/* premium fanned card deck (Figma Lemo_LP birebir) */
/* --x'i kaydet: transform icindeki var(--x) degisimi transition ile
   guvenilir sekilde uygulansin (bazi tarayicilarda kayitsiz custom
   property + transition transform'u guncellemiyordu). */
@property --x {
    syntax: "<length>";
    initial-value: 0px;
    inherits: false;
}
.deck {
    position: relative;
    height: 500px;
    max-width: 1120px;
    margin: 24px auto 0;
}
.deck-peeks,
.deck-dots { display: none; }
/* cards start STACKED; .open fans them out */
.deck-card {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) translateX(var(--x, 0px));
    transition: transform 1s cubic-bezier(.22, .75, .2, 1), filter .75s ease;
    will-change: transform;
    filter: drop-shadow(0 14px 28px rgba(17, 19, 21, .14));
}
/* fan — Figma birebir (görseldeki düzen) */
.dk-one    { width: 250px; z-index: 5; }
.dk-direkt { width: 300px; z-index: 4; }
.dk-foto   { width: 300px; z-index: 4; }
.dk-gizli  { width: 322px; z-index: 3; }
.dk-match  { width: 342px; z-index: 3; }
/* Gizli | Direkt | Öne Çıkar (orta) | Foto | Lemo Match */
.deck.open .dk-direkt { --x: -230px; transition-delay: .05s; }
.deck.open .dk-foto   { --x: 230px;  transition-delay: .05s; }
.deck.open .dk-gizli  { --x: -455px; transition-delay: .12s; }
.deck.open .dk-match  { --x: 455px;  transition-delay: .12s; }
.deck.open .dk-one    { transform: translate(-50%, -50%) translateY(-6px); }

/*
  Mobile showcase: one original card in focus + clean CSS peeks behind.
  Avoids stacking differently-rotated PNGs (looked messy).
*/
@media (max-width: 768px) {
    .s-prem { padding: 40px 0 32px; }
    .deck {
        height: 400px;
        max-width: 300px;
        margin: 12px auto 0;
    }
    .deck-peeks {
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
    }
    .deck-peek {
        position: absolute;
        top: 48%;
        left: 50%;
        width: 158px;
        height: 222px;
        border-radius: 26px;
        border: 3px solid #fff;
        box-shadow: 0 14px 32px rgba(17, 19, 21, .10);
    }
    .deck-peek.peek-a {
        background: linear-gradient(165deg, #efe9fd 0%, #e4daf8 100%);
        transform: translate(-50%, -50%) rotate(-16deg) translate(-22px, -2px);
        z-index: 1;
    }
    .deck-peek.peek-b {
        background: linear-gradient(165deg, #fdf3cf 0%, #f6e6a8 100%);
        transform: translate(-50%, -50%) rotate(14deg) translate(20px, -4px);
        z-index: 2;
    }
    .deck-peek.peek-c {
        background: linear-gradient(165deg, #e7f6ec 0%, #d0efdb 100%);
        transform: translate(-50%, -50%) rotate(-7deg) translate(-8px, 6px);
        z-index: 3;
    }
    .dk-one,
    .dk-direkt,
    .dk-foto,
    .dk-gizli,
    .dk-match {
        width: 220px;
    }
    /*
      Öne Çıkar dik PNG → aynı width’te yüzeyi daha büyük durur.
      scale ile görsel kart yüzünü diğerleriyle eşitle.
    */
    .dk-one { --tilt: -18deg; --face: 0.86; }
    .dk-direkt,
    .dk-foto,
    .dk-gizli,
    .dk-match { --face: 1; }
    .deck.open .dk-direkt,
    .deck.open .dk-foto,
    .deck.open .dk-gizli,
    .deck.open .dk-match,
    .deck.open .dk-one {
        --x: 0;
        transition-delay: 0s;
        transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)) scale(var(--face, 1));
    }
    /* hide overlapping assets until showcase mode */
    .deck-card {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)) scale(var(--face, 1));
        transition:
            opacity .55s ease,
            transform .55s cubic-bezier(.22, .75, .2, 1),
            filter .55s ease,
            visibility .55s;
    }
    .deck-card.dk-match {
        opacity: 1;
        visibility: visible;
        z-index: 6;
        filter: drop-shadow(0 22px 40px rgba(17, 19, 21, .18));
    }
    /* karta dokununca da sonraki karta geciliyor */
    .deck.is-cycle { cursor: pointer; }

    .deck.is-cycle .deck-card {
        z-index: 4;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -48%) rotate(var(--tilt, 0deg)) scale(calc(var(--face, 1) * .94));
        filter: drop-shadow(0 10px 20px rgba(17, 19, 21, .08));
    }
    .deck.is-cycle .deck-card[data-slot="0"] {
        z-index: 6;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)) scale(var(--face, 1));
        filter: drop-shadow(0 22px 40px rgba(17, 19, 21, .18));
    }
    .deck.is-cycle .deck-card.is-rising[data-slot="0"] {
        animation: deck-rise .7s cubic-bezier(.22, .75, .2, 1);
    }
    .deck.is-cycle .deck-card.dk-one.is-rising[data-slot="0"] {
        animation-name: deck-rise-one;
    }
    .deck-dots {
        display: flex;
        position: absolute;
        left: 50%;
        bottom: 8px;
        transform: translateX(-50%);
        gap: 8px;
        z-index: 8;
    }
    .deck-dots button {
        width: 7px;
        height: 7px;
        padding: 0;
        border: none;
        border-radius: 999px;
        background: #d0d0d0;
        cursor: pointer;
        transition: width .25s ease, background .25s ease;
    }
    .deck-dots button.is-active {
        width: 18px;
        background: var(--ink-soft);
    }
}

@keyframes deck-rise {
    0%   { opacity: 0; transform: translate(-50%, -42%) scale(.92); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes deck-rise-one {
    0%   { opacity: 0; transform: translate(-50%, -42%) rotate(-18deg) scale(0.78); }
    100% { opacity: 1; transform: translate(-50%, -50%) rotate(-18deg) scale(0.86); }
}

@media (max-width: 640px) {
    .deck { height: 360px; }
    .dk-one,
    .dk-direkt,
    .dk-foto,
    .dk-gizli,
    .dk-match {
        width: 200px;
    }
    .deck-peek {
        width: 140px;
        height: 196px;
        border-radius: 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .deck-card { transition: none !important; animation: none !important; }
}

/* ---- QR download ---- */
.s-qr { padding: 50px 0 80px; border-top: 2px solid #d9ecff; }
.qr-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    background:
        radial-gradient(120% 120% at 85% 50%, #efe9fd 0%, transparent 55%),
        linear-gradient(105deg, #e9f9f0 0%, #f3f1fe 60%, #eef4ff 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
}
.qr-left { padding: 48px; }
.qr-brand { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; margin-bottom: 26px; color: #111; }
.qr-brand img { width: 26px; height: 26px; object-fit: contain; }
.s-qr .h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 0; }
.qr-img { width: 150px; height: 150px; margin-top: 28px; border-radius: 6px; image-rendering: pixelated; }

.qr-phones { position: relative; }
.qp {
    position: absolute;
    bottom: -34px;
    width: 215px;
    filter: drop-shadow(0 18px 36px rgba(17, 19, 21, .16));
}
.qp1 { left: 2%;  z-index: 3; }
.qp2 { left: 30%; z-index: 2; bottom: -54px; width: 205px; }
.qp3 { left: 56%; z-index: 1; bottom: -66px; width: 205px; }

/* ============================================================
   MOBILE VARIANTS — Figma mobil kompozisyonları (görsel + metin)
   ============================================================ */
.m-only { display: none; }

@media (max-width: 768px) {
    .d-only { display: none !important; }
    .m-only { display: block; }
    .m-shot { width: 100%; max-width: 480px; height: auto; margin: 0 auto; display: block; }
    .m-text { padding: 22px 4px 4px; }
    .s-hint .m-text .h2, .s-msg .m-text .h2 { font-size: clamp(23px, 6.6vw, 30px); line-height: 1.22; margin-bottom: 12px; }
    .m-text .lead { font-size: 15px; max-width: none; line-height: 1.5; }
    .m-text .checklist { margin-top: 20px; }
    .m-text .checklist li { font-size: 14.5px; }

    /* yeşil & mor bölüm: mobil kartlar */
    .s-hint { background: #ffffff; padding: 36px 0; }
    .s-msg { background: #ffffff; padding: 36px 0; }
    .s-hint .m-only { background: rgba(128, 240, 166, .18); border-radius: 30px; padding: 12px 12px 30px; }
    .m-frame { border-radius: 20px; padding: 0; background: transparent; max-width: none; margin: 0; }
    .m-frame .m-shot { border-radius: 20px; max-width: none; }
    .m-text { padding: 24px 10px 0; }

    /* mor: görsel + metin tek yapışık kart */
    .s-msg .m-stack-purple {
        background: transparent;
        padding: 0;
        display: block;
    }
    .s-msg .m-card-joined {
        border-radius: 30px;
        border: 4px solid #ffffff;
        box-shadow: 0 12px 36px rgba(17, 19, 21, .10);
        overflow: hidden;
        background: #F3EBFF;
    }
    .s-msg .m-card-media {
        background: transparent;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }
    .s-msg .m-card-media .m-shot {
        width: 100%;
        max-width: none;
        height: auto;
        display: block;
        border-radius: 0;
        margin: 0;
        vertical-align: top;
    }
    .s-msg .m-card-text {
        background: #F3EBFF;
        padding: 26px 22px 30px;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }
    .s-msg .m-card-text .h2 {
        font-size: clamp(24px, 6.8vw, 32px);
        line-height: 1.2;
        margin: 0 0 12px;
        letter-spacing: -.04em;
        color: #111;
    }
    .s-msg .m-card-text .accent-gray {
        font-style: italic;
        font-weight: 600;
        color: #9a9a9a;
    }
    .s-msg .m-card-text .lead {
        margin: 0;
        font-size: 15px;
        line-height: 1.5;
        color: #292929;
        max-width: none;
    }

    /* ikili kartlar: alt alta, her kart metin üstte + foto altta */
    .s-duo { padding: 40px 0; }
    .s-duo .grid { grid-template-columns: 1fr; gap: 20px; }
    .duo-card { display: flex; flex-direction: column; padding: 28px; }
    .duo-card .h2 { font-size: clamp(24px, 6.6vw, 30px); line-height: 1.2; }
    .duo-card .lead { font-size: 15px; }
    .duo-card img { margin-top: 24px; margin-bottom: 0; }
    .duo-card.reverse img { order: 1; }

    /* hero mobil: underline kalsın, collage orijinal oranlarıyla */
    .hero {
        padding: 12px 0 40px;
        overflow: hidden;
    }
    .hero-logo { margin: 10px 0 14px; }
    .brandmark { gap: 6px; }
    .brandmark img { height: 36px !important; }
    .brandmark .wordmark {
        font-size: 18px;
        letter-spacing: -.03em;
    }
    .hero h1 {
        display: block;
        max-width: 100%;
        /* tek satırda kalsın: viewport'la ölçeklenir, "real" alta düşmez */
        font-size: min(7vw, 40px);
        white-space: nowrap;
        line-height: 1.05;
        letter-spacing: -.045em;
        margin: 0 auto;
        padding: 0;
    }
    .hero .wrap {
        text-align: center;
    }
    /* desktop collage pozisyonlarını koru — sadece ölçekle */
    .collage {
        width: 100%;
        max-width: 520px;
        margin: 28px auto 0;
        aspect-ratio: 955 / 417;
        transform-origin: center top;
    }

    .page-bg {
        height: 640px;
        background-size: 200% auto, 200% auto, 100% 100%;
        background-position: 45% 0%, 55% 10%, center;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .hint-grid, .panel-msg { grid-template-columns: 1fr; }
    .hint-left { min-height: 480px; }
    .msg-card { border-right: 8px solid #fff; border-radius: 24px; margin-right: 0 !important; }
    .hint-right { border-left: 8px solid #fff; border-radius: 24px; }
    .panel-msg .msg-right { order: -1; max-width: 460px; margin: 0 auto; }
    .nav .wrap {
        display: flex;
        justify-content: center;
        max-width: var(--maxw);
        padding: 0 16px;
    }
    .nav-inner {
        position: relative;
        width: 100%;
        max-width: 420px;
        padding: 4px 8px 4px 14px;
        justify-content: space-between;
        align-items: center;
    }
    .nav-brand {
        flex: 0 1 auto;
        justify-content: flex-start;
        padding: 6px 8px;
    }
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .qr-card { grid-template-columns: 1fr; min-height: 0; }
    .qr-left { padding: 32px 28px 8px; }
    /* Mobilde telefonlari karta sigacak sekilde kucult + yelpaze yap.
       Baked mobile-qr.webp kaldirildi; parcalar keskin. */
    /* Telefonlar 235px kaynak; retinada keskin olsun diye <=118px goster
       (kaynak >= 2x gosterim). QR kodu/logo ile ayni olcek mantigi. */
    .qr-phones { height: 250px; margin-top: 12px; }
    .qp  { width: 118px; bottom: -22px; }
    .qp1 { left: 3%;  z-index: 3; }
    .qp2 { left: 30%; z-index: 2; width: 114px; bottom: -34px; }
    .qp3 { left: 54%; z-index: 1; width: 114px; bottom: -44px; }
}

@media (max-width: 640px) {
    .nav-cta .store-btn span { display: none; }
    .collage {
        max-width: 100%;
        margin-top: 22px;
    }
}

/* ============================================================
   LEGAL / BELGE PAGE
   ============================================================ */
.legal { padding: 28px 0 70px; }
.legal-narrow {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
}
.legal-body {
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.7;
}
.legal-body h1,
.legal-body h2,
.legal-body h3 {
    color: #111;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.3;
    margin: 0 0 18px;
    text-decoration: none;
}
.legal-body h1 { font-size: clamp(22px, 3.2vw, 28px); }
.legal-body h2,
.legal-body h3 {
    font-size: clamp(16px, 2.2vw, 18px);
    margin-top: 28px;
}
.legal-body h3:first-child {
    font-size: clamp(20px, 3vw, 26px);
    margin-top: 0;
    margin-bottom: 22px;
}
.legal-body p {
    margin: 0 0 14px;
    color: #1a1a1a;
    text-decoration: none;
}
.legal-body ul {
    margin: 4px 0 18px;
    padding-left: 22px;
    color: #1a1a1a;
}
.legal-body li {
    margin: 6px 0;
    color: #1a1a1a;
    text-decoration: none;
}
.legal-body a {
    color: var(--green-deep);
    text-decoration: underline;
}

/* Legal page: soft gray canvas + white content card (Figma) */
body.legal-page {
    background: #FFFFFF;
    background-attachment: fixed;
}
body.legal-page .nav {
    background: transparent;
}
body.legal-page .legal-narrow {
    background: #FAFAFA;
    border: 8px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(17, 19, 21, .06);
    padding: 40px 48px 52px;
    margin-top: 12px;
    margin-bottom: 24px;
    backdrop-filter: none;
}
@media (max-width: 700px) {
    body.legal-page .legal-narrow {
        padding: 28px 20px 36px;
        border-radius: 20px;
        margin-left: 12px;
        margin-right: 12px;
        max-width: none;
    }
}

/* ============================================================
   SITE FOOTER (rich, multi-column)
   ============================================================ */
.site-foot { border-top: 1px solid #E3E3E3; background: #fff; margin-top: 40px; }
.foot-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr .9fr;
    gap: 60px;
    padding: 64px 24px 44px;
}
.foot-brand-col { display: flex; align-items: flex-start; gap: 44px; }
/* Figma: Logo card — #FAFAFA, 6px white ring, shadow, radius 8 */
.foot-logo-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 200px;
    height: 119px;
    background: #FAFAFA;
    border: 6px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(131, 131, 131, .25);
    border-radius: 8px;
}
.foot-logo-card img { height: 33px; width: auto; }
.foot-logo-card span { font-weight: 800; font-size: 19px; letter-spacing: -.04em; color: #000; }
.foot-brand-text p { color: #000; font-size: 16px; line-height: 1.5; letter-spacing: -.05em; margin: 0 0 24px; max-width: 313px; }
.foot-social { display: flex; align-items: center; gap: 27px; }
.foot-social a { color: #000; display: grid; place-items: center; transition: opacity .15s; }
.foot-social a:hover { opacity: .6; }
.foot-social svg { width: 24px; height: 24px; }

.foot-col h3 { font-size: 18px; font-weight: 700; letter-spacing: -.05em; margin: 2px 0 12px; color: #0A142F; }
.foot-col a { display: block; color: #585858; font-size: 16px; font-weight: 500; letter-spacing: -.05em; padding: 5px 0; transition: color .14s; }
.foot-col a:hover { color: var(--green-deep); }

.foot-bottom { border-top: 1px solid #E3E3E3; padding: 10px 24px; color: #292929; font-size: 12px; letter-spacing: -.05em; text-align: center; }

@media (max-width: 800px) {
    .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .foot-brand-col { grid-column: 1 / -1; flex-direction: column; gap: 20px; }
}
