/* AIType Marketing Shell - Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

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

:root {
  --green: #10b981;
  --green-light: #d1fae5;
  --green-mid: #6ee7b7;
  --dark: #09090b;
  --dark-2: #18181b;
  --dark-3: #27272a;
  --muted: #71717a;
  --muted-2: #a1a1aa;
  --bg: #fff;
  --surface: #f4f4f5;
  --surface-2: #fafafa;
  --border: #e4e4e7;
  --border-2: #d4d4d8;
  --ok: #ecfdf5;
  --ok-border: #bbf7d0;
  --warn: #fef3c7;
  --warn-border: #fde68a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: 'Figtree', system-ui, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
}

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

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  letter-spacing: -.01em;
}

.nav-brand .ai { color: var(--dark); }
.nav-brand .type { color: var(--green); }
.nav-logo { width: 26px; height: 26px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

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

.nav-links a[aria-current="page"] {
  color: var(--dark);
  font-weight: 700;
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.5rem;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.nav-cta {
  background: var(--dark);
  color: #fff;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .875rem;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 1px 2px rgba(9,9,11,.12);
}

.nav-cta:hover {
  background: var(--dark-3);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(9,9,11,.15);
}

/* ── Page hero ───────────────────────────────────────── */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(16,185,129,.1), transparent 55%);
  pointer-events: none;
}

.page-hero .container { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: .9rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.1rem;
  color: var(--dark);
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ── Page body ───────────────────────────────────────── */
.page-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.page-body-wide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

/* ── Section ─────────────────────────────────────────── */
.section { margin-bottom: 3.5rem; }

.section-header { margin-bottom: 1.5rem; }

.section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
  color: var(--dark);
}

.section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--dark);
}

.section p, .section li {
  color: var(--muted);
  font-size: .975rem;
  line-height: 1.7;
  margin-bottom: .5rem;
}

.section ul, .section ol { padding-left: 1.25rem; }
.section ul li { list-style: disc; }

/* ── Grid ────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  box-shadow: 0 1px 3px rgba(9,9,11,.04);
}

.card:hover {
  border-color: var(--border-2);
  box-shadow: 0 4px 16px rgba(9,9,11,.07);
  transform: translateY(-1px);
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--dark);
}

.card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.plan {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 3px rgba(9,9,11,.04);
}

.plan.featured {
  border-color: var(--green);
  background: linear-gradient(160deg, #f0fdf4 0%, #fff 60%);
  box-shadow: 0 4px 20px rgba(16,185,129,.12);
}

.plan .plan-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

.plan .plan-name {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .5rem;
}

.plan .plan-price {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: .3rem;
  color: var(--dark);
}

.plan .plan-period {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.plan ul li {
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.plan ul li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease, border-color 0.15s ease, color 0.15s ease;
  border: none;
  font-family: inherit;
}

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

.btn-primary {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 1px 3px rgba(9,9,11,.15);
}
.btn-primary:hover {
  background: var(--dark-3);
  box-shadow: 0 4px 12px rgba(9,9,11,.2);
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 3px rgba(16,185,129,.25);
}
.btn-green:hover {
  background: #059669;
  box-shadow: 0 4px 12px rgba(16,185,129,.35);
}

.btn-outline {
  border: 1.5px solid var(--border-2);
  color: var(--dark);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.btn-lg { padding: .85rem 2rem; font-size: 1rem; border-radius: 10px; }

/* ── Forms ───────────────────────────────────────────── */
.field { display: grid; gap: .45rem; }

.field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
}

.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font: inherit;
  font-size: .95rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}

.field textarea { min-height: 160px; resize: vertical; }

/* ── Notices ─────────────────────────────────────────── */
.notice {
  display: none;
  border: 1px solid var(--ok-border);
  background: var(--ok);
  color: #166534;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.notice.is-visible { display: block; }
.notice.warn { background: var(--warn); border-color: var(--warn-border); color: #92400e; }

/* ── FAQ / Accordion ─────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
}

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

.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding-top: .75rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* ── Divider ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

/* ── Stat strip ──────────────────────────────────────── */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
}

.stat-strip .stat-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--dark);
  line-height: 1;
}

.stat-strip .stat-label {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* ── Inline highlight ────────────────────────────────── */
.highlight { color: var(--green); }

/* ── CTA strip ───────────────────────────────────────── */
.cta-strip {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-strip h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: .6rem;
}

.cta-strip p {
  color: var(--muted-2);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

.cta-strip .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--muted-2);
  padding: 3rem 2rem 2.5rem;
  font-size: .875rem;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

.footer-brand img { width: 22px; height: 22px; opacity: .85; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.75rem;
}

.footer-nav a {
  color: var(--muted-2);
  transition: color 0.15s ease;
}

.footer-nav a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: var(--muted-2);
  font-size: .8rem;
  transition: color 0.15s ease;
}

.footer-social a:hover { color: #fff; }

.footer-copy {
  color: #52525b;
  font-size: .8rem;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    gap: .75rem 1rem;
    padding: .85rem 1rem;
    height: auto;
  }

  .nav-links {
    display: flex !important;
    order: 3;
    width: 100%;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: .15rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-size: .85rem;
  }

  .nav-links::-webkit-scrollbar { display: none; }

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

  .page-hero { padding: 3rem 1.25rem 2.5rem; }
  .page-hero h1 { font-size: 2rem; }

  .page-body, .page-body-wide { padding: 2.5rem 1.25rem 4rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

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

  .stat-strip { gap: 1.25rem 2rem; }

  .cta-strip { padding: 2rem 1.25rem; border-radius: var(--radius-lg); }
}
