:root {
  --bg: #66000e;
  --text: #fff9f2;
  --text-muted: rgba(255, 249, 242, 0.7);
  --primary: #fff9f2;
  --primary-hover: #e0d5c5;
  --accent: #fff9f2;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 249, 242, 0.2);
  --section-padding: 4rem 0;
  --block-padding: 4rem 3rem;
  --block-radius: 40px;
  --block-shadow: 16px 16px 0 rgba(0, 0, 0, 0.25);
}

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

body {
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

html {
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  top: -20%;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  height: 100vh;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 249, 242, 0.1),
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

main {
  flex: 1;
}

section {
  padding: var(--section-padding);
}

.block-section {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--block-radius);
  padding: var(--block-padding);
  border: 4px solid var(--bg);
  box-shadow: var(--block-shadow);
}

/* Navigation */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  width: 56px;
  height: 48px;
  border-radius: 16px;
  background: transparent;
  padding: 4px;
  object-fit: contain;
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: all 0.2s;
}

.nav-menu a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--primary);
  color: var(--bg) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  opacity: 1 !important;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  font-weight: 800 !important;
}

.nav-cta:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3) !important;
}

.demo-notice {
  font-size: 0.65rem;
  text-align: center;
  letter-spacing: 0.03em;
  padding-top: 5px;
}

.badge {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  background: #10b981; /* Green for Beta */
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  animation: badgePulse 2s infinite;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.nav-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.small-btn {
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.small-btn:hover {
  opacity: 1;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--block-radius);
  padding: var(--block-padding);
  border: 4px solid var(--bg);
  box-shadow: var(--block-shadow);
  margin-bottom: 6rem; /* Added consistent spacing */
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg);
  color: var(--primary);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border: 2px solid rgba(255, 249, 242, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

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

.dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: blink 1.5s infinite;
}

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

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--bg);
  letter-spacing: -0.03em;
  text-shadow: 0 0 30px rgba(102, 0, 14, 0.1); /* Subtle light effect */
}

.gradient-text {
  background: linear-gradient(
    90deg,
    #66000e 0%,
    #b91c1c 25%,
    #ff4d4d 50%,
    #b91c1c 75%,
    #66000e 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 0;
  gap: 0.75rem;
  box-shadow: none;
}

/* iPhone 16 Mockup */
.iphone-16 {
  position: relative;
  width: 300px;
  height: 600px;
  background: #1a1a1a;
  border-radius: 55px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 0 2px 2px rgba(255, 255, 255, 0.1);
  border: 4px solid #333;
  z-index: 2;
}

.iphone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 45px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.iphone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-island {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.glow-effect {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(102, 0, 14, 0.2) 0%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content h1,
.hero-content p {
  color: var(--bg);
}

.input-group {
  display: flex;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem;
  border-radius: 16px;
  border: 3px solid var(--bg);
  max-width: 460px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--bg);
  cursor: pointer;
  justify-content: center;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.checkbox-label a {
  color: var(--bg);
  text-decoration: underline;
  font-weight: 600;
}

input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.2rem;
  color: #1a0006;
  font-size: 1.1rem;
  outline: none;
}

.btn-primary {
  background: var(--bg);
  color: var(--primary);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 0, 14, 0.2);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--bg);
  color: var(--bg);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--bg);
  color: var(--primary);
}

/* Problem / Solution */
.problem-solution {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--block-radius);
  padding: var(--block-padding);
  border: 4px solid var(--bg);
  box-shadow: var(--block-shadow);
  margin-bottom: 6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pain-points {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pain-points li {
  font-weight: 500;
  font-size: 1.1rem;
}

.solution-card {
  background: rgba(102, 0, 14, 0.04);
  padding: 3rem;
  border-radius: 32px;
  border: 2px dashed var(--bg);
}

.solution-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.solution-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* How it Works */
.how-it-works {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--block-radius);
  padding: var(--block-padding);
  border: 4px solid var(--bg);
  box-shadow: var(--block-shadow);
  margin-bottom: 6rem;
}

.section-title {
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--bg);
  letter-spacing: -0.02em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.step-card {
  background: rgba(102, 0, 14, 0.04);
  padding: 2.5rem;
  border-radius: 24px;
  border: 2px solid var(--bg);
  position: relative;
  transition: transform 0.2s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--bg);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--bg);
}

