/* Praticore — Yazılım sitesi */

:root {
  --bg: #0a0e17;
  --bg-alt: #111827;
  --surface: #1a2234;
  --border: rgba(148, 163, 184, 0.12);
  --text: #f1f5f9;
  --text-muted: #a7b4c6;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
  --header-bg: rgba(10, 14, 23, 0.85);
  --header-shadow: rgba(0, 0, 0, 0.3);
  --code-kw: #c678dd;
  --code-prop: #61afef;
  --code-str: #98c379;
  --radius: 12px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --header-h: 76px;
  --transition: 0.25s ease;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --text-muted: #556377;
  --accent-glow: rgba(59, 130, 246, 0.2);
  --header-bg: rgba(248, 250, 252, 0.92);
  --header-shadow: rgba(15, 23, 42, 0.08);
  --code-kw: #a626a4;
  --code-prop: #4078f2;
  --code-str: #50a14f;
}

.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;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 1rem)) max(1rem, env(safe-area-inset-right, 1rem));
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: none;
  transition: background var(--transition), box-shadow var(--transition);
  overflow: visible;
}

.header--scrolled {
  background: rgba(10, 14, 23, 0.55);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .header--scrolled {
  background: rgba(248, 250, 252, 0.88);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 1rem;
  padding: 0 0.65rem 0 1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  overflow: visible;
  animation: home-header-glow 8s ease-in-out infinite;
}

[data-theme="light"] .header__inner {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.header--scrolled .header__inner {
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow:
    0 4px 28px rgba(56, 189, 248, 0.1),
    0 0 0 1px rgba(56, 189, 248, 0.08);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-inline-start: auto;
  position: relative;
  z-index: 2;
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  order: 1;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

[data-theme="light"] .header__tools {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.06);
}

.header__langs {
  position: relative;
}

.header__langs--inline {
  display: flex;
  align-items: center;
}

.header__lang-segment {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 2px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

[data-theme="light"] .header__lang-segment {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.08);
}

.header__lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 26px;
  padding: 0 0.5rem;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.header__lang-pill:hover {
  color: var(--text);
}

.header__lang-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.header__lang-pill.is-active {
  color: var(--text);
  background: rgba(56, 189, 248, 0.16);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.28);
}

.header__lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  height: 30px;
  padding: 0 0.4rem 0 0.3rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.header__lang-toggle:hover,
.header__langs.is-open .header__lang-toggle {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
}

.header__lang-toggle:focus-visible {
  outline: none;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.header__lang-current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 20px;
  font-size: 1rem;
  line-height: 1;
}

.header__lang-chevron {
  width: 11px;
  height: 11px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.header__langs.is-open .header__lang-chevron {
  transform: rotate(180deg);
}

.header__lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 38px;
  padding: 0.35rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(56, 189, 248, 0.08);
}

[data-theme="light"] .header__lang-menu {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59, 130, 246, 0.2);
}

.header__lang-menu[hidden] {
  display: none !important;
}

.header__langs.is-open .header__lang-menu {
  display: flex !important;
}

.header__lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 30px;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--transition), transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[data-theme="light"] .header__lang-btn {
  background: rgba(255, 255, 255, 0.9);
}

.header__lang-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.35);
}

.header__lang-btn:focus-visible {
  outline: none;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.header__lang-btn.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.header__theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.header__theme:hover {
  border-color: rgba(167, 139, 250, 0.35);
  color: #c084fc;
  background: rgba(167, 139, 250, 0.08);
}

.header__theme-icon {
  width: 16px;
  height: 16px;
}

.header__theme-icon--sun {
  display: block;
}

.header__theme-icon--moon {
  display: none;
}

.header__theme--light .header__theme-icon--sun {
  display: none;
}

.header__theme--light .header__theme-icon--moon {
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.9;
}

.logo--sm {
  font-size: 1rem;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 27px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.35));
}

.logo__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo__text {
  background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .logo__text {
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

[data-theme="light"] .nav {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.05);
}

.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.nav a:hover {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.1);
}

[data-theme="light"] .nav a:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}

.nav__cta {
  padding: 0.42rem 1rem;
  background: var(--gradient);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  box-shadow: 0 2px 14px rgba(59, 130, 246, 0.35);
  margin-inline-start: 0.15rem;
}

.nav__cta:hover {
  color: #fff !important;
  background: var(--gradient);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.45);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  order: 2;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 4px;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}

