/* Freelance AI Launch Kit — dark conversion theme */
:root {
  --bg: #0b0d12;
  --bg-elev: #12161f;
  --bg-card: #161b26;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --muted: #9aa3b5;
  --faint: #6b7385;
  --accent: #7c9cff;
  --accent-2: #a78bfa;
  --accent-soft: rgba(124, 156, 255, 0.14);
  --success: #34d399;
  --warn: #fbbf24;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1100px;
  --narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 156, 255, 0.18), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(167, 139, 250, 0.12), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #0b0d12;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 18, 0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  text-decoration: none;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.85rem 1.4rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
  padding: 0.85rem 1.2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0d12;
  box-shadow: 0 8px 24px rgba(124, 156, 255, 0.25);
}

.btn-primary:hover {
  color: #0b0d12;
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-ghost {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(124, 156, 255, 0.22);
  color: #c5d3ff;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #c5d3ff, #d8b4fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 38ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-size: 0.92rem;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.hero-card-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.hero-card-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-card-list li:last-child {
  border-bottom: 0;
}

.hero-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.hero-card-list strong {
  color: var(--text);
}

.hero-card-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.92rem;
}

.hero-card-note span {
  color: var(--text);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-block: 1px solid var(--border);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--muted);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

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

.not-for {
  margin: 1.5rem 0 0;
  color: var(--faint);
  font-size: 0.95rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(124, 156, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(124, 156, 255, 0.12), transparent 40%),
    var(--bg-elev);
  box-shadow: 0 0 0 1px rgba(124, 156, 255, 0.15), var(--shadow);
  transform: scale(1.02);
}

.popular {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0d12;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.2rem;
}

.price {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price .currency {
  font-size: 1.3rem;
  vertical-align: super;
  margin-right: 0.1rem;
  color: var(--muted);
}

.price-desc {
  margin: 0.6rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card ul {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}

.price-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.pricing-note {
  margin: 1.25rem 0 0;
  color: var(--faint);
  font-size: 0.9rem;
  text-align: center;
}

.pricing-note code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Sample proof banner */
.sample-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px dashed rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  font-size: 0.92rem;
}

.sample-banner strong {
  color: var(--warn);
}

.sample-banner span {
  color: #fcd34d;
  opacity: 0.9;
}

.quote p {
  color: var(--text);
  font-size: 1.02rem;
  margin: 0 0 1rem;
}

.quote footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote footer span {
  color: var(--warn);
  font-weight: 600;
}

.tool-card .btn {
  margin-top: 1rem;
}

.aff-disclosure {
  margin: 1.25rem 0 0;
  color: var(--faint);
  font-size: 0.88rem;
}

/* FAQ */
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
}

.faq-list code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Final CTA */
.cta-final {
  padding-bottom: 5rem;
}

.cta-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(124, 156, 255, 0.28);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(124, 156, 255, 0.2), transparent 60%),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.cta-box > p {
  margin: 0 auto 1.5rem;
  max-width: 42ch;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.25rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer p {
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .cards-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
    order: -1;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(11, 13, 18, 0.97);
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav a.btn {
    margin-top: 0.75rem;
    border-bottom: 0;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

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

  .btn {
    transition: none;
  }
}