.step-card p {
  color: var(--bg);
  opacity: 0.8;
  line-height: 1.6;
}

/* Comparison / Features */
.comparison {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--block-radius);
  padding: var(--block-padding);
  border: 4px solid var(--bg);
  box-shadow: var(--block-shadow);
  margin-bottom: 6rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border: 3px solid var(--bg);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--bg);
  font-weight: 700;
}

.feature-card p {
  font-size: 1rem;
  color: var(--bg);
  opacity: 0.8;
  line-height: 1.5;
}

/* Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.review-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.review-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: #e2e8f0;
}

.user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar {
  width: 32px;
  height: 32px;
  background: #475569;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
}

/* FAQ */
details {
  background: white;
  color: var(--bg);
  margin-bottom: 1.5rem;
  border-radius: 20px;
  border: 3px solid var(--bg);
  overflow: hidden;
  transition: all 0.2s;
}

details[open] {
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.2s;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 1.5rem 1.5rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* Animations */
@keyframes wave {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.5);
  }
}

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

/* Mobile Responsive */
@media (max-width: 872px) {
  :root {
    --section-padding: 4rem 0;
    --block-padding: 3rem 1.5rem;
    --block-radius: 24px;
    --block-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
  }

  .container {
    padding: 0 1.5rem;
  }

  .container.nav-container {
    margin: 0 auto;
    padding: 1rem 1.5rem;
    justify-content: center;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
    padding: 0 1.5rem;
    max-width: min(100%, 32ch);
    margin-left: auto;
    margin-right: auto;
  }

  .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 100%;
    line-height: 1.5;
  }
  .hero-visual {
    padding-bottom: 2rem;
  }
  .iphone-16 {
    width: 260px;
    height: 520px;
    border-radius: 40px;
  }

  .iphone-frame {
    border-radius: 32px;
  }

  .glow-effect {
    display: none;
  }

  .input-group {
    flex-direction: column;
    background: white;
    border: 3px solid var(--bg);
    padding: 0.75rem;
    width: 100%;
    gap: 0.5rem;
    border-radius: 20px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
    max-width: 100%;
  }

  input[type="email"] {
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
    margin-bottom: 0;
    border-radius: 12px;
    width: 100%;
    text-align: center;
  }

  input[type="email"]::placeholder {
    opacity: 0.6;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin: 0;
    border-radius: 12px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .problem-solution,
  .how-it-works,
  .comparison,
  .roadmap {
    margin-bottom: 4rem;
  }

  .pain-points {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .pain-points li {
    font-size: 1rem;
  }

  .solution-card {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
  }

  .solution-card h3 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    line-height: 1.2;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-card {
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
  }

  .step-number {
    font-size: 2.5rem;
    right: 1rem;
    top: 0.5rem;
  }

  .step-card h3 {
    font-size: 1.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-card {
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  }

  .feature-card h4 {
    font-size: 1.1rem;
  }

  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .timeline {
    border-left: 4px solid rgba(102, 0, 14, 0.1);
    padding-left: 1.5rem;
    gap: 2.5rem;
    margin-top: 2rem;
  }

  .phase::before {
    left: -1.75rem;
    width: 1.1rem;
    height: 1.1rem;
  }

  .phase h3 {
    font-size: 1.25rem;
  }

  .phase ul {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .nav-menu {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1 / -1;
  }

  .footer-brand .logo-mark {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-links {
    gap: 0.5rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-item h3 {
    font-size: 1.1rem;
  }
}

/* Roadmap Section */
.roadmap {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--block-radius);
  padding: var(--block-padding);
  border: 4px solid var(--bg);
  box-shadow: var(--block-shadow);
  margin-bottom: 6rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
  border-left: 4px solid rgba(102, 0, 14, 0.1);
  padding-left: 3rem;
}

.phase {
  position: relative;
}

.phase::before {
  content: "";
  position: absolute;
  left: -3.75rem;
  top: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--primary);
  border: 4px solid var(--bg);
  border-radius: 50%;
  z-index: 2;
}

.phase.current::before {
  background: #10b981;
  border-color: #10b981;
}

.phase h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: var(--bg);
}

.phase ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  color: var(--bg);
  opacity: 0.8;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

/* Footer */
footer {
  background: var(--bg);
  color: var(--primary);
  padding: 6rem 0 3rem;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-mark {
  background: var(--primary);
  color: var(--bg);
  width: 78px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.footer-brand p {
  opacity: 0.7;
  max-width: 300px;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  opacity: 0.6;
  transition: all 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 249, 242, 0.1);
  text-align: center;
  opacity: 0.5;
  font-size: 0.9rem;
}

/* FAQ */
.faq {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--block-radius);
  padding: var(--block-padding);
  border: 4px solid var(--bg);
  box-shadow: var(--block-shadow);
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--bg);
  font-weight: 800;
}

.faq-item p {
  line-height: 1.6;
  opacity: 0.8;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.big-btn {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.hero-urgency {
  font-size: 0.9rem;
  color: #facc15; /* Yellow */
  background: rgba(250, 204, 21, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  background: white;
  border-radius: 16px;
  border: 3px solid var(--bg);
  padding: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th,
td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(102, 0, 14, 0.1);
}

th {
  color: var(--bg);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

td {
  color: var(--bg);
  font-weight: 500;
}

.highlight {
  color: var(--bg);
  font-weight: 800;
  background: rgba(102, 0, 14, 0.05);
}

td:last-child {
  background: rgba(102, 0, 14, 0.03);
  font-weight: 700;
  color: var(--bg);
}

/* Pricing */
.pricing {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--block-radius);
  padding: var(--block-padding);
  border: 4px solid var(--bg);
  box-shadow: var(--block-shadow);
  margin-bottom: 6rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  align-items: stretch;
}

.card {
  background: white;
  color: var(--bg);
  border: 3px solid var(--bg);
  padding: 3rem 2rem;
  border-radius: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.card.featured {
  border: 5px solid var(--bg);
  background: white;
  transform: scale(1.05);
  z-index: 1;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.15);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 1.5rem 0;
  color: var(--bg);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price span {
  font-size: 1.25rem;
  opacity: 0.6;
}

.old-price {
  text-decoration: line-through;
  color: var(--bg);
  opacity: 0.4;
  font-size: 1.2rem !important;
}

.discount-note {
  color: #b91c1c;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.card ul {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.card li {
  margin-bottom: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--bg);
  opacity: 0.6;
  font-size: 1rem;
}

.pricing-note + .pricing-note {
  margin-top: 0.5rem;
}

/* Social Proof */
.social-proof {
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255, 249, 242, 0.1);
  border-bottom: 1px solid rgba(255, 249, 242, 0.1);
  background: rgba(0, 0, 0, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat .number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat .label {
  color: var(--primary);
  opacity: 0.6;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Final CTA */
#join {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.final-cta-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.final-cta-block h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
}

.final-cta-block p {
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 600px;
}

.final-cta-btn {
  padding: 1.25rem 3.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 12px;
  background: var(--bg);
  color: var(--primary);
  border: none;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.final-cta-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.3);
}

/* Mobile Fixes for Spacing and Margins */
@media (max-width: 872px) {
  html,
  body {
    overflow-x: hidden;
  }

  main {
    overflow-x: hidden;
  }

  /* Ensure block sections breathe without forcing horizontal scroll */
  .problem-solution,
  .how-it-works,
  .comparison,
  .roadmap,
  .pricing,
  .faq {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    padding: 2.5rem 1.25rem;
  }

  /* Fix Pricing Cards Grid */
  .pricing-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  /* Reset Featured Card Scale to avoid overflow */
  .card.featured {
    transform: none;
    border-width: 3px;
    margin-top: 1rem;
  }

  /* Fix Final CTA Block */
  .final-cta-block {
    padding: 3rem 1.25rem;
  }

  .final-cta-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .final-cta-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  /* Footer layout for smaller screens */
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .footer-links:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-links:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .mobile-hide {
    display: none;
  }

  .hero-form {
    width: 95%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-form .input-group {
    flex-direction: row;
    padding: 0.25rem;
    gap: 0;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--bg);
  }

  .hero-form input[type="email"] {
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    flex: 1;
    min-width: 0;
    background: transparent;
  }

  .hero-form .btn-primary {
    width: auto;
    padding: 0.6rem 1.25rem;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 10px;
    margin: 0;
    flex-shrink: 0;
  }

  .checkbox-label {
    font-size: 0.8rem;
    margin-top: 0.75rem;
  }
}
