/* Reelpin — Annot.io layout clone, fictional film-editing feedback SaaS */

:root {
  --bg: #f6f4f3;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #9a9a9a;
  --accent: #fe3300;
  --accent-hover: #e52e00;
  --accent-soft: rgba(254, 51, 0, 0.08);
  --accent-badge: rgba(254, 51, 0, 0.12);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --card-bg: #f0eeed;
  --footer-bg: #1c1c1c;
  --footer-text: #a8a8a8;
  --check: #fe3300;
  --radius-pill: 999px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-nav: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max-w: 1120px;
  --nav-h: 56px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white); padding: 0.5rem 1rem;
  border-radius: var(--radius-pill); z-index: 9999; font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

.container { width: min(var(--max-w), calc(100% - 2rem)); margin-inline: auto; }

/* ── Nav ── */
.site-nav-wrap {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; padding: 0 1rem;
  pointer-events: none;
}
.site-nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--white); border-radius: var(--radius-pill);
  padding: 6px 6px 6px 16px; box-shadow: var(--shadow-nav);
  border: 1px solid var(--border);
  max-width: 720px; width: 100%;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9375rem; margin-right: auto;
  flex-shrink: 0;
}
.logo-icon { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.nav-links {
  display: flex; align-items: center; gap: 1.25rem; list-style: none;
}
.nav-links a {
  font-size: 0.8125rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.nav-login {
  font-size: 0.8125rem; font-weight: 500; color: var(--accent);
  padding: 0 0.75rem;
}
.btn-signup {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--white);
  font-size: 0.8125rem; font-weight: 600;
  padding: 0.5rem 1.125rem; border-radius: var(--radius-pill);
  transition: background 0.15s;
}
.btn-signup:hover { background: var(--accent-hover); }
.menu-toggle {
  display: none; flex-direction: column; gap: 4px; padding: 8px;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 1px;
}

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--white); padding: 5rem 2rem 2rem;
  flex-direction: column; gap: 1.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.125rem; font-weight: 500; }
.mobile-nav .btn-signup { align-self: flex-start; padding: 0.75rem 1.5rem; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--white);
  font-size: 0.9375rem; font-weight: 600;
  padding: 0.875rem 1.75rem; border-radius: var(--radius-pill);
  transition: background 0.15s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary.lg { font-size: 1rem; padding: 1rem 2rem; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--text);
  font-size: 0.9375rem; font-weight: 600;
  padding: 0.875rem 1.75rem; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  transition: background 0.15s;
}
.btn-secondary:hover { background: var(--bg); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text);
  font-size: 0.9375rem; font-weight: 600;
  padding: 0.875rem 1.75rem; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--white); }

