/* GreenPOS tanıtım saytı — Figma 12 · Tanıtım saytı (Desktop 1440 / Mobil 390) */
:root {
  --bg: #f5f7f8; --surface: #fff; --border: #dde5e1; --text: #172b26; --muted: #66756f;
  --primary: #075e4c; --deep: #064b3d; --ink: #054436; --mint: #ddf7b0; --soft: #e6f2ee;
  --radius: 18px; --shadow: 0 1px 2px rgba(23,43,38,.04), 0 6px 16px -4px rgba(23,43,38,.08); --shadow-lg: 0 30px 60px -20px rgba(7,94,76,.35);
}
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+0400-04FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; position: relative; }
.wrap.narrow { width: min(860px, 100% - 48px); }
.muted { color: var(--muted); }
i[data-ic] { display: inline-grid; place-items: center; font-style: normal; }
i[data-ic] svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Düymələr */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 12px;
  font: 600 15px Inter, sans-serif; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; color: inherit; background: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); color: #fff; } .btn.primary:hover { background: var(--deep); box-shadow: 0 10px 20px -8px rgba(7,94,76,.5); }
.btn.ghost { border-color: var(--border); background: #fff; color: var(--text); } .btn.ghost:hover { border-color: #c9d6d0; }
.btn.ghost i { color: var(--primary); }
.btn.mint { background: var(--mint); color: var(--deep); } .btn.mint:hover { filter: brightness(.97); }
.btn.outline-light { border-color: rgba(255,255,255,.35); color: #fff; } .btn.outline-light:hover { background: rgba(255,255,255,.08); }
.btn.sm { height: 46px; padding: 0 18px; }
.btn.lg { height: 56px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* Naviqasiya */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo b { font-size: 22px; letter-spacing: -.02em; } .logo b span { color: var(--primary); }
.logo.light b { color: #fff; } .logo.light b span { color: var(--mint); }
.links { display: flex; gap: 32px; margin-left: auto; }
.links a { font-weight: 500; color: var(--text); font-size: 15px; } .links a:hover { color: var(--primary); }
.nav-login { font-weight: 600; font-size: 15px; } .nav-login:hover { color: var(--primary); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); background: #fff; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; cursor: pointer; margin-left: auto; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.burger[aria-expanded=true] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.only-mobile { display: none !important; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; background: linear-gradient(180deg, #f6fbf3 0%, #fff 70%); }
.blob { position: absolute; border-radius: 50%; background: #e4f6cf; }
.blob.b1 { width: 520px; height: 520px; right: -120px; top: -160px; }
.blob.b2 { width: 420px; height: 420px; left: -140px; top: 540px; opacity: .7; }
.hero-in { text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 5px; border-radius: 99px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 500; }
.badge b { background: var(--primary); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 13px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 800; margin: 26px auto 18px; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.lead { font-size: 20px; color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 15px; }
.ticks li::before { content: '✓'; color: var(--primary); font-weight: 800; margin-right: 8px; }
.hero-shot { position: relative; width: min(1060px, 100%); margin: 14px auto 0; padding-right: 160px; }
.device { border-radius: 16px; overflow: hidden; background: #fff; }
.device.laptop { border: 1px solid var(--border); border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-lg); max-height: 440px; }
.device.phone { border: 7px solid #0f2a24; border-radius: 30px; box-shadow: var(--shadow-lg); }
.hero-shot .phone { position: absolute; right: 0; top: 70px; width: 250px; }

/* Faktlar */
.stats { background: var(--primary); color: #fff; position: relative; z-index: 1; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; text-align: center; }
.stats b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stats span { color: var(--mint); font-size: 15px; }

/* Bölmələr */
.sec { padding: 110px 0; } .sec.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kicker { display: inline-block; color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.kicker.light { color: var(--mint); }
.sec-head h2, .ai-text h2, .mobile-text h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features article { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 28px; transition: transform .15s, box-shadow .15s, background .15s; }
.features article:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: #fff; }
.ic { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; font-size: 22px; }
.features h3 { font-size: 20px; margin-bottom: 10px; } .features p { margin: 0; color: var(--muted); font-size: 15px; }

.ai-in { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.ai-text p { color: var(--muted); font-size: 17px; margin: 18px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; font-weight: 500; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks li::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.ai-shot img { border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.st-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--primary); font-size: 20px; }
.st-top b { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 17px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; } .steps p { margin: 0; color: var(--muted); }

.mobile { background: linear-gradient(135deg, #0a7a62 0%, #075e4c 50%, #064b3d 100%); color: #fff; overflow: hidden; }
.mobile-in { display: grid; grid-template-columns: 440px 1fr; gap: 40px; align-items: center; min-height: 700px; padding: 60px 0; }
.mobile-text p { color: var(--mint); font-size: 17px; margin: 18px 0 26px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: column; background: #fff; color: var(--text); border-radius: 12px; padding: 8px 16px; line-height: 1.2; }
.store small { font-size: 11px; color: var(--muted); } .store b { font-size: 16px; }
.soon { display: block; margin-top: 14px; color: rgba(255,255,255,.7); } .soon a { color: var(--mint); text-decoration: underline; }
.phones { position: relative; height: 620px; }
.phones .phone { position: absolute; width: 240px; }
.phones .p1 { left: 0; top: 110px; } .phones .p2 { left: 50%; transform: translateX(-50%); top: 10px; width: 270px; z-index: 2; } .phones .p3 { right: 0; top: 110px; }

.period { display: flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--border); border-radius: 14px; width: fit-content; margin: -20px auto 32px; }
.period button { height: 40px; padding: 0 18px; border: 0; background: none; border-radius: 10px; font: 600 15px Inter, sans-serif; color: var(--text); cursor: pointer; }
.period button.on { background: var(--primary); color: #fff; }
.period small { font-size: 12px; color: var(--primary); margin-left: 4px; } .period .on small { color: var(--mint); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.plan.best { background: var(--primary); color: #fff; border-color: var(--primary); padding: 40px 32px; box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: 32px; right: 28px; background: var(--mint); color: var(--deep); border-radius: 99px; padding: 3px 12px; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 22px; } .plan .desc { color: var(--muted); margin: 6px 0 18px; font-size: 15px; } .plan.best .desc { color: var(--mint); }
.price { display: flex; align-items: baseline; gap: 6px; } .price b { font-size: 52px; letter-spacing: -.03em; font-weight: 800; } .price span { color: var(--muted); } .plan.best .price span { color: var(--mint); }
.price-sub { color: var(--muted); font-size: 13px; min-height: 20px; margin: 2px 0 16px; padding-bottom: 18px; border-bottom: 1px solid var(--border); } .plan.best .price-sub { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.18); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; } .plan li::before { content: '✓'; color: var(--primary); font-weight: 800; } .plan.best li::before { color: var(--mint); }
.plan .btn.ghost { background: var(--bg); border-color: var(--bg); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reviews figure { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--primary); letter-spacing: 3px; }
.reviews blockquote { margin: 0; font-size: 17px; line-height: 1.55; flex: 1; }
.reviews figcaption { display: flex; gap: 12px; align-items: center; }
.reviews figcaption i { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--primary); display: grid; place-items: center; font-style: normal; font-weight: 700; }
.reviews figcaption small { display: block; color: var(--muted); font-size: 13px; }

details { border: 1px solid var(--border); border-radius: 16px; padding: 0 24px; margin-bottom: 12px; background: #fff; transition: border-color .15s; }
details[open] { border: 1.5px solid var(--primary); }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); color: var(--primary); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; transition: transform .2s; }
details[open] summary::after { content: '×'; background: var(--primary); color: #fff; }
details p { margin: -6px 0 22px; color: var(--muted); }

.cta-box { background: linear-gradient(135deg, #0a7a62 0%, #075e4c 55%, #064b3d 100%); color: #fff; border-radius: 32px; padding: 64px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); }
.cta-ic { width: 72px; height: 72px; border-radius: 20px; background: var(--mint); display: grid; place-items: center; margin-bottom: 6px; }
.cta-box h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.cta-box p { color: var(--mint); font-size: 18px; margin: 0 0 12px; }

.foot { background: #062e25; color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand p { margin: 14px 0 0; max-width: 320px; }
.foot-cols { display: flex; gap: 64px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; } .foot-cols b { color: #fff; margin-bottom: 4px; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 14px; }

/* Müraciət popupu */
.lead-modal { position: fixed; inset: 0; z-index: 80; background: rgba(23,43,38,.5); display: grid; place-items: center; padding: 20px; animation: fade .15s; }
.lead-modal[hidden] { display: none; }
.lead-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.lead-card h2 { font-size: 28px; font-weight: 800; } .lead-card > p { margin: 8px 0 20px; }
.lead-x { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--bg); font-size: 22px; cursor: pointer; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; font: 15px Inter, sans-serif; color: var(--text); background: #fff; outline: none; width: 100%; }
.form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border: 2px solid var(--primary); box-shadow: 0 0 0 3px var(--mint); }
.form .invalid { border-color: #d32f2f; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14px; font-weight: 600; border-radius: 10px; }
.form-msg.ok { background: var(--mint); color: var(--deep); padding: 12px 14px; }
.form-msg.err { background: #fdecec; color: #d32f2f; padding: 12px 14px; }
@keyframes fade { from { opacity: 0; } }

/* ---------------- Planşet ---------------- */
@media (max-width: 1100px) {
  .ai-in, .mobile-in { grid-template-columns: 1fr; }
  .phones { height: 560px; max-width: 640px; margin: 0 auto; width: 100%; }
  .features, .reviews { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .hero-shot { padding-right: 110px; } .hero-shot .phone { width: 190px; }
}

/* ---------------- Mobil (Figma: Sayt · Mobil 390) ---------------- */
@media (max-width: 760px) {
  .wrap, .wrap.narrow { width: calc(100% - 40px); }
  .nav-in { height: 64px; gap: 12px; }
  .logo b { font-size: 19px; } .logo img { width: 32px; height: 32px; }
  .burger { display: flex; } .hide-mobile { display: none !important; } .only-mobile { display: inline-flex !important; }
  .links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px; transform: translateY(-130%); transition: transform .25s; box-shadow: 0 20px 30px rgba(0,0,0,.08); z-index: -1; }
  .links.open { transform: none; }
  .links a { padding: 15px 2px; font-size: 17px; border-bottom: 1px solid var(--bg); }
  .links .btn { margin-top: 14px; height: 52px; }
  .hero { padding-top: 32px; }
  .badge { font-size: 12px; height: 30px; } .badge b { font-size: 11px; }
  .hero h1 { font-size: 38px; margin: 18px 0 14px; }
  .lead { font-size: 16px; margin-bottom: 22px; }
  .cta .btn { width: 100%; }
  .ticks { gap: 6px 16px; font-size: 13px; }
  .hero-shot { padding: 0; margin-top: 28px; }
  .hero-shot .laptop { display: none; }
  .hero-shot .phone { position: static; width: 270px; margin: 0 auto -60px; }
  .stats-in { grid-template-columns: 1fr 1fr; gap: 22px 14px; padding: 30px 0; }
  .stats b { font-size: 28px; } .stats span { font-size: 12.5px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 30px; text-align: left; } .sec-head p { font-size: 15.5px; }
  .features, .reviews, .steps { grid-template-columns: 1fr; gap: 12px; }
  .features article { padding: 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; border-radius: 16px; }
  .features .ic { grid-row: span 2; margin: 0; width: 44px; height: 44px; font-size: 19px; }
  .features h3 { font-size: 16.5px; margin-bottom: 4px; } .features p { font-size: 14px; }
  .ai-in { gap: 28px; } .ai-text p { font-size: 15.5px; }
  .steps li { padding: 20px; }
  .mobile-in { min-height: 0; padding: 56px 0 0; }
  .phones { height: 430px; } .phones .phone { width: 170px; border-width: 5px; border-radius: 22px; } .phones .p2 { width: 190px; } .phones .p1 { top: 70px; } .phones .p3 { top: 70px; }
  .period { margin-top: 0; }
  .plan, .plan.best { padding: 26px 22px; } .price b { font-size: 44px; }
  .reviews figure { padding: 22px; } .reviews blockquote { font-size: 15.5px; }
  details { padding: 0 18px; } summary { font-size: 15.5px; padding: 18px 0; }
  .cta-box { padding: 44px 22px; border-radius: 24px; }
  .foot-in { flex-direction: column; gap: 28px; } .foot-cols { gap: 28px; flex-wrap: wrap; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .lead-card { padding: 24px 20px; } .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .badge { height: auto; min-height: 30px; padding: 4px 12px 4px 4px; text-align: left; line-height: 1.3; } }
