/* ============================================================
   OS Yazılım — UI v3 · Atlas Teal
   Sade / ileri düzey yüzey katmanı
   ============================================================ */

:root {
  --ink: #071a17;
  --ink-2: #0b2e28;
  --paper: #f5f7f6;
  --mist: #e7efec;
  --steel: #5c6b66;
  --line-v2: rgba(7, 26, 23, .08);
  --signal: #0f766e;
  --signal-2: #14b8a6;
  --wa: #128c7e;
  --wa-soft: rgba(18, 140, 126, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius-v3: 18px;
}

html { color-scheme: light; }

body {
  font-family: "Figtree", "Plus Jakarta Sans", system-ui, sans-serif;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(20, 184, 166, .14), transparent 55%),
    radial-gradient(720px 460px at 92% 0%, rgba(15, 118, 110, .10), transparent 50%),
    linear-gradient(180deg, #f8faf9 0%, var(--paper) 42%, var(--mist) 100%);
  color: var(--ink);
  letter-spacing: -.011em;
}

/* Subtle mesh atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .35;
  background-image:
    linear-gradient(rgba(7, 26, 23, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 26, 23, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}

h1, h2, h3, h4 {
  font-family: Sora, Outfit, sans-serif;
  letter-spacing: -.04em;
  font-weight: 700;
  color: var(--ink);
}

.lead { max-width: 44ch; color: var(--steel); line-height: 1.65; }

/* ── Header ── */
.header {
  background: linear-gradient(180deg, #061512 0%, #0a2420 100%) !important;
  border-bottom: 1px solid rgba(45, 212, 191, .12);
  box-shadow: 0 12px 40px rgba(6, 21, 18, .28);
}
.topbar {
  font-size: 12px;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-block: 9px;
  color: rgba(226, 250, 245, .72);
}
.topbar .wa-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar .wa-hint a {
  color: #5eead4;
  font-weight: 650;
}
.topbar .wa-only-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, .2);
  color: #99f6e4;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.header-inner { padding-block: 15px; }
.nav a {
  position: relative;
  font-weight: 600;
  font-size: 14px;
  opacity: .82;
  transition: opacity .2s var(--ease), color .2s;
}
.nav a:hover, .nav a.active { opacity: 1; color: #fff; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #14b8a6, #2dd4bf);
}

/* ── Buttons ── */
.btn {
  border-radius: 12px;
  font-family: Sora, sans-serif;
  font-weight: 700;
  letter-spacing: -.015em;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 55%, #2dd4bf 100%) !important;
  color: #042f2e !important;
  border: 0;
  box-shadow: 0 12px 28px rgba(15, 118, 110, .28);
}
.btn-ghost {
  border-radius: 12px;
  border-color: rgba(7, 26, 23, .12);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
}
.btn-wa {
  background: linear-gradient(135deg, #0f766e, #25d366) !important;
  color: #fff !important;
  border: 0;
  box-shadow: 0 12px 28px rgba(18, 140, 126, .3);
}
.header-cta .btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 100px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 40% auto -10%;
  height: 70%;
  background: radial-gradient(circle, rgba(20,184,166,.16), transparent 65%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; animation: rise .75s var(--ease) both; }
.hero-visual { animation: rise .9s var(--ease) .1s both; }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Sora, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--signal);
  margin-bottom: 16px;
  background: none;
  border: 0;
  padding: 0;
}
.eyebrow::before, .kicker::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--signal), var(--signal-2));
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  max-width: 13ch;
  margin-bottom: 18px;
  line-height: 1.05;
  background: linear-gradient(135deg, #071a17 0%, #0f766e 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-meta {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-meta > div {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line-v2);
  backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), border-color .25s;
}
.hero-meta > div:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, .35);
}
.hero-meta b {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 24px;
  letter-spacing: -.04em;
  color: var(--signal);
}
.hero-meta span { color: var(--steel); font-size: 12px; font-weight: 650; }

.device, .hero-product-shot {
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(7, 26, 23, .16),
    0 0 0 1px rgba(20, 184, 166, .12);
}

/* ── Sections ── */
.section { padding-block: clamp(60px, 8vw, 104px); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  max-width: 16ch;
  margin: 0;
}
.section-head p { max-width: 40ch; color: var(--steel); margin: 0; }

.section-band--accent {
  background:
    linear-gradient(180deg, rgba(20,184,166,.06), transparent 70%);
}
.section-band--elevated {
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.25));
}

