/* CSS Variables & Theme Configuration */
:root {
  --primary-red: #e11d48;
  --primary-red-hover: #be123c;
  --primary-red-glow: rgba(225, 29, 72, 0.35);
  --bg-dark-deep: #07070a;
  --bg-dark-card: #111119;
  --bg-dark-nav: rgba(7, 7, 10, 0.85);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-red: rgba(225, 29, 72, 0.2);
  --text-white: #ffffff;
  --text-title: #ffffff;
  --text-gray-light: #f3f4f6;
  --text-gray-muted: #9ca3af;
  --font-display: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html,
body {
  background-color: var(--bg-dark-deep);
  color: var(--text-gray-light);
  font-family: var(--font-body);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

.overflow-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Selection Color */
::selection {
  background-color: var(--primary-red);
  color: var(--text-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark-deep);
}

::-webkit-scrollbar-thumb {
  background: #27273a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* Container Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glow Effects Background */
.glow-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    var(--primary-red-glow) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.glow-1 {
  top: 10%;
  left: -10%;
}

.glow-2 {
  top: 40%;
  right: -10%;
}

.glow-3 {
  top: 75%;
  left: 20%;
}

/* --- Navigation Bar --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-dark-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 10px 0;
  background: rgba(5, 5, 8, 0.95);
  border-bottom: 1px solid var(--border-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  transition: var(--transition-smooth);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--primary-red-glow));
}

.brand span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-title);
}

.brand span span {
  color: var(--primary-red);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--text-gray-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--text-title);
}

nav a:not(.download-btn):hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-btn {
  background: var(--primary-red);
  color: var(--text-white);
  padding: 10px 22px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px var(--primary-red-glow);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  background: var(--primary-red-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.6);
}

/* Mobile Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid var(--border-red);
  color: var(--primary-red);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-title);
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(
    135deg,
    #ff6b8b 0%,
    var(--primary-red) 50%,
    #991b1b 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray-muted);
  margin-bottom: 40px;
  max-width: 540px;
  font-weight: 400;
}

/* CTA Store Buttons */
.cta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: 12px;
  color: var(--text-title);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.store-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: var(--transition-smooth);
}

.store-btn:hover::before {
  opacity: 1;
}

.store-btn:hover {
  transform: translateY(-4px);
  border-color: var(--primary-red);
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.15);
}

.store-btn.apple:hover {
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
  border-color: var(--text-title);
}

.store-btn i {
  font-size: 28px;
  color: var(--text-white);
}

.store-btn.google i {
  color: #3ddc84;
  /* Android green */
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-text span:first-child {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-gray-muted);
  letter-spacing: 0.5px;
}

.store-btn-text span:last-child {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

/* Hero App Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  max-width: 500px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-title);
}

.stat-val-star {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stat-val-star i {
  fill: #fbbf24;
  color: #fbbf24;
  font-size: 24px;
}

.stat-lbl {
  font-size: 13px;
  color: var(--text-gray-muted);
  font-weight: 500;
}

/* Hero Showcase 3D phone */
.hero-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 550px;
  z-index: 10;
}

.mockup-wrapper {
  position: relative;
  width: 270px;
  height: 550px;
  perspective: 1000px;
}

.phone-mockup-3d {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 40px;
  background: #000000;
  border: 10px solid #2b2d31;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 40px var(--primary-red-glow);
  overflow: hidden;
  transform: rotateY(-18deg) rotateX(12deg) rotateZ(3deg);
  transition: var(--transition-smooth);
  animation: float-phone 6s ease-in-out infinite alternate;
}

.phone-mockup-3d:hover {
  transform: rotateY(-5deg) rotateX(5deg) rotateZ(0deg) scale(1.03);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(225, 29, 72, 0.4);
}

.phone-mockup-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mockup-bg {
  position: absolute;
  width: 270px;
  height: 550px;
  border-radius: 40px;
  background: #000000;
  border: 10px solid #1f2023;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: translate3d(-60px, 40px, -100px) rotateY(-18deg) rotateX(12deg)
    rotateZ(3deg);
  opacity: 0.6;
  filter: blur(1px);
}

.phone-mockup-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float-phone {
  0% {
    transform: rotateY(-18deg) rotateX(12deg) rotateZ(3deg) translateY(0px);
  }

  100% {
    transform: rotateY(-18deg) rotateX(12deg) rotateZ(3deg) translateY(-15px);
  }
}

/* --- Sections Header --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-tag {
  color: var(--primary-red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
}

.section-title span {
  color: var(--primary-red);
}

/* --- Features Grid --- */
/* --- Bento Grid Features --- */
.features-section {
  padding: 100px 0;
  position: relative;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 24px;
}

.bento-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(225, 29, 72, 0.08),
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(225, 29, 72, 0.15);
}

