/* ============================================
   DESIGN SYSTEM — Saldify
   ============================================ */

:root {
  /* Backgrounds */
  --bg:        #060A0F;
  --s1:        #0D1117;
  --s2:        #131B26;
  --s3:        #1A2333;

  /* Accent — Amber */
  --amber:     #F59E0B;
  --amber-2:   #D97706;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-xs:  rgba(245, 158, 11, 0.06);

  /* Typography */
  --text:      #F0EBE3;
  --muted:     #7A8494;
  --subtle:    #3D4A5C;

  /* Borders */
  --border:    rgba(255, 255, 255, 0.06);
  --border-a:  rgba(245, 158, 11, 0.2);

  /* Font Families */
  --font-serif:    'Instrument Serif', serif;
  --font-sans:     'Cabinet Grotesk', sans-serif;
}

/* ============================================
   CSS RESET
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  position: relative;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  line-height: 1.1;
}

p {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ============================================
   GRAIN OVERLAY
   ============================================ */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 52px;
  background: rgba(6, 10, 15, 0.7);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  cursor: pointer;
}

.nav-logo .ify {
  font-style: italic;
  color: var(--amber);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
  letter-spacing: 0.01em;
}

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

/* ============================================
   BUTTONS — .abtn (Amber) & .gbtn (Ghost)
   ============================================ */

.abtn,
.gbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* — Amber button — */
.abtn {
  background: var(--amber);
  color: #060A0F;
}

.abtn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  animation: shimmer 2.8s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 100%; }
}

.abtn:hover {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35), 0 0 60px rgba(245, 158, 11, 0.12);
  transform: translateY(-1px);
}

.abtn:active {
  transform: translateY(0);
}

/* — Ghost button — */
.gbtn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-weight: 500;
}

.gbtn:hover {
  border-color: var(--subtle);
  color: var(--text);
}

.gbtn:active {
  transform: translateY(0);
}

/* — Large variant (hero size) — */
.abtn.lg,
.gbtn.lg {
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 52px 90px;
  text-align: center;
  overflow: hidden;
}

/* — Ambient orbs — */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.10) 0%, transparent 70%);
  animation: drift1 12s ease-in-out infinite;
}

.hero-orb--2 {
  width: 500px;
  height: 500px;
  bottom: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.07) 0%, transparent 70%);
  animation: drift2 12s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, 30px); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-35px, -25px); }
}

/* — Grid background — */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 100%);
}

/* — Particles container — */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0;
  animation: twinkle var(--dur) ease-in-out var(--delay) infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50%      { opacity: 0.35; }
}

/* — Hero content — */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-a);
  background: var(--amber-xs);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0s;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

/* H1 */
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.1s;
}

.hero h1 .accent {
  font-style: italic;
  color: var(--amber);
}

/* Subtitle */
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 44px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.2s;
}

/* CTA group */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.3s;
}

/* Micro-copy */
.hero-micro {
  font-size: 0.78rem;
  color: var(--subtle);
  letter-spacing: 0.02em;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.4s;
}

.hero-micro .amber {
  color: var(--amber);
}

/* — fadeUp keyframe — */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SCROLL REVEAL (.rv)
   ============================================ */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PROOF BAR
   ============================================ */

.proof-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 52px 56px;
  border-top: 1px solid var(--border);
  max-width: 1120px;
  margin: 0 auto;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.4s;
}

.proof-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

.proof-stat:last-child {
  border-right: none;
}

.proof-stat .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--amber);
  line-height: 1.2;
  margin-bottom: 6px;
}

.proof-stat .label {
  font-family: var(--font-sans);
  font-size: 0.73rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */

.section {
  padding: 104px 52px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--amber);
  margin-bottom: 20px;
}

.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 48px;
  max-width: 680px;
}

.section-h2 .accent {
  font-style: italic;
  color: var(--amber);
}

/* Callout box */
.callout {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--s2);
  border: 1px solid var(--border-a);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 48px;
}

.callout-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-style: italic;
  color: var(--amber);
  line-height: 1;
  flex-shrink: 0;
}

.callout-num sup {
  font-size: 1.6rem;
  vertical-align: super;
  font-style: normal;
  opacity: 0.8;
}

.callout-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.callout-text strong {
  color: var(--text);
  font-weight: 700;
}

