/* Landing page */

body { overflow-x: hidden; line-height: 1.65; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* --- Header --- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* Fixed to the viewport, so it clears the status bar and notch itself. */
  padding: calc(16px + env(safe-area-inset-top)) env(safe-area-inset-right) 16px env(safe-area-inset-left);
  background: rgba(251, 248, 239, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
nav { display: flex; align-items: center; gap: 28px; }
nav .nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; font-weight: 450; transition: color 0.25s; }
nav .nav-link:hover { color: var(--text-main); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-smooth), background 0.25s, border-color 0.25s, box-shadow 0.3s, color 0.25s;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 0.84rem; }
.btn-primary { background: var(--primary); color: #fffaf1; }
.btn-primary:hover { background: var(--primary-hover); color: #fffaf1; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(255, 85, 12, 0.35); }
.btn-ghost { border: 1px solid var(--border-hover); color: var(--text-main); background: transparent; }
.btn-ghost:hover { border-color: var(--text-main); background: rgba(242, 239, 233, 0.04); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* --- Hero --- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 92vh;
  padding: calc(170px + env(safe-area-inset-top)) 0 110px;
}
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--primary); }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.5rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-lede { max-width: 520px; margin-bottom: 40px; color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-muted); text-transform: uppercase; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--success); }

.highlight-anim { position: relative; display: inline-block; color: var(--text-main); }
.highlight-anim::after {
  content: '';
  position: absolute;
  left: 0; bottom: 1px;
  width: 100%; height: 1px;
  background: var(--primary);
  transform-origin: left;
  transition: height 0.35s var(--ease-smooth), opacity 0.35s;
}
.highlight-anim:hover::after { height: 100%; opacity: 0.18; }

/* --- Hero graphic (orbit rings, pulse, orbs — same motion as before) --- */
.shield-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 500px;
}
.core-glow {
  position: absolute;
  width: 170px; height: 170px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.7), transparent 70%);
  filter: blur(44px);
  opacity: 0.55;
  animation: pulse 5s infinite ease-in-out;
}
.orb-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 233, 0.06);
  transform: translate(-50%, -50%);
}
.ring-1 { width: 360px; height: 360px; border-color: rgba(201, 169, 110, 0.22); border-style: dashed; animation: rotate 40s linear infinite; }
.ring-2 { width: 470px; height: 470px; border-color: rgba(242, 239, 233, 0.07); animation: rotate-rev 60s linear infinite; }
.orb { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 18px rgba(201, 169, 110, 0.7); }
.r1-orb { top: -4px; left: 50%; transform: translateX(-50%); }
.r2-orb { bottom: 54px; right: 22px; background: var(--ivory); box-shadow: 0 0 16px rgba(242, 239, 233, 0.5); }

.shield-shape { position: relative; z-index: 2; width: 220px; animation: bob 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.shield-shape svg { display: block; width: 100%; height: auto; overflow: visible; }

/* --- Sections --- */
section { position: relative; }
.section { padding: 110px 0 0; }
.section-header { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: 64px; }
.section-header .eyebrow { grid-column: 1 / -1; }
.section-header h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.06; }
.section-header h2 em { font-style: italic; color: var(--primary); }
.section-header p { color: var(--text-muted); font-size: 1.02rem; max-width: 440px; justify-self: end; }

/* --- Features --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.feature-card {
  position: relative;
  padding: 34px 32px 36px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.45s var(--ease-smooth), border-color 0.3s, background 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--border-hover); }
.feature-card h3 { margin: 26px 0 10px; font-size: 1.55rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  color: var(--primary);
}
.icon-box svg { width: 18px; height: 18px; }

/* --- Identity deck preview --- */
.id-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.id-card {
  position: relative;
  padding: 30px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.45s var(--ease-smooth), border-color 0.3s;
}
.id-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.id-card::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.4), transparent); }

.id-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 4px 11px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.id-status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st-active { background: rgba(134, 184, 159, 0.08); color: var(--success); border: 1px solid rgba(134, 184, 159, 0.25); }
.st-deleted { background: rgba(216, 121, 108, 0.08); color: var(--error); border: 1px solid rgba(216, 121, 108, 0.25); }
.st-premium { background: rgba(201, 169, 110, 0.08); color: var(--primary-ink); border: 1px solid rgba(201, 169, 110, 0.28); }

