/* ── Variables ── */
:root {
  --black:      #0A080F;
  --dark:       #13101E;
  --white:      #FDFCFF;
  --off-white:  #F5F2F9;
  --gold:       #B8960C;
  --gold-light: #D4AF37;
  --gold-muted: rgba(184, 150, 12, 0.18);
  --text:       #0A080F;
  --text-mid:   #3D3852;
  --text-muted: #7A7490;
  --border:     rgba(10, 8, 15, 0.1);
  --border-gold: rgba(184, 150, 12, 0.25);
  --purple-hint: rgba(100, 60, 200, 0.04);
  --font:       'EB Garamond', 'Garamond', 'Times New Roman', Georgia, serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@keyframes blob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes blob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-90px, 120px) scale(1.2); }
}
@keyframes blob3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(60px, -100px) scale(1.1); }
}

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background-color: #FDFCFF;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

body::before {
  width: 600px;
  height: 600px;
  background: rgba(139, 92, 246, 0.18);
  top: -100px;
  left: -100px;
  animation: blob1 16s ease-in-out infinite;
}

body::after {
  width: 500px;
  height: 500px;
  background: rgba(219, 39, 119, 0.13);
  bottom: 10%;
  right: -80px;
  animation: blob2 18s ease-in-out infinite;
}

.blob3 {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  width: 450px;
  height: 450px;
  background: rgba(167, 70, 230, 0.12);
  top: 45%;
  left: 30%;
  animation: blob3 20s ease-in-out infinite;
}

/* Keep all content above blobs */
body > *:not(.blob3):not(.mobile-nav) {
  position: relative;
  z-index: 1;
}

a { text-decoration: none; color: inherit; }
em { font-style: italic; }

/* ── Containers ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 680px;
}

/* ── Nav entrance animation ── */
@keyframes nav-enter {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  background: rgba(253, 252, 255, 0.92);
  backdrop-filter: blur(14px);
  animation: nav-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--black);
}