/* Bento card sizes */
.bento-large {
  grid-column: span 2;
  background: linear-gradient(
    135deg,
    rgba(225, 29, 72, 0.05) 0%,
    var(--bg-dark-card) 60%
  );
}

.bento-medium {
  grid-column: span 2;
}

@media (min-width: 1025px) {
  .bento-medium {
    grid-column: span 1;
  }
}

.bento-small {
  grid-column: span 1;
}

.bento-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  z-index: 2;
}

.bento-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-red);
  background: rgba(225, 29, 72, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(225, 29, 72, 0.15);
}

.bento-body {
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

.bento-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.bento-body p {
  font-size: 15px;
  color: var(--text-gray-muted);
  line-height: 1.6;
  margin: 0;
}

.format-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.format-badges .badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-title);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.format-badges .badge:hover {
  background: rgba(225, 29, 72, 0.1);
  border-color: var(--border-red);
  color: var(--primary-red);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(225, 29, 72, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  transition: var(--transition-smooth);
}

.bento-card:hover .feature-icon-box {
  background: var(--primary-red);
  color: var(--text-white);
  box-shadow: 0 0 20px var(--primary-red-glow);
}

/* --- Interactive Screenshot Slider Showcase --- */
.screenshots-section {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    var(--bg-dark-deep) 0%,
    var(--bg-dark-card) 50%,
    var(--bg-dark-deep) 100%
  );
  position: relative;
}

.slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}

/* Navigation Arrows */
.slider-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-title);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 100;
}

.slider-arrow:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  transform: scale(1.08);
}

/* Center iPhone mockup bezel wrapper */
.slider-centerpiece {
  position: relative;
  width: 290px;
  height: 590px;
  background: #000000;
  border: 12px solid #2b2d31;
  border-radius: 42px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(225, 29, 72, 0.2);
  overflow: hidden;
  z-index: 10;
  flex-shrink: 0;
}

/* Phone Speaker notch */
.slider-centerpiece::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background: #2b2d31;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 20;
}

.slider-screen-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.slider-slide.active {
  opacity: 1;
  z-index: 2;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Side Previews (Left & Right) */
.slider-preview-card {
  width: 190px;
  height: 390px;
  border-radius: 20px;
  border: 4px solid #1f2023;
  overflow: hidden;
  opacity: 0.25;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.slider-preview-card:hover {
  opacity: 0.5;
  transform: scale(1.02);
}

.slider-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Captions & Indicators */
.slider-caption {
  margin-top: 36px;
  text-align: center;
  min-height: 80px;
  max-width: 600px;
}

.slider-caption h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.slider-caption p {
  font-size: 15px;
  color: var(--text-gray-muted);
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--primary-red-glow);
}

/* --- Premium Pricing Section --- */
.premium-section {
  padding: 100px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 48px 40px;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.premium-tier {
  border: 2px solid var(--primary-red);
  box-shadow: 0 15px 45px rgba(225, 29, 72, 0.12);
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary-red);
  color: var(--text-white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
}

.pricing-desc {
  color: var(--text-gray-muted);
  font-size: 14px;
  margin-bottom: 30px;
  min-height: 44px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
}

.pricing-price span {
  font-size: 16px;
  color: var(--text-gray-muted);
  font-weight: 500;
  margin-left: 8px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--text-gray-light);
}

.pricing-features li.disabled {
  color: var(--text-gray-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.pricing-features li i {
  color: #3ddc84;
  /* Green */
  font-size: 18px;
}

.pricing-features li.disabled i {
  color: var(--text-gray-muted);
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.pricing-btn.free {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-white);
}

.pricing-btn.free:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-white);
}

.pricing-btn.premium {
  background: var(--primary-red);
  color: var(--text-white);
  box-shadow: 0 8px 25px var(--primary-red-glow);
}

.pricing-btn.premium:hover {
  background: var(--primary-red-hover);
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.5);
  transform: translateY(-2px);
}

