/* =========================================================
   SYREXS — site teması
   ========================================================= */

:root {
  color-scheme: dark;

  --bg: #06060a;
  --bg-soft: #0a0a11;
  --panel: #101018;
  --panel-2: #14141f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #eceef8;
  --muted: #9ba1b6;
  --muted-2: #6f7589;

  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --gold: #e8c56a;
  --green: #34d399;
  --red: #f87171;

  --grad: linear-gradient(120deg, #a78bfa 0%, #818cf8 40%, #67e8f9 100%);
  --grad-btn: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --nav-h: 74px;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Outfit", var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(700px 420px at 0% 20%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(34, 211, 238, 0.07), transparent 60%);
  pointer-events: none;
}

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

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

button {
  font: inherit;
  color: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

::selection {
  background: rgba(139, 92, 246, 0.45);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  padding: 10px 16px;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   Navigasyon
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(6, 6, 10, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav.scrolled {
  background: rgba(6, 6, 10, 0.86);
  border-bottom-color: var(--line);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 6px 18px rgba(124, 58, 237, 0.45));
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-text small {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--muted-2);
  margin-top: 4px;
  text-transform: uppercase;
}

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

.nav-links a {
  position: relative;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

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

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 11px;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Butonlar
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow:
    0 12px 32px -12px rgba(124, 58, 237, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px -14px rgba(124, 58, 237, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 15.5px;
  border-radius: 14px;
}

.btn-sm {
  padding: 10px 17px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-sm svg {
  width: 15px;
  height: 15px;
}

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

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -160px;
  top: -240px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}

.eyebrow-sep {
  color: var(--muted-2);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-2);
  flex-shrink: 0;
  display: inline-block;
}

.dot.live {
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(2.9rem, 6.2vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 24px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 500px;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 520px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 34px;
  margin-right: 34px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.stat strong {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

/* ---------- sohbet görseli ---------- */

.hero-visual {
  position: relative;
  perspective: 1400px;
}

.chat-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #15151f 0%, #0c0c13 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotateY(-4deg) rotateX(1.5deg) translateZ(0);
  transition: transform 0.5s ease;
  overflow: hidden;
}

.chat-card:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--line);
}

.win-dots {
  display: inline-flex;
  gap: 6px;
}

.win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3a46;
}

.win-dots i:nth-child(1) { background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }

.chat-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.chat-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.chat-live .dot {
  width: 6px;
  height: 6px;
}

.chat-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.msg {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  margin-top: 2px;
}

.msg-avatar.fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.msg-content {
  min-width: 0;
  flex: 1;
}

.msg-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #c9cbe0;
  margin-bottom: 3px;
}

.msg-time {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted-2);
}

.bot-tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  border-radius: 4px;
  background: #5865f2;
  color: #fff;
  line-height: 1.4;
}

.msg p {
  font-size: 13px;
  line-height: 1.55;
  color: #b9bdd2;
}

.mention {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.25);
  border-radius: 4px;
  padding: 0 4px;
}

.ticket-embed {
  margin: 7px 0 6px;
  padding: 11px 13px;
  background: rgba(139, 92, 246, 0.07);
  border-left: 3px solid var(--violet);
  border-radius: 0 8px 8px 0;
}

.embed-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #ddd6fe;
  margin-bottom: 6px;
}

.embed-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  padding: 2px 0;
}

.embed-row span {
  color: var(--muted-2);
}

.embed-row strong {
  font-weight: 600;
  color: #d7d9e8;
}

.embed-row .ok {
  color: var(--green);
}

.embed-note {
  font-size: 12.5px !important;
  color: #a5a9c0 !important;
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 46px;
  margin: 0 16px 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  color: var(--muted-2);
}

.chat-input i {
  font-style: normal;
  color: var(--violet);
}

.float-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 16, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9);
  font-size: 12px;
  font-weight: 500;
  color: #d9dbea;
  white-space: nowrap;
}

.float-1 {
  left: 10px;
  top: -46px;
  animation: float 6s ease-in-out infinite;
}

.float-2 {
  right: 8px;
  bottom: -18px;
  animation: float 7s ease-in-out 0.8s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* =========================================================
   Bölümler
   ========================================================= */

.section {
  padding: clamp(64px, 8vw, 110px) 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 18%, rgba(255, 255, 255, 0.018) 82%, transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 15.5px;
}

.section-head code {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.14);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ---------- bot kartları ---------- */

.bot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 200px at 0% 0%, rgba(139, 92, 246, 0.09), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

.bot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 26px 60px -30px rgba(124, 58, 237, 0.55);
}

