/* ==========================================================================
   ConstWare / GoPal — Resmi Web Sitesi Tasarım Sistemi
   Domain: https://constwaregopal.com
   ========================================================================== */

:root {
  --bg: #05080f;
  --bg-alt: #090e1a;
  --surface: #0f172a;
  --surface-2: #152036;
  --surface-glass: rgba(11, 17, 30, 0.78);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --primary: #00bcd4;
  --primary-light: #22d3ee;
  --primary-glow: rgba(0, 188, 212, 0.32);
  --brand-blue: #1d9bf0;
  --brand-gold: #facc15;
  --brand-red: #ef4444;
  --success: #10b981;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(0, 188, 212, 0.18);
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1200px;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Mühendislik blueprint grid + ambient neon arka plan */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 10%, #000 40%, transparent 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(620px circle at 12% 8%, rgba(0, 188, 212, 0.14), transparent 60%),
    radial-gradient(540px circle at 88% 14%, rgba(29, 155, 240, 0.12), transparent 60%),
    radial-gradient(480px circle at 76% 78%, rgba(250, 204, 21, 0.06), transparent 60%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

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

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.navbar.scrolled {
  background: rgba(5, 8, 15, 0.92);
  border-bottom-color: rgba(34, 211, 238, 0.2);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-title .accent {
  color: var(--primary-light);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobil çekmece */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(7, 11, 20, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, #00bcd4 0%, #1d9bf0 100%);
  color: #031018;
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 188, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #140f02;
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(250, 204, 21, 0.38);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 188, 212, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--primary-light);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 12px var(--primary-light);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 68px 0 84px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.7vw, 3.85rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
}

.text-gradient {
  background: linear-gradient(120deg, #22d3ee 0%, #38bdf8 45%, #facc15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

/* Çak Bir Beşlik Canlı Widget */
.highfive-widget {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  margin-bottom: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(9, 14, 26, 0.94));
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 28px rgba(250, 204, 21, 0.12);
}

.highfive-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #140f02;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.32);
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.25s ease, color 0.25s ease;
  overflow: visible;
}

.highfive-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.48);
}

.highfive-btn:active {
  transform: scale(0.96);
}

.highfive-btn.clapped {
  background: linear-gradient(135deg, #10b981 0%, #00bcd4 100%);
  color: #031317;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.32);
}

.highfive-hand {
  font-size: 1.25rem;
  display: inline-block;
  transition: transform 0.25s ease;
}

.highfive-btn:hover .highfive-hand {
  transform: rotate(-10deg) scale(1.15);
}

.highfive-btn.pop .highfive-hand {
  animation: handSlap 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes handSlap {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.45) rotate(-18deg); }
  70% { transform: scale(1.15) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.highfive-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hf-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: sparkFly 0.65s ease-out forwards;
}

@keyframes sparkFly {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.2);
  }
}

.highfive-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 6px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulseDot 1.6s infinite;
}

.highfive-stats {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.highfive-count {
  font-family: var(--font-mono);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.highfive-count.bump {
  transform: scale(1.24);
  color: var(--brand-gold);
}

.highfive-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.metric-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hero Device / Engineering Studio Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 36px;
  background: conic-gradient(
    from 120deg,
    rgba(0, 188, 212, 0.28),
    rgba(250, 204, 21, 0.16),
    rgba(239, 68, 68, 0.16),
    rgba(29, 155, 240, 0.28),
    rgba(0, 188, 212, 0.28)
  );
  filter: blur(42px);
  opacity: 0.65;
  z-index: 0;
}

.studio-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(9, 14, 26, 0.97) 100%);
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.studio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-blue), var(--brand-red));
}

.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.studio-app-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-app-id img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.studio-app-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  display: block;
}

.studio-app-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary-light);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.studio-canvas {
  background: #060a14;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  position: relative;
}

.studio-canvas-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.studio-svg {
  width: 100%;
  height: auto;
  display: block;
}

.studio-readouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.readout {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}

.readout-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.readout-v {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.readout-v.cyan { color: var(--primary-light); }
.readout-v.gold { color: var(--brand-gold); }
.readout-v.green { color: #34d399; }

.studio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */

.section {
  padding: 84px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.55) 0%, rgba(5, 8, 15, 0.3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 14px 0 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.03rem;
  margin: 0;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.76) 0%, rgba(11, 17, 30, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.36);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(0, 188, 212, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.26);
  color: var(--primary-light);
}

.feature-icon.gold {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.28);
  color: var(--brand-gold);
}

.feature-icon.red {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.28);
  color: #f87171;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   Modules Showcase
   ========================================================================== */

.modules-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--text);
}

.filter-btn.active {
  background: linear-gradient(135deg, #00bcd4 0%, #1d9bf0 100%);
  border-color: transparent;
  color: #031018;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.28);
}

.search-box {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.75);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.18);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.module-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(10, 15, 28, 0.94) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 188, 212, 0.14);
}

.module-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070b14;
}

.module-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.module-card:hover .module-thumb img {
  transform: scale(1.06);
}