/* --- Customer Reviews / Testimonials --- */
.reviews-section {
  padding: 100px 0;
  position: relative;
}

.reviews-slider-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.reviews-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 8px 40px 8px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 350px;
  max-width: 85vw;
  scroll-snap-align: center;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.reviews-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-title);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
  flex-shrink: 0;
}

.reviews-arrow:hover {
  background: var(--primary-red);
  color: var(--text-white);
  border-color: var(--primary-red);
  transform: scale(1.05);
}

.review-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
}

.review-stars {
  color: #fbbf24;
  /* Amber star color */
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars i {
  fill: #fbbf24;
  font-size: 16px;
}

.review-text {
  font-size: 14px;
  color: var(--text-gray-light);
  margin-bottom: 24px;
  line-height: 1.6;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 16px;
}

.user-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
}

.user-info span {
  font-size: 12px;
  color: var(--text-gray-muted);
}

/* --- CTA Footer Banner --- */
.cta-banner-section {
  padding: 100px 0;
  position: relative;
}

.cta-banner-card {
  background: linear-gradient(135deg, #1a0b0e 0%, #0a0a0e 100%);
  border: 1px solid var(--border-red);
  border-radius: 32px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(225, 29, 72, 0.1);
}

.cta-banner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(225, 29, 72, 0.15) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
}

.cta-banner-card h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 16px;
}

