/* ============================================================
   RentonDiji — Kurumsal dijital dönüşüm & otomasyon ajansı
   Light corporate-minimalism. Plus Jakarta Sans.
   ============================================================ */

:root {
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  /* canvas */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f3f7ff;
  --line: #e7ecf3;
  --line-soft: #eef2f7;

  /* ink */
  --ink: #0f172a;
  --ink-2: #334155;
  --body: #51607a;
  --muted: #93a0b5;

  /* brand */
  --blue: #2563eb;
  --blue-deep: #1e3a8a;
  --blue-soft: #eef4ff;
  --blue-tint: #dfeaff;
  --emerald: #10b981;
  --emerald-deep: #0e9f72;
  --emerald-soft: #ecfdf5;
  --emerald-tint: #c9f4e1;

  /* emphasis (driven by tweak) */
  --accent: var(--blue);
  --accent-deep: var(--blue-deep);
  --accent-soft: var(--blue-soft);
  --hl: var(--emerald);
  --hl-soft: var(--emerald-soft);

  --r: 18px;
  --r-lg: 26px;
  --r-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 2px 6px rgba(15,23,42,.05);
  --shadow: 0 8px 24px rgba(15,23,42,.07), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 28px 60px -20px rgba(30,58,138,.22), 0 10px 24px rgba(15,23,42,.06);

  --maxw: 1200px;
}

/* emphasis variants */
[data-accent="blue"]  { --accent: var(--blue);    --accent-deep: var(--blue-deep);    --accent-soft: var(--blue-soft);    --hl: var(--blue);    --hl-soft: var(--blue-soft); }
[data-accent="green"] { --accent: var(--emerald); --accent-deep: var(--emerald-deep); --accent-soft: var(--emerald-soft); --hl: var(--emerald); --hl-soft: var(--emerald-soft); }

[data-font="inter"]   { --font: "Inter", ui-sans-serif, system-ui, sans-serif; }
[data-font="manrope"] { --font: "Manrope", ui-sans-serif, system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: inherit; font-weight: 600; font-size: 15px; border: none; cursor: pointer; border-radius: 999px; padding: 14px 24px; transition: transform .18s ease, box-shadow .25s ease, background .25s ease; letter-spacing: -0.01em; white-space: nowrap; flex-shrink: 0; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px color-mix(in srgb, var(--accent) 60%, transparent); background: var(--accent-deep); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--blue-tint); color: var(--accent-deep); }

/* eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft); padding: 7px 14px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hl); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hl) 18%, transparent); }

/* ============================================================
   HEADER
   ============================================================ */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.hdr.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 var(--line-soft), 0 6px 24px -16px rgba(15,23,42,.25); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 60%); box-shadow: 0 6px 16px -6px rgba(37,99,235,.6); position: relative; overflow: hidden; flex-shrink: 0; }
.brand-mark::after { content: ""; position: absolute; right: -8px; bottom: -8px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--emerald) 0%, transparent 70%); opacity: .9; }
.brand-mark svg { width: 21px; height: 21px; position: relative; z-index: 1; }
.brand-name { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; white-space: nowrap; flex-shrink: 0; }
.brand-name b { color: var(--blue); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 9px 14px; border-radius: 9px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--accent-deep); background: var(--accent-soft); }
.hdr-right { display: flex; align-items: center; gap: 14px; }

/* language toggle */
.lang { display: inline-flex; padding: 3px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; flex-shrink: 0; }
.lang button { font-family: inherit; border: none; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); padding: 5px 12px; border-radius: 999px; transition: all .2s; letter-spacing: .02em; flex-shrink: 0; white-space: nowrap; }
.lang button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