.id-field { margin-bottom: 20px; }
.id-field:last-child { margin-bottom: 0; }
.id-label { margin-bottom: 4px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.id-data { font-family: var(--font-mono); font-size: 0.95rem; color: var(--text-main); }
.id-note { font-size: 0.92rem; }
.id-note.ok { color: var(--success); }
.id-note.bad { color: var(--error); }

/* --- How it works --- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.step { padding-top: 26px; border-top: 1px solid var(--border-hover); }
.step-num { display: block; margin-bottom: 22px; font-family: var(--font-display); font-style: italic; font-size: 3rem; line-height: 1; color: var(--primary); }
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.95rem; max-width: 340px; }

/* --- Pricing --- */
.pricing-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.p-card {
  position: relative;
  padding: 44px 44px 46px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.p-paid { border-color: rgba(201, 169, 110, 0.32); background: linear-gradient(180deg, rgba(201, 169, 110, 0.06), var(--bg-panel) 55%); }
.p-card .eyebrow { display: block; margin-bottom: 18px; }
.p-paid .eyebrow { color: var(--primary-ink); }
.p-card h3 { font-size: 1.7rem; margin-bottom: 20px; }
.price-num { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-size: 4.2rem; line-height: 1; color: var(--text-main); margin-bottom: 12px; }
.price-num small { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-muted); }
.p-sub { margin-bottom: 30px; color: var(--text-muted); font-size: 0.93rem; }
.p-list { list-style: none; margin: 0 0 38px; padding: 30px 0 0; border-top: 1px solid var(--border); display: grid; gap: 13px; }
.p-list li { display: flex; align-items: center; gap: 12px; font-size: 0.93rem; color: var(--text-main); }
.p-list svg { flex-shrink: 0; color: var(--primary); }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.faq-item { padding: 30px 0; border-top: 1px solid var(--border); }
.faq-q { margin-bottom: 12px; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.25; color: var(--text-main); }
.faq-a { color: var(--text-muted); font-size: 0.94rem; max-width: 480px; }

/* --- Footer --- */
footer { margin-top: 130px; padding: 56px 0 44px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; }
.footer-blurb { margin-top: 12px; color: var(--text-muted); font-size: 0.88rem; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.86rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-main); }
.footer-copy { margin-top: 44px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--text-muted); }

/* --- Animations --- */
@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rotate-rev { from { transform: translate(-50%, -50%) rotate(360deg); } to { transform: translate(-50%, -50%) rotate(0deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.55; } 50% { transform: scale(1.25); opacity: 0.8; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(130px + env(safe-area-inset-top)); min-height: 0; text-align: left; }
  .shield-container { height: 340px; margin-top: 10px; }
  .ring-1 { width: 260px; height: 260px; }
  .ring-2 { width: 340px; height: 340px; }
  .shield-shape { width: 160px; }
  .section { padding-top: 84px; }
  .section-header { grid-template-columns: 1fr; margin-bottom: 44px; }
  .section-header p { justify-self: start; }
  .pricing-split { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .p-card { padding: 34px 28px 36px; }
  footer { margin-top: 90px; }
  nav { gap: 18px; }
}

@media (max-width: 600px) {
  .container { padding-left: 20px; padding-right: 20px; }
  header { padding-top: calc(13px + env(safe-area-inset-top)); padding-bottom: 13px; }
  nav { gap: 14px; }
  nav .nav-link { font-size: .8rem; }
  nav .btn-sm { height: 34px; padding: 0 12px; font-size: .76rem; }
  .hero { padding-top: calc(118px + env(safe-area-inset-top)); padding-bottom: 70px; }
  .footer-links { gap: 12px 22px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .hero-lede { font-size: 1rem; line-height: 1.6; }
  .shield-container { height: 300px; }
  .section { padding-top: 78px; }
  .section-header { margin-bottom: 34px; }
  .section-header h2 { font-size: 2.65rem; }
  .feature-card, .id-card { padding: 26px 24px 28px; }
  .p-card { padding: 30px 24px 32px; }
}