.cta-banner-card p {
  color: var(--text-gray-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.cta-banner-card .cta-container {
  justify-content: center;
  margin-bottom: 0;
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px 0;
  background: #040407;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-info p {
  color: var(--text-gray-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--text-gray-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
  color: var(--primary-red);
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--primary-red);
  color: var(--text-white);
  border-color: var(--primary-red);
  box-shadow: 0 0 15px var(--primary-red-glow);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-gray-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-gray-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: var(--text-white);
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animations observer classes */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 64px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-subtitle {
    margin: 0 auto 32px auto;
  }

  .cta-container {
    justify-content: center;
  }

  .hero-stats {
    margin: 0 auto;
    justify-content: center;
  }

  .hero-showcase {
    display: none !important;
  }

  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large {
    grid-column: span 2;
  }

  .bento-medium {
    grid-column: span 1;
  }

  .bento-small {
    grid-column: span 1;
  }

  /* Navigation Burger Menu for Tablets & Mobiles */
  nav {
    display: none;
    /* Hide standard desktop nav */
  }

  .menu-toggle {
    display: flex;
    /* Show burger button */
  }

  /* Mobile Nav Active list */
  nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark-deep);
    border-bottom: 1px solid var(--border-red);
    padding: 32px 24px;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
  }

  .nav-actions .nav-btn {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 768px) {
  .glow-blob {
    display: none !important;
  }

  .hero-title {
    font-size: clamp(34px, 8vw, 46px);
  }

  .hero-stats {
    gap: 16px;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
  }

  .hero-stats .stat-item {
    padding-left: 12px !important;
    border-left: 1px solid var(--border-light) !important;
  }

  .hero-stats .stat-item:first-child {
    padding-left: 0 !important;
    border-left: none !important;
  }

  .stat-val {
    font-size: 20px !important;
  }

  .stat-lbl {
    font-size: 11px !important;
  }

  .mockup-wrapper {
    transform: scale(0.85);
    margin: 0 auto;
    height: 520px;
    transform-origin: top center;
  }

  .phone-mockup-bg {
    display: none;
    /* Hide background phone translation on mobile to avoid overflow */
  }

  .phone-mockup-3d {
    transform: none;
    /* Remove 3D angle on mobile for flat neat fit */
    animation: none;
  }

  .features-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 1;
  }

  .slider-main {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .slider-arrow {
    width: 48px;
    height: 48px;
    font-size: 14px;
    flex-shrink: 0;
  }

  .slider-preview-card {
    display: none;
    /* Hide side screenshots on mobile for spacing */
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .reviews-arrow {
    display: none !important;
  }

  .reviews-grid {
    padding: 10px 4px 20px 4px;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-banner-card {
    padding: 48px 24px;
  }

  .cta-banner-card h2 {
    font-size: 32px;
  }
}

/* --- System Preferences Themes (Light Mode Support via Classes) --- */
.theme-light {
  --bg-dark-deep: #f8fafc;
  --bg-dark-card: #ffffff;
  --bg-dark-nav: rgba(248, 250, 252, 0.85);
  --border-light: rgba(0, 0, 0, 0.08);
  --border-red: rgba(225, 29, 72, 0.12);
  --text-white: #ffffff;
  --text-title: #0f172a;
  --text-gray-light: #334155;
  --text-gray-muted: #64748b;
}

.theme-light body {
  background-color: var(--bg-dark-deep);
  color: var(--text-gray-light);
}

.theme-light ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.theme-light ::-webkit-scrollbar-track {
  background: var(--bg-dark-deep);
}

.theme-light #header.scrolled {
  background: rgba(248, 250, 252, 0.98);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.theme-light .bento-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.theme-light .bento-card:hover {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.05),
    0 0 30px rgba(225, 29, 72, 0.08);
}

.theme-light .bento-large {
  background: linear-gradient(
    135deg,
    rgba(225, 29, 72, 0.03) 0%,
    var(--bg-dark-card) 60%
  );
}

.theme-light .format-badges .badge {
  background: rgba(15, 23, 42, 0.04);
}

.theme-light .bento-card::before {
  background: radial-gradient(
    800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(225, 29, 72, 0.05),
    transparent 40%
  );
}

.theme-light .screenshots-section {
  background: linear-gradient(
    180deg,
    var(--bg-dark-deep) 0%,
    var(--bg-dark-card) 50%,
    var(--bg-dark-deep) 100%
  );
}

.theme-light .cta-banner-card {
  background: linear-gradient(
    135deg,
    rgba(225, 29, 72, 0.05) 0%,
    rgba(225, 29, 72, 0.01) 100%
  );
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.03),
    0 0 30px rgba(225, 29, 72, 0.02);
}

.theme-light footer {
  background: #f1f5f9;
}

.theme-light .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-light nav.active {
  background: var(--bg-dark-deep);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.theme-light .slider-arrow {
  background: var(--bg-dark-card);
  border-color: var(--border-light);
  color: var(--text-title);
}

.theme-light .slider-arrow:hover {
  background: var(--primary-red);
  color: #ffffff;
}

.theme-light .menu-toggle span {
  background: var(--text-title);
}

/* --- Theme Switcher Styling --- */
.theme-switcher {
  position: relative;
  display: inline-block;
  align-self: center;
}

.theme-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-title);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.theme-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-red);
}

.theme-light .theme-btn:hover {
  background: rgba(0, 0, 0, 0.03);
}

.theme-btn i,
.theme-btn svg {
  width: 18px;
  height: 18px;
  position: absolute;
  opacity: 0;
  transform: scale(0.6) rotate(-15deg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

/* Active theme icon display based on custom attribute data-theme-choice */
html[data-theme-choice="light"] .sun-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

html[data-theme-choice="dark"] .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

html[data-theme-choice="system"] .monitor-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* Dropdown Menu */
.theme-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px;
  width: 140px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  animation: dropdown-fade 0.2s ease-out;
}

.theme-light .theme-dropdown {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.theme-dropdown.show {
  display: flex;
}

@keyframes dropdown-fade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-dropdown button {
  background: transparent;
  border: none;
  color: var(--text-gray-light);
  padding: 8px 12px;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.theme-dropdown button i,
.theme-dropdown button svg {
  width: 16px;
  height: 16px;
}

.theme-dropdown button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-red);
}

.theme-light .theme-dropdown button:hover {
  background: rgba(0, 0, 0, 0.03);
}

.theme-dropdown button.active {
  background: rgba(225, 29, 72, 0.1);
  color: var(--primary-red);
}

@media (max-width: 1024px) {
  .theme-switcher {
    align-self: center;
    margin: 0;
  }

  .theme-dropdown {
    right: 0;
    left: auto;
  }
}