.bot-card:hover::after {
  opacity: 1;
}

.bot-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.bot-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.bot-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  box-shadow: 0 10px 26px -12px rgba(99, 102, 241, 0.7);
}

.status-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #3a3a46;
  border: 3px solid var(--panel);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.bot-card.is-online .status-dot {
  background: var(--green);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.7);
}

.bot-card.is-offline .status-dot {
  background: var(--red);
}

.bot-id {
  min-width: 0;
}

.bot-id h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bot-id p {
  font-size: 12.5px;
  color: var(--muted-2);
}

.status-pill {
  margin-left: auto;
  flex-shrink: 0;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: all 0.25s ease;
}

.status-pill.is-online {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.35);
}

.status-pill.is-offline {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.09);
  border-color: rgba(248, 113, 113, 0.3);
}

.bot-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.chips li {
  font-size: 12px;
  color: #c3c7da;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.uptime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.uptime .dot {
  width: 6px;
  height: 6px;
  background: var(--muted-2);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c4b5fd;
}

.link-arrow span {
  transition: transform 0.2s ease;
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------- özellikler ---------- */

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

.feature {
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.feature:hover {
  border-color: rgba(139, 92, 246, 0.32);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(255, 255, 255, 0.01));
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.24);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #c4b5fd;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 13.8px;
  line-height: 1.7;
  color: var(--muted);
}

.feature code {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.14);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ---------- komutlar ---------- */

.tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
}

.tab-list {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(79, 70, 229, 0.9));
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 8px 24px -12px rgba(124, 58, 237, 0.9);
}

.tab-panel {
  display: none;
  padding: 22px;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cmd {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.cmd:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.07);
}

.cmd code {
  flex-shrink: 0;
  min-width: 108px;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
}

.cmd p {
  font-size: 13.2px;
  color: var(--muted);
  line-height: 1.5;
}

.role {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(232, 197, 106, 0.1);
  border: 1px solid rgba(232, 197, 106, 0.25);
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 4px;
  vertical-align: 1px;
}

/* ---------- adımlar ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
}

.step::before {
  content: "";
  position: absolute;
  top: 47px;
  right: -17px;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.5), transparent);
}

.step:last-child::before {
  display: none;
}

.step-no {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--violet);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 7px;
  padding: 3px 9px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 7px;
}

.step p {
  font-size: 13.4px;
  line-height: 1.65;
  color: var(--muted);
}

.step strong {
  color: #c7d2fe;
  font-weight: 500;
}

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

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 26px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  background:
    radial-gradient(600px 320px at 10% 0%, rgba(139, 92, 246, 0.22), transparent 65%),
    radial-gradient(500px 300px at 100% 100%, rgba(34, 211, 238, 0.12), transparent 65%),
    linear-gradient(145deg, #12101c, #0a0a11);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -180px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.22), transparent 62%);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  max-width: 560px;
}

.cta h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  color: var(--muted);
  font-size: 15px;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
}

.cta-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.cta-note .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 36px;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px 40px;
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: flex-end;
  padding-top: 8px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.18s ease;
}

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

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--muted-2);
}

/* =========================================================
   Görünürlük animasyonu
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

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

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step::before {
    display: none;
  }
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .float-1 {
    left: -10px;
  }

  .float-2 {
    right: -6px;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 66px;
  }

  .nav-inner {
    gap: 12px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(10, 10, 17, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.22s ease;
  }

  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
  }

  .nav-cta {
    margin-left: auto;
  }

  .brand-text {
    font-size: 17px;
  }

  .bot-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 34px);
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .hero-stats {
    gap: 0;
  }

  .stat {
    padding-right: 20px;
    margin-right: 20px;
  }

  .stat strong {
    font-size: 21px;
  }

  .stat span {
    font-size: 10.5px;
  }

  .chat-card {
    transform: none;
  }

  .float-badge {
    font-size: 10.5px;
    padding: 8px 11px;
  }

  .float-1 {
    left: 4px;
    top: -42px;
  }

  .float-2 {
    right: 0;
    bottom: -16px;
  }

  .bot-card {
    padding: 22px;
  }

  .bot-head {
    flex-wrap: wrap;
  }

  .status-pill {
    margin-left: 0;
    order: 3;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cmd-grid {
    grid-template-columns: 1fr;
  }

  .cmd {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .cmd code {
    min-width: 0;
  }

  .tab-panel {
    padding: 14px;
  }

  .cta {
    border-radius: 20px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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