[data-theme="light"] .nav-toggle {
  background: rgba(15, 23, 42, 0.04);
}

.nav-toggle:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(59, 130, 246, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(139, 92, 246, 0.14), transparent),
    radial-gradient(ellipse 40% 35% at 8% 60%, rgba(6, 182, 212, 0.08), transparent);
  pointer-events: none;
}

.hero__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1.5px 1.5px at 55% 12%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 72% 48%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(1px 1px at 88% 82%, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
  animation: home-stars-twinkle 7s ease-in-out infinite;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.55;
}

.section__bridge {
  text-align: center;
  margin-top: 2rem;
}

.section__bridge a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.section__bridge a:hover {
  text-decoration: underline;
}

.value-pillars .card p {
  font-size: 0.92rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn--secondary {
  background: var(--surface);
  color: var(--accent-light);
  border: 1px solid var(--border);
}

.btn--full {
  width: 100%;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stat {
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(8px);
  animation: home-enter-up 0.7s ease both, home-stat-float 5s ease-in-out infinite;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-stat:nth-child(1) { animation-delay: 0.15s, 0s; }
.hero-stat:nth-child(2) { animation-delay: 0.3s, 1.2s; }
.hero-stat:nth-child(3) { animation-delay: 0.45s, 2.4s; }

.hero-stat:hover {
  animation-play-state: paused;
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.12);
}

[data-theme="light"] .hero-stat {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.08);
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

[data-theme="light"] .hero-trust-item {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
}

.hero-trust-item span {
  font-size: 1rem;
}

/* Hero sektör kartları */
.hero__sectors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: min(100%, 380px);
}

.hero-sector-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hero-sector-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
}

.hero-sector-card span { font-size: 1.35rem; }
.hero-sector-card strong { font-size: 0.92rem; font-weight: 700; }
.hero-sector-card small { font-size: 0.72rem; color: var(--text-muted); }

.hero-sector-card--orange { border-color: rgba(249, 115, 22, 0.25); }
.hero-sector-card--pink { border-color: rgba(236, 72, 153, 0.25); }
.hero-sector-card--green { border-color: rgba(5, 150, 105, 0.25); }
.hero-sector-card--cyan { border-color: rgba(6, 182, 212, 0.25); }
.hero-sector-card--blue { border-color: rgba(59, 130, 246, 0.25); }
.hero-sector-card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 0.75rem; }

.btn--wa {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.28);
}

.btn--wa:hover {
  filter: brightness(1.05);
  color: #fff;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)) padding-box,
    linear-gradient(135deg, rgba(56, 189, 248, 0.75), rgba(139, 92, 246, 0.75), rgba(192, 132, 252, 0.75)) border-box;
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.15);
  animation: home-float 6s ease-in-out infinite, home-card-glow 5s ease-in-out infinite;
}

[data-theme="light"] .hero__card {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)) padding-box,
    linear-gradient(135deg, rgba(56, 189, 248, 0.6), rgba(139, 92, 246, 0.6)) border-box;
}

.hero__card-glow {
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: home-glow-shift 6s ease-in-out infinite;
}

.hero__code {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero__code code {
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  display: block;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.code-kw { color: var(--code-kw); }
.code-prop { color: var(--code-prop); }
.code-str { color: var(--code-str); }

/* Sections */
.home-page {
  position: relative;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section--alt {
  background: transparent;
}

.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(59, 130, 246, 0.06), transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 30%, rgba(139, 92, 246, 0.05), transparent);
  pointer-events: none;
}

.section--alt > .container {
  position: relative;
  z-index: 1;
}

.section--services {
  position: relative;
  overflow: hidden;
}

.section--services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 80% 20%, rgba(139, 92, 246, 0.07), transparent),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(56, 189, 248, 0.06), transparent);
  pointer-events: none;
}

.section--services > .container {
  position: relative;
  z-index: 1;
}

.section--cta {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.section--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 15% 50%, rgba(139, 92, 246, 0.08), transparent);
  pointer-events: none;
}

.section--cta > .container {
  position: relative;
  z-index: 1;
}

