/* ==========================================================================
   CryBaby - Black & White Editorial Design System
   Exact Design Match to getcrybaby.app
   Pure HTML5 & CSS3
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-900: #171717;

  /* Elevation & Shadows */
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);

  /* Typography */
  --font-heading: "Josefin Sans", sans-serif;
  --font-body: "Nunito", sans-serif;

  /* Container */
  --container-max: 1200px;

  /* Fixed navbar offset so hero content never sits under the header */
  --navbar-height: 81px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray-600);
  background: var(--white);
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Authentic Noise Grain Texture (placed below fixed/sticky header) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

p, .lead {
  font-family: var(--font-body);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gradient-text {
  color: var(--white);
  background: none;
  border-bottom: 3px solid var(--white);
  display: inline;
  line-height: 1.1;
}

.gradient-text-dark {
  color: var(--black);
  background: none;
  border-bottom: 3px solid var(--black);
  display: inline;
  line-height: 1.1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   3. CryBaby Sticky Navbar (Logo ONLY) - Pure Solid Black Everywhere
   -------------------------------------------------------------------------- */
header,
header.navbar-crybaby,
.navbar-crybaby {
  position: fixed;
  top: 0;
  z-index: 9999;
  background: #000000 !important;
  background-color: #000000 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  transition: all 0.35s ease;
  width: 100%;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  background: transparent !important;
  background-color: transparent !important;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  line-height: 1;
  background: transparent !important;
  background-color: transparent !important;
}

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

.btn-login-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.35rem;
  border-radius: 0;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-login-nav:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.navbar-logo {
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  background-color: transparent !important;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--white);
}

.footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   4. Hero Section (Pure Pitch Black) — flex layout, no CSS Grid
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  padding: calc(var(--navbar-height) + 2.5rem) 0 3.5rem;
  overflow-x: hidden;
  overflow-y: visible;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.hero-layout {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 640px;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.9rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.775rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(1.2rem, 4.8vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.15rem;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 540px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
}

.hero-actions .btn-gradient,
.hero-actions .btn-outline-glass {
  flex: 0 1 auto;
}

/* Editorial Buttons */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--white);
  border: 2px solid var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-gradient:hover {
  background: var(--black);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

/* Hero Right: 3D Security Render Visual with Moving Float Effects */
.hero-visual-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
  flex: 0 0 auto;
  width: 38%;
  max-width: 360px;
  min-width: 0;
  z-index: 1;
}

.hero-glow-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(35px);
  pointer-events: none;
  z-index: 1;
  animation: heroPulseGlow 4s ease-in-out infinite;
}

.hero-render-img {
  width: 100%;
  max-width: 320px;
  max-height: 480px;
  object-fit: contain;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: 
    drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 14px rgba(34, 197, 94, 0.45))
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95));
  animation: heroFloatMove 6s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-visual-wrap:hover .hero-render-img {
  transform: translateY(-16px) scale(1.025) rotate(-1deg);
  filter: 
    drop-shadow(0 0 2.5px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 24px rgba(34, 197, 94, 0.65))
    drop-shadow(0 28px 55px rgba(0, 0, 0, 0.98));
  animation-play-state: paused;
}

@keyframes heroFloatMove {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-12px) rotate(0.8deg);
  }
  50% {
    transform: translateY(-20px) rotate(-0.5deg);
  }
  75% {
    transform: translateY(-8px) rotate(0.4deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes heroPulseGlow {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.9;
  }
}

/* --------------------------------------------------------------------------
   5. Section 2: The Thief Problem vs CryBaby Solution
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 5.5rem 0;
}

.bg-alt {
  background: var(--gray-100);
}

.section-header {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-header.text-center {
  align-items: center;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
}

.section-title.text-white {
  color: var(--white);
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 600px;
}

.story-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.story-row > .story-card {
  flex: 1 1 calc(50% - 1rem);
  min-width: 280px;
}

.story-card {
  padding: 2.75rem 2.25rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  position: relative;
  transition: all 0.35s ease;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--black);
  transition: height 0.35s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: var(--black);
  box-shadow: var(--shadow-lg);
}

.story-card:hover::before {
  height: 100%;
}

.story-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--black);
}

.story-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.story-card p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   6. Section 3: "The Only App That Fights Back" (3 Core Pillars)
   -------------------------------------------------------------------------- */
.pillar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.pillar-row > .pillar-card {
  flex: 1 1 calc(33.333% - 1.34rem);
  min-width: 250px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2.25rem 2rem;
  position: relative;
  transition: all 0.35s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--black);
  transition: height 0.35s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--black);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
  height: 100%;
}

.pillar-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pillar-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--black);
}

.pillar-card:hover .feature-icon {
  background: var(--black);
  color: var(--white);
}

.pillar-card:hover .feature-icon svg {
  stroke: var(--white);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--black);
  transition: stroke 0.3s ease;
}

/* --------------------------------------------------------------------------
   7. Section 4: "Choose How to Subscribe" (Exact Content from Crop)
   -------------------------------------------------------------------------- */
