/* Betanova.tech — global enterprise-grade static site */
:root {
  --bg: #06080d;
  --bg-mid: #0c1018;
  --bg-elevated: #121822;
  --bg-card: rgba(18, 24, 34, 0.72);
  --text: #f0f2f7;
  --text-muted: #8b95a8;
  --text-subtle: #5c6575;
  --accent: #4f8fff;
  --accent-strong: #7eb0ff;
  --accent-dim: rgba(79, 143, 255, 0.12);
  --accent-glow: rgba(79, 143, 255, 0.45);
  --mint: #3ee8b6;
  --mint-dim: rgba(62, 232, 182, 0.1);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
  --max-wide: 1320px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap--wide {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

h1,
h2,
h3,
.section-title,
.hero h1,
.page-header h1 {
  font-family: var(--font-display);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 8, 13, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent-strong);
}

.logo span {
  font-weight: 600;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
  font-weight: 500;
}

.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
}

.btn-primary {
  background: linear-gradient(165deg, #5b94ff 0%, #3d7aed 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 32px rgba(61, 122, 237, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(165deg, #6fa0ff 0%, #4d86f0 100%);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 6rem) 0 clamp(4rem, 12vw, 7rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -20%, rgba(79, 143, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 50%, rgba(62, 232, 182, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(79, 143, 255, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 100%);
}

.hero__grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
  opacity: 0.7;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-wide));
}

.hero__layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem 4rem;
  }
}

.hero__copy {
  min-width: 0;
}

.hero__visual {
  min-width: 0;
}

.hero__figure {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(79, 143, 255, 0.12);
}

.hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 560 / 440;
  object-fit: cover;
  object-position: center;
}

.hero__caption {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  text-align: center;
  line-height: 1.45;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

/* Genel görsel çerçeveleri */
.media-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(18, 24, 34, 0.4);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.visual-band .media-frame img {
  aspect-ratio: 1600 / 520;
  max-height: min(52vw, 360px);
  object-position: center;
}

.tech-split .media-frame img {
  aspect-ratio: 520 / 400;
  max-height: 420px;
}

.media-frame--wide {
  border-radius: calc(var(--radius) + 2px);
}

.visual-band {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.visual-band .media-frame {
  margin: 0;
}

.tech-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .tech-split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

.tech-split .tech-row {
  padding-top: 0.25rem;
}

.split-visual {
  margin: 0 0 1.75rem;
}

.split-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 480 / 420;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(18, 24, 34, 0.35);
}

.section-head--tight {
  margin-bottom: 1.25rem;
}

.section-head--tight .section-title {
  font-size: 1.35rem;
}

.section-head--tight .section-intro {
  font-size: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--mint-dim);
  border: 1px solid rgba(62, 232, 182, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.125rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 22ch;
  background: linear-gradient(135deg, #fff 0%, #b8c5db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 0.5rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.65;
}

.hero-sub {
  margin: 0 0 2.25rem;
  font-size: 1rem;
  color: var(--text-subtle);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.hero-trust {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-trust p {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.logo-strip span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-subtle);
  opacity: 0.85;
}

/* Section shells */
section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.75rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-intro + .section-intro {
  margin-top: 1rem;
}

/* Stats */
.stats {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--bg-elevated);
  padding: 1.75rem 1.5rem;
  text-align: left;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Grids */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.625rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.card:hover {
  border-color: rgba(79, 143, 255, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(79, 143, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-strong);
}

.card__icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.area-group {
  margin-bottom: 3rem;
}

.area-group:last-child {
  margin-bottom: 0;
}

.area-group h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Tech chips */
.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s;
}

.chip:hover {
  border-color: rgba(79, 143, 255, 0.4);
  color: var(--text);
}

/* Split band */
.split-band {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split-band {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

.split-band h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.split-band .lead {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--mint-dim);
  border: 1px solid rgba(62, 232, 182, 0.35);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

/* CTA */
.cta {
  margin: 0;
  padding: clamp(3rem, 6vw, 4.5rem);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(79, 143, 255, 0.15) 0%, rgba(18, 24, 34, 0.95) 50%);
  border: 1px solid rgba(79, 143, 255, 0.25);
  text-align: center;
}

.cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0 auto 1.5rem;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.cta .hero-actions {
  justify-content: center;
}

/* Page header */
.page-header {
  position: relative;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% -30%, rgba(79, 143, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.page-header .wrap {
  position: relative;
  width: min(100% - 2rem, var(--max-wide));
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 58ch;
  font-size: 1.0625rem;
}

.prose {
  padding: 2.5rem 0 4.5rem;
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

.prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  max-width: 68ch;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

/* Form */
.form {
  max-width: 480px;
}

.form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form input,
.form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
    gap: 3rem;
  }
}

.site-footer .logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.site-footer p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 36ch;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.site-footer__credits {
  max-width: min(100%, 36rem);
  line-height: 1.45;
  text-align: right;
}

.site-footer__credits a {
  color: var(--accent-strong);
}

.site-footer__credits a:hover {
  color: var(--text);
}

.site-footer__file {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.95;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    background: rgba(6, 8, 13, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    gap: 0;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a.btn-primary {
    margin-top: 0.75rem;
    text-align: center;
  }
}

main {
  flex: 1;
}

.section--pull {
  padding-top: 0;
  margin-top: -0.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