.nav-logo em {
  color: var(--gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  flex: 1;
}

.nav-links a {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 7px 18px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--black);
  color: var(--white);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Nav Overlay ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(253, 252, 255, 0.97);
  backdrop-filter: blur(16px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  gap: 0;
}

.mobile-nav ul li a {
  display: block;
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
  letter-spacing: -0.3px;
}

.mobile-nav ul li:last-child a {
  color: var(--gold);
}

.mobile-nav ul li a:hover {
  color: var(--gold);
}

/* ── Hero entrance keyframes ── */
@keyframes hero-enter {
  from { opacity: 0; transform: scale(1.13) translateY(10px); filter: blur(3px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    filter: blur(0); }
}

@keyframes hero-fade {
  from { opacity: 0; transform: scale(1.06); filter: blur(2px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}

/* ── Hero ── */
.hero {
  padding: 90px 0 48px;
  background-image:
    radial-gradient(ellipse 70% 60% at 60% 20%, rgba(100, 60, 200, 0.04), transparent);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-style: normal;
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-headline {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 24px;
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}

/* Gold gradient on "remembered." */
.hero-headline em {
  font-style: italic;
  background: linear-gradient(135deg, #E8C94E 0%, #C39E37 40%, #D4AF37 70%, #B8960C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-one-liner {
  font-size: 20px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 14px;
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.hero-tagline {
  font-size: 17px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 18px;
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.52s backwards;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-top: 14px;
  display: block;
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s backwards;
}

/* ── Typewriter ── */
.typewriter-wrap {
  margin-bottom: 20px;
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 2px;
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s backwards;
}

.typewriter-text {
  font-size: 15px;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.2px;
}

.typewriter-cursor {
  font-size: 15px;
  color: var(--gold);
  animation: tw-blink 0.9s step-end infinite;
}

@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Mock Groups Strip ── */
.mock-groups-strip {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(195,158,55,0.08);
}
.mock-groups-strip::-webkit-scrollbar { display: none; }

.mock-group-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(195,158,55,0.07);
  border: 1px solid rgba(195,158,55,0.22);
  border-radius: 7px;
  padding: 6px 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.mock-group-btn-active {
  background: rgba(195,158,55,0.18);
  border-color: rgba(195,158,55,0.5);
  box-shadow: 0 0 10px rgba(195,158,55,0.18);
}

.mock-diamond {
  font-size: 13px;
  color: var(--gold-light);
  line-height: 1;
}

.mock-group-name {
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(212,175,55,0.85);
  white-space: nowrap;
  font-family: -apple-system, sans-serif;
}

.mock-group-count {
  font-size: 8px;
  color: rgba(237,232,213,0.28);
  font-family: -apple-system, sans-serif;
}

.mock-groups-cta {
  text-align: center;
  font-size: 11px;
  color: var(--gold-light);
  padding: 8px 12px 10px;
  font-style: italic;
  animation: notif-pulse 2s ease-in-out infinite;
}

/* ── CTA Button with shimmer ── */
.btn-hero {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 14px 32px;
  border-radius: 3px;
  transition: opacity 0.15s, transform 0.1s;
  margin-bottom: 16px;
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.95s backwards;
}

.btn-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-hero:hover::after {
  animation: btn-shimmer 0.55s ease forwards;
}

@keyframes btn-shimmer {
  from { left: -100%; }
  to   { left: 150%; }
}

.btn-hero:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Trust strip ── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 32px;
  background: rgba(245, 242, 249, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.trust-sep { color: var(--border); }

.trust-item {
  opacity: 0;
  animation: hero-enter 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.trust-item:nth-child(1) { animation-delay: 1.1s; }
.trust-item:nth-child(2) { animation-delay: 1.2s; }
.trust-item:nth-child(3) { animation-delay: 1.3s; }
.trust-item:nth-child(4) { animation-delay: 1.35s; }
.trust-item:nth-child(5) { animation-delay: 1.4s; }
.trust-item:nth-child(6) { animation-delay: 1.45s; }
.trust-item:nth-child(7) { animation-delay: 1.5s; }

.founder-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.founder-note p {
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
}

.mock-fade {
  animation: mock-fade-in 0.4s ease;
}

@keyframes mock-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Popup Mockup ── */
.popup-mockup {
  background: #09080F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(195, 158, 55, 0.2),
    0 32px 80px rgba(10, 8, 15, 0.35),
    0 0 60px rgba(90, 50, 180, 0.08);
  font-family: var(--font);
  animation: mock-float 5s ease-in-out infinite;
}

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

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(195, 158, 55, 0.14);
}

.mock-wordmark {
  font-size: 19px;
  font-weight: 500;
  color: #EDE8D5;
  letter-spacing: 0.3px;
}

.mock-wordmark em {
  color: #C39E37;
}

.mock-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(237, 232, 213, 0.4);
  border: 1px solid rgba(195, 158, 55, 0.16);
  border-radius: 20px;
  padding: 2px 9px;
}

.mock-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C39E37;
  animation: breathe 2.5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 16px;
  background: #110D1C;
  border: 1px solid rgba(195, 158, 55, 0.28);
  border-radius: 5px;
  padding: 9px 12px;
  box-shadow: 0 0 0 3px rgba(195, 158, 55, 0.06);
}

.mock-glyph {
  font-size: 11px;
  color: #C39E37;
}

.mock-input {
  font-size: 15px;
  font-style: italic;
  color: #EDE8D5;
}

.mock-cursor {
  width: 1px;
  height: 15px;
  background: #C39E37;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.mock-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 8px;
}

.mock-divider span {
  flex: 1;
  height: 1px;
  background: rgba(195, 158, 55, 0.1);
}

.mock-divider small {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(237, 232, 213, 0.2);
  white-space: nowrap;
}

.mock-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(195, 158, 55, 0.05);
}

.mock-favicon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: #1A1628;
  border: 1px solid rgba(195, 158, 55, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #C39E37;
  flex-shrink: 0;
}

.mock-info { flex: 1; min-width: 0; }

.mock-title {
  font-size: 13px;
  color: #EDE8D5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-meta {
  font-size: 10px;
  color: rgba(237, 232, 213, 0.35);
  margin-top: 1px;
}

.mock-restore {
  background: none;
  border: 1px solid rgba(195, 158, 55, 0.3);
  color: #C39E37;
  font-family: var(--font);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.mock-reminder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: linear-gradient(90deg, rgba(195, 158, 55, 0.1), rgba(80, 40, 180, 0.06));
  border-top: 1px solid rgba(195, 158, 55, 0.22);
}

.mock-reminder-glyph {
  font-size: 13px;
  color: #C39E37;
  flex-shrink: 0;
}

.mock-reminder-text { flex: 1; min-width: 0; }

.mock-reminder-title {
  font-size: 12px;
  color: #EDE8D5;
  font-weight: 500;
}

.mock-reminder-sub {
  font-size: 10px;
  color: rgba(195, 158, 55, 0.7);
  margin-top: 1px;
}

.mock-restore-gold {
  background: #C39E37;
  border-color: #C39E37;
  color: #09080F;
  font-weight: 600;
}

/* ── Rule divider ── */
.rule-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.rule-divider::before,
.rule-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.rule-divider span {
  font-size: 12px;
  color: var(--gold-light);
  opacity: 0.5;
}

/* ── How it works ── */
.how {
  padding: 96px 0;
}

.how-header {
  margin-bottom: 64px;
}

.how-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  color: var(--black);
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 64px;
}

.how-step {
  padding-top: 20px;
  border-top: 1px solid var(--border-gold);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-step:hover {
  transform: translateY(-6px);
}

.step-number {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}

.how-step h3 {
  font-size: 26px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.how-step p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── Editorial section ── */
.editorial {
  padding: 96px 0;
  background: rgba(245, 242, 249, 0.5);
  background-image: radial-gradient(ellipse 80% 60% at 50% 50%, var(--purple-hint), transparent);
}

.editorial .container {
  margin: 0 auto;
}

.editorial-pull {
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.6;
  border-left: 2px solid var(--gold-light);
  padding-left: 28px;
  margin: 24px 0 32px;
}

.editorial-body {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.85;
}

/* ── Section eyebrow ── */
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ── Comparison ── */
.compare {
  padding: 96px 0;
}

.compare-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--black);
  margin: 8px 0 48px;
  letter-spacing: -0.5px;
}

.compare-table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font);
}

.compare-table th {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-align: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table th:first-child { text-align: left; }

.compare-table td {
  font-size: 17px;
  color: var(--text-mid);
  text-align: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(10, 8, 15, 0.06);
}

.compare-table td:first-child {
  text-align: left;
  font-size: 17px;
  color: var(--text);
}

.c-yes     { color: var(--gold); font-size: 16px; }
.c-no      { color: var(--border); font-size: 14px; }
.c-partial { color: var(--text-muted); font-size: 14px; }

.caddyvault-row {
  background: rgba(184, 150, 12, 0.04);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.caddyvault-row td:first-child {
  color: var(--black);
}

/* ── Pricing ── */
.pricing {
  padding: 96px 0;
  background: rgba(245, 242, 249, 0.45);
}

.pricing-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--black);
  margin: 8px 0 56px;
  letter-spacing: -0.5px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(253, 252, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 36px 32px;
  position: relative;
}

.pricing-featured {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 1px var(--gold-light);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--gold-light);
  color: var(--black);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 12px;
}

.plan-tier {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-price {
  font-size: 52px;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  letter-spacing: -2px;
}

.plan-interval {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-list {
  list-style: none;
  margin-bottom: 32px;
}

.plan-list li {
  font-size: 16px;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid rgba(10, 8, 15, 0.05);
}

.plan-list li::before {
  content: '\2014 ';
  color: var(--gold);
}

.plan-list li.plan-dim {
  color: var(--text-muted);
}

.plan-list li.plan-dim::before {
  color: var(--border);
}

.btn-plan {
  display: block;
  text-align: center;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 2px;
  transition: all 0.15s;
}

.btn-plan-outline {
  border: 1px solid var(--text);
  color: var(--text);
}

.btn-plan-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-plan-gold {
  background: var(--gold-light);
  color: var(--black);
  border: 1px solid var(--gold-light);
}

.btn-plan-gold:hover {
  opacity: 0.85;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Install CTA ── */
.cta-section {
  padding: 112px 0;
  text-align: center;
}

.cta-inner {
  margin: 0 auto;
}

.cta-headline {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 400;
  color: var(--black);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-sub {
  font-size: 19px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-note {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* ── Waitlist form ── */
.waitlist-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.waitlist-input {
  font-family: var(--font);
  font-size: 17px;
  padding: 13px 20px;
  border: 1px solid rgba(10, 8, 15, 0.25);
  border-radius: 3px;
  outline: none;
  width: 260px;
  background: white;
  color: var(--black);
  transition: border-color 0.15s;
}

.waitlist-input:focus {
  border-color: var(--black);
}

.waitlist-input::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.waitlist-btn {
  margin-bottom: 0;
}

/* ── Footer ── */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-wordmark {
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
}

.footer-wordmark em {
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-domain {
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Pricing single ── */
.pricing-single {
  max-width: 480px;
  margin: 0 auto;
}

/* ── Demo Wrap ── */
.demo-wrap {
  position: relative;
  width: 400px;
  flex-shrink: 0;
  margin: 0 auto;
  animation: hero-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.demo-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  justify-content: center;
}

.demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.demo-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.demo-stage {
  display: none;
  height: 420px;
}

.demo-stage.active {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 420px;
  animation: stage-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-stage.active > * {
  width: 100%;
}

@keyframes stage-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.stage-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
}

/* ── Browser Window (Stage 1) ── */
.browser-win {
  background: #1a1625;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,8,15,0.3), 0 0 0 1px rgba(195,158,55,0.15);
}

.browser-bar {
  background: #13101e;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(195,158,55,0.1);
}

.bwin-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.bwin-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.bwin-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(237,232,213,0.4);
  font-style: italic;
}

.bwin-exts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.caddy-ext-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #C39E37;
  color: #09080F;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  animation: ext-pulse 3s ease-in-out infinite;
}

@keyframes ext-pulse {
  0%, 80%, 100% { box-shadow: 0 0 0 0 rgba(195,158,55,0); }
  40% { box-shadow: 0 0 0 4px rgba(195,158,55,0.3); }
}

.btabs {
  display: flex;
  padding: 8px 10px 0;
  gap: 2px;
  background: #13101e;
  border-bottom: 1px solid rgba(195,158,55,0.08);
  overflow: hidden;
}

.btab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px 6px 0 0;
  background: rgba(255,255,255,0.04);
  font-size: 11px;
  color: rgba(237,232,213,0.4);
  max-width: 120px;
  transition: opacity 0.4s, transform 0.4s, max-width 0.4s;
}

.btab.btab-active {
  background: #1a1625;
  color: rgba(237,232,213,0.8);
}

.btab.archiving-out {
  opacity: 0;
  transform: translateY(-8px);
  max-width: 0;
  padding: 6px 0;
  overflow: hidden;
}

.btab-fav {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: rgba(195,158,55,0.2);
  color: #C39E37;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btab-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bwin-body {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}

/* ── Stage 4: browser-win is the anchor for corner-notif ── */
.restore-browser-win {
  position: relative;
}

.restore-bwin-body {
  height: 100px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0;
  padding: 10px 12px;
}

.restore-cal-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.restore-cal-time {
  font-size: 10px;
  color: rgba(237,232,213,0.3);
  font-family: -apple-system, sans-serif;
  flex-shrink: 0;
  padding-top: 3px;
  width: 28px;
}

.restore-cal-block {
  background: rgba(195,158,55,0.12);
  border-left: 2px solid rgba(195,158,55,0.6);
  border-radius: 3px;
  padding: 3px 8px;
  flex: 1;
}

.restore-cal-block-large {
  padding: 8px 12px;
  background: rgba(195,158,55,0.15);
  border-left-width: 3px;
}

.restore-cal-title {
  font-size: 13px;
  color: #EDE8D5;
  font-weight: 500;
  font-family: var(--font);
  margin-bottom: 2px;
}

.restore-cal-sub {
  font-size: 11px;
  color: rgba(237,232,213,0.45);
  font-family: var(--font);
  margin-top: 1px;
}

.restore-cal-location {
  color: rgba(195,158,55,0.5);
}

/* ── Corner notification — pops from CV icon (top-right of browser) ── */
.corner-notif {
  position: absolute;
  top: 36px;
  right: 6px;
  background: #09080F;
  border: 1px solid rgba(195,158,55,0.4);
  border-radius: 10px;
  padding: 5px 10px 5px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(6px) scale(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
  pointer-events: none;
}

.corner-notif.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.corner-notif.dismiss {
  opacity: 0;
  transform: scale(0.6) translateY(6px);
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.corner-badge {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: #C39E37;
  color: #09080F;
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.corner-notif-text { min-width: 0; }

.corner-title {
  font-size: 10px;
  color: #EDE8D5;
  font-weight: 500;
  white-space: nowrap;
  font-family: -apple-system, sans-serif;
}

.corner-sub {
  font-size: 9px;
  color: rgba(195,158,55,0.75);
  white-space: nowrap;
  font-family: -apple-system, sans-serif;
  margin-top: 1px;
}

.archive-toast {
  background: rgba(195,158,55,0.1);
  border: 1px solid rgba(195,158,55,0.25);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  color: #C39E37;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s;
}

.archive-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-glyph { font-size: 14px; }

/* ── Popup mockup inside stage 2 ── */
.demo-stage .popup-mockup {
  animation: none;
  width: 100%;
}

/* ── Calendar Mock (Stage 3) — dark gold theme ── */
.cal-mock {
  background: #09080F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(195,158,55,0.2), 0 24px 60px rgba(10,8,15,0.35);
  margin-bottom: 12px;
}

.cal-header {
  background: #13101e;
  border-bottom: 1px solid rgba(195,158,55,0.16);
  color: #C39E37;
  padding: 10px 16px;
  font-size: 13px;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cal-logo { font-size: 14px; color: #C39E37; }


.cal-body { padding: 8px 0; }

.cal-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 36px;
  align-items: start;
}

.cal-time {
  font-size: 11px;
  font-family: var(--font);
  color: rgba(237,232,213,0.25);
  padding: 4px 8px;
  text-align: right;
  padding-top: 6px;
}

.cal-slot {
  border-top: 1px solid rgba(195,158,55,0.08);
  height: 36px;
}

.cal-row-event { min-height: 60px; }

.cal-event-block {
  background: linear-gradient(135deg, rgba(195,158,55,0.18), rgba(195,158,55,0.08));
  border: 1px solid rgba(195,158,55,0.35);
  border-radius: 4px;
  margin: 2px 8px 2px 0;
  padding: 6px 10px;
}

.cal-event-title {
  font-size: 13px;
  font-weight: 500;
  color: #C39E37;
  font-family: var(--font);
}

.cal-event-sub {
  font-size: 11px;
  color: rgba(195,158,55,0.6);
  font-family: var(--font);
}

/* ── Caddy Notification ── */
.caddy-notif {
  background: #09080F;
  border: 1px solid rgba(195,158,55,0.25);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(10,8,15,0.3);
  opacity: 0;
  transform: translateY(12px);
  overflow: hidden;
  max-height: 52px;
  transition: opacity 0.4s, transform 0.4s;
}

.caddy-notif.show {
  opacity: 1;
  transform: translateY(0);
}

.caddy-notif.expanded {
  max-height: 320px;
  transition: opacity 0.4s, transform 0.4s, max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Group button active pulse */
@keyframes group-activate {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.mock-group-btn-active {
  animation: group-activate 0.35s ease forwards;
}

.notif-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.notif-badge {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #C39E37;
  color: #09080F;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-app {
  font-size: 12px;
  color: rgba(237,232,213,0.5);
  flex: 1;
}

.notif-time {
  font-size: 10px;
  color: rgba(237,232,213,0.3);
}

.caddy-notif .notif-title {
  font-size: 13px;
  color: #EDE8D5;
  font-weight: 500;
  margin-bottom: 4px;
}

.caddy-notif .notif-sub {
  font-size: 11px;
  color: rgba(195,158,55,0.7);
  margin-bottom: 12px;
}

.notif-actions {
  display: flex;
  gap: 8px;
}

.notif-btn-primary {
  background: #C39E37;
  color: #09080F;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  animation: notif-pulse 2s ease-in-out infinite;
}

@keyframes notif-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(195,158,55,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(195,158,55,0); }
}

.notif-btn-ghost {
  background: none;
  color: rgba(237,232,213,0.35);
  border: 1px solid rgba(237,232,213,0.1);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: var(--font);
  cursor: pointer;
}

/* ── Demo Next Button ── */
.demo-next-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 11px 20px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: opacity 0.15s, transform 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.demo-next-btn:hover { opacity: 0.75; }

.demo-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.demo-next-ghost {
  background: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 13px;
  opacity: 1;
  transform: none;
}

/* ── Cal countdown badge ── */
.cal-countdown {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  font-family: -apple-system, sans-serif;
  font-weight: 600;
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 2px 7px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.4s;
}

.cal-countdown.show { opacity: 1; }

.cal-time-now {
  color: #ea4335;
  font-weight: 600;
  font-size: 10px;
}

/* ── Notification success state ── */
.notif-success {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #C39E37;
  padding-top: 4px;
}

.notif-success.show {
  display: flex;
}

.success-check {
  font-size: 16px;
}

/* ── Scroll reveal animations ── */
.reveal {
  opacity: 0;
  transform: scale(1.06) translateY(16px);
  filter: blur(2px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* ── Section heading reveal ── */
.reveal-heading {
  opacity: 0;
  transform: scale(1.1) translateY(12px);
  filter: blur(4px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s ease;
}

.reveal-heading.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* ── Responsive: 860px ── */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demo-wrap {
    width: min(400px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 0;
  }

  .demo-stage,
  .demo-stage.active {
    height: auto;
    min-height: 0;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Responsive: 640px ── */
@media (max-width: 640px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-inner {
    padding: 0 20px;
  }

  .hero-headline {
    font-size: clamp(36px, 9vw, 48px);
  }

  .hero-sub {
    font-size: 17px;
  }

  .how {
    padding: 64px 0;
  }

  .editorial {
    padding: 64px 0;
  }

  .compare {
    padding: 64px 0;
  }

  .pricing {
    padding: 64px 0;
  }

  .cta-section {
    padding: 72px 0;
  }

  .container {
    padding: 0 20px;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: center;
  }

  .waitlist-input {
    width: 100%;
    max-width: 360px;
  }

  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .compare-table th {
    font-size: 10px;
    padding: 8px 8px;
    letter-spacing: 0.2px;
  }

  .compare-table td {
    font-size: 13px;
    padding: 10px 8px;
  }

  .compare-table td:first-child {
    font-size: 13px;
    white-space: nowrap;
  }

  /* Shorten long header text on mobile */
  .compare-table th:nth-child(2) { font-size: 9px; }
  .compare-table th:nth-child(3) { font-size: 9px; }
  .compare-table th:nth-child(4) { font-size: 9px; }

  .pricing-card {
    padding: 28px 20px;
  }
}

/* ── Responsive: 480px ── */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(30px, 8vw, 40px);
  }

  .pricing-card {
    padding: 24px 16px;
  }
}
