:root {
  color-scheme: dark;
  --bg: #070a11;
  --bg-2: #0b1322;
  --panel: rgba(12, 18, 32, 0.78);
  --panel-strong: rgba(10, 15, 28, 0.94);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.3);
  --text: #e2e8f0;
  --text-strong: #f8fafc;
  --muted: #94a3b8;
  --accent: #22d3ee;
  --accent-2: #f97316;
  --accent-3: #84cc16;
  --accent-4: #c084fc;
  --accent-soft: rgba(34, 211, 238, 0.16);
  --glow: 0 30px 70px rgba(34, 211, 238, 0.18);
  --shadow: 0 24px 60px rgba(3, 7, 18, 0.55);
  --radius: 22px;
  --radius-sm: 14px;
  --max-width: 1200px;
  --transition: 0.28s ease;
  --font-body: 'Outfit', sans-serif;
  --font-heading: 'Space Grotesk', 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.6);
  outline-offset: 2px;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(1000px 520px at 12% -10%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(900px 500px at 88% -20%, rgba(249, 115, 22, 0.2), transparent 65%),
    radial-gradient(700px 400px at 50% 0%, rgba(192, 132, 252, 0.16), transparent 55%),
    linear-gradient(180deg, #070a11 0%, #0d1424 45%, #060911 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.18) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 16%, rgba(34, 211, 238, 0.18), transparent 45%),
    radial-gradient(circle at 82% 12%, rgba(132, 204, 22, 0.14), transparent 42%),
    radial-gradient(circle at 50% 86%, rgba(249, 115, 22, 0.14), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

body > * {
  position: relative;
  z-index: 1;
}

.ai-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 17, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 18px 40px rgba(2, 6, 14, 0.55);
}

.ai-topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), rgba(249, 115, 22, 0.5), transparent);
  opacity: 0.7;
}

.ai-topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ai-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.ai-menu-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.ai-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.ai-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(132, 204, 22, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050b12;
  font-size: 18px;
  box-shadow: 0 12px 24px rgba(34, 211, 238, 0.25);
}

.ai-brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.ai-brand-badge {
  font-size: 11px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(132, 204, 22, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

.ai-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ai-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  font-weight: 500;
}

.ai-nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.9), rgba(249, 115, 22, 0.85));
  opacity: 0;
  transform: scaleX(0.6);
  transition: var(--transition);
}

.ai-nav a:hover,
.ai-nav a.active {
  color: var(--text-strong);
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.3);
}

.ai-nav a:hover::after,
.ai-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.ai-nav a.btn-primary,
.ai-nav a.btn-primary:hover {
  color: #ffffff;
}

.ai-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.ai-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.ai-status.free {
  border-color: rgba(132, 204, 22, 0.4);
  color: #bef264;
  background: rgba(132, 204, 22, 0.14);
}

.ai-status.member {
  border-color: rgba(249, 115, 22, 0.4);
  color: #fdba74;
  background: rgba(249, 115, 22, 0.15);
}

.ai-status.limited {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(14, 165, 233, 0.95));
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(14, 165, 233, 0.25);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--accent);
}

.ai-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  position: relative;
}

.ai-hero::before {
  content: '';
  position: absolute;
  right: 8%;
  top: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%);
  filter: blur(2px);
  opacity: 0.8;
  pointer-events: none;
}

.ai-hero > * {
  position: relative;
  z-index: 1;
}

.ai-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(132, 204, 22, 0.14);
  color: #bef264;
  border: 1px solid rgba(132, 204, 22, 0.35);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.ai-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--text-strong);
}

.ai-hero h1 span {
  background: linear-gradient(120deg, #22d3ee, #84cc16);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ai-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

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

.ai-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(8, 12, 20, 0.9)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(249, 115, 22, 0.25), rgba(132, 204, 22, 0.2)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}

.metric-card strong {
  font-size: 18px;
  color: var(--text-strong);
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
}

.ai-hero-panel {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.9), rgba(8, 12, 20, 0.92)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.45), rgba(192, 132, 252, 0.25)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.ai-hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.ai-hero-panel > * {
  position: relative;
  z-index: 1;
}

.ai-hero-panel h3 {
  font-size: 1.1rem;
}

.quickstart-list {
  display: grid;
  gap: 12px;
}

.quickstart-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.quickstart-item span {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.2);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ai-search {
  background: rgba(11, 15, 23, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.ai-search:focus-within {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 18px 34px rgba(34, 211, 238, 0.18);
}

.ai-search i {
  color: var(--accent);
}

.ai-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.ai-search input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-chip {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}

.ai-chip:hover,
.ai-chip.active {
  color: var(--text-strong);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.12);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  color: var(--text-strong);
}

.section-header p {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tool-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 12, 20, 0.9)) padding-box,
    linear-gradient(140deg, rgba(34, 211, 238, 0.45), rgba(249, 115, 22, 0.25), rgba(132, 204, 22, 0.25)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(5, 12, 24, 0.6);
}

.tool-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

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

.tool-card > * {
  position: relative;
  z-index: 1;
}

.tool-card h3 {
  font-size: 1.2rem;
  color: var(--text-strong);
}

.tool-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.tool-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--muted);
  background: rgba(148, 163, 184, 0.06);
}

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #050b12;
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.35);
}

.tool-icon.chat { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.tool-icon.image { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.tool-icon.code { background: linear-gradient(135deg, #34d399, #059669); }
.tool-icon.fit { background: linear-gradient(135deg, #fb7185, #f43f5e); }

.tool-list {
  display: grid;
  gap: 10px;
}

.tool-list span {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

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

.ai-feature-grid,
.ai-steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card,
.step-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(8, 12, 20, 0.9)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(192, 132, 252, 0.2)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.feature-card > *,
.step-card > * {
  position: relative;
  z-index: 1;
}

.feature-card h4,
.step-card h4 {
  font-size: 1rem;
  color: var(--text-strong);
}

.feature-card p,
.step-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ai-callout {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(132, 204, 22, 0.18)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.4), rgba(132, 204, 22, 0.35)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
}

.ai-callout p {
  color: var(--muted);
  max-width: 540px;
  line-height: 1.6;
}

.ai-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 28px 24px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.ai-footer a {
  color: var(--accent);
  text-decoration: none;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s ease both;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

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

@media (max-width: 960px) {
  .ai-topbar-inner {
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 18px;
    gap: 12px;
  }
  .ai-brand { order: 1; }
  .ai-menu-toggle { order: 2; display: inline-flex; }
  .ai-nav {
    order: 4;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
  /* Mobilde burger ile açılır/kapanır */
  .ai-nav {
    display: flex;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .ai-nav.open {
    max-height: 400px;
  }
  .ai-nav .ai-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 6px;
  }
  .ai-hero {
    grid-template-columns: 1fr;
    padding: 64px 24px 24px;
  }
}

@media (max-width: 680px) {
  .ai-nav {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 6px;
  }
  .ai-topbar-inner {
    padding: 14px 16px;
  }
  .ai-hero {
    padding: 48px 16px 24px;
  }
  .section {
    padding: 36px 16px;
  }
  .ai-footer {
    padding: 24px 16px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
}