/* ── Hero ── */
.hero {
  padding: calc(var(--nav-h) + 4rem) 0 0;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-badge); border-radius: var(--radius-pill);
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  font-size: 0.75rem; font-weight: 500; color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-badge-icons { display: flex; gap: -4px; }
.hero-badge-icons span {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--white); margin-left: -6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.625rem; font-weight: 700; color: var(--white);
}
.hero-badge-icons span:first-child { margin-left: 0; }
.badge-slack { background: #4a154b; }
.badge-notion { background: #000; }
.badge-figma { background: #f24e1e; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15; max-width: 680px; margin: 0 auto 1.25rem;
}
.hero-sub {
  font-size: 0.9375rem; color: var(--text-muted);
  max-width: 480px; margin: 0 auto 2rem;
  letter-spacing: 0.02em;
}
.hero-sub .spaced { letter-spacing: 0.08em; }
.hero-cta { margin-bottom: 1rem; }
.hero-proof {
  font-size: 0.75rem; color: var(--text-light); margin-bottom: 2rem;
}
.hero-award {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.6875rem; color: var(--text-light); margin-bottom: 2.5rem;
}
.hero-award svg { opacity: 0.5; }

.hero-mockup-wrap {
  padding: 0 1rem 4rem;
  max-width: 960px; margin: 0 auto;
}
.hero-mockup {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden;
  border: 1px solid var(--border);
}
.hero-mockup img { width: 100%; }

/* ── Section labels ── */
.section-label {
  display: block; text-align: center;
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.75rem;
}
.section-title {
  text-align: center; font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 3rem; line-height: 1.2;
}

/* ── Features bento ── */
.features { padding: 4rem 0 5rem; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.feature-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 1.75rem; overflow: hidden;
  display: flex; flex-direction: column;
}
.feature-card.large { grid-row: span 1; }
.feature-eyebrow {
  font-size: 0.6875rem; font-weight: 600;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.feature-card h3 {
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 0.5rem;
  line-height: 1.3;
}
.feature-card p {
  font-size: 0.875rem; color: var(--text-muted);
  line-height: 1.55; margin-bottom: 1.25rem;
}
.feature-visual {
  margin-top: auto; border-radius: var(--radius-md);
  overflow: hidden; background: var(--white);
  border: 1px solid var(--border);
}
.feature-visual img { width: 100%; }

.feature-card.span-full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem; align-items: center;
}
.feature-card.span-full .feature-copy { padding-right: 1rem; }

/* Pin comment mockup (CSS-only) */
.pin-mockup {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1rem; border: 1px solid var(--border);
  position: relative; min-height: 200px;
}
.pin-mockup-header {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; color: var(--text-light);
  margin-bottom: 1rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.pin-dot {
  width: 10px; height: 10px; background: var(--accent);
  border-radius: 50%; position: absolute;
  top: 45%; left: 55%; box-shadow: 0 0 0 4px rgba(254,51,0,0.2);
}
.pin-bubble {
  position: absolute; top: 30%; left: 58%;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; box-shadow: var(--shadow-card);
  border: 1px solid var(--border); max-width: 220px;
  font-size: 0.75rem; line-height: 1.45;
}
.pin-bubble-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.5rem; font-size: 0.6875rem; color: var(--text-light);
}
.pin-send {
  width: 24px; height: 24px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.pin-send svg { width: 12px; height: 12px; }

/* ── Compare ── */
.compare { padding: 4rem 0 5rem; }
.compare-table-wrap {
  overflow-x: auto; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
}
.compare-table {
  width: 100%; border-collapse: collapse; min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem; text-align: center;
  font-size: 0.8125rem; border-bottom: 1px solid var(--border);
}
.compare-table th:first-child, .compare-table td:first-child {
  text-align: left; font-weight: 500;
}
.compare-table thead th {
  font-weight: 600; font-size: 0.875rem;
  background: var(--bg); border-bottom: 1px solid var(--border-strong);
}
.compare-table thead th.highlight {
  color: var(--accent); background: var(--accent-soft);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.check-yes { color: var(--accent); font-weight: 700; }
.check-no { color: var(--text-light); }

/* ── FAQ ── */
.faq { padding: 4rem 0 5rem; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; text-align: left;
  font-size: 0.9375rem; font-weight: 600; color: var(--text);
  background: none; border: none; cursor: pointer;
}
.faq-trigger svg {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item.open .faq-trigger svg { transform: rotate(45deg); }
.faq-panel {
  padding: 0 0 1.25rem; font-size: 0.875rem;
  color: var(--text-muted); line-height: 1.6;
  display: none;
}
.faq-item.open .faq-panel { display: block; }

/* ── Pricing ── */
.pricing { padding: 4rem 0 5rem; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
.pricing-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--accent); position: relative;
}
.pricing-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill); white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem;
}
.pricing-price {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-period {
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.25rem;
}
.pricing-includes {
  font-size: 0.6875rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.pricing-features {
  list-style: none; flex: 1; margin-bottom: 1.25rem;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--text-muted);
  padding: 0.375rem 0; line-height: 1.4;
}
.pricing-features li::before {
  content: "✓"; color: var(--check); font-weight: 700; flex-shrink: 0;
}
.pricing-card .btn-secondary,
.pricing-card .btn-primary {
  width: 100%; font-size: 0.8125rem; padding: 0.75rem;
}

/* ── CTA ── */
.cta-section { padding: 0 0 5rem; }
.cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.cta-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 2.5rem; display: flex; flex-direction: column;
  justify-content: center; min-height: 200px;
}
.cta-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
}
.cta-card.right {
  align-items: center; justify-content: center;
}

/* ── Footer ── */
.site-footer {
  background: var(--footer-bg); color: var(--footer-text);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2.5rem;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9375rem; color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-logo img { width: 24px; height: 24px; border-radius: 6px; }
.footer-desc {
  font-size: 0.8125rem; line-height: 1.6; max-width: 320px;
}
.footer-col h4 {
  font-size: 0.8125rem; font-weight: 600; color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block; font-size: 0.8125rem; padding: 0.25rem 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.span-full { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-login { display: none; }
  .menu-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .compare-table { min-width: 100%; }
}
