/* HASVIO tanıtım sitesi. Renkler panelle aynı: koyu yeşil-siyah zemin, petrol vurgu. */
:root {
  --ink: #13201D; --ink-2: #1A2B27; --muted: #5A6A66; --line: #DCE4E2;
  --bg: #F4F7F6; --surface: #FFFFFF; --accent: #0E6B63; --accent-2: #3CB5A8; --accent-soft: #DCEEEB;
  --amber: #B8740F; --amber-soft: #FBEBD0; --bad: #B03E2B;
  --r: 14px;
  --f: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 17px/1.55 var(--f); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 19px; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 19px; color: #3B4B47; max-width: 34em; }

/* düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font: 600 15px/1 var(--f); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.lg { padding: 15px 24px; font-size: 16px; }
.btn.primary { background: var(--accent-2); color: #06201C; }
.btn.primary:hover { background: #52c7ba; }
.btn.ghost { border-color: currentColor; color: inherit; background: transparent; }

/* üst menü */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(19, 32, 29, .92); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { filter: invert(1); }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: #C9D6D3; text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-cta .ghost { color: #C9D6D3; border-color: rgba(255,255,255,.22); }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(60,181,168,.22), transparent 60%), var(--ink); color: #fff; padding: 72px 0 96px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead { color: #C9D6D3; margin-top: 20px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-cta .ghost { color: #E3ECE9; border-color: rgba(255,255,255,.28); }
.trust { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #A9BAB6; }
.trust .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); margin-right: 8px; box-shadow: 0 0 0 4px rgba(60,181,168,.18); }

