/* klink ana sayfa — canlı/eğlenceli tasarım */
@font-face {
    font-family: "Bricolage";
    src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Bricolage";
    src: url("fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Marka renkleri: "Elektrik mor" ----
   --grad renklerle aynı elemanda tanımlanmalı; :root'ta tanımlanırsa var(--p1) çözülemez ve gradyan kaybolur. */
body.home {
    --p1: #7c3aed; --p2: #ec4899; --acc: #a3e635; --ink: #1b1035; --bg: #fbf8ff; --soft: #f1e9ff; --soft2: #ffe4f2;
    --r: 22px; --grad: linear-gradient(120deg, var(--p1), var(--p2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home {
    margin: 0;
    font: 17px/1.55 "Bricolage", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    transition: background-color .4s;
}
.home a { color: inherit; text-decoration: none; }
.home h1, .home h2, .home h3 { letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Logo ---- */
.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo-mark { width: 38px; height: 38px; transition: transform .3s; }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.05); }
.logo-word { font-weight: 800; font-size: 1.7rem; letter-spacing: -.05em; }

/* ---- Butonlar ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .75rem 1.3rem; border-radius: 99px; border: 0; font: inherit; font-weight: 700; cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--soft); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--p1) 35%, transparent); }

/* ---- Navigasyon ---- */
.nav {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2rem;
    padding: .9rem clamp(1rem, 4vw, 3rem);
    background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px);
}
.nav-links { display: flex; gap: 1.5rem; font-weight: 600; font-size: .95rem; }
.nav-links a { opacity: .75; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { margin-left: auto; display: flex; gap: .4rem; }

/* ---- Hero ---- */
.hero {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 3rem;
}
.pill {
    display: inline-block; padding: .4rem .9rem; border-radius: 99px; font-size: .85rem; font-weight: 600;
    background: var(--soft); margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 800; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.lead { font-size: 1.2rem; max-width: 34ch; margin: 1.25rem 0 2rem; opacity: .8; }
.claim {
    display: flex; align-items: center; max-width: 480px; padding: .4rem; border-radius: 99px;
    background: #fff; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
    transition: box-shadow .15s, transform .15s;
}
.claim:focus-within { box-shadow: 3px 3px 0 var(--ink); transform: translate(3px, 3px); }
.claim label { padding-left: 1rem; font-weight: 700; opacity: .6; white-space: nowrap; }
.claim input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-weight: 700; padding: .6rem .2rem; background: transparent; color: var(--ink); }
.hero-note { font-size: .9rem; opacity: .6; margin-top: 1rem; }

/* Telefon maketi */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: drift 12s ease-in-out infinite alternate; }
.blob-1 { width: 340px; height: 340px; background: var(--p1); top: 8%; left: 8%; }
.blob-2 { width: 300px; height: 300px; background: var(--p2); bottom: 5%; right: 5%; animation-delay: -6s; }
.phone {
    position: relative; width: 290px; height: 560px; padding: 12px; border-radius: 44px;
    background: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.25); transform: rotate(-4deg);
    animation: bob 6s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: var(--ink); border-radius: 99px; z-index: 2; }
.phone-screen {
    height: 100%; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; align-items: center;
    padding: 60px 18px 18px; background: var(--grad); color: #fff; text-align: center;
}
.demo-avatar { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.demo-name { margin-top: .7rem; font-size: 1.25rem; }
.demo-bio { font-size: .8rem; opacity: .85; }
.demo-links { display: grid; gap: .6rem; width: 100%; margin-top: 1.4rem; }
.demo-link {
    display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: 16px;
    background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem;
    animation: pop .5s calc(.4s + var(--i) * .12s) both;
}
.demo-link .licon { width: 18px; height: 18px; color: var(--p1); }
.demo-foot { margin-top: auto; font-size: .75rem; opacity: .75; font-weight: 600; }
.float {
    position: absolute; display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 16px;
    background: #fff; color: var(--ink); font-size: .85rem; box-shadow: 0 12px 30px rgba(0,0,0,.12);
    border: 2px solid var(--ink); animation: bob 5s ease-in-out infinite;
}
.float b { font-size: 1.1rem; }
.f1 { top: 12%; left: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--acc); animation-delay: -1s; }
.f2 { top: 46%; right: -2%; animation-delay: -2.5s; }
.f3 { bottom: 10%; left: 4%; animation-delay: -4s; }
.f-ico { font-size: 1.2rem; }

/* ---- Kayan şerit ---- */
.marquee { overflow: hidden; padding: 1.1rem 0; background: var(--ink); color: #fff; transform: rotate(-1.2deg); margin: 2rem -2rem; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: scroll 32s linear infinite; font-weight: 700; font-size: 1.15rem; }

/* ---- Bölümler ---- */
.section { max-width: 1200px; margin: 0 auto; padding: 5rem clamp(1rem, 4vw, 3rem) 1rem; }
.section-narrow { max-width: 820px; }
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 2.5rem; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile {
    position: relative; overflow: hidden; padding: 1.6rem; border-radius: var(--r);
    background: #fff; border: 2px solid var(--ink); transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 6px 8px 0 var(--ink); }
.tile h3 { font-size: 1.5rem; margin: .6rem 0 .5rem; }
.tile p { margin: 0; opacity: .75; font-size: .98rem; }
.tag { display: inline-block; padding: .25rem .7rem; border-radius: 99px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--soft); }
.tag-soon { background: var(--acc); }
.tile-qr { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; background: var(--soft); }
.tile-qr h3 { font-size: 2.1rem; }
.qr-demo { align-self: center; padding: 14px; border-radius: 24px; background: #fff; border: 2px solid var(--ink); transform: rotate(3deg); transition: transform .3s; }
.tile-qr:hover .qr-demo { transform: rotate(-2deg) scale(1.03); }
.qr-demo canvas, .qr-demo svg { display: block; width: 220px; height: 220px; }
.tile-stats { grid-column: span 2; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin: 1rem 0 .8rem; }
.mini-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: var(--grad); transform-origin: bottom; animation: grow .7s calc(var(--i) * .08s) both; }
.mini-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; opacity: .8; }
.tile-themes { background: var(--soft2); }
.mini-phones { display: flex; gap: .4rem; margin-top: 1rem; }
.mini-phone { flex: 1; height: 86px; border-radius: 10px; border: 2px solid var(--ink); background: var(--p-bg); display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 6px; transition: transform .2s; }
.mini-phone:nth-child(odd) { transform: translateY(6px); }
.tile-themes:hover .mini-phone { transform: translateY(-4px); }
.mini-phone i { height: 9px; border-radius: 4px; background: var(--p-btn); border: 1px solid var(--p-btn-border); }
.tile-agency { grid-column: span 2; }
.mini-clients { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.mini-clients li { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-radius: 12px; background: var(--bg); font-weight: 700; font-size: .95rem; }
.mini-clients span { font-size: 1.2rem; }
.mini-clients em { margin-left: auto; font-style: normal; font-weight: 500; font-size: .8rem; opacity: .6; }
.tile-nfc { background: var(--ink); color: #fff; }
.tile-nfc p { opacity: .7; }
.nfc-waves { position: absolute; right: 18px; bottom: 18px; width: 70px; height: 70px; }
.nfc-waves i { position: absolute; inset: 0; border: 3px solid var(--acc); border-radius: 50%; animation: ping 2.4s ease-out infinite; }
.nfc-waves i:nth-child(2) { animation-delay: .8s; }
.nfc-waves i:nth-child(3) { animation-delay: 1.6s; }
.tile-kvkk { grid-column: span 1; }

/* Adımlar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.steps li { padding: 1.8rem; border-radius: var(--r); background: #fff; border: 2px solid var(--ink); }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem; transform: rotate(-6deg); }
.steps li:nth-child(2) .step-n { transform: rotate(5deg); }
.steps h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.steps p { margin: 0; opacity: .75; }

/* Kullanım alanları */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.case { padding: 1.6rem; border-radius: var(--r); background: var(--soft); transition: transform .2s, background .2s; }
.case:nth-child(even) { background: var(--soft2); }
.case:hover { transform: translateY(-4px) rotate(-1deg); }
.case-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; font-size: 1.9rem; border: 2px solid var(--ink); margin-bottom: 1rem; }
.case h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.case p { margin: 0; font-size: .95rem; opacity: .8; }

/* Büyük mesaj */
.statement { margin: 6rem 0 2rem; padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); background: var(--grad); color: #fff; text-align: center; }
.statement p { margin: 0 auto; max-width: 900px; font-size: clamp(2rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.statement .u { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: .12em; text-underline-offset: .12em; }
.statement b { color: var(--acc); }

/* SSS */
.faq { display: grid; gap: .75rem; }
.faq details { border-radius: 18px; background: #fff; border: 2px solid var(--ink); padding: 0 1.4rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 5px 5px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 1.2rem; opacity: .8; }

/* Son çağrı */
.cta { margin: 5rem clamp(1rem, 4vw, 3rem) 3rem; padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: 36px; background: var(--acc); border: 2px solid var(--ink); display: grid; justify-items: center; gap: 1.5rem; text-align: center; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.claim-light { width: 100%; }

/* Alt bilgi */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; padding: 2rem clamp(1rem, 4vw, 3rem) 3rem; max-width: 1200px; margin: 0 auto; font-size: .92rem; }
.foot-brand { display: grid; gap: .3rem; }
.foot-brand > span { opacity: .6; }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot nav a { opacity: .7; }
.foot nav a:hover { opacity: 1; }
.foot-copy { margin-left: auto; opacity: .5; }

/* Profil temaları (mini telefonlar için, app.css ile aynı değerler) */
.theme-light  { --p-bg: #f6f7fb; --p-btn: #fff; --p-btn-border: #e5e7eb; }
.theme-dark   { --p-bg: #0f172a; --p-btn: #1e293b; --p-btn-border: #334155; }
.theme-ocean  { --p-bg: linear-gradient(160deg, #0ea5e9, #6366f1); --p-btn: rgba(255,255,255,.35); --p-btn-border: rgba(255,255,255,.5); }
.theme-sunset { --p-bg: linear-gradient(160deg, #f97316, #db2777); --p-btn: #fff; --p-btn-border: transparent; }
.theme-forest { --p-bg: linear-gradient(160deg, #064e3b, #15803d); --p-btn: #ecfdf5; --p-btn-border: transparent; }

/* ---- Animasyonlar ---- */
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes drift { to { transform: translate(30px, -20px) scale(1.1); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.95); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes ping { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---- Mobil ---- */
@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .lead, .claim { margin-left: auto; margin-right: auto; }
    .hero-visual { min-height: 520px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tile-qr, .tile-stats, .tile-agency { grid-column: span 2; }
    .tile-qr { grid-row: auto; }
    .cases { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}
@media (max-width: 620px) {
    body.home { font-size: 16px; }
    .bento, .cases, .steps { grid-template-columns: 1fr; }
    .tile-qr, .tile-stats, .tile-agency { grid-column: auto; }
    .phone { width: 250px; height: 490px; }
    .f2 { right: 0; }
    .float { font-size: .75rem; padding: .5rem .7rem; }
    .claim label { padding-left: .7rem; }
    .btn-grad { padding: .7rem 1rem; }
    .foot-copy { margin-left: 0; }
}
