/* Anchor World — elegant marketing site */

:root {
  --primary: #ba0c2f;
  --primary-deep: #8b0a24;
  --ink: #1a1214;
  --body: #5c5356;
  --muted: #8a7f82;
  --surface: #fff8f9;
  --surface-2: #faf3f4;
  --card: #ffffff;
  --mint: #0cba97;
  --gold: #e8a838;
  --border: #e8e0e2;
  --chip: #f3eeef;
  --gradient-purple: #4b134f;
  --brand-gradient: linear-gradient(135deg, #4b134f 0%, #ba0c2f 100%);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --nav-h: 76px;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 50px rgba(26, 18, 20, 0.08);
  --shadow-nav: 0 10px 40px rgba(26, 18, 20, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

::selection {
  background: rgba(186, 12, 47, 0.18);
  color: var(--ink);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(186, 12, 47, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 8%, rgba(75, 19, 79, 0.07), transparent 50%),
    radial-gradient(ellipse 45% 30% at 50% 100%, rgba(12, 186, 151, 0.05), transparent 55%),
    var(--surface);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2.75rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 248, 249, 0.82);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(232, 224, 226, 0.7);
  box-shadow: var(--shadow-nav);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-nav.scrolled {
  background: rgba(255, 248, 249, 0.96);
  box-shadow: 0 12px 40px rgba(26, 18, 20, 0.09);
}

.nav-inner {
  width: min(100% - 2.75rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.95),
    0 8px 20px rgba(186, 12, 47, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.site-nav .nav-cta.btn-primary {
  padding: 0.62rem 1.2rem;
  font-size: 0.82rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 40;
  background: rgba(255, 248, 249, 0.98);
  backdrop-filter: blur(16px);
  padding: 2.5rem 1.5rem;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 650;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(186, 12, 47, 0.28);
}

.btn-primary:hover {
  background: var(--primary-deep);
  color: #fff;
  box-shadow: 0 16px 36px rgba(186, 12, 47, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(186, 12, 47, 0.04);
}

.btn-store {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  min-width: 178px;
  padding: 0.9rem 1.3rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-store small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.72;
  margin-bottom: 0.1rem;
}

.btn-store strong {
  font-size: 1rem;
  font-weight: 700;
}

/* ——— Hero ——— */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(26, 18, 20, 0.28) 0%,
      rgba(26, 18, 20, 0.08) 38%,
      rgba(255, 248, 249, 0.55) 78%,
      var(--surface) 100%
    ),
    var(--brand-gradient);
}

.hero-plane::before {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  top: -22%;
  right: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.26), transparent 68%);
  animation: drift 16s ease-in-out infinite alternate;
}

.hero-plane::after {
  content: "";
  position: absolute;
  width: 48vmax;
  height: 48vmax;
  bottom: 5%;
  left: -16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 186, 151, 0.2), transparent 70%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(2.5%, -3%) scale(1.05);
  }
}

.hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mark {
  width: 76px;
  height: 76px;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.4),
    0 20px 48px rgba(26, 18, 20, 0.3);
  animation: rise 0.9s var(--ease) both;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 0.98;
  margin-bottom: 1rem;
  text-shadow: 0 10px 40px rgba(26, 18, 20, 0.28);
  animation: rise 0.95s 0.06s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.015em;
  margin-bottom: 0.9rem;
  max-width: 22ch;
  animation: rise 0.95s 0.12s var(--ease) both;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  font-weight: 450;
  max-width: 38ch;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: rise 0.95s 0.18s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  animation: rise 0.95s 0.24s var(--ease) both;
}

.hero .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 36px rgba(26, 18, 20, 0.22);
}

.hero .btn-primary:hover {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: 0 18px 42px rgba(26, 18, 20, 0.28);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-trust {
  margin-top: 2.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  animation: rise 0.95s 0.3s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.section.alt {
  background: linear-gradient(180deg, transparent, var(--surface-2) 12%, var(--surface-2) 88%, transparent);
}

.section-head {
  max-width: 34rem;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
}

.section-label::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.section-lead {
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 40ch;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.about-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  padding-left: 1.25rem;
  border-left: 2px solid var(--primary);
}

.feature-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.feature {
  background: var(--card);
  border: 1px solid rgba(232, 224, 226, 0.9);
  border-radius: 20px;
  padding: 1.55rem 1.4rem 1.65rem;
  box-shadow: 0 10px 30px rgba(26, 18, 20, 0.03);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(186, 12, 47, 0.18);
}

.feature-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.feature p {
  color: var(--body);
  font-size: 0.94rem;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  counter-increment: step;
  background: var(--card);
  border: 1px solid rgba(232, 224, 226, 0.9);
  border-radius: 20px;
  padding: 1.55rem 1.4rem 1.65rem;
  box-shadow: 0 10px 30px rgba(26, 18, 20, 0.03);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(186, 12, 47, 0.18);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--body);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ——— Detail sections (points / premium / calls) ——— */
.detail-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .detail-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
  }

  .detail-grid.reverse {
    grid-template-columns: 1.05fr 1fr;
  }

  .detail-grid.reverse > :first-child {
    order: 2;
  }
}

.detail-panel {
  background: var(--card);
  border: 1px solid rgba(232, 224, 226, 0.9);
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(26, 18, 20, 0.03);
}

@media (min-width: 720px) {
  .detail-panel {
    padding: 2rem 2.1rem;
  }
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.detail-list li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(186, 12, 47, 0.35);
}

.detail-list strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.detail-list span {
  color: var(--body);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ——— Download ——— */
.download {
  position: relative;
  overflow: hidden;
  margin: 1rem 0 3.5rem;
  padding: 3.5rem 1.75rem;
  border-radius: 28px;
  background: var(--brand-gradient);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(186, 12, 47, 0.22);
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 168, 56, 0.25), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(12, 186, 151, 0.18), transparent 42%);
  pointer-events: none;
}

.download > * {
  position: relative;
  z-index: 1;
}

.download-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 1.25rem;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 12px 28px rgba(0, 0, 0, 0.2);
}

.download h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.55rem;
}

.download p {
  opacity: 0.86;
  margin-bottom: 1.75rem;
  font-size: 1.02rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  background: var(--card);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand p {
  color: var(--body);
  font-size: 0.92rem;
  margin-top: 0.85rem;
  max-width: 28ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: var(--ink);
  font-weight: 550;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--body);
  font-weight: 550;
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Legal pages ——— */
.legal-page {
  padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.25rem;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.85rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 720px) {
  .legal-card {
    padding: 2.5rem 2.75rem;
  }
}

.legal-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 1.85rem 0 0.65rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--body);
  font-size: 0.96rem;
  margin-bottom: 0.7rem;
  line-height: 1.65;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
}

.legal-card a {
  font-weight: 650;
}

.notice {
  background: var(--chip);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.1rem;
  border-radius: 0 14px 14px 0;
  margin: 1.1rem 0;
}

.notice.mint {
  border-left-color: var(--mint);
}

.notice.gold {
  border-left-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