/* Cards */
.card, .module-card, .pkg-card, .blog-card {
  border: 1px solid var(--line-v2) !important;
  background: rgba(255,255,255,.82) !important;
  backdrop-filter: blur(12px);
  border-radius: var(--radius-v3) !important;
  box-shadow: none !important;
  transition: transform .28s var(--ease), border-color .28s, background .28s;
}
.card:hover, .module-card:hover, .pkg-card:hover, .blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 184, 166, .35) !important;
  background: #fff !important;
}
.module-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background: rgba(20, 184, 166, .12) !important;
  color: var(--signal) !important;
  border: 1px solid rgba(20, 184, 166, .22) !important;
}

/* Capabilities */
.cap-section { position: relative; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.cap-item {
  grid-column: span 4;
  padding: 30px 28px;
  border-radius: 22px;
  border: 1px solid var(--line-v2);
  background: rgba(255,255,255,.8);
  position: relative;
  overflow: hidden;
  min-height: 210px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.cap-item:nth-child(1) { grid-column: span 7; }
.cap-item:nth-child(2) { grid-column: span 5; }
.cap-item:nth-child(3) { grid-column: span 5; }
.cap-item:nth-child(4) { grid-column: span 7; }
.cap-item::after {
  content: "";
  position: absolute;
  right: -48px; top: -48px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.18), transparent 70%);
  pointer-events: none;
}
.cap-item:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 184, 166, .4);
  box-shadow: 0 28px 56px rgba(7, 26, 23, .08);
}
.cap-index {
  font-family: Sora, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--signal);
  margin-bottom: 18px;
}
.cap-item h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 10px;
  max-width: 14ch;
}
.cap-item p {
  color: var(--steel);
  margin: 0;
  max-width: 36ch;
  font-size: 15px;
}

/* Steps */
.step b {
  color: var(--signal) !important;
  font-family: Sora, sans-serif;
}

/* CTA */
.cta-banner--pro {
  border-radius: 28px !important;
  border: 1px solid rgba(45, 212, 191, .18) !important;
  background:
    radial-gradient(520px 260px at 88% 18%, rgba(20,184,166,.35), transparent 60%),
    radial-gradient(400px 220px at 8% 90%, rgba(15,118,110,.25), transparent 55%),
    linear-gradient(145deg, #061512 0%, #0b2e28 48%, #0f3d36 100%) !important;
  color: #fff;
  overflow: hidden;
}
.cta-banner--pro .muted,
.cta-banner--pro p { color: rgba(204, 251, 241, .72) !important; }
.cta-banner--pro h2 { color: #fff; font-family: Sora, sans-serif; }
.cta-banner__bullets li { color: rgba(236, 253, 245, .86); }
.cta-banner__actions .btn-ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.cta-wa-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(153, 246, 228, .92);
  margin-top: 4px;
}

/* Contact */
.contact-wa-panel { display: grid; gap: 18px; }
.wa-alert {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15,118,110,.12), rgba(45,212,191,.08));
  border: 1px solid rgba(15, 118, 110, .28);
}
.wa-alert strong { display: block; font-size: 14px; color: #0f766e; }
.wa-alert span { color: #115e59; font-size: 13.5px; line-height: 1.5; }
.contact-phone-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.contact-phone-line a {
  font-family: Sora, sans-serif;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--ink);
}
.contact-meta { display: grid; gap: 10px; margin-top: 8px; }
.contact-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line-v2);
}
.contact-meta small {
  color: var(--steel);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Page hero */
.page-hero h1 {
  font-family: Sora, sans-serif;
  letter-spacing: -.04em;
}
.badge {
  background: rgba(20, 184, 166, .12) !important;
  color: #0f766e !important;
  border: 1px solid rgba(20, 184, 166, .22);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #061512 0%, #04100e 100%) !important;
  border-top: 1px solid rgba(45, 212, 191, .1);
}
.footer .wa-only-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(153, 246, 228, .78);
}
.footer-title { color: #99f6e4 !important; }

/* WhatsApp FAB */
.wa {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0f766e, #25d366) !important;
  box-shadow: 0 16px 40px rgba(15, 118, 110, .45);
  font-weight: 800;
  letter-spacing: .02em;
}

/* Motion */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.cap-item { animation: rise .7s var(--ease) both; }
.cap-item:nth-child(2) { animation-delay: .06s; }
.cap-item:nth-child(3) { animation-delay: .12s; }
.cap-item:nth-child(4) { animation-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-visual, .cap-item { animation: none !important; transition: none !important; }
}

@media (max-width: 980px) {
  .cap-item,
  .cap-item:nth-child(1),
  .cap-item:nth-child(2),
  .cap-item:nth-child(3),
  .cap-item:nth-child(4) { grid-column: span 12; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { max-width: 16ch; }
}
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: start; }
  .contact-phone-line a { font-size: 22px; }
}
