/* ========================================
   Archilist Landing Page
   ======================================== */

:root {
  --coral: #d4726a;
  --coral-dark: #c45f56;
  --coral-light: #e0877f;
  --periwinkle: #7c8cf5;
  --teal: #6ab895;
  --amber: #e4a853;
  --sidebar: #1c1e2e;
  --sidebar-end: #252840;
  --text-primary: #1a1a2e;
  --text-secondary: #6e7191;
  --text-muted: #9094ad;
  --highlight: #fff5f3;
  --row-alt: #faf8f6;
  --bg-warm: #fdf8f4;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(212, 114, 106, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: #fff;
  box-shadow: 0 8px 20px rgba(212, 114, 106, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212, 114, 106, 0.45); }
.btn-secondary {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--coral); color: var(--coral); }
.btn-ghost { background: transparent; color: var(--text-primary); padding: 10px 18px; }
.btn-ghost:hover { color: var(--coral); }

/* ========== Nav ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(253, 248, 244, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}
.logo img { height: 32px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--coral); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hamburger {
  display: none;
  font-size: 22px;
  color: var(--text-primary);
  padding: 8px;
}

/* ========== Hero ========== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212, 114, 106, 0.25), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 140, 245, 0.18), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--highlight);
  color: var(--coral);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--coral), var(--periwinkle));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.hero-trust .avatars span:nth-child(1) { background: var(--coral); margin-left: 0; }
.hero-trust .avatars span:nth-child(2) { background: var(--periwinkle); }
.hero-trust .avatars span:nth-child(3) { background: var(--teal); }
.hero-trust .avatars span:nth-child(4) { background: var(--amber); }

/* Hero mockup */
.mockup {
  position: relative;
  transform: perspective(1500px) rotateY(-8deg) rotateX(4deg) rotate(-1deg);
  transform-origin: center;
}
.mockup-window {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f8f6f4;
  border-bottom: 1px solid var(--border);
}
.mockup-titlebar span {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-titlebar span:nth-child(1) { background: #ff5f57; }
.mockup-titlebar span:nth-child(2) { background: #febc2e; }
.mockup-titlebar span:nth-child(3) { background: #28c840; }
.mockup-body { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mockup-body .full { grid-column: 1 / -1; }

.mock-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.mock-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.mock-card-title { font-size: 13px; font-weight: 700; }
.mock-pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.mock-pill.coral { background: var(--highlight); color: var(--coral); }
.mock-pill.peri { background: #eef0fe; color: var(--periwinkle); }
.mock-pill.teal { background: #e8f5ee; color: var(--teal); }
.mock-pill.amber { background: #fbf3e3; color: var(--amber); }

.mock-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-secondary);
}
.mock-row .dot { width: 8px; height: 8px; border-radius: 50%; }
.mock-row .dot.c { background: var(--coral); }
.mock-row .dot.p { background: var(--periwinkle); }
.mock-row .dot.t { background: var(--teal); }
.mock-row .grow { flex: 1; }
.mock-bar {
  height: 6px;
  background: #f0eeec;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.mock-bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--coral-light));
  border-radius: 4px;
}
.mock-avatars { display: flex; }
.mock-avatars span {
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 9px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  margin-left: -6px;
}
.mock-avatars span:first-child { margin-left: 0; }

.mock-moodboard {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 40px 40px;
  gap: 6px;
  height: 86px;
  margin-top: 8px;
}
.mock-moodboard div {
  border-radius: 6px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
}
.mock-moodboard div:nth-child(1) { grid-row: 1 / -1; background: linear-gradient(135deg, #d4a574, #e8c4a0); }
.mock-moodboard div:nth-child(2) { background: linear-gradient(135deg, var(--periwinkle), #a4b0f7); }
.mock-moodboard div:nth-child(3) { background: linear-gradient(135deg, var(--teal), #8ec9a9); }
.mock-moodboard div:nth-child(4) { background: linear-gradient(135deg, var(--coral), var(--coral-light)); }
.mock-moodboard div:nth-child(5) { background: linear-gradient(135deg, #2f3147, #4a4d68); }

/* Floating cards next to mockup */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.float-card.fc-1 { top: 10%; left: -30px; }
.float-card.fc-2 { bottom: 12%; right: -30px; animation-delay: 1.5s; }
.float-card .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.float-card.fc-1 .icon { background: var(--teal); }
.float-card.fc-2 .icon { background: var(--periwinkle); }
.float-card small { display: block; font-weight: 500; color: var(--text-muted); font-size: 11px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== Stats ========== */
.stats {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--periwinkle));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========== Section common ========== */
.section { padding: 100px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-eyebrow {
  display: inline-block;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 17px;
  color: var(--text-secondary);
}

/* ========== Features ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
}
.feature-icon.coral { background: linear-gradient(135deg, var(--coral), var(--coral-light)); }
.feature-icon.peri { background: linear-gradient(135deg, var(--periwinkle), #a4b0f7); }
.feature-icon.teal { background: linear-gradient(135deg, var(--teal), #8ec9a9); }
.feature-icon.amber { background: linear-gradient(135deg, var(--amber), #f0c275); }
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== How it works ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(212, 114, 106, 0.3);
  position: relative; z-index: 2;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--coral), transparent);
  opacity: 0.3;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* ========== For whom ========== */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.persona:hover { border-color: var(--coral); transform: translateY(-4px); }
.persona-icon {
  font-size: 32px;
  margin-bottom: 20px;
}
.persona-icon.coral { color: var(--coral); }
.persona-icon.peri { color: var(--periwinkle); }
.persona-icon.teal { color: var(--teal); }
.persona h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.persona p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }
.persona ul { list-style: none; }
.persona ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-secondary);
  padding: 6px 0;
}
.persona ul li i { color: var(--teal); font-size: 13px; }

/* ========== Testimonials ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial .quote-mark {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 48px;
  color: var(--highlight);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.testimonial-avatar.coral { background: var(--coral); }
.testimonial-avatar.peri { background: var(--periwinkle); }
.testimonial-avatar.teal { background: var(--teal); }
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }
.stars { color: var(--amber); margin-bottom: 14px; font-size: 13px; }

/* ========== Pricing ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--coral);
  box-shadow: 0 20px 50px rgba(212, 114, 106, 0.15);
  transform: scale(1.03);
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}
.price-name { font-size: 14px; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.price-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price-amount span { font-size: 16px; color: var(--text-muted); font-weight: 500; }
.price-desc { color: var(--text-secondary); font-size: 14px; margin: 12px 0 24px; }
.price-features { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.price-features li {
  padding: 8px 0;
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  color: var(--text-secondary);
}
.price-features li i { color: var(--teal); }
.price-card .btn { width: 100%; }

/* ========== FAQ ========== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-primary);
}
.faq-q i { color: var(--coral); transition: transform 0.3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.faq-a-inner { padding: 0 24px 22px; }

/* ========== Big CTA ========== */
.big-cta {
  background: linear-gradient(135deg, var(--sidebar), var(--sidebar-end));
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-cta::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 114, 106, 0.25), transparent 60%);
  pointer-events: none;
}
.big-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.big-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.big-cta p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 32px; }
.cta-form {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  padding: 6px;
  border-radius: var(--radius-pill);
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
}
.cta-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 18px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.5); }

/* ========== Footer ========== */
.footer {
  background: #fff;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 16px 0 24px;
  max-width: 280px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--row-alt);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--coral); color: #fff; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ========== Reveal animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mockup { transform: none; max-width: 600px; margin: 0 auto; }
  .float-card.fc-1 { left: -10px; }
  .float-card.fc-2 { right: -10px; }
  .features-grid, .testimonials-grid, .pricing-grid, .personas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card.featured { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn-ghost { display: none; }
  .hamburger { display: block; }
  .nav.menu-open .nav-menu {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .hero { padding: 130px 0 70px; }
  .section { padding: 70px 0; }
  .features-grid, .testimonials-grid, .pricing-grid, .personas-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-form { flex-direction: column; border-radius: var(--radius); padding: 12px; }
  .cta-form .btn { width: 100%; }
  .float-card { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
}