/* Problem cards grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 24px;
  transition: all 0.3s ease;
}

.problem-card:hover {
  border-color: var(--border-a);
  transform: translateY(-2px);
}

.problem-card .emoji {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.problem-card .card-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.problem-card .card-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================
   COME FUNZIONA — Bento Grid
   ============================================ */

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bento-card {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.bento-card:hover {
  border-color: var(--border-a);
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-card .emoji {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.bento-card .card-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.bento-card .card-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Zero-login badge */
.zero-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-a);
  background: var(--amber-xs);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.02em;
}

/* Privacy badge (GDPR) */
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10B981;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.privacy-badge svg {
  flex-shrink: 0;
}

/* Dunning steps */
.dunning-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.dunning-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dunning-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dunning-dot.green  { background: #10B981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.3); }
.dunning-dot.yellow { background: #F59E0B; box-shadow: 0 0 8px rgba(245, 158, 11, 0.3); }
.dunning-dot.orange { background: #F97316; box-shadow: 0 0 8px rgba(249, 115, 22, 0.3); }
.dunning-dot.red    { background: #EF4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.3); }

.dunning-step .step-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.dunning-step .step-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Dunning list — vertical layout */
.dunning-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}

.dunning-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.dunning-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dunning-row:first-child {
  padding-top: 0;
}

.dunning-row .dunning-dot {
  margin-top: 5px;
}

.dunning-row-content {
  flex: 1;
}

.dunning-row-content .step-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}

.dunning-row-content .step-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================
   EMAIL MOCKUP SECTION
   ============================================ */

.mockup-section {
  padding: 80px 52px;
}

.mockup-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.email-box {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 48px 96px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(245, 158, 11, 0.08);
  margin-top: 48px;
}

/* Chrome bar */
.email-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--s3);
  border-bottom: 1px solid var(--border);
}

.chrome-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.chrome-dot.red    { background: #FF5F57; }
.chrome-dot.yellow { background: #FEBC2E; }
.chrome-dot.green  { background: #28C840; }

.chrome-label {
  margin-left: 12px;
  font-size: 0.73rem;
  color: var(--subtle);
  letter-spacing: 0.02em;
}

/* Email body */
.email-body {
  padding: 32px 36px 28px;
}

.email-meta {
  margin-bottom: 24px;
}

.email-meta p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.8;
}

.email-meta span {
  color: var(--subtle);
  font-weight: 500;
}

.email-meta .subject {
  color: var(--text);
  font-weight: 700;
}

/* Email content */
.email-content {
  border-left: 2px solid var(--amber);
  padding-left: 16px;
  margin-bottom: 28px;
}

.email-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.email-content p:last-child {
  margin-bottom: 0;
}

.email-content strong {
  color: var(--text);
  font-weight: 700;
}

.email-content .greeting {
  color: var(--text);
}

/* AI Chip */
.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-a);
  background: var(--amber-xs);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
  background: var(--s1);
  padding: 104px 52px;
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 56px;
  border-collapse: separate;
  border-spacing: 0;
}

.compare-table thead th {
  background: var(--s2);
  padding: 18px 20px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th:first-child {
  color: var(--subtle);
  font-weight: 500;
}

.compare-table thead th.amber-col {
  color: var(--amber);
}

.compare-table tbody td {
  padding: 14px 20px;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:first-child {
  font-weight: 500;
  color: var(--text);
}

.compare-table .neg {
  color: #EF4444;
}

.compare-table .pos {
  color: var(--amber);
  font-weight: 700;
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.billing-label {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--subtle);
  transition: color 0.25s ease;
  cursor: pointer;
}

.billing-label.active {
  color: var(--text);
  font-weight: 700;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--s3);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.3s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: var(--muted);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--amber);
  border-color: var(--amber);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: #060A0F;
}

.billing-save {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  color: #060A0F;
  background: var(--amber);
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.price-value {
  transition: all 0.25s ease;
}

/* Pricing cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}

.price-card {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Featured card — border beam */
@property --a {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.price-card.feat {
  border-radius: 18px;
  border: none;
  padding: 0;
  background: none;
  overflow: visible;
}

.price-card.feat .card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: conic-gradient(from var(--a), transparent 0%, var(--amber) 10%, transparent 20%);
  animation: beam-spin 4s linear infinite;
  z-index: 0;
}

@keyframes beam-spin {
  to { --a: 360deg; }
}

.price-card.feat .card-inner {
  position: relative;
  z-index: 1;
  background: var(--s2);
  border-radius: 17px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Badge "più scelto" */
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: var(--amber);
  color: #060A0F;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-card .plan-name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.price-card .plan-price {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-style: italic;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.price-card .plan-price span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}

.price-card .plan-price .price-value {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-style: italic;
  color: var(--text);
  font-weight: 400;
}

.price-card .plan-setup {
  font-size: 0.73rem;
  color: var(--subtle);
  margin-bottom: 24px;
}

/* Features list */
.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.price-features .check {
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
}

.price-features .cross {
  color: var(--subtle);
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
}

.price-card .plan-cta {
  margin-top: auto;
}

/* Guarantee box */
.guarantee-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border: 1px solid var(--border-a);
  border-radius: 12px;
  background: var(--amber-xs);
  margin-bottom: 20px;
}

.guarantee-box .guarantee-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.guarantee-box .guarantee-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.guarantee-box .guarantee-text strong {
  color: var(--amber);
  font-weight: 700;
}

/* Urgency note */
.urgency-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Promo badge (Pro card) */
.promo-badge {
  display: block;
  width: fit-content;
  margin: 12px auto 0 auto;
  text-align: center;
  padding: 10px 20px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-a);
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* Pricing urgency banner */
.pricing-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 40px;
  padding: 16px 28px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-a);
}

.pricing-urgency .urgency-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pricing-urgency p {
  font-size: 0.9rem;
  color: var(--amber);
  line-height: 1.5;
  font-weight: 500;
}