.section__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section__head p {
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 5 kart: üstte 3, altta ortalanmış 2 */
.grid--3.value-pillars--5 {
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin-inline: auto;
}

.grid--3.value-pillars--5 .card:nth-child(1),
.grid--3.value-pillars--5 .card:nth-child(2),
.grid--3.value-pillars--5 .card:nth-child(3) {
  grid-column: span 2;
}

.grid--3.value-pillars--5 .card:nth-child(4) {
  grid-column: 2 / span 2;
}

.grid--3.value-pillars--5 .card:nth-child(5) {
  grid-column: 4 / span 2;
}

.value-pillars .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.value-pillars .card__icon {
  font-size: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
}

@media (max-width: 900px) {
  .grid--3.value-pillars--5 {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  .grid--3.value-pillars--5 .card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 540px) {
  .grid--3.value-pillars--5 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  --card-accent: #38bdf8;
  --card-glow: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.08);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--card-glow);
  box-shadow: 0 16px 40px -14px var(--card-glow);
}

.card--accent-blue { --card-accent: #38bdf8; --card-glow: rgba(56, 189, 248, 0.4); }
.card--accent-purple { --card-accent: #a78bfa; --card-glow: rgba(167, 139, 250, 0.4); }
.card--accent-pink { --card-accent: #f472b6; --card-glow: rgba(244, 114, 182, 0.4); }
.card--accent-cyan { --card-accent: #22d3ee; --card-glow: rgba(34, 211, 238, 0.38); }
.card--accent-green { --card-accent: #34d399; --card-glow: rgba(52, 211, 153, 0.4); }
.card--accent-violet { --card-accent: #c084fc; --card-glow: rgba(192, 132, 252, 0.4); }

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--card-accent);
  filter: drop-shadow(0 0 10px var(--card-glow));
  background: none;
  border-radius: 0;
}

.card__icon svg {
  width: 42px;
  height: 42px;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Process grid */
.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  --step-accent: #38bdf8;
  --step-glow: rgba(56, 189, 248, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 1.15rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .process-step {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.08);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--step-glow);
  box-shadow: 0 16px 40px -14px var(--step-glow);
}

.process-step--blue { --step-accent: #38bdf8; --step-glow: rgba(56, 189, 248, 0.4); }
.process-step--purple { --step-accent: #a78bfa; --step-glow: rgba(167, 139, 250, 0.4); }
.process-step--pink { --step-accent: #f472b6; --step-glow: rgba(244, 114, 182, 0.4); }
.process-step--cyan { --step-accent: #22d3ee; --step-glow: rgba(34, 211, 238, 0.38); }

.process-step__num {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--step-accent);
  filter: drop-shadow(0 0 8px var(--step-glow));
}

.process-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero__desc {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__trust {
    justify-content: center;
  }

  .hero__sectors {
    margin-inline: auto;
    width: min(100%, 340px);
  }

  .hero__visual {
    order: -1;
  }

  .hero__card {
    max-width: 340px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 120px;
  }
}

/* Tablet hero: metin önce gelsin, üstteki büyük boşluğu kaldır */
@media (min-width: 641px) and (max-width: 900px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero__visual {
    order: 0;
  }
  .hero__card {
    max-width: 440px;
  }
  .hero__grid {
    gap: 2.25rem;
  }
}

/* Tags & highlight */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tag {
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
}

/* Solutions grid */
.section--solutions {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section--solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 35% at 88% 78%, rgba(139, 92, 246, 0.16), transparent),
    radial-gradient(ellipse 35% 30% at 12% 70%, rgba(6, 182, 212, 0.08), transparent);
  pointer-events: none;
}

.section--solutions::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 25% 65%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 45% 15%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 62% 42%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 78% 78%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1.5px 1.5px at 90% 28%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1px 1px at 33% 88%, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.section--solutions > .container {
  position: relative;
  z-index: 1;
}

.section__head--solutions {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section__label--dots {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.section__label--dots::before,
.section__label--dots::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.9);
  flex-shrink: 0;
}

[data-theme="light"] .section__label--dots {
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  border-color: rgba(59, 130, 246, 0.25);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.solution-card {
  --sol-accent: #38bdf8;
  --sol-glow: rgba(56, 189, 248, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 210px;
  padding: 1.35rem 1.2rem 1.15rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
  animation: home-float 7s ease-in-out infinite;
}

.solutions-grid .solution-card:nth-child(1) { animation-delay: 0s; }
.solutions-grid .solution-card:nth-child(2) { animation-delay: 0.9s; }
.solutions-grid .solution-card:nth-child(3) { animation-delay: 1.8s; }
.solutions-grid .solution-card:nth-child(4) { animation-delay: 2.7s; }
.solutions-grid .solution-card:nth-child(5) { animation-delay: 3.6s; }
.solutions-grid .solution-card:nth-child(6) { animation-delay: 4.5s; }
.solutions-grid .solution-card:nth-child(8) { animation-delay: 6.3s; }

[data-theme="light"] .solution-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.08);
}

.solution-card:hover {
  animation-play-state: paused;
  transform: translateY(-8px);
  border-color: var(--sol-glow);
  box-shadow: 0 18px 44px -14px var(--sol-glow);
}

.solution-card--accent-blue { --sol-accent: #38bdf8; --sol-glow: rgba(56, 189, 248, 0.4); }
.solution-card--accent-purple { --sol-accent: #a78bfa; --sol-glow: rgba(167, 139, 250, 0.4); }
.solution-card--accent-pink { --sol-accent: #f472b6; --sol-glow: rgba(244, 114, 182, 0.4); }
.solution-card--accent-cyan { --sol-accent: #22d3ee; --sol-glow: rgba(34, 211, 238, 0.38); }
.solution-card--accent-violet { --sol-accent: #c084fc; --sol-glow: rgba(192, 132, 252, 0.4); }
.solution-card--accent-green { --sol-accent: #34d399; --sol-glow: rgba(52, 211, 153, 0.38); }

.solution-card--live {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.25),
    0 0 28px rgba(56, 189, 248, 0.12);
}

.solution-card--live:hover {
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.45),
    0 20px 48px -12px rgba(56, 189, 248, 0.35);
}

.solution-card--wide {
  grid-column: span 2;
}

.solution-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  grid-template-rows: 1fr;
  align-items: stretch;
  gap: 0.5rem 1.25rem;
  min-height: 220px;
  padding: 2.75rem 1.25rem 1.35rem 1.5rem;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)) padding-box,
    linear-gradient(135deg, rgba(56, 189, 248, 0.85), rgba(139, 92, 246, 0.85), rgba(192, 132, 252, 0.85)) border-box;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.12);
}

.solution-card--featured:hover {
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.22);
}

[data-theme="light"] .solution-card--featured {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)) padding-box,
    linear-gradient(135deg, rgba(56, 189, 248, 0.7), rgba(139, 92, 246, 0.7)) border-box;
}

.solution-card--featured .solution-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding-right: 0.25rem;
  z-index: 1;
}

.solution-card--featured h3 {
  font-size: 1.02rem;
  line-height: 1.3;
  padding-right: 0.5rem;
}

.solution-card--featured p {
  font-size: 0.84rem;
  max-width: 34ch;
}

.solution-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.solution-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
  min-height: 0;
  overflow: visible;
  padding-right: 0.25rem;
}

.ai-visual {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 13 / 9;
  margin-inline-start: auto;
}

.ai-visual__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.25);
  pointer-events: none;
}

