/* Health&Home — kurumsal site stil dosyası */

@font-face {
  font-family: 'Plex';
  src: local('IBM Plex Sans');
}

:root {
  --bg: #0B1420;
  --panel: #101C2C;
  --panel-2: #132133;
  --line: #22364A;
  --line-soft: #182839;
  --text: #E7EEF4;
  --text-dim: #93A6B8;
  --text-faint: #5C7086;
  --accent: #3FC6D6;
  --accent-dim: #2A8E9C;
  --accent-soft: rgba(63, 198, 214, 0.12);
  --danger: #E0955A;
  --radius: 3px;
  --maxw: 1180px;
  --serif-none: 1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(63,198,214,0.07), transparent 60%),
    radial-gradient(ellipse 700px 400px at 100% 10%, rgba(63,198,214,0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.mono {
  font-family: 'IBM Plex Mono', 'Consolas', monospace;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 20, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark svg { width: 16px; height: 16px; }

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-name span { color: var(--accent); }

nav.primary {
  display: flex;
  gap: 6px;
  align-items: center;
}

nav.primary a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14.5px;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}

nav.primary a:hover { color: var(--text); background: var(--panel-2); }
nav.primary a.active { color: var(--accent); }

.nav-cta {
  border: 1px solid var(--accent-dim) !important;
  color: var(--accent) !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--accent-soft) !important; }

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #06171C;
  font-weight: 600;
}
.btn-primary:hover { background: #55D2E0; }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent-dim); color: var(--accent); }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero waveform ---------- */

.hero {
  position: relative;
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--accent);
}

h1.hero-title {
  font-size: 46px;
  line-height: 1.14;
  font-weight: 600;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.waveform-box {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
}

.waveform-box .label-row {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.waveform-box .label-row .live {
  color: var(--accent);
}

.waveform-svg { width: 100%; height: 140px; display: block; }

.wf-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(63,198,214,0.45));
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.6s ease-out forwards;
}

.wf-grid line { stroke: var(--line-soft); stroke-width: 1; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.waveform-box .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.waveform-box .stat b {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
}
.waveform-box .stat span {
  font-size: 11.5px;
  color: var(--text-faint);
}

@media (prefers-reduced-motion: reduce) {
  .wf-path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Sections ---------- */

section { padding: 84px 0; border-bottom: 1px solid var(--line-soft); }
section:last-of-type { border-bottom: none; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

h2.section-title {
  font-size: 30px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
  max-width: 20ch;
}

.section-desc {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 42ch;
  margin: 10px 0 0;
}

/* Numbered capability list (genuinely sequential process) */

.process {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
}

.process-item .num {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 14px;
  padding-top: 3px;
}

.process-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.process-item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  max-width: 62ch;
}

/* Capability grid (not sequential -> no numbers) */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.cap-card {
  background: var(--bg);
  padding: 30px 28px;
}

.cap-card h3 {
  font-size: 16.5px;
  margin: 0 0 10px;
  font-weight: 600;
}

.cap-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
}

.cap-card .tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
}

/* ---------- Product table/grid ---------- */

.product-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.product-toolbar input, .product-toolbar select {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 11px 14px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
}
.product-toolbar input { flex: 1; min-width: 200px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.product-card {
  background: var(--panel);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-thumb {
  aspect-ratio: 4/3;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}

.product-thumb svg { width: 46%; height: 46%; opacity: 0.85; }

.product-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--accent);
}

.product-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.product-card p.pcat {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

.product-card .pbtn {
  margin-top: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.product-card .pbtn:hover { border-color: var(--accent-dim); color: var(--accent); }

/* ---------- Form widget (proje talebi) ---------- */

.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.form-panel .fp-head { margin-bottom: 26px; }
.form-panel .fp-head h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.form-panel .fp-head p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 7px;
  font-family: 'IBM Plex Mono', monospace;
}

.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-status {
  margin-top: 16px;
  font-size: 13.5px;
  min-height: 18px;
}
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }

.form-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.contact-info dl {
  margin: 0;
}
.contact-info dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--text-faint);
  margin: 24px 0 6px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 0;
  font-size: 15.5px;
  color: var(--text);
}

/* ---------- Quote / about ---------- */

.about-lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
  max-width: 68ch;
  margin: 0 0 40px;
  font-weight: 400;
}

.about-body { color: var(--text-dim); font-size: 15.5px; max-width: 68ch; }
.about-body p { margin: 0 0 18px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 48px 0;
}
.stat-cell { background: var(--bg); padding: 26px 22px; }
.stat-cell b {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 26px;
  color: var(--accent);
  font-weight: 500;
}
.stat-cell span { font-size: 12.5px; color: var(--text-faint); }

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 32px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-row .brand-name { font-size: 14.5px; }
footer.site .fmeta {
  font-size: 12.5px;
  color: var(--text-faint);
}
footer.site nav a {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 13px;
  margin-left: 20px;
}
footer.site nav a:hover { color: var(--accent); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.cta-band p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cap-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  nav.primary:not(.mobile-open) { display: none; }
  .nav-toggle {
    display: flex;
    background: none;
    border: 1px solid var(--line);
    color: var(--text);
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
  }
  nav.primary.mobile-open {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  nav.primary.mobile-open a { padding: 13px 16px; }
}

@media (max-width: 620px) {
  h1.hero-title { font-size: 32px; }
  .wrap { padding: 0 20px; }
  .nav-row { padding: 0 20px; }
  .cap-grid, .product-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 40px 1fr; }
  section { padding: 56px 0; }
  .form-panel { padding: 26px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