.pricing-urgency p strong {
  color: var(--amber);
  font-weight: 800;
  font-size: 0.95rem;
}

/* ============================================
   FOUNDER SECTION
   ============================================ */

.founder-section {
  padding: 104px 52px;
}

.founder-inner {
  max-width: 780px;
  margin: 0 auto;
}

.founder-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px;
  margin-top: 40px;
}

.founder-avatar {
  width: 66px;
  height: 66px;
  min-width: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: #060A0F;
  font-weight: 400;
}

.founder-avatar.photo {
  object-fit: cover;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-avatar.photo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.2;
}

.founder-role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.founder-quote {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 4px;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.cta-section {
  position: relative;
  padding: 120px 52px;
  text-align: center;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-section h2 .accent {
  font-style: italic;
  color: var(--amber);
}

.cta-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn-wrap {
  margin-bottom: 20px;
}

.cta-micro {
  font-size: 0.75rem;
  color: var(--subtle);
  letter-spacing: 0.02em;
}

.cta-micro .amber {
  color: var(--amber);
}

/* ============================================
   LINE ACCENT DIVIDER
   ============================================ */

.line-accent {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 50%, transparent 100%);
  opacity: 0.18;
  max-width: 1120px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 52px;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1;
}

.footer-logo .ify {
  font-style: italic;
  color: var(--amber);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

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

.footer-links a {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

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

/* ============================================
   RESPONSIVE — Mobile ≤ 768px
   ============================================ */

@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 14px 20px;
    background: rgba(6, 10, 15, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    gap: 0;
  }

  /* Hero */
  .hero {
    padding: 110px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .abtn,
  .hero-cta .gbtn {
    width: 100%;
    justify-content: center;
  }

  .hero-orb--1 {
    width: 350px;
    height: 350px;
  }

  .hero-orb--2 {
    width: 300px;
    height: 300px;
  }

  /* Proof bar */
  .proof-bar {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
  }

  .proof-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 20px 0;
  }

  .proof-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Sections */
  .section {
    padding: 64px 20px;
  }

  .section-h2 {
    font-size: 1.8rem;
  }

  /* Problem grid */
  .problem-grid {
    grid-template-columns: 1fr;
  }

  /* Callout */
  .callout {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  /* Bento grid */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.wide {
    grid-column: span 1;
  }

  /* Dunning steps */
  .dunning-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Email mockup */
  .mockup-section {
    padding: 64px 20px;
  }

  .email-body {
    padding: 20px;
  }

  /* Pricing */
  .pricing-section {
    padding: 64px 20px;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Founder */
  .founder-section {
    padding: 64px 20px;
  }

  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
  }

  /* CTA finale */
  .cta-section {
    padding: 80px 20px;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 28px 20px;
  }

  /* Line accent */
  .line-accent {
    margin: 0 20px;
  }

  /* Buttons lg */
  .abtn.lg,
  .gbtn.lg {
    font-size: 0.88rem;
    padding: 13px 28px;
  }

  /* Robots — only keep CTA robot on mobile */
  .hero-robot {
    display: none;
  }

  .section-robot {
    display: none;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .cta-robot {
    width: 110px;
  }
}

/* ============================================
   ROBOT MASCOTS
   ============================================ */

/* Nav & Footer logo as image */
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo {
  display: inline-flex;
}

.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}

/* Hero robot — float + wobble */
.hero-robot {
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 160px;
  z-index: 2;
  pointer-events: none;
  animation: robotFloat 3.5s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(245, 158, 11, 0.12));
}

@keyframes robotFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-10px) rotate(1.5deg); }
  50%  { transform: translateY(-14px) rotate(0deg); }
  75%  { transform: translateY(-8px) rotate(-1.5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Section robots — beside heading */
.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.section-header > div {
  flex: 1;
}

.section-header .section-tag {
  margin-bottom: 20px;
}

.section-header .section-h2 {
  margin-bottom: 0;
}

.section-robot {
  width: 140px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.section-robot.in {
  opacity: 1;
  transform: translateX(0);
  animation: robotBobble 4s ease-in-out 0.7s infinite;
}

@keyframes robotBobble {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%      { transform: translateY(-8px) rotate(2deg); }
  70%      { transform: translateY(-4px) rotate(-1deg); }
}

/* CTA robot — pulse + glow */
.cta-robot {
  width: 180px;
  margin: 0 auto 28px;
  display: block;
  animation: robotPulse 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(245, 158, 11, 0.18));
}

@keyframes robotPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 24px rgba(245, 158, 11, 0.18));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.3));
  }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--amber);
  color: #060A0F;
  border-radius: 50px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  z-index: 99;
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
}

.wa-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  padding-right: 20px;
  gap: 10px;
}

.wa-fab-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.wa-fab:hover .wa-fab-text {
  max-width: 150px;
  opacity: 1;
}

.wa-fab svg {
  flex-shrink: 0;
}

/* ============================================
   PHOTO LIGHTBOX
   ============================================ */
.photo-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 5, 7, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.photo-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  object-fit: contain;
}

.photo-lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: var(--font-sans);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--amber);
}
