/* ============================================================
   Irys One — Grand Slam v2
   Light theme: #fafaf8 bg, #8b5cf6 purple accent, clean Apple/Palantir aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --purple:        #8b5cf6;
  --purple-hover:  #7c3aed;
  --purple-dim:    rgba(139,92,246,0.12);
  --purple-border: rgba(139,92,246,0.25);
  --deep-purple:   #3b0f5e;
  --lavender:      #c084fc;

  --bg:            #fafaf8;
  --surface:       #f5f5f0;
  --surface-2:     #f0f0ec;
  --white:         #ffffff;
  --text:          #1a1a1a;
  --text-2:        #3d3d3d;
  --text-muted:    #666666;
  --border:        #e5e2db;
  --border-light:  #eeedea;

  /* Typography */
  --font-heading:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w:         1120px;
  --radius:        8px;
  --radius-lg:     12px;
  --radius-xl:     16px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Utility ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── 1. Announcement Bar ── */
.announce {
  background: #1a1a1a;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  gap: 8px;
}
.announce a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.announce a:hover { color: var(--lavender); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--purple); }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ── 2. Hero ── */
.hero {
  text-align: center;
  padding: 96px 32px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid var(--purple-border);
  background: var(--purple-dim);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 400;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-stat {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-stat-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple-border);
}
.hero-cta-wrap { margin-bottom: 10px; }
.hero-sub-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.hero-visual {
  margin: 64px auto 0;
  max-width: 860px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.08), 0 0 0 1px rgba(139,92,246,0.08);
}
.hero-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ── 3. Social Proof Bar ── */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 32px;
}
.proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.proof-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.proof-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-logo {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.proof-logo:hover { opacity: 0.9; }

/* ── Section Commons ── */
.section { padding: 88px 32px; }
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.section-heading {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.65;
}

/* ── 4. Pain Section ── */
.pain { background: var(--white); }
.pain .pain-headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-align: center;
  color: var(--text);
  margin-bottom: 48px;
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pain-card:hover {
  box-shadow: 0 8px 32px rgba(139,92,246,0.06);
  transform: translateY(-2px);
}
.pain-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.pain-card-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 5. Three Modules ── */
.modules { background: var(--surface); }
.modules .section-head {
  text-align: center;
  margin-bottom: 48px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.module-card:hover {
  border-color: var(--purple-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,0.06);
}
.module-preview {
  width: 100%;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.module-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.module-content { padding: 24px; }
.module-icon {
  width: 32px;
  height: 32px;
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--purple);
}
.module-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.module-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 6. Irys Difference ── */
.difference { background: var(--white); }
.difference-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.diff-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 56px;
}
.diff-headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 0;
}
.diff-body {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  padding-top: 8px;
}
.diff-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
}
.diff-stat {
  border-top: 2px solid var(--purple);
  padding-top: 16px;
}
.diff-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.diff-stat-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── 7. Built by People ── */
.built { background: var(--surface); }
.built-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.built h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
}
.built-body {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
}
.built-body strong { color: var(--text); font-weight: 600; }

/* ── 8. Testimonials ── */
.testimonials { background: var(--white); }
.testimonials-inner { max-width: var(--max-w); margin: 0 auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: var(--purple-border); }
.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  flex: 1;
}
.testimonial-quote::before {
  content: '\u201C';
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--purple);
  line-height: 0;
  vertical-align: -8px;
  margin-right: 2px;
}
.testimonial-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testimonial-title { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── 9. Founders ── */
.founders { background: var(--surface); }
.founders-inner { max-width: var(--max-w); margin: 0 auto; }
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.founder-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.founder-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
  margin-bottom: 16px;
}
.founder-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.founder-bio + .founder-bio { margin-top: 12px; }

/* ── 10. Stats Row ── */
.stats-row {
  background: #1a1a1a;
  padding: 72px 32px;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 64px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* ── 11. Compliance Badges ── */
.compliance {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
}
.compliance-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.compliance-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.compliance-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--purple);
  font-weight: 700;
}

/* ── 12. Bottom CTA ── */
.bottom-cta {
  text-align: center;
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg);
}
.bottom-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.bottom-cta-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.footer-brand span { color: var(--purple); }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text-2); }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.6s ease forwards; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pain-cards { grid-template-columns: 1fr; gap: 16px; }
  .modules-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .founders-grid { grid-template-columns: 1fr; }
  .diff-two-col { grid-template-columns: 1fr; gap: 32px; }
  .diff-stats { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; align-items: center; gap: 40px; }
  .stat-item { border-right: none; padding: 0; }
}

@media (max-width: 600px) {
  .container, .nav-inner, .footer-inner { padding: 0 20px; }
  .section { padding: 56px 20px; }
  .hero { padding: 64px 20px 56px; }
  .proof-logos { gap: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
  .stat-val { font-size: 36px; }
}