@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #9c1b34;
  --brand-dark: #7c1329;
  --brand-light: #fdf2f4;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-page: #fafbfc;
  --border: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Container & Global Elements ────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 80px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--brand-light);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(156, 27, 52, 0.15);
}

/* ── Site Header & Navigation ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid rgba(156, 27, 52, 0.25);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(156, 27, 52, 0.2);
}

/* ── Hero Section ──────────────────────────────────────────────────────── */
.hero {
  padding: 60px 0 50px;
  background: radial-gradient(circle at 85% 20%, rgba(227, 115, 139, 0.08) 0%, transparent 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-copy h1 span {
  color: var(--brand);
}

.hero-text {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.store-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25);
}

.store-icon {
  font-size: 20px;
  color: #ffffff;
}

.play-icon {
  font-size: 16px;
  color: #38bdf8;
}

.store-btn small {
  font-size: 9px;
  text-transform: uppercase;
  color: #94a3b8;
  display: block;
  line-height: 1.2;
}

.store-btn strong {
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.hero-proof {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-proof b {
  display: block;
  font-size: 20px;
  color: #0f172a;
  font-weight: 800;
}

.hero-proof span {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  display: block;
}

/* ── Device Stage & Twin Phone Mockups ─────────────────────────────────── */
.device-stage {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.glow-a {
  width: 320px;
  height: 320px;
  background: rgba(156, 27, 52, 0.14);
  top: 10%;
  right: 10%;
}

.glow-b {
  width: 260px;
  height: 260px;
  background: rgba(59, 130, 246, 0.08);
  bottom: 10%;
  left: 10%;
}

.phone {
  width: 255px;
  height: 520px;
  background: #0f172a;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 4px solid #1e293b;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-back {
  left: 20px;
  top: 10px;
  z-index: 1;
  transform: rotate(-5deg) translateY(10px);
}

.phone-front {
  right: 20px;
  top: 30px;
  z-index: 2;
  transform: rotate(3deg);
}

.device-stage:hover .phone-back {
  transform: rotate(-7deg) translateY(0);
}

.device-stage:hover .phone-front {
  transform: rotate(1deg) translateY(-8px);
}

.speaker {
  width: 48px;
  height: 4px;
  background: #334155;
  border-radius: 3px;
  margin: 4px auto 8px;
}

.screen {
  background: #ffffff;
  border-radius: 30px;
  height: calc(100% - 16px);
  overflow: hidden;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  color: #1e293b;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 11px;
}

.mini-brand {
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  margin-right: 6px;
}

.search {
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 8px;
  margin: 6px 10px;
  color: #94a3b8;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px 10px;
  overflow-x: auto;
}

.tabs span {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  cursor: pointer;
  white-space: nowrap;
}

.tabs .active {
  background: var(--brand);
  color: #ffffff;
}

.book-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 10px;
}

.book {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f8fafc;
}

.cover {
  width: 32px;
  height: 42px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 8px;
  flex-shrink: 0;
}

.c1 { background: #142340; }
.c2 { background: #381d54; }
.c3 { background: #1e3a5f; }
.c4 { background: #831a2f; }

.book b {
  display: block;
  font-size: 10px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.book small {
  display: block;
  font-size: 8px;
  color: #64748b;
}

.book strong {
  display: block;
  font-size: 10px;
  color: var(--brand);
  margin-top: 1px;
}

.book i {
  font-style: normal;
  color: #cbd5e1;
  margin-left: auto;
  font-size: 12px;
}

/* Front Phone Card & Categories */
.hero-card {
  background: linear-gradient(135deg, #1e1b4b, #3b0764);
  color: white;
  padding: 12px;
  margin: 6px 10px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card small {
  font-size: 8px;
  opacity: 0.8;
  display: block;
}

.hero-card b {
  font-size: 11px;
  display: block;
  line-height: 1.2;
}

.hero-card em {
  font-size: 8px;
  font-style: normal;
  opacity: 0.7;
  display: block;
  margin-top: 4px;
}

.book-stack {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.book-stack span {
  width: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
}

.book-stack span:nth-child(1) { height: 18px; }
.book-stack span:nth-child(2) { height: 24px; background: rgba(255, 255, 255, 0.95); }
.book-stack span:nth-child(3) { height: 14px; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px 10px;
  text-align: center;
}

.quick-grid div {
  background: #f8fafc;
  padding: 6px 2px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.quick-grid span {
  font-size: 13px;
  display: block;
}

.quick-grid b {
  font-size: 8px;
  color: #475569;
  display: block;
  margin-top: 2px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  font-size: 10px;
}

.section-title b {
  font-size: 11px;
  color: #0f172a;
}

.section-title a {
  color: var(--brand);
  text-decoration: none;
  font-size: 9px;
  font-weight: 700;
}

.category {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-bottom: 1px solid #f8fafc;
}

.category span {
  font-size: 12px;
}

.category b {
  display: block;
  font-size: 10px;
  color: #0f172a;
}

.category small {
  display: block;
  font-size: 8px;
  color: #64748b;
}

.category i {
  margin-left: auto;
  color: #cbd5e1;
  font-weight: bold;
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  margin-top: auto;
}

.bottom-nav span {
  color: #94a3b8;
  font-size: 13px;
}

.bottom-nav .selected {
  color: var(--brand);
  font-weight: bold;
}

/* ── Trust Strip ───────────────────────────────────────────────────────── */
.trust-strip {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-grid span {
  font-size: 22px;
  color: var(--brand);
  margin-bottom: 4px;
}

.trust-grid b {
  font-size: 15px;
  color: #0f172a;
  font-weight: 700;
}

.trust-grid small {
  font-size: 13px;
  color: #64748b;
}

/* ── Catalogue & Features ──────────────────────────────────────────────── */
.section-heading {
  margin-bottom: 48px;
  max-width: 720px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-heading p {
  color: #64748b;
  font-size: 16px;
  margin-top: 14px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
  border-color: rgba(156, 27, 52, 0.3);
}

.feature-icon {
  font-size: 28px;
  color: var(--brand);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* ── Team & Invitation Section ─────────────────────────────────────────── */
.team-section {
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.team-copy h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.team-copy p {
  color: #64748b;
  font-size: 16px;
  margin: 16px 0 24px;
  line-height: 1.6;
}

.team-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.team-pills span {
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.invite-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
}

.invite-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.invite-head small {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  display: block;
}

.invite-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

.badge {
  background: var(--brand-light);
  color: var(--brand);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
}

.invite-card label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.invite-row {
  display: flex;
  gap: 10px;
}

.invite-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.invite-row input:focus {
  outline: none;
  border-color: var(--brand);
}

.invite-row button {
  background: var(--brand);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.invite-row button:hover {
  background: var(--brand-dark);
}

.form-note {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 10px;
  line-height: 1.4;
}

.form-note.success {
  color: #16a34a;
  font-weight: 600;
}

.members-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  margin-right: -8px;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.a1 { background: #ef4444; }
.a2 { background: #8b5cf6; }
.a3 { background: #3b82f6; }
.a4 { background: #10b981; }

.avatar-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #64748b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  margin-right: 8px;
}

.members-text {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* ── CTA Banner ────────────────────────────────────────────────────────── */
.cta {
  padding: 40px 0 80px;
}

.cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #831a2f 100%);
  border-radius: 28px;
  padding: 56px 48px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
}

.cta-box h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 8px 0;
  letter-spacing: -0.02em;
}

.cta-box p {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.primary-btn {
  background: #ffffff;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.text-btn {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.2s ease;
}

.text-btn:hover {
  color: var(--brand-light);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: #0b0f17;
  color: #64748b;
  padding: 36px 0;
  font-size: 13px;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  height: 28px;
  width: auto;
  filter: brightness(1.2);
}

.footer-brand span {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Responsive Queries ────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
  .device-stage {
    height: 520px;
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .feature-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 220px;
    height: 450px;
  }
  .phone-back {
    left: 0;
  }
  .phone-front {
    right: 0;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .cta-box {
    padding: 32px 24px;
  }
  .cta-box h2 {
    font-size: 28px;
  }
  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}