.ai-visual__ring--1 {
  inset: 8% 4% 18% 10%;
  animation: home-ring-spin-1 18s linear infinite;
}

.ai-visual__ring--2 {
  inset: 22% 14% 28% 20%;
  border-color: rgba(167, 139, 250, 0.2);
  animation: home-ring-spin-2 24s linear infinite;
}

.ai-visual__glow {
  position: absolute;
  inset: 18% 8% 8% 18%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(56, 189, 248, 0.12) 45%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: home-glow-shift 5s ease-in-out infinite;
}

.ai-visual__svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 28px rgba(99, 102, 241, 0.35));
}

.solution-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 52px;
  height: 52px;
  color: var(--sol-accent);
  filter: drop-shadow(0 0 10px var(--sol-glow));
  animation: home-icon-float 4.5s ease-in-out infinite;
}

.solution-card__icon svg {
  width: 44px;
  height: 44px;
}

.solution-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.solution-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.solution-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sol-accent);
  margin-top: auto;
}

.solution-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  animation: home-badge-pulse 3s ease-in-out infinite;
}

.solution-card--live .solution-card__badge {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.solution-card__badge--soon {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text-muted);
}

.solution-card__badge--ready {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
}

.solution-card__badge--featured {
  top: 1rem;
  left: 1rem;
  right: auto;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #93c5fd;
}