@media (max-width: 900px) { .nav { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 150px 0 96px; background:
    radial-gradient(120% 90% at 85% -10%, var(--blue-soft) 0%, transparent 55%),
    radial-gradient(90% 80% at -5% 10%, var(--emerald-soft) 0%, transparent 50%),
    var(--bg); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 64px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -0.035em; margin: 22px 0 0; }
.hero h1 .mark { color: var(--accent-deep); position: relative; }
.hero h1 .mark::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 14px; background: color-mix(in srgb, var(--hl) 24%, transparent); z-index: -1; border-radius: 4px; }
.hero-sub { font-size: 19px; line-height: 1.65; color: var(--body); margin: 22px 0 0; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 38px; }
.hero-chip { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero-chip .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--hl-soft); display: grid; place-items: center; flex-shrink: 0; }
.hero-chip .ck svg { width: 13px; height: 13px; }

/* centered hero variant */
[data-hero="center"] .hero-grid { grid-template-columns: 1fr; gap: 56px; justify-items: center; text-align: center; }
[data-hero="center"] .hero-copy { max-width: 760px; }
[data-hero="center"] .hero-sub { margin-left: auto; margin-right: auto; }
[data-hero="center"] .hero-cta, [data-hero="center"] .hero-chips { justify-content: center; }
[data-hero="center"] .dash-wrap { max-width: 720px; width: 100%; }