.timeline-section {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sub-options-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.sub-options-row > .sub-editorial-card {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
}

.sub-options-row > .or-divider-wrap {
  flex: 0 0 auto;
}

.sub-editorial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2.75rem 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.35s ease;
}

.sub-editorial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--white);
  transition: height 0.35s ease;
}

.sub-editorial-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.sub-editorial-card:hover::before {
  height: 100%;
}

.sub-card-banner {
  margin: -2.75rem -2.25rem 2rem -2.25rem;
  background: #ffffff;
  color: #000000;
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 2px solid #ffffff;
  transition: all 0.25s ease;
}

.sub-editorial-card:hover .sub-card-banner {
  background: #ffffff;
  color: #000000;
}

.sub-card-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.sub-opt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  background: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
  padding: 0.5rem 2.25rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: none;
  transition: all 0.25s ease;
}

.sub-editorial-card:hover .sub-opt-badge {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: none;
}

.sub-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.sub-card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
}

/* Steps list */
.editorial-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.editorial-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.step-num-box {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.sub-editorial-card:hover .step-num-box {
  border-color: var(--white);
}

.step-content {
  flex: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.step-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.step-note {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.35rem;
  font-style: italic;
}

/* Store Badge Buttons */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.55rem 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.store-badge:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.store-badge-main {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Central "OR" Divider */
.or-divider-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 0.5rem;
}

.or-divider-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.or-circle-editorial {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0.05em;
}



/* --------------------------------------------------------------------------
   9. Section 6: Powerful Features (6 Grid Features)
   -------------------------------------------------------------------------- */
.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.features-row > .grid-feature {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 240px;
}

.grid-feature {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.85rem;
  transition: all 0.35s ease;
  position: relative;
}

.grid-feature:hover {
  transform: translateY(-5px);
  border-color: var(--black);
  box-shadow: var(--shadow-sm);
}

.grid-feature .gf-icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.grid-feature .gf-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
}

.grid-feature h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.grid-feature p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. Section 7: Comparison Table (Ordinary Apps vs CryBaby)
   -------------------------------------------------------------------------- */
.comparison-section {
  position: relative;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-premium {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--black);
}

.table-premium thead {
  background: var(--black);
  color: var(--white);
}

.table-premium thead th {
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1.25rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--black);
}

.table-premium thead th.text-center {
  text-align: center;
}

.table-premium thead .crybaby-col {
  background: var(--white);
  color: var(--black) !important;
  border-left: 2px solid var(--black);
}

.table-premium tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.table-premium tbody tr:hover {
  background: var(--gray-200);
}

.table-premium td {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-body);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}

.table-premium td.text-center {
  text-align: center;
}

.table-premium tbody .crybaby-col {
  background: rgba(0, 0, 0, 0.06);
  color: var(--black) !important;
  font-weight: 700;
  border-left: 2px solid var(--black);
}

.check-icon {
  color: var(--black);
  font-weight: 800;
  font-size: 1.15rem;
  margin-right: 0.25rem;
}

.x-icon {
  color: var(--gray-400);
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: 0.25rem;
}

/* --------------------------------------------------------------------------
   11. Section 8: Frequently Asked Questions (FAQ)
   -------------------------------------------------------------------------- */
.faq-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.faq-row > .faq-card {
  flex: 1 1 calc(50% - 0.875rem);
  min-width: 280px;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  transition: all 0.3s ease;
}