[dir="rtl"] .solution-card__badge {
  right: auto;
  left: 0.85rem;
}

[dir="rtl"] .solution-card__badge--featured {
  left: auto;
  right: 1rem;
}

@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card--wide,
  .solution-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2.5rem 1.15rem 1.25rem;
  }

  .solution-card--featured p {
    max-width: none;
  }

  .solution-card__visual {
    justify-content: center;
    padding-right: 0;
    margin-top: 0.5rem;
  }

  .ai-visual {
    max-width: 240px;
    margin-inline: auto;
  }
}

.highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.highlight h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.highlight p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* CTA & Form */
.cta-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.cta-grid__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-grid__text > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.contact-list a:hover {
  color: var(--accent-light);
}

.contact-list__icon--whatsapp {
  color: #25d366;
}

.contact-list a[href*="wa.me"]:hover {
  color: #25d366;
}

.contact-list__icon--phone {
  color: var(--accent-light);
}

.contact-wa-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2rem);
}

.contact-wa-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.contact-wa-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

.contact-wa-card__actions {
  display: grid;
  gap: 0.75rem;
}

.contact-wa-card__phone {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.contact-wa-card__phone a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  right: auto;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  background: #25d366;
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-float:active {
  transform: scale(0.98);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-float__label {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .whatsapp-float {
    padding: 0.9rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }

  .whatsapp-float__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form--glass {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

[data-theme="light"] .form--glass {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
}

.form__row {
  margin-bottom: 1.25rem;
}

.form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form textarea {
  resize: vertical;
  min-height: 100px;
}

.form__note {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.25rem;
}

.form__note--success {
  color: #34d399;
}

.form__note--error {
  color: #f87171;
}

/* Footer */
.footer {
  padding: 1.75rem 0 calc(6.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
}

@media (min-width: 769px) {
  .footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  max-width: 100%;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.5rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.footer__nav a:hover,
.footer__nav a:focus-visible {
  color: var(--accent-light);
}

@media (min-width: 769px) {
  .footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 0.75rem 1.5rem;
  }

  .footer__nav {
    flex: 1;
    justify-content: center;
    order: 2;
  }

  .footer__copy {
    flex-basis: 100%;
    text-align: center;
    order: 3;
    padding-top: 0.25rem;
  }
}

/* RTL */
html[dir="rtl"] .header__lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .header__right {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

html[lang="ar"] body {
  font-family: var(--font), "Segoe UI", Tahoma, sans-serif;
}

html[dir="rtl"] .whatsapp-float {
  left: auto;
  right: max(1rem, env(safe-area-inset-right));
}

/* Mobile nav */
@media (max-width: 900px) {
  body.nav-open::before,
  body.lang-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(2, 6, 16, 0.55);
    backdrop-filter: blur(2px);
    pointer-events: auto;
  }

  .header {
    z-index: 220;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.35rem);
    left: max(1rem, env(safe-area-inset-left));
    right: max(1rem, env(safe-area-inset-right));
    z-index: 230;
    flex: none;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: flex-start;
    padding: 0.65rem;
    border-radius: 16px;
    background: #0c1626;
    border: 1px solid rgba(56, 189, 248, 0.2);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(56, 189, 248, 0.06);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  [data-theme="light"] .nav {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.18);
  }

  .header__lang-toggle {
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0 0.5rem 0 0.4rem;
  }

  .header__lang-pill {
    min-width: 2.35rem;
    height: 32px;
    font-size: 0.72rem;
  }

  .header__lang-current {
    width: 30px;
    height: 22px;
    font-size: 1.15rem;
  }

  .header__lang-menu {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.25rem);
    right: max(1rem, env(safe-area-inset-right));
    left: auto;
    z-index: 240;
    min-width: 48px;
    padding: 0.4rem;
  }

  .header__lang-btn {
    width: 44px;
    height: 40px;
    font-size: 1.2rem;
  }

  html[dir="rtl"] .header__lang-menu {
    right: auto;
    left: max(1rem, env(safe-area-inset-left));
  }

  html[dir="rtl"] .nav {
    left: max(1rem, env(safe-area-inset-left));
    right: max(1rem, env(safe-area-inset-right));
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    display: block;
    padding: 0.75rem 1rem;
    min-height: 44px;
    width: 100%;
    border-radius: 10px;
    text-align: center;
  }

  .nav a:hover {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
  }

  .nav__cta {
    margin: 0.25rem 0 0;
    text-align: center;
    width: 100%;
    padding: 0.65rem 1rem;
    min-height: 44px;
  }
}

/* ============================================
   RestaurantHub vitrin kartı (ana sayfa)
   ============================================ */
.rh-showcase {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  background:
    radial-gradient(ellipse at top right, rgba(249, 115, 22, 0.12), transparent 55%),
    var(--surface);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  overflow: hidden;
}

.rh-showcase::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.55), transparent 40%, transparent 60%, rgba(251, 191, 36, 0.45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 860px) {
  .rh-showcase {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.rh-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.1rem;
}

[data-theme="light"] .rh-showcase__badge {
  color: #c2410c;
}

.rh-showcase__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: rh-blink 2s infinite;
}

@keyframes rh-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.rh-showcase__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.rh-showcase__title span {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rh-showcase__body > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.rh-showcase__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin-bottom: 1.75rem;
  padding: 0;
}

.rh-showcase__feats li {
  font-size: 0.84rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.rh-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rh-showcase__cta {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.rh-showcase__cta:hover {
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
}

/* Mini uygulama maketi */
.rh-showcase__mockwrap {
  display: flex;
  justify-content: center;
}

.rh-mock {
  position: relative;
  width: 100%;
  max-width: 330px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: visible;
  transform: rotate(2.5deg);
  transition: transform 0.35s ease;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .rh-mock {
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15);
}

.rh-showcase:hover .rh-mock {
  transform: rotate(0deg) translateY(-4px);
}

.rh-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.rh-mock__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.rh-mock__bar span:nth-child(1) { background: #ef4444; }
.rh-mock__bar span:nth-child(2) { background: #fbbf24; }
.rh-mock__bar span:nth-child(3) { background: #22c55e; }

.rh-mock__bar em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.rh-mock__screen {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rh-mock__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 11px;
}

.rh-mock__emoji {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.rh-mock__item div {
  flex: 1;
  line-height: 1.3;
}

.rh-mock__item b {
  display: block;
  font-size: 0.8rem;
}

.rh-mock__item i {
  font-style: normal;
  font-size: 0.74rem;
  color: #fbbf24;
  font-weight: 700;
}

[data-theme="light"] .rh-mock__item i {
  color: #c2410c;
}

.rh-mock__add {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.rh-mock__toast {
  position: absolute;
  left: -14px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  animation: rh-toast 5s ease-in-out infinite;
}

[data-theme="light"] .rh-mock__toast {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

@keyframes rh-toast {
  0%, 12% { opacity: 0; transform: translateY(12px) scale(0.92); }
  22%, 78% { opacity: 1; transform: translateY(0) scale(1); }
  88%, 100% { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

[dir="rtl"] .rh-mock__toast {
  left: auto;
  right: -14px;
}

[dir="rtl"] .rh-mock__bar em {
  margin-left: 0;
  margin-right: 6px;
}

@media (max-width: 859px) {
  .rh-showcase {
    padding: 1.75rem;
  }
  .rh-mock {
    transform: rotate(0deg);
  }
}

/* ============================================
   Yüzen iletişim butonları (sol alt) — WhatsApp + Arama
   ============================================ */
.pc-fabs {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[dir="rtl"] .pc-fabs {
  left: auto;
  right: max(1rem, env(safe-area-inset-right));
}

.pc-fab {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  width: 54px;
  border-radius: 100px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  -webkit-tap-highlight-color: transparent;
}

[data-theme="light"] .pc-fab {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.2);
}

.pc-fab__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  animation: pc-wiggle 7s ease-in-out infinite;
  transform-origin: 50% 60%;
}

.pc-fab__icon svg {
  width: 26px;
  height: 26px;
}

.pc-fab__label {
  opacity: 0;
  padding-right: 18px;
  transition: opacity 0.25s 0.05s;
}

[dir="rtl"] .pc-fab__label {
  padding-right: 0;
  padding-left: 18px;
}

.pc-fab:hover,
.pc-fab:focus-visible {
  width: 200px;
  transform: translateY(-2px);
  color: #fff;
}

.pc-fab:hover .pc-fab__label,
.pc-fab:focus-visible .pc-fab__label {
  opacity: 1;
}

.pc-fab--wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.pc-fab--call {
  background: var(--gradient);
}

.pc-fab--call .pc-fab__icon {
  animation-delay: 3.5s;
}

.pc-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.pc-fab--wa::before {
  animation: pc-pulse-green 2.6s ease-out infinite;
}

.pc-fab--call::before {
  animation: pc-pulse-blue 2.6s ease-out infinite;
  animation-delay: 1.3s;
}

@keyframes pc-pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pc-pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

@keyframes pc-wiggle {
  0%, 88%, 100% { transform: rotate(0deg); }
  90% { transform: rotate(-12deg); }
  92% { transform: rotate(10deg); }
  94% { transform: rotate(-8deg); }
  96% { transform: rotate(6deg); }
  98% { transform: rotate(0deg); }
}

/* ---------- Ana sayfa hareketli animasyonlar ---------- */
@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes home-card-glow {
  0%, 100% { box-shadow: 0 0 60px rgba(99, 102, 241, 0.15); }
  50% { box-shadow: 0 0 85px rgba(139, 92, 246, 0.28), 0 0 32px rgba(56, 189, 248, 0.14); }
}

@keyframes home-glow-shift {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes home-stars-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes home-enter-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-stat-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes home-header-glow {
  0%, 100% {
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  }
  50% {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 30px rgba(56, 189, 248, 0.14), 0 0 0 1px rgba(56, 189, 248, 0.06);
  }
}

@keyframes home-badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes home-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes home-ring-spin-1 {
  from { transform: rotate(-8deg); }
  to { transform: rotate(352deg); }
}

@keyframes home-ring-spin-2 {
  from { transform: rotate(6deg); }
  to { transform: rotate(-354deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__stars,
  .hero__card,
  .hero__card-glow,
  .hero-stat,
  .header__inner,
  .solution-card,
  .solution-card__icon,
  .solution-card__badge,
  .ai-visual__glow,
  .ai-visual__ring--1,
  .ai-visual__ring--2 {
    animation: none !important;
  }
}

/* Mobil: sabit, uygulama benzeri deneyim — sürekli animasyonları kapat */
@media (max-width: 768px) {
  .hero__stars,
  .hero__card,
  .hero__card-glow,
  .hero-stat,
  .header__inner,
  .solution-card,
  .solution-card__icon,
  .solution-card__badge,
  .ai-visual__glow,
  .ai-visual__ring--1,
  .ai-visual__ring--2 {
    animation: none !important;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section--solutions {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .btn {
    min-height: 44px;
    padding: 0.7rem 1.25rem;
  }

  .hero__title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    line-height: 1.15;
  }

  .hero__desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .pc-fabs {
    gap: 10px;
  }
  .pc-fab,
  .pc-fab__icon {
    width: 48px;
    height: 48px;
  }
  .pc-fab:hover,
  .pc-fab:focus-visible {
    width: 48px;
  }
  .pc-fab:hover .pc-fab__label {
    opacity: 0;
  }
}

/* ============================================================
   Premium polish (2026-06): güven şeridi · form WhatsApp · focus
   ============================================================ */

/* ---- Güven / sosyal kanıt şeridi ---- */
.trust-strip {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 0.25rem;
}

.trust-strip__lead {
  text-align: center;
  margin: 0 auto 1.1rem;
  max-width: 640px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.trust-strip__list {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .trust-strip__list {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-light);
}

@media (max-width: 720px) {
  .trust-strip__list {
    border-radius: 18px;
    gap: 0.85rem 1.25rem;
  }
  .trust-item {
    flex: 1 1 calc(50% - 1.25rem);
    font-size: 0.84rem;
  }
}

@media (max-width: 420px) {
  .trust-item {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}

/* ---- Form: WhatsApp alternatif aksiyon ---- */
.form__alt {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.form__alt-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn--wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #06281a !important;
  -webkit-text-fill-color: #06281a;
  font-weight: 700;
  border: none;
}

.btn--wa svg { flex-shrink: 0; }

.btn--wa:hover {
  background: #1fbd5b;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}

/* ---- Premium focus-visible (erişilebilirlik + güven) ---- */
.btn:focus-visible,
.nav__cta:focus-visible,
.cta-grid a:focus-visible,
.form button:focus-visible,
.footer__nav a:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ---- Kart hover incelikleri ---- */
.card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.form__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form select {
  width: 100%;
}

.form button:disabled {
  cursor: wait;
  opacity: .65;
}
