/* ============================================================
   AI Founders — agency site
   Dark theme with pastel accent ribbons & tilted cards
   ============================================================ */

:root {
  --bg: #0b0b0f;
  --bg-soft: #121218;
  --surface: #17171f;
  --text: #f5f5f7;
  --text-dim: #a3a3ad;
  --blue: #5e8bff;
  --blue-deep: #3f6fe8;
  --green: #5fd68b;
  --pink: #f5b8c4;
  --yellow: #ffc731;
  --black: #0b0b0f;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* ---------- dotted backdrop ---------- */
.dotted {
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--black);
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 34px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

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

.nav-cta { display: flex; gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary { background: var(--text); color: var(--black); }
.btn-outline { border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-dark { background: var(--black); color: #fff; }
.btn-white { background: #fff; color: var(--black); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 140px;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-align: center;
  text-shadow: 0 8px 40px rgba(11, 11, 15, 0.65);
}

.hero-title .line { display: block; position: relative; z-index: 3; }

/* headline block — ribbons are scoped to this so they never
   cover the subtitle, tags, or buttons below */
.hero-headline {
  position: relative;
  padding: 50px 0 80px;
}

.hero-headline .ribbon-blue { top: 42%; }
.hero-headline .ribbon-green { top: 68%; }

/* ribbons */
.ribbon {
  position: absolute;
  left: -25%;
  width: 150%;
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(0.9rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.ribbon-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 22s linear infinite;
}

.ribbon-track span { padding-right: 16px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ribbon-blue {
  background: var(--blue);
  color: #fff;
  transform: rotate(-7deg);
  top: 44%;
  z-index: 2;
}

.ribbon-green {
  background: var(--green);
  color: var(--black);
  transform: rotate(5deg);
  top: 62%;
  z-index: 0;
  animation-direction: reverse;
}

.ribbon-green .ribbon-track { animation-direction: reverse; }

.hero-glyphs {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 1.6rem;
  margin: 10px 0 18px;
}

.glyph-yellow { color: var(--yellow); }
.glyph-green { color: var(--green); }
.glyph-pink { color: var(--pink); }

.hero-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 1.05rem;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tag {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- tech marquee band ---------- */
.band {
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 0;
  overflow: hidden;
}

.band-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.band-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.band-track span {
  font-weight: 700;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.band-track .dot { color: var(--blue); }

/* ---------- section scaffolding ---------- */
.section { padding: 110px 0; }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-sub {
  color: var(--text-dim);
  margin-top: 14px;
  max-width: 480px;
  margin-inline: auto;
}

/* ---------- services ---------- */
.services-panel {
  background: linear-gradient(160deg, rgba(94, 139, 255, 0.25), rgba(94, 139, 255, 0.03) 55%);
  border: 1px solid rgba(94, 139, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 72px 48px 96px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 40px;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  color: var(--black);
  position: relative;
  transition: transform 0.3s ease;
}

.service-card:hover { transform: translateY(-8px) rotate(0deg) !important; }

.service-card.pink { background: var(--pink); transform: rotate(-3deg); }
.service-card.blue { background: var(--blue); transform: rotate(2deg); color: #fff; }
.service-card.blue .service-eyebrow { color: rgba(255, 255, 255, 0.75); }
.service-card.green { background: var(--green); transform: rotate(-2deg); }

.service-glyph {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 22px;
}

.service-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(11, 11, 15, 0.6);
  margin-bottom: 6px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 26px;
  opacity: 0.85;
}

.service-card .btn { width: 100%; justify-content: center; }

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.step-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover { transform: translateY(-6px); }

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 24px;
  color: var(--black);
}

.step-card:nth-child(1) .step-num { background: var(--green); }
.step-card:nth-child(2) .step-num { background: var(--pink); }
.step-card:nth-child(3) .step-num { background: var(--blue); color: #fff; }

.step-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.step-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- work / apps ---------- */
.work-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
}

.work-card + .work-card { margin-top: 30px; }

.phone-mock {
  width: 220px;
  height: 440px;
  margin-inline: auto;
  border-radius: 36px;
  border: 6px solid #26262f;
  background: linear-gradient(165deg, #1c1c26, #101016);
  position: relative;
  overflow: hidden;
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  border-radius: 12px;
  background: #26262f;
}

.phone-screen {
  position: absolute;
  inset: 48px 18px 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.phone-screen .bar {
  height: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.phone-screen .bar.short { width: 60%; }
.phone-screen .block {
  flex: 1;
  border-radius: 14px;
}

.work-card.blue-app .phone-screen .block { background: rgba(94, 139, 255, 0.35); }
.work-card.green-app .phone-screen .block { background: rgba(95, 214, 139, 0.3); }

.work-info h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.work-info .work-type {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.work-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.work-panel {
  border-radius: var(--radius-md);
  padding: 22px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.work-panel h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.work-panel.blue { background: var(--blue); color: #fff; }
.work-panel.soft { background: rgba(255, 255, 255, 0.06); color: var(--text-dim); }
.work-panel.soft h4 { color: var(--text); }

.store-badges {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.85rem;
  transition: border-color 0.2s ease;
}

.store-badge:hover { border-color: #fff; }
.store-badge .store-icon { font-size: 1.3rem; }
.store-badge small { display: block; font-size: 0.65rem; color: var(--text-dim); }
.store-badge strong { display: block; font-size: 0.9rem; line-height: 1.2; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  text-align: center;
}

.cta .ribbon-blue { top: 12%; transform: rotate(6deg); }
.cta .ribbon-green { top: auto; bottom: 10%; transform: rotate(-5deg); }

.cta-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 700px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
}

.cta-sub {
  color: var(--text-dim);
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.cta .hero-actions { position: relative; z-index: 2; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 36px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.footer-brand { max-width: 300px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; }

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-dim); font-size: 0.95rem; }
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- legal / content pages ---------- */
.page-hero {
  padding: 90px 0 50px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.page-hero .meta { color: var(--text-dim); margin-top: 12px; font-size: 0.9rem; }

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 110px;
  color: #cfcfd6;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}

.prose p { margin-bottom: 14px; font-size: 0.98rem; }

.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.prose ul li { margin-bottom: 8px; font-size: 0.98rem; }

.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; }

.prose .callout {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
}

/* ---------- support cards ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 70px;
}

.support-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  color: var(--black);
  text-align: center;
  transition: transform 0.3s ease;
}

.support-card:hover { transform: translateY(-6px); }
.support-card.pink { background: var(--pink); }
.support-card.blue { background: var(--blue); color: #fff; }
.support-card.green { background: var(--green); }

.support-card .support-icon { font-size: 2rem; margin-bottom: 14px; }
.support-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.support-card p { font-size: 0.88rem; opacity: 0.85; margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 14px;
}

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

.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--text-dim); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-dim); margin-top: 12px; font-size: 0.95rem; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .work-card { grid-template-columns: 1fr; }
  .work-panels { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; max-width: 420px; }
  .services-panel { padding: 48px 24px 64px; }
  .hero { padding: 70px 0 100px; }
}