.faq-card:hover {
  border-color: var(--black);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.faq-answer {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Call to Action Banner (Dark)
   -------------------------------------------------------------------------- */
.cta-section {
  background: var(--black);
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. Footer (Pure Black Editorial)
   -------------------------------------------------------------------------- */
.footer-crybaby {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   14. Responsive Media Queries
   Breakpoints: 1400 / 1200 / 992 / 768 / 600 / 480 / 360
   All section layouts use flexbox (no CSS Grid).
   -------------------------------------------------------------------------- */

/* Short laptops: keep hero content inside the viewport without clipping */
@media (max-height: 800px) and (min-width: 993px) {
  .hero-section {
    padding-top: calc(var(--navbar-height) + 1.25rem);
    padding-bottom: 1.75rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    margin-bottom: 0.85rem;
  }

  .hero-desc {
    margin-bottom: 1.25rem;
  }

  .hero-render-img {
    max-height: min(400px, 58vh);
    max-width: 280px;
  }

  .hero-glow-ring {
    width: 200px;
    height: 200px;
  }
}

/* Extra-large desktop: keep hero text and phone from colliding */
@media (max-width: 1400px) {
  .hero-layout {
    gap: 2.25rem;
  }

  .hero-visual-wrap {
    width: 36%;
    max-width: 320px;
  }

  .hero-render-img {
    max-width: 300px;
    max-height: 440px;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-layout {
    gap: 2rem;
  }

  .hero-content {
    max-width: 560px;
  }

  .hero-visual-wrap {
    width: 34%;
    max-width: 280px;
  }

  .hero-render-img {
    max-width: 260px;
    max-height: 400px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  }

  .section-padding {
    padding: 4.5rem 0;
  }
}

/* Tablet landscape / small laptop — stack hero to stop overlap */
@media (max-width: 992px) {
  :root {
    --navbar-height: 76px;
  }

  .hero-section {
    min-height: auto;
    padding: calc(var(--navbar-height) + 2.25rem) 0 3rem;
    align-items: flex-start;
  }

  .hero-layout {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2.5rem;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-visual-wrap {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .hero-render-img {
    max-width: 280px;
    max-height: 420px;
  }

  .hero-glow-ring {
    width: 220px;
    height: 220px;
  }

  .story-row > .story-card,
  .pillar-row > .pillar-card,
  .faq-row > .faq-card {
    flex: 1 1 100%;
    min-width: 0;
  }

  .features-row > .grid-feature {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 220px;
  }

  .sub-options-row {
    flex-direction: column;
    align-items: stretch;
  }

  .sub-options-row > .sub-editorial-card {
    flex: 1 1 auto;
  }

  .or-divider-wrap {
    flex-direction: row;
    height: 44px;
    width: 100%;
    padding: 0;
  }

  .or-divider-wrap::before {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
  }

  .section-header {
    margin-bottom: 2.75rem;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --navbar-height: 72px;
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .navbar-crybaby {
    padding: 0.85rem 0;
  }

  .navbar-logo {
    height: 42px;
    max-width: 130px;
  }

  .hero-section {
    padding: calc(var(--navbar-height) + 1.75rem) 0 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 6vw, 2.25rem);
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    gap: 0.85rem;
  }

  .hero-render-img {
    max-width: 240px;
    max-height: 360px;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  .story-card,
  .pillar-card,
  .faq-card {
    padding: 2rem 1.5rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-actions {
    gap: 1rem;
  }

  .table-premium thead th,
  .table-premium td {
    padding: 1rem 0.85rem;
    font-size: 0.875rem;
  }
}

/* Large phones */
@media (max-width: 600px) {
  :root {
    --navbar-height: 68px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-logo {
    height: 40px;
    max-width: 120px;
  }

  .btn-login-nav {
    padding: 0.4rem 0.95rem;
    font-size: 0.775rem;
  }

  .hero-section {
    min-height: auto;
    padding: calc(var(--navbar-height) + 1.5rem) 0 2rem;
  }

  .hero-layout {
    gap: 2rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }

  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 0.9rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-gradient,
  .hero-actions .btn-outline-glass {
    width: 100%;
  }

  .hero-render-img {
    max-width: 210px;
    max-height: 320px;
  }

  .hero-glow-ring {
    width: 180px;
    height: 180px;
  }

  .btn-gradient,
  .btn-outline-glass {
    padding: 0.85rem 1.35rem;
    font-size: 0.875rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .features-row > .grid-feature {
    flex: 1 1 100%;
    min-width: 0;
  }

  .sub-editorial-card {
    padding: 2.25rem 1.5rem;
  }

  .sub-card-banner {
    margin: -2.25rem -1.5rem 1.75rem -1.5rem;
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }

  .sub-card-title {
    font-size: 1.2rem;
  }

  .store-badges {
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-subtitle {
    font-size: 0.95rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .table-premium thead th,
  .table-premium td {
    padding: 0.75rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* Phones */
@media (max-width: 480px) {
  :root {
    --navbar-height: 64px;
  }

  .navbar-crybaby {
    padding: 0.7rem 0;
  }

  .navbar-logo {
    height: 36px;
    max-width: 108px;
  }

  .btn-login-nav {
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    gap: 0.3rem;
  }

  .hero-section {
    padding: calc(var(--navbar-height) + 1.25rem) 0 1.75rem;
  }

  .hero-title {
    font-size: clamp(1.15rem, 6.4vw, 1.45rem);
    line-height: 1.25;
    letter-spacing: 0.01em;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-actions .btn-gradient,
  .hero-actions .btn-outline-glass {
    white-space: normal;
    text-align: center;
  }

  .hero-render-img {
    max-width: 180px;
    max-height: 270px;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .story-card,
  .pillar-card,
  .faq-card,
  .grid-feature {
    padding: 1.5rem 1.15rem;
  }

  .story-card h3 {
    font-size: 1.15rem;
  }

  .pillar-card h4 {
    font-size: 1rem;
  }

  .editorial-step {
    gap: 0.85rem;
  }

  .step-num-box {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .cta-title {
    font-size: 1.35rem;
  }

  .footer-crybaby {
    padding: 2.25rem 0;
    font-size: 0.8rem;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.05rem, 6vw, 1.2rem);
  }

  .hero-render-img {
    max-width: 160px;
  }

  .btn-login-nav span:last-child {
    display: none;
  }

  .section-title {
    font-size: 1.2rem;
  }
}

@media (prefers-color-scheme: dark), (prefers-color-scheme: light) {
  header,
  header.navbar-crybaby,
  .navbar-crybaby {
    background: #000000 !important;
    background-color: #000000 !important;
  }
}