/* ---------- CSS dashboard mockup ---------- */
.dash-wrap { position: relative; }
.tablet { position: relative; background: #fff; border-radius: 24px; padding: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.tablet::before { content: ""; position: absolute; top: 50%; left: -8px; transform: translateY(-50%); width: 4px; height: 54px; border-radius: 4px; background: var(--line); display: none; }
.dash { background: var(--bg-soft); border-radius: 16px; padding: 16px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-biz { display: flex; align-items: center; gap: 10px; }
.dash-ava { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--emerald) 0%, var(--blue) 120%); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.dash-biz .n { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.dash-biz .s { font-size: 11px; color: var(--muted); font-weight: 500; }
.dash-dots { display: flex; gap: 5px; }
.dash-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.kpi { background: #fff; border-radius: 13px; padding: 13px 14px; border: 1px solid var(--line-soft); }
.kpi .l { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.kpi .v { font-size: 22px; font-weight: 800; color: var(--ink); margin-top: 4px; letter-spacing: -0.02em; }
.kpi .d { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; margin-top: 3px; padding: 2px 7px; border-radius: 999px; }
.kpi .d.up { color: var(--emerald-deep); background: var(--emerald-soft); }
.kpi .d.blue { color: var(--blue); background: var(--blue-soft); }

.dash-chart { background: #fff; border-radius: 13px; padding: 13px 14px 12px; border: 1px solid var(--line-soft); margin-bottom: 10px; }
.dash-chart .h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dash-chart .h span { font-size: 12px; font-weight: 700; color: var(--ink); }
.dash-chart .h em { font-size: 11px; font-style: normal; color: var(--muted); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 62px; }
.bars i { flex: 1; border-radius: 5px 5px 3px 3px; background: var(--blue-tint); position: relative; transition: height .8s cubic-bezier(.16,.84,.44,1); }
.bars i.hot { background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%); }
.bars i.em { background: linear-gradient(180deg, var(--emerald) 0%, var(--emerald-deep) 100%); }

.dash-list { background: #fff; border-radius: 13px; padding: 6px 14px; border: 1px solid var(--line-soft); }
.dash-list .row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.dash-list .row:last-child { border-bottom: none; }
.dash-list .t { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dash-list .t.b { background: var(--blue); } .dash-list .t.e { background: var(--emerald); } .dash-list .t.m { background: #c4b5fd; }
.dash-list .nm { font-size: 12.5px; font-weight: 600; color: var(--ink-2); flex: 1; }
.dash-list .tm { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* floating SMS notification */
.sms-pop { position: absolute; left: -12px; bottom: 44px; width: 268px; background: #fff; border-radius: 16px; padding: 13px 15px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); display: flex; gap: 12px; animation: floaty 5s ease-in-out infinite; }
.sms-pop .ic { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; background: var(--emerald-soft); display: grid; place-items: center; }
.sms-pop .ic svg { width: 20px; height: 20px; }
.sms-pop .hd { display: flex; align-items: center; gap: 7px; }
.sms-pop .hd b { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.sms-pop .hd .tag { font-size: 9.5px; font-weight: 700; letter-spacing: .03em; color: var(--emerald-deep); background: var(--emerald-soft); padding: 2px 6px; border-radius: 5px; }
.sms-pop .msg { font-size: 12.5px; color: var(--body); margin-top: 4px; line-height: 1.45; }
.sms-pop .ago { font-size: 10.5px; color: var(--muted); margin-top: 4px; font-weight: 500; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.qr-pop { position: absolute; right: -10px; top: 30px; background: #fff; border-radius: 14px; padding: 11px 13px; box-shadow: var(--shadow); border: 1px solid var(--line-soft); display: flex; align-items: center; gap: 10px; animation: floaty 6s ease-in-out .8s infinite; }
.qr-pop .qr { width: 34px; height: 34px; border-radius: 8px; background-color: #fff; border: 3px solid #fff; box-shadow: inset 0 0 0 1px var(--line); }
.qr-pop .s b { display: block; font-size: 12px; font-weight: 700; color: var(--ink); }
.qr-pop .s span { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.qr-pop .stars { color: #f5a623; font-size: 11px; letter-spacing: 1px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { max-width: 700px; min-width: 0; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 110px 0; background: var(--bg-soft); }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 18px 0 0; letter-spacing: -0.03em; }
.sec-head p { font-size: 18px; color: var(--body); margin-top: 16px; line-height: 1.6; }

.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 30px; transition: transform .3s cubic-bezier(.16,.84,.44,1), box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-tint); }
.card h3 { font-size: 21px; font-weight: 700; margin: 20px 0 0; letter-spacing: -0.02em; }
.card p { font-size: 15px; color: var(--body); margin-top: 11px; line-height: 1.62; }

/* default "featured" layout */
[data-svc="featured"] .card.feature { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; }
[data-svc="featured"] .card.std { grid-column: span 3; }
[data-svc="featured"] .card.wide { grid-column: span 3; }

/* equal grid */
[data-svc="equal"] .svc-grid { grid-template-columns: repeat(3, 1fr); }
[data-svc="equal"] .card { grid-column: auto !important; grid-row: auto !important; }
[data-svc="equal"] .card .feature-extra { display: none; }

.svc-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); position: relative; }
.svc-icon svg { width: 30px; height: 30px; }
.card.feature .svc-icon { width: 64px; height: 64px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

/* SMS demo inside feature card */
.sms-demo { margin-top: auto; padding-top: 22px; }
.sms-demo .bubble { background: var(--emerald-soft); border: 1px solid var(--emerald-tint); border-radius: 14px; border-bottom-left-radius: 5px; padding: 13px 16px; display: flex; gap: 12px; align-items: center; max-width: 380px; }
.sms-demo .bubble .ic { width: 34px; height: 34px; border-radius: 10px; background: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.sms-demo .bubble .ic svg { width: 18px; height: 18px; }
.sms-demo .bubble .tx b { font-size: 11px; font-weight: 700; color: var(--emerald-deep); letter-spacing: .02em; text-transform: uppercase; }
.sms-demo .bubble .tx p { font-size: 14px; color: var(--ink-2); margin-top: 2px; font-weight: 500; }
.sms-demo .meta { font-size: 12px; color: var(--muted); margin-top: 8px; padding-left: 4px; font-weight: 500; }

.netgsm-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--emerald-deep); background: var(--emerald-soft); border: 1px solid var(--emerald-tint); padding: 6px 12px; border-radius: 999px; margin-top: 18px; }
.netgsm-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 color-mix(in srgb, var(--emerald) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--emerald) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  [data-svc="featured"] .card.feature { grid-column: 1 / -1; grid-row: auto; }
  [data-svc="featured"] .card.std, [data-svc="featured"] .card.wide { grid-column: auto; }
  [data-svc="equal"] .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-grid, [data-svc="equal"] .svc-grid { grid-template-columns: 1fr; }
  [data-svc="featured"] .card.feature { grid-column: auto; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 110px 0; background:
    radial-gradient(80% 120% at 50% -20%, var(--blue-soft) 0%, transparent 60%), var(--bg); }
.contact-card { max-width: 880px; margin: 0 auto; background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue) 100%); border-radius: 32px; padding: 64px 56px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--emerald) 55%, transparent) 0%, transparent 70%); }
.contact-card::after { content: ""; position: absolute; left: -40px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%); }
.contact-card .eyebrow { background: rgba(255,255,255,.14); color: #fff; position: relative; z-index: 1; }
.contact-card .eyebrow .dot { background: var(--emerald); box-shadow: 0 0 0 4px rgba(16,185,129,.25); }
.contact-card h2 { color: #fff; font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin: 22px 0 0; position: relative; z-index: 1; letter-spacing: -0.03em; }
.contact-card .lead { color: rgba(255,255,255,.82); font-size: 18px; margin: 16px auto 0; max-width: 480px; position: relative; z-index: 1; line-height: 1.6; }

.phone-card { display: inline-flex; align-items: center; gap: 18px; background: rgba(255,255,255,.97); border-radius: 20px; padding: 18px 26px 18px 20px; margin-top: 38px; position: relative; z-index: 1; box-shadow: 0 20px 40px -16px rgba(0,0,0,.4); transition: transform .25s ease, box-shadow .25s ease; }
.phone-card:hover { transform: translateY(-3px); box-shadow: 0 28px 50px -16px rgba(0,0,0,.45); }
.phone-card .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--emerald-soft); display: grid; place-items: center; flex-shrink: 0; }
.phone-card .ic svg { width: 28px; height: 28px; }
.phone-card .tx { text-align: left; }
.phone-card .tx .l { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.phone-card .tx .num { font-size: 27px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.phone-card .go { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-left: 6px; transition: background .2s, transform .2s; }
.phone-card .go svg { width: 18px; height: 18px; }
.phone-card:hover .go { background: var(--accent-deep); transform: scale(1.06); }

@media (max-width: 560px) {
  .contact-card { padding: 48px 26px; }
  .phone-card { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
  .phone-card .tx { text-align: center; }
  .phone-card .tx .num { font-size: clamp(20px, 6vw, 25px); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.ftr { background: var(--bg); padding: 56px 0 40px; border-top: 1px solid var(--line); }
.ftr-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
.ftr-tag { font-size: 15px; color: var(--body); max-width: 380px; line-height: 1.6; }
.ftr-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.ftr-bottom .cp { font-size: 14px; color: var(--muted); font-weight: 500; }
.ftr-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--accent-deep); padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); transition: background .2s, transform .2s; }
.ftr-link:hover { transform: translateY(-1px); background: var(--blue-tint); }
.ftr-link svg { width: 15px; height: 15px; }

/* ============================================================
   RESPONSIVE MOBILE RESET & COMPATIBILITY
   ============================================================ */
@media (max-width: 900px) {
  .nav { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 120px 0 64px; }
  .services, .contact, .why, .faq { padding: 76px 0; }
  .sec-head { margin-bottom: 38px; }
}

@media (max-width: 768px) {
  .hdr-cta { display: none; }
  .brand-name { font-size: 18px; }
  .hdr-right { gap: 8px; }
  .hero h1 .mark { white-space: normal; }
}

@media (max-width: 580px) {
  .hero-cta { flex-direction: column; width: 100%; gap: 10px; }
  .hero-cta .btn { justify-content: center; width: 100%; padding: 14px 20px; }
}

@media (max-width: 480px) {
  .hero { padding: 96px 0 48px; }
  .services, .contact, .why, .faq { padding: 56px 0; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; margin-top: 16px; }
  .hero-chips { margin-top: 28px; gap: 10px 16px; }
  .hero-chip { font-size: 13.5px; }

  /* Service Card optimizations */
  .card { padding: 22px 20px; }
  .card h3 { font-size: 19px; margin-top: 16px; }
  .card p { font-size: 14.5px; margin-top: 8px; }
  .tags { gap: 6px; margin-top: 14px; }
  .tag { font-size: 12px; padding: 4px 10px; }

  /* Dashboard mobile prevent overflow scaling */
  .dash-wrap { width: 100%; display: flex; justify-content: center; }
  .tablet { width: 100%; max-width: 320px; padding: 10px; border-radius: 18px; }
  .dash { padding: 10px; }
  .dash-biz .n { font-size: 12.5px; }
  .kpi .v { font-size: 18px; }
  .bars { height: 48px; gap: 6px; }
  .dash-list .nm { font-size: 11.5px; }
  
  /* Prevent floats from overflowing phone screen edges */
  .sms-pop {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 18px auto 0;
    width: 100%;
    max-width: 300px;
    box-shadow: var(--shadow-sm);
  }
  .qr-pop {
    position: relative;
    right: auto;
    top: auto;
    margin: 14px auto 0;
    width: 100%;
    max-width: 300px;
    justify-content: center;
    box-shadow: var(--shadow-sm);
  }
  
  /* Mockups scale */
  .phone { width: 230px; }
  .phone-screen { height: 460px; }
  .app-hero { height: 110px; }
  .app-hero .play { width: 44px; height: 44px; }
  .app-hero .play svg { width: 18px; height: 18px; }
  .app-list .li { padding: 8px 10px; gap: 8px; }
  .app-list .li .th { width: 32px; height: 32px; }
  
  .store-grid { gap: 10px; padding: 0 14px 14px; }
  .prod .meta { padding: 8px; }
  .prod .meta b { font-size: 11px; }
  .prod .img { height: 72px; }
  .store-head { padding: 16px 16px 10px; }
  
  .review-card { padding: 16px; }
  .qr-card { padding: 14px 16px; gap: 12px; }
  .qr-card .qr-big { width: 56px; height: 56px; padding: 6px; }
  .qr-card .tx b { font-size: 14px; }
  .qr-card .tx p { font-size: 12px; }
}

/* ── Custom Mobile Shifting & Hero Overflow Fixes ── */

@media (max-width: 980px) {
  /* ponytail: dekoratif dashboard mock masaüstü-only; tek-kolon (mobil/tablet) düzende gizle — eski "scale" denemeleri taşıyordu */
  .dash-wrap {
    display: none;
  }
  
  .tablet {
    width: 100%;
    box-sizing: border-box;
  }

  /* Make sure floating popups do not overflow viewport edges */
  .sms-pop {
    left: -20px;
    max-width: 250px;
  }
  
  .qr-pop {
    right: -20px;
    max-width: 240px;
  }
}

@media (max-width: 580px) {
  /* Under 580px, completely reset the absolute positioning of popups to avoid side cut-offs */
  .sms-pop {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin: 20px auto 0 !important;
    width: 100% !important;
    max-width: 320px !important;
    box-shadow: var(--shadow-sm) !important;
    animation: none !important;
  }

  .qr-pop {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    margin: 14px auto 0 !important;
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
    box-shadow: var(--shadow-sm) !important;
    animation: none !important;
  }
  
  .tablet {
    max-width: 340px !important;
    margin: 0 auto !important;
  }
}


/* ── About Studio / Founder Custom Styles ── */
.studio {
  padding: 110px 0;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}

.studio-container {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.studio-copy {
  max-width: 100%;
}

.studio-copy h2 {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 800;
  margin: 18px 0 0;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.studio-copy p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  margin-top: 18px;
}

.studio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.studio-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 10px 20px;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid color-mix(in srgb, var(--accent-deep) 15%, transparent);
}

.studio-link-btn.secondary {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: color-mix(in srgb, var(--blue) 15%, transparent);
}

.studio-link-btn:hover {
  transform: translateY(-1px);
  background: var(--blue-tint);
}

.studio-link-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.studio-link-btn:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 640px) {
  .studio {
    padding: 76px 0;
  }
  .studio-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .studio-link-btn {
    width: 100%;
    justify-content: center;
  }
}