.module-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(9, 14, 26, 0.92) 100%);
}

.module-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cat-chip {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 600;
  color: #e2e8f0;
}

.new-chip {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #140f02;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.module-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.module-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--text);
}

.module-body p {
  font-size: 0.89rem;
  color: var(--text-muted);
  margin: 0 0 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.module-spec {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary-light);
}

.module-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.module-card:hover .module-more {
  color: var(--primary-light);
}

.modules-empty {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(9, 14, 26, 0.96) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.price-card.featured {
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 48px rgba(250, 204, 21, 0.12);
}

.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand-gold), var(--primary-light));
}

.price-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(0, 188, 212, 0.14);
  color: var(--primary-light);
  border: 1px solid rgba(34, 211, 238, 0.25);
  margin-bottom: 16px;
}

.price-card.featured .price-badge {
  background: rgba(250, 204, 21, 0.14);
  color: var(--brand-gold);
  border-color: rgba(250, 204, 21, 0.35);
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 8px;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 0 0 20px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.price-now {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
}

.price-old {
  font-size: 1.05rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-period {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: #e2e8f0;
}

.price-features li.excluded {
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-features li.highlight {
  color: #fff;
  font-weight: 600;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon.ok { color: #34d399; }
.check-icon.gold { color: var(--brand-gold); }
.check-icon.no { color: var(--text-dim); }

/* ==========================================================================
   Security & Trust Strip
   ========================================================================== */

.security-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
}

.trust-item h4 {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.trust-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-quick-cards {
  display: grid;
  gap: 14px;
}

.legal-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(11, 17, 30, 0.95));
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.legal-link-card:hover {
  transform: translateX(4px);
  border-color: rgba(34, 211, 238, 0.45);
}

.legal-link-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.04rem;
  margin-bottom: 3px;
}

.legal-link-card span {
  font-size: 0.87rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Download CTA Banner
   ========================================================================== */

.cta-banner {
  position: relative;
  border-radius: 28px;
  padding: 52px 44px;
  background:
    radial-gradient(500px circle at 10% 10%, rgba(0, 188, 212, 0.2), transparent 60%),
    radial-gradient(500px circle at 90% 90%, rgba(250, 204, 21, 0.12), transparent 60%),
    linear-gradient(145deg, #0d1629 0%, #070c17 100%);
  border: 1px solid rgba(34, 211, 238, 0.28);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 12px 0 14px;
}

.cta-banner p {
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 54ch;
}

.store-cards {
  display: grid;
  gap: 12px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(5, 8, 15, 0.78);
  border: 1px solid var(--border-strong);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  background: rgba(15, 23, 42, 0.92);
}

.store-btn.soon {
  opacity: 0.86;
}

.store-meta small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-meta strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.store-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 7, 13, 0.9);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 14px 0 18px;
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 14px;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Modal (Modül Detay Önizleme)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 6, 14, 0.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-panel {
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #0b111f;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 8, 15, 0.82);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.modal-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05080f;
}

.modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: 26px;
}

.modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 12px 0 10px;
}

.modal-content p {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.modal-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.modal-hl {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  color: #e2e8f0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Subpages (Legal, Account Deletion, Contact, 404)
   ========================================================================== */

.page-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.72) 0%, transparent 100%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin: 14px 0 12px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 68ch;
  margin: 0;
  font-size: 1.02rem;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.legal-shell {
  padding: 48px 0 84px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.toc-box {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.toc-box h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin: 0 0 12px;
}

.toc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-box a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.toc-box a:hover {
  color: var(--text);
}

.doc-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(9, 14, 26, 0.94) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.doc-card h2 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.doc-card h2:first-child {
  margin-top: 0;
}

.doc-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--primary-light);
  margin: 22px 0 8px;
}

.doc-card p,
.doc-card li {
  color: #cbd5e1;
  font-size: 0.96rem;
}

.doc-card ul,
.doc-card ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.callout {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(0, 188, 212, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.callout.danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.32);
}

.callout.warn {
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.32);
}

.callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.step-card {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(5, 8, 15, 0.65);
  border: 1px solid var(--border);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(0, 188, 212, 0.16);
  color: var(--primary-light);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

/* Contact Page */
.contact-grid {
  padding: 52px 0 84px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-card {
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
}

.contact-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.contact-card a,
.contact-card strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.contact-card p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(9, 14, 26, 0.96) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(5, 8, 15, 0.75);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.16);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-feedback {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.form-feedback.show {
  display: block;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.58);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--primary-light);
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-item.open .faq-a {
  display: block;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pill-dot {
    animation: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .security-grid,
  .cta-banner,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal-shell {
    grid-template-columns: 1fr;
  }
  .toc-box {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding: 42px 0 60px;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features-grid,
  .modules-grid,
  .pricing-grid,
  .footer-grid,
  .form-row,
  .modal-highlights {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .cta-banner {
    padding: 32px 22px;
  }
  .doc-card,
  .form-card,
  .price-card {
    padding: 24px 20px;
  }
  .studio-readouts {
    grid-template-columns: 1fr;
  }
}
