/*
Theme Name: ChatGPT Ads Partner Landing
Theme URI: https://chatgptadspartner.com
Author: Mesut & ChatGPT
Description: Minimal single-page landing theme for ChatGPT Ads Partner.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: chatgpt-ads-partner
*/

:root {
  --bg: #050816;
  --bg-alt: #070b18;
  --card: #0b1020;
  --card-soft: #0f1426;
  --accent: #3b82f6;
  --accent-soft: rgba(59,130,246,0.12);
  --accent-strong: #2563eb;
  --border-subtle: rgba(148,163,184,0.35);
  --text-main: #e5f0ff;
  --text-soft: #9ca3af;
  --text-muted: #6b7280;
  --danger: #f97373;
  --success: #34d399;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.7);
  --shadow-subtle: 0 12px 30px rgba(15,23,42,0.45);
  --max-width: 1120px;
  --transition-fast: 180ms ease-out;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    Segoe UI, Roboto, sans-serif;
}

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

html,
body {
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
  color: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  padding: 0 16px 64px;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* NAVBAR */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 10px;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
}

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

.nav-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 0, #4f46e5, #22c1c3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 18px rgba(37,99,235,0.8);
}

.nav-logo-text {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 17px;
}

.nav-center {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-center a {
  text-decoration: none;
  color: inherit;
  position: relative;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.nav-center a:hover::after {
  width: 100%;
}

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

.btn {
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 13px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-outline {
  border-color: rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.8);
}

.btn-outline:hover {
  background: rgba(15,23,42,0.95);
  border-color: rgba(148,163,184,0.75);
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  color: #0b1020;
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 30px rgba(56,189,248,0.5);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

/* HERO */

main {
  margin-top: 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 28px 22px 28px;
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 55%),
    radial-gradient(circle at top right, rgba(56,189,248,0.12), transparent 55%),
    radial-gradient(circle at bottom, rgba(34,197,94,0.2), transparent 60%),
    #020617;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56,189,248,0.21), transparent 60%);
  opacity: 0.5;
  top: -160px;
  right: -100px;
  pointer-events: none;
}

.hero-left {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.4);
  padding: 4px 10px 4px 5px;
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.hero-badge-pill {
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 0 0, #22c55e, #3b82f6);
  padding: 3px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0b1020;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(29px, 4vw, 36px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-title span.highlight {
  background: linear-gradient(90deg, #a855f7, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-meta-pill {
  font-size: 11px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.35);
}

.hero-cta {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-note span {
  color: var(--success);
  font-weight: 500;
}

/* HERO RIGHT – DASHBOARD MOCKUP */

.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash {
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(59,130,246,0.3), transparent 60%),
    rgba(15,23,42,0.98);
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.dash-title {
  font-size: 13px;
  color: var(--text-soft);
}

.dash-pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(22,163,74,0.14);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 4px;
}

.dash-metric {
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.6));
  border: 1px solid rgba(148,163,184,0.4);
  padding: 8px 9px;
}

.dash-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.dash-value {
  font-size: 13px;
  font-weight: 600;
}

.dash-tag {
  font-size: 10px;
  margin-top: 3px;
  color: var(--success);
}

.dash-chart {
  height: 70px;
  border-radius: 12px;
  background: radial-gradient(circle at top, rgba(56,189,248,0.18), transparent),
    rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.5);
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.dash-chart-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(34,197,94,0.1) 10%,
    rgba(34,197,94,0.6) 40%,
    rgba(56,189,248,0.6) 70%,
    transparent 100%
  );
  opacity: 0.9;
}

.dash-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 8px;
}

.dash-card {
  border-radius: 12px;
  padding: 9px 9px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 11px;
}

.dash-card-title {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-soft);
}

.dash-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  border-radius: 999px;
  padding: 2px 7px;
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 10px;
  color: var(--text-soft);
  background: rgba(15,23,42,0.96);
}

.chip.good {
  border-color: rgba(34,197,94,0.7);
  color: var(--success);
  background: rgba(22,163,74,0.18);
}

.chip.bad {
  border-color: rgba(248,113,113,0.7);
  color: var(--danger);
  background: rgba(127,29,29,0.28);
}

/* GENERIC SECTION STYLES */

section {
  margin-top: 48px;
}

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

.section-title {
  font-size: 20px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-soft);
  max-width: 420px;
}

/* HOW IT WORKS */

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

.step {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border-subtle);
  padding: 14px 13px 14px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.step-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.step-text {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* FEATURES GRID */

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

.feature-card {
  border-radius: var(--radius-md);
  background: var(--card-soft);
  border: 1px solid rgba(148,163,184,0.35);
  padding: 10px 10px 11px;
  font-size: 12px;
  box-shadow: var(--shadow-subtle);
}

.feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--accent);
}

.feature-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
}

.feature-text {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}

/* DEMO SECTION */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.demo-card {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border-subtle);
  padding: 10px;
  font-size: 12px;
  box-shadow: var(--shadow-subtle);
}

.demo-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.demo-text {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}

.demo-list {
  margin-left: 14px;
  margin-top: 6px;
}

.demo-list li {
  margin-bottom: 2px;
}

/* PRICING */

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

.plan {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border-subtle);
  padding: 16px 14px 16px;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

.plan.popular {
  border-color: rgba(59,130,246,0.9);
  box-shadow: 0 18px 40px rgba(37,99,235,0.65);
  background: radial-gradient(circle at top, rgba(59,130,246,0.14), transparent 60%),
    var(--card);
  transform: translateY(-2px);
}

.plan-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(56,189,248,0.16);
  color: #e0f2fe;
}

.plan-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}

.plan-caption {
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.plan-features {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.plan-features li {
  margin-bottom: 4px;
  list-style: none;
  position: relative;
  padding-left: 16px;
}

.plan-features li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--accent);
}

.plan-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.plan-cta {
  font-size: 12px;
  padding: 7px 13px;
}

.plan-note {
  font-size: 10px;
  color: var(--text-muted);
}

/* FAQ */

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

.faq-item {
  border-radius: var(--radius-md);
  background: var(--card-soft);
  border: 1px solid var(--border-subtle);
  padding: 10px 11px;
  font-size: 12px;
}

.faq-question {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.faq-answer {
  color: var(--text-soft);
  line-height: 1.5;
}

/* FINAL CTA */

.final-cta {
  margin-top: 44px;
  border-radius: 24px;
  background: radial-gradient(circle at left, rgba(59,130,246,0.24), transparent 55%),
    radial-gradient(circle at right, rgba(34,197,94,0.24), transparent 55%),
    #020617;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.final-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.final-text {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

/* FOOTER */

footer {
  margin-top: 28px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(31,41,55,0.9);
  padding-top: 12px;
}

footer a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 11px;
}

footer a:hover {
  color: var(--accent);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .nav-center {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    background: rgba(15,23,42,0.9);
    color: var(--text-soft);
    font-size: 11px;
    padding: 6px 9px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 16px 20px;
  }
  .hero-right {
    order: -1;
  }
  .dash {
    max-width: none;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    padding-inline: 10px;
  }
  .hero {
    border-radius: 20px;
  }
  .features-grid,
  .demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