/* panel ekranı çizimi */
.hero-visual { position: relative; min-height: 440px; }
.screen { position: absolute; right: -40px; top: 0; width: 640px; background: #F6F8F7; border-radius: 12px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; color: var(--ink); font-size: 11px; }
.screen-bar { height: 30px; background: #E7ECEA; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C7D0CD; }
.screen-bar span { margin-left: 14px; font: 11px var(--mono); color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 6px; }
.screen-body { display: grid; grid-template-columns: 138px 1fr; height: 380px; }
.sb-side { background: #fff; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.sb-side img { width: 84px; margin: 0 6px 12px; }
.sb-side b { font-weight: 500; padding: 6px 8px; border-radius: 6px; }
.sb-side b.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.sb-side small { font-size: 8.5px; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 10px 8px 2px; }
.sb-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.kpi small { font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kpi strong { font: 700 17px var(--mono); }
.kpi em { font-style: normal; color: var(--accent); font-size: 9.5px; }
.chart { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.chart-h { display: flex; justify-content: space-between; font-size: 10px; }
.chart-h span { color: var(--muted); display: flex; gap: 6px; align-items: center; }
.chart-h i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.l1 { background: #D3DBD9; } .l2 { background: var(--accent-2); }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; height: 96px; margin-top: 8px; align-items: end; }
.bars div { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 100%; align-items: end; position: relative; padding-bottom: 14px; }
.bars i { display: block; background: #D3DBD9; border-radius: 3px 3px 0 0; }
.bars i + i { background: var(--accent-2); }
.bars span { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 8.5px; color: var(--muted); }
.rows { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.rows div { display: grid; grid-template-columns: 54px 1fr auto; padding: 7px 12px; border-bottom: 1px solid var(--line); align-items: center; }
.rows div:last-child { border: 0; }
.rows b { color: var(--accent); }
.rows em { font: 700 10px var(--mono); font-style: normal; padding: 2px 8px; border-radius: 99px; }
.rows .bad { background: #F7E0DB; color: var(--bad); } .rows .warn { background: var(--amber-soft); color: var(--amber); } .rows .ok { background: #DFF1E6; color: #2A7A4B; }

/* sakin telefonu çizimi */
.phone { position: absolute; left: -10px; bottom: -70px; width: 200px; height: 400px; background: #0B1211; border-radius: 30px; padding: 9px; box-shadow: 0 30px 60px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 64px; height: 16px; background: #0B1211; border-radius: 10px; z-index: 2; }
.ph-body { background: #F6F8F7; height: 100%; border-radius: 22px; padding: 38px 13px 13px; color: var(--ink); display: flex; flex-direction: column; gap: 8px; font-size: 10px; }
.ph-body > small { color: var(--muted); }
.ph-title { font-size: 14px; margin-top: -6px; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; display: flex; flex-direction: column; }
.ph-card small { font-size: 8px; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.ph-card strong { font: 700 20px var(--mono); color: var(--bad); }
.ph-card span { font-size: 8.5px; color: var(--muted); }
.ph-iban { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; display: flex; flex-direction: column; gap: 1px; }
.ph-iban small { color: var(--muted); font-size: 8.5px; }
.ph-iban b { font: 700 10.5px var(--mono); }
.ph-move { display: flex; justify-content: space-between; padding: 6px 2px; border-bottom: 1px solid var(--line); }
.ph-move b { font-family: var(--mono); }
.ph-move .g { color: #2A7A4B; }

/* rakam şeridi */
.strip { background: var(--ink-2); color: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.strip strong { display: block; font: 700 34px var(--mono); color: var(--accent-2); }
.strip span { font-size: 14px; color: #A9BAB6; }

/* bölümler */
.sec { padding: 104px 0; }
.sec.alt { background: #fff; }
.sec-head { margin-bottom: 48px; max-width: 700px; }
.sec-head .sub { color: var(--muted); margin-top: 12px; font-size: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .2s, transform .2s; }
.feat:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.feat svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat p { color: var(--muted); margin-top: 8px; font-size: 16px; }

.soon { margin-top: 28px; background: var(--ink); color: #fff; border-radius: 20px; padding: 32px; }
.soon-h { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--amber); color: #fff; padding: 4px 10px; border-radius: 6px; }
.soon-grid div { border-left: 2px solid var(--accent-2); padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.soon-grid span { color: #A9BAB6; font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps li { background: var(--bg); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 18px var(--mono); margin-bottom: 8px; }
.steps b { font-size: 20px; }
.steps p { color: var(--muted); }

.plans { align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan h3 { font-size: 26px; }
.plan-for { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent-2); border-bottom: 2.5px solid var(--accent-2); transform: rotate(-45deg); }
.plan li i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--amber); background: var(--amber-soft); padding: 2px 7px; border-radius: 5px; margin-left: 4px; text-transform: uppercase; letter-spacing: .05em; }
.plan .btn { align-self: stretch; }
.plan.ghost, .plan .ghost { color: var(--ink); }
.plan.hot { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(19,32,29,.6); }
.plan.hot .plan-for { color: #A9BAB6; }
.badge { position: absolute; top: -12px; left: 32px; background: var(--amber); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; }

.sec.dark { background: var(--ink); color: #fff; }
.sec.dark .eyebrow { color: var(--accent-2); }
.sec.dark .lead { color: #C9D6D3; margin-top: 16px; }
.tr-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tr-map { display: flex; align-items: center; }
.node { background: var(--ink-2); border: 1px solid rgba(60,181,168,.35); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 4px; min-width: 170px; }
.node b { font-size: 20px; }
.node span { color: #A9BAB6; font-size: 14px; }
.node.a { box-shadow: 0 0 0 6px rgba(60,181,168,.08); }
.link { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--accent-2) 0 8px, transparent 8px 14px); position: relative; margin: 0 10px; }
.link span { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: var(--accent-2); font-weight: 600; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 22px; color: var(--muted); }

.sec.cta { background: linear-gradient(160deg, var(--accent) 0%, #0A4F49 100%); color: #fff; }
.sec.cta .eyebrow { color: #B9EAE4; }
.sec.cta .lead { color: #D6EEEA; margin-top: 16px; }
.demo-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.demo { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.demo label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.demo input, .demo select, .demo textarea { font: 16px var(--f); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.demo input:focus, .demo select:focus, .demo textarea:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.demo .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; } /* bot tuzağı */
.form-msg { font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: #2A7A4B; } .form-msg.err { color: var(--bad); }

.foot { background: var(--ink); color: #A9BAB6; padding: 36px 0; font-size: 14px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot img { filter: invert(1); opacity: .9; }
.foot nav { display: flex; gap: 18px; margin-left: auto; }
.foot a { color: #C9D6D3; text-decoration: none; }
.foot small { width: 100%; opacity: .7; }

/* görünür olunca yumuşak giriş */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* tablet ve telefon */
@media (max-width: 1020px) {
  .hero-in, .tr-in, .demo-in { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; height: 420px; margin-top: 12px; }
  .screen { right: auto; left: 60px; width: 600px; }
  .phone { left: 0; bottom: -40px; }
  .links { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-cta .ghost { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-visual { height: 360px; }
  .screen { left: 70px; width: 520px; transform: scale(.82); transform-origin: top left; }
  .phone { transform: scale(.82); transform-origin: bottom left; bottom: -10px; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .sec { padding: 72px 0; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .plan.hot { transform: none; }
  .tr-map { flex-direction: column; align-items: stretch; }
  .link { height: 48px; width: 2px; flex: none; margin: 8px auto; background: repeating-linear-gradient(180deg, var(--accent-2) 0 8px, transparent 8px 14px); }
  .link span { top: 50%; left: 16px; transform: translateY(-50%); }
  .f2 { grid-template-columns: 1fr; }
  .demo { padding: 22px; }
  .foot nav { margin-left: 0; }
}
.foot span a, .foot small a { color: inherit; }
