/* ============================================================
   CircaPhoto — Marketing Site
   ============================================================ */

:root {
  --orange:       #F97316;
  --orange-light: #FFF3E0;
  --green:        #16A34A;
  --green-light:  #E8F5E9;
  --blue:         #1565C0;
  --blue-light:   #E3F2FD;
  --navy:         #1A1A2E;
  --navy-mid:     #2D2D4E;
  --text:         #1A1A2E;
  --text-muted:   #6B7280;
  --text-faint:   #9CA3AF;
  --surface:      #F9FAFB;
  --border:       #E5E7EB;
  --white:        #FFFFFF;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:       0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --max-w:        1080px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.75; }

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(249,115,22,0.35);
}
.btn-primary:hover { background: #EA6C0D; box-shadow: 0 4px 20px rgba(249,115,22,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---- Chips ---- */
.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.chip-macos {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,46,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(155deg, #1A1A2E 0%, #2D2D4E 50%, #1A1A2E 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.hero-label {
  display: inline-block;
  background: rgba(249,115,22,0.18);
  border: 1px solid rgba(249,115,22,0.35);
  color: #FDB97D;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: #FDB97D;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-demo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-anchor  { background: rgba(249,115,22,0.25); color: #FDB97D; border: 1px solid rgba(249,115,22,0.4); }
.badge-dated   { background: rgba(22,163,74,0.25);  color: #86EFAC; border: 1px solid rgba(22,163,74,0.4); }
.badge-tag     { background: rgba(249,115,22,0.18); color: #FDBA74; border: 1px solid rgba(249,115,22,0.3); }

.hero-scroll-hint {
  margin-top: 48px;
  color: rgba(255,255,255,0.25);
  display: flex;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: 80px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.problem-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.problem-text p { color: var(--text-muted); font-size: 1rem; }

.date-comparison {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.date-wrong, .date-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.date-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.date-wrong .date-value { font-size: 1.15rem; font-weight: 700; color: #DC2626; }
.date-right .date-value { font-size: 1.15rem; font-weight: 700; color: var(--green); }
.date-note { font-size: 0.72rem; color: var(--text-faint); }
.date-arrow { font-size: 1.2rem; color: var(--text-faint); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 100px 0;
}
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: start;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-content p { color: var(--text-muted); margin-bottom: 12px; }
.step-why {
  background: #FFF3E0;
  border-left: 3px solid var(--orange);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: #92400E;
}
.step-why strong { color: #78350F; }
.step-divider {
  height: 40px;
  width: 2px;
  background: var(--border);
  margin: 8px 0 8px 31px;
}

/* ============================================================
   INFERENCE EXPLAINER
   ============================================================ */
.inference-explainer {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}
.inference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.inference-text .section-eyebrow { color: #FDB97D; }
.inference-text h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.inference-text p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  font-size: 0.975rem;
}
.inference-text code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  background: rgba(249,115,22,0.15);
  color: #FDB97D;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
.confidence-cards { display: flex; flex-direction: column; gap: 12px; }
.confidence-card {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid transparent;
}
.confidence-card.high   { background: rgba(22,163,74,0.15);   border-color: #22C55E; }
.confidence-card.medium { background: rgba(249,115,22,0.15);  border-color: #F97316; }
.confidence-card.low    { background: rgba(239,68,68,0.15);   border-color: #EF4444; }
.conf-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--white);
}
.conf-desc { font-size: 0.825rem; color: rgba(255,255,255,0.55); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: 100px 0; background: var(--surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   BADGE TABLE
   ============================================================ */
.badges-section { padding: 100px 0; }
.badge-table { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.badge-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.badge-row:last-child { border-bottom: none; }
.badge-sample { display: flex; justify-content: center; }
.badge-info { display: flex; flex-direction: column; gap: 2px; }
.badge-info strong { font-size: 0.9rem; font-weight: 600; }
.badge-info span   { font-size: 0.825rem; color: var(--text-muted); }

/* Badge samples */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}
.pill-orange    { background: var(--orange);  color: white; }
.pill-blue      { background: var(--blue);    color: white; }
.pill-orange-sm { background: var(--orange);  color: white; font-size: 0.72rem; }
.pill-yellow-sm { background: #EAB308;        color: #1A1A2E; font-size: 0.72rem; }

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}
.seal-green { background: var(--green); color: white; }
.seal-blue  { background: var(--blue);  color: white; }
.seal-grey  { background: #6B7280;      color: white; }

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy {
  padding: 100px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--white);
}
.privacy-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}
.privacy-icon {
  width: 80px;
  height: 80px;
  background: rgba(249,115,22,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.privacy-text h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 16px; }
.privacy-text p  { color: rgba(255,255,255,0.6); margin-bottom: 24px; font-size: 0.975rem; }
.privacy-bullets { display: flex; flex-direction: column; gap: 10px; }
.privacy-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.privacy-bullet svg { color: #22C55E; flex-shrink: 0; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 100px 24px;
  text-align: center;
  background: var(--surface);
}
.cta h2 { font-size: 2rem; font-weight: 700; margin-bottom: 14px; }
.cta p  { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.45);
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.footer-copy { font-size: 0.8rem; }
.footer-organyze {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer-organyze:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 800px) {
  .problem-grid    { grid-template-columns: 1fr; gap: 32px; }
  .inference-grid  { grid-template-columns: 1fr; gap: 40px; }
  .features-grid   { grid-template-columns: 1fr; }
  .nav-right .nav-link { display: none; }
  .privacy-inner   { grid-template-columns: 1fr; }
  .privacy-icon    { display: none; }
  .hero h1         { font-size: 2.2rem; }
  .footer-center   { display: none; }
}

@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; }
  .step-number { display: none; }
  .step-divider { display: none; }
  .badge-row { grid-template-columns: 90px 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-right .btn { display: none; }
}
