/* =========================================================
   Netsta — netsta.net
   Tek sayfa statik landing page
   ========================================================= */

/* ---------- 1. Tokenlar ---------- */
:root {
  /* Renkler */
  --green:        #0d5c4d;
  --green-dark:   #0a4a3e;
  --green-soft:   #e9f2ef;
  --green-light:  #8fc4b5;
  --green-accent: #38a586;
  --mint:         #cfe4dc;

  --bg:      #fafaf8;
  --surface: #fff;
  --ink:     #1a1a18;
  --muted:   #5c594f;
  --subtle:  #8a877e;
  --faint:   #b5b2a8;
  --line:    #eceae4;
  --border:  #dcd9d1;
  --danger:  #b23c2e;

  /* Yarıçap */
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-xl: 14px;
  --r-2xl: 16px;

  /* Gölge */
  --shadow-card: 0 12px 32px rgba(26, 26, 24, .1);
  --shadow-hover: 0 14px 30px rgba(26, 26, 24, .09);
  --shadow-nav: 0 2px 16px rgba(26, 26, 24, .06);

  /* Ölçü */
  --pad-x: 56px;
  --header-h: 69px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, dd, dl, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color .18s var(--ease);
}
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Ortak parçalar ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--green-light); }

h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -1px;
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }

.btn-ghost { border-color: var(--border); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }

.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: var(--r-sm); }
.btn-block { width: 100%; padding: 15px; }

/* ---------- 4. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-nav); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad-x);
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.5px;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo-dot { color: var(--green); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}
.nav-menu a { color: var(--ink); }
.nav-menu a:not(.btn):hover { color: var(--green); }
.nav-menu .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px var(--pad-x) 64px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  font-weight: 800;
  text-wrap: pretty;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.stats { display: flex; flex-wrap: wrap; gap: 40px; }
.stat-value { font-size: 26px; font-weight: 800; }
.stat-label { font-size: 13px; color: var(--subtle); margin-left: 0; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r-2xl);
}

.hero-card {
  position: absolute;
  left: -24px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}
.hero-card-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}
.hero-card-title { font-weight: 800; font-size: 14px; }
.hero-card-sub { font-size: 12px; color: var(--subtle); }

/* ---------- 6. Logo şeridi ---------- */
.logos { padding: 20px var(--pad-x) 56px; }
.logos-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--subtle);
  text-align: center;
  margin-bottom: 18px;
}
.logos-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 52px;
  font-weight: 800;
  font-size: 17px;
  color: var(--faint);
}

/* ---------- 7. Hizmetler ---------- */
.services {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 72px var(--pad-x);
}
.services h2 { margin-bottom: 40px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card { padding: 28px; background: var(--bg); }
.service-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-lg);
  background: var(--green);
  color: #fff;
  font-size: 18px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 800; }
.service-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---------- 8. Süreç ---------- */
.process {
  padding: 72px var(--pad-x);
  background: var(--green);
  color: #fff;
}
.process h2 { margin-bottom: 44px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step-no {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; font-weight: 800; }
.step-text { font-size: 14px; line-height: 1.6; color: var(--mint); }

/* ---------- 9. Referanslar ---------- */
.cases { padding: 72px var(--pad-x); background: var(--bg); }
.cases h2 { margin-bottom: 40px; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card { background: var(--surface); overflow: hidden; }
.case-card img { width: 100%; height: 180px; object-fit: cover; }
.case-body { padding: 20px 22px; }
.case-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}
.case-card h3 { font-size: 17px; margin-bottom: 6px; font-weight: 800; }
.case-text { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- 10. İletişim ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  padding: 72px var(--pad-x);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.contact h2 { margin-bottom: 16px; }
.contact-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--green); }

.contact-panel { display: flex; flex-direction: column; justify-content: center; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--subtle); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 92, 77, .12);
}

.contact-form input.error,
.contact-form textarea.error { border-color: var(--danger); }
.contact-form input.error:focus,
.contact-form textarea.error:focus { box-shadow: 0 0 0 3px rgba(178, 60, 46, .14); }

.field-error {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--danger);
  margin-top: 6px;
}

.form-success {
  background: var(--green-soft);
  border: 1px solid var(--green-light);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  text-align: center;
}

/* ---------- 11. Footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px var(--pad-x);
  background: var(--ink);
  color: var(--faint);
  font-size: 13px;
}
.footer-logo { color: #fff; font-size: 16px; }
.footer-dot { color: var(--green-accent); }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: var(--faint); }
.footer-social a:hover { color: #fff; }

/* ---------- Uygulama bilgi sayfaları ---------- */
.info-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.info-page .site-header { position: relative; }

.info-page .nav { max-width: 1120px; width: 100%; margin: 0 auto; }

.info-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.back-link:hover { color: var(--green); }

.language-switcher {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: var(--r-md);
}

.language-switcher button {
  min-width: 44px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.language-switcher button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(26, 26, 24, .1);
}

.info-main {
  flex: 1;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 72px var(--pad-x) 88px;
}

.info-hero {
  padding-bottom: 34px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.info-hero .eyebrow { margin-bottom: 14px; }
.info-hero h1 { margin-bottom: 14px; }

.last-updated {
  color: var(--subtle);
  font-size: 14px;
  font-weight: 600;
}

.info-content {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.info-content p + p,
.info-content p + ul,
.info-content ul + p { margin-top: 22px; }
.info-content strong { color: var(--ink); }
.info-content a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.info-content ul {
  padding-left: 24px;
  list-style: disc;
}
.info-content li + li { margin-top: 9px; }

.info-page .site-footer { justify-content: center; text-align: center; }

/* ---------- 12. Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 13. Responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  .services-grid,
  .cases-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media img { height: 360px; }
  .logos-list { gap: 36px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--pad-x) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
    font-size: 16px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 12px; padding: 14px 20px; font-size: 15px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 56px;
  }
  .hero-lead { max-width: none; }
  .hero-media { margin-right: 0; }
  .hero-card { left: 16px; bottom: -20px; }

  .contact { grid-template-columns: 1fr; gap: 40px; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  :root { --pad-x: 20px; }

  .services-grid,
  .cases-grid,
  .process-grid,
  .form-row { grid-template-columns: 1fr; }

  .hero { padding-top: 44px; padding-bottom: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-media img { height: 260px; }
  .hero-card {
    position: static;
    margin-top: 16px;
    box-shadow: none;
  }

  .stats { gap: 24px; }
  .stat { min-width: 88px; }

  .logos-list { gap: 18px 28px; font-size: 15px; }

  .services, .process, .cases, .contact { padding-top: 56px; padding-bottom: 56px; }

  .info-page .nav { gap: 14px; padding-top: 16px; padding-bottom: 16px; }
  .info-nav-actions { gap: 10px; }
  .back-link { display: none; }
  .info-main { padding-top: 48px; padding-bottom: 64px; }
  .info-content { font-size: 16px; line-height: 1.75; }
}

/* ---------- 14. Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 15. Baskı ---------- */
@media print {
  .site-header, .nav-toggle, .contact-form, .skip-link, .hero-actions { display: none !important; }
  body { background: #fff; }
  .process { background: #fff; color: #000; }
  .step-no { color: #444; }
  .step-text { color: #333; }
  .site-footer { background: #fff; color: #000; }
  .footer-logo { color: #000; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .card { break-inside: avoid; }
}
