/* ====== FOOTER LANGUAGE BUTTON ====== */
.footer-lang-btn {
  background: #828edb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  margin-left: 12px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.footer-lang-btn:hover {
  background: #6120ea;
}
/* ====== RESET E VARIABILI ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colori - personalizzare secondo il mockup */
  --primary-color: #6366f1; /* Indigo */
  --secondary-color: #ec4899; /* Pink */
  --dark-bg: #0f172a; /* Dark slate */
  --light-bg: #f8fafc; /* Light slate */
  --text-dark: #1e293b; /* Slate 800 */
  --text-light: #64748b; /* Slate 500 */
  --border-color: #e2e8f0; /* Slate 200 */
  
  /* Colori Sezioni */
  --section-1-color: #000000; /* Hero */
  --section-2-color: #828edb; /* Demo */
  --section-3-color: #000000; /* Features */
  --section-4-color: #000000; /* How It Works */
  --section-5-color: #000000; /* CTA */
  --section-6-color: #6120ea; /* Footer */

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-h1: 3rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.5rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #000000;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(130, 142, 219, 0.3);
  padding: var(--spacing-md) var(--spacing-2xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(130, 142, 219, 0.15);
  border-radius: 50px;
  width: fit-content;
  min-width: 900px;
  padding: var(--spacing-md) var(--spacing-2xl);
  overflow: visible;
}

@media (max-width: 768px) {
  .navbar {
    top: 10px;
    left: 10px;
    right: 10px;
    transform: none !important;
    width: calc(100% - 20px);
    min-width: unset;
    border-radius: 16px;
    padding: 6px 8px;
    overflow: visible;
    height: 73px;
    display: flex;
    align-items: center;
  }
}

.navbar-container {
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    gap: 6px;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
    margin: 0;
    padding: 0 8px;
  }
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s ease, background 0.2s;
  text-decoration: none;
}

@media (max-width: 768px) {
  .navbar-logo {
    font-size: 0.75rem;
    white-space: nowrap;
    gap: 3px;
    flex-shrink: 0;
  }
}

.navbar-logo:hover {
  color: #828edb;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-weight: 700;
}

/* Menu */
.navbar-menu {
  display: flex;
  list-style: none;
  gap: calc(var(--spacing-xl) + 2px);
  margin: 0;
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  .navbar-menu {
    gap: 8px;
    display: flex !important;
    flex-wrap: nowrap;
    order: unset;
    width: auto;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
  }
}

.navbar-menu a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  font-size: calc(var(--font-size-small) + 3px);
  transition: color 0.3s ease, background 0.2s;
  text-transform: capitalize;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .navbar-menu a {
    font-size: calc(0.55rem + 3px);
    white-space: nowrap;
    padding: 0;
  }
}

.navbar-menu a:hover {
  color: #828edb;
}

.navbar-menu a:active {
  color: #828edb !important;
  background: none !important;
}

.navbar-menu a:focus, .navbar-menu a:active, .navbar-menu a:visited {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  background: none !important;
  border: none !important;
  user-select: none;
}

/* CTA Button Navbar */
.navbar-cta {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: linear-gradient(135deg, #828edb, #6120ea);
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--font-size-small);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(130, 142, 219, 0.3);
}

@media (max-width: 768px) {
  .navbar-cta {
    padding: 3px 8px;
    font-size: 0.55rem;
    flex-shrink: 0;
    height: 24px;
    display: flex;
    align-items: center;
  }
}

.navbar-cta:hover {
  background: linear-gradient(135deg, #949fc4, #7534ff);
  box-shadow: 0 8px 20px rgba(130, 142, 219, 0.5);
  transform: translateY(-2px);
}

.navbar-cta:active {
  background: linear-gradient(135deg, #949fc4, #7534ff) !important;
  color: #fff !important;
}

/* Fix per Safari/iOS: forza repaint dopo il tap */
@media (max-width: 768px) {
  .navbar-menu a, .navbar-logo, .navbar-cta {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    user-select: none;
  }
}

/* Temporary JS-controlled pressed state (used for reliable color on touch) */
.navbar-menu a.pressed,
.navbar-logo.pressed,
.navbar-cta.pressed {
  color: #828edb !important;
}


/* ====== SEZIONI GENERICHE ====== */
.section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) 0;
}

@media (max-width: 768px) {
  .section {
    min-height: auto;
    padding: var(--spacing-xl) 0;
  }
}

.section-title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
  }
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(180deg, #000000 0%, #1a1a2e 50%, #828edb 100%);
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 200px;
  }
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(130, 142, 219, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero::after {
    width: 600px;
    height: 600px;
    right: -300px;
    opacity: 0.5;
  }
}

.hero-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 var(--spacing-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 0.4fr;
    gap: 8px;
    padding: 0 10px;
    align-items: flex-start;
    margin-top: 100px;
  }
}

.hero-content h1.hero-title {
  font-size: var(--font-size-h1);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  color: #ffffff;
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .hero-content h1.hero-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    line-height: 1.2;
  }
}

.hero-title .highlight {
  color: #828edb;
  background: linear-gradient(135deg, #828edb, #b4a7d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #b0b0b0;
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-image {
    order: 0;
    margin-bottom: 0;
    justify-content: center;
  }
}

.hero-mockup {
  width: 17%;
  max-width: 200px;
  height: auto;
  border-radius: 0px;
  /*box-shadow: 0 10px 30px rgba(218, 9, 9, 0.842);*/
  background-color: transparent;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
}

@media (max-width: 768px) {
  .hero-mockup {
    width: 100% !important;
    max-width: 55px !important;
    height: auto !important;
  }
}

.video-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
}

.graphic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ====== SECTION SEPARATOR DESIGN ====== */
.design-separator {
  position: relative;
  height: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
  z-index: 1;
  padding-left: 0;
  pointer-events: none;
}

.design-sphere {
  width: 800px;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(130, 142, 219, 0.3));
  animation: float 6s ease-in-out infinite;
  transform: translateX(-200px);
  pointer-events: none;
}

@media (max-width: 768px) {
  .design-sphere {
    width: min(90vw, 300px);
    height: min(90vw, 300px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transform: translateX(-10%) translateY(-50%);
    opacity: 0.35;
    position: absolute;
  }
}

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

/* ====== DEMO/VIDEO SECTION ====== */
.demo {
  background: linear-gradient(180deg, #828edb 0%, #6b77c3 40%, #2a2a4e 80%, #0a0a0a 100%);
  position: relative;
  overflow: visible;
  min-height: auto;
}

.demo::before {
  content: '';
  position: absolute;
  top: -350px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.demo::after {
  content: '';
  position: absolute;
  bottom: -350px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.demo-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 var(--spacing-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .demo-container {
    padding: 0 var(--spacing-lg);
  }
}

.demo-container .section-title {
  color: #ffffff;
  display: none;
}

.demo-container .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.video-box {
  margin-top: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
}

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

@media (max-width: 768px) {
  .video-box {
    margin-top: var(--spacing-lg);
  }
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .video-placeholder {
    font-size: 0.9rem;
    aspect-ratio: 16 / 9;
  }
}

/* ====== FEATURES SECTION ====== */
.features {
  background: linear-gradient(180deg, #0a0a0a 0%, #0f0f1f 50%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -400px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(130, 142, 219, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.features-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 var(--spacing-xl);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .features-container {
    padding: 0 var(--spacing-lg);
  }
}

.features-container .section-title {
  color: #ffffff;
}

.features-container .section-subtitle {
  color: #b0b0b0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
  }
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(130, 142, 219, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: #828edb;
  box-shadow: 0 15px 40px rgba(130, 142, 219, 0.25);
  transform: translateY(-5px);
  background-color: rgba(130, 142, 219, 0.08);
}

.feature-image {
  width: 100%;
  padding: var(--spacing-lg);
  background-color: rgba(130, 142, 219, 0.05);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .feature-image {
    padding: var(--spacing-md);
    min-height: 180px;
  }
}

.feature-text {
  padding: var(--spacing-lg);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .feature-text {
    padding: var(--spacing-md);
    min-height: auto;
  }
}

.feature-text h3 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-sm);
  color: #ffffff;
  min-height: 60px;
}

@media (max-width: 768px) {
  .feature-text h3 {
    font-size: 1.25rem;
    min-height: auto;
    margin-bottom: var(--spacing-xs);
  }
}

.feature-text p {
  color: #b0b0b0;
  font-size: var(--font-size-small);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-text p {
    font-size: 0.9rem;
  }
}

/* ====== PRICING SECTION ====== */
.pricing {
  background: linear-gradient(180deg, #000000 0%, #0a0a1a 50%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -400px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(130, 142, 219, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pricing-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 var(--spacing-xl);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .pricing-container {
    padding: 0 var(--spacing-lg);
  }
}

.pricing-container .section-title {
  color: #ffffff;
}

.pricing-container .section-subtitle {
  color: #b0b0b0;
}

/* ====== PRICING CARDS ====== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(130, 142, 219, 0.3);
  border-radius: 16px;
  padding: var(--spacing-lg) var(--spacing-lg);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pricing-card[data-plan="free"] {
  background: linear-gradient(135deg, #51516c 0%, #51516c 100%);
  border-color: rgba(130, 142, 219, 0.2);
}

.pricing-card[data-plan="pro"] {
  background: linear-gradient(135deg, #0a0a1a 0%, #15152a 100%);
  border-color: rgba(130, 142, 219, 0.4);
}

.pricing-card:hover {
  border-color: #828edb;
  box-shadow: 0 15px 40px rgba(130, 142, 219, 0.25);
  transform: translateY(-5px);
}

.pricing-card[data-plan="free"]:hover {
  background: linear-gradient(135deg, #5a5a78 0%, #5a5a78 100%);
}

.pricing-card[data-plan="pro"]:hover {
  background-color: rgba(130, 142, 219, 0.08);
}

.plan-header {
  text-align: center;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #828edb, #6120ea);
  color: white;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.pricing-card[data-plan="free"] .plan-name {
  color: #ffffff;
}

.pricing-card[data-plan="pro"] .plan-name {
  color: #ffffff;
}

.plan-description {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.pricing-card[data-plan="free"] .plan-description {
  color: #d4d4d8;
}

.pricing-card[data-plan="pro"] .plan-description {
  color: #b0b0b0;
}

/* ====== PLAN FEATURES ====== */
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0;
  height: 91px;
  border-bottom: 1px solid rgba(130, 142, 219, 0.2);
}

.feature-item:last-child {
  border-bottom: none;
}

.pricing-card[data-plan="free"] .feature-item {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  max-height: 60px;
  overflow: hidden;
}

.pricing-card[data-plan="free"] .feature-text {
  color: #ffffff;
}

.pricing-card[data-plan="pro"] .feature-text {
  color: #ffffff;
}

/* ====== PLAN BUTTON ====== */
.plan-button {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-top: auto;
  font-size: 0.95rem;
}

/* ====== HOW IT WORKS SECTION ====== */
.how-it-works {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -300px;
  right: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(97, 32, 234, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.how-it-works-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 var(--spacing-xl);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .how-it-works-container {
    padding: 0 var(--spacing-lg);
  }
}

.how-it-works-container .section-title {
  color: #ffffff;
}

.how-it-works-container .section-subtitle {
  color: #b0b0b0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
  margin-bottom: 115px;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
  }
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #828edb, #6120ea);
  color: white;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 8px 20px rgba(130, 142, 219, 0.3);
}

.step h3 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-lg);
  color: #ffffff;
}

@media (max-width: 768px) {
  .step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
  }
}

.step-image {
  width: 100%;
  margin-top: var(--spacing-lg);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .step-image {
    margin-top: var(--spacing-md);
    min-height: 150px;
  }
}

/* ====== HOW IT WORKS CTA ====== */
.how-it-works-cta {
  text-align: center;
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-2xl);
  background: rgba(130, 142, 219, 0.08);
  border: 1px solid rgba(130, 142, 219, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .how-it-works-cta {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: 16px;
  }
}

.how-it-works-cta h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: #ffffff;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 768px) {
  .how-it-works-cta h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
  }
}

.how-it-works-cta p {
  font-size: 1.125rem;
  color: #b0b0b0;
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (max-width: 768px) {
  .how-it-works-cta p {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }
}

.cta-button-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-button-wrapper .cta-button {
  padding: var(--spacing-md) calc(var(--spacing-2xl) * 1.2);
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .cta-button-wrapper .cta-button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
  }
}

/* ====== CTA SECTION ====== */
.cta {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(97, 32, 234, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 var(--spacing-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .cta-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
  }
}

.cta-content h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: #ffffff;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
  }
}

.cta-content p {
  font-size: 1.125rem;
  color: #b0b0b0;
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .cta-content p {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }
}

.cta-graphics {
  position: relative;
  height: 400px;
}

@media (max-width: 768px) {
  .cta-graphics {
    height: 300px;
    order: -1;
    margin-bottom: var(--spacing-lg);
  }
}

.graphic-card {
  position: absolute;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(130, 142, 219, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.graphic-card.card-1 {
  width: 200px;
  height: 250px;
  top: 0;
  right: 0;
}

@media (max-width: 768px) {
  .graphic-card.card-1 {
    width: 150px;
    height: 180px;
    top: 20px;
    right: 10px;
  }
}

.graphic-card.card-2 {
  width: 220px;
  height: 200px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .graphic-card.card-2 {
    width: 160px;
    height: 150px;
    bottom: 20px;
  }
}

/* ====== CTA BUTTONS ====== */
.cta-button {
  padding: var(--spacing-sm) var(--spacing-xl);
  background: linear-gradient(135deg, #828edb, #6120ea);
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(130, 142, 219, 0.3);
}

.cta-button.primary {
  background: linear-gradient(135deg, #828edb, #6120ea);
}

.cta-button:hover {
  background: linear-gradient(135deg, #949fc4, #7534ff);
  box-shadow: 0 12px 30px rgba(130, 142, 219, 0.5);
  transform: translateY(-2px);
}

/* ====== FOOTER ====== */
.footer {
  background: linear-gradient(135deg, #6120ea 0%, #4a0fa8 100%);
  color: white;
  padding: var(--spacing-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-md) 0;
  }
}

.footer::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(130, 142, 219, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 768px) {
  .footer::before {
    width: 600px;
    height: 600px;
    top: -200px;
    opacity: 0.3;
  }
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: row;
    gap: 10px;
    padding: 0 var(--spacing-md);
    justify-content: space-between;
    align-items: center;
  }
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-container p {
  margin-bottom: 0;
  opacity: 0.95;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-container p {
    font-size: 0.7rem;
  }
}

.capturezero-link {
  color: #828edb;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.capturezero-link:hover {
  color: #a8b4e8;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
}

@media (max-width: 768px) {
  .footer-links {
    gap: 8px;
    flex-wrap: nowrap;
  }
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #828edb;
}

@media (max-width: 768px) {
  .footer-links a {
    font-size: 0.7rem;
  }
}

/* ====== DISCOUNT POPUP ====== */
.discount-popup {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 2000;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .discount-popup {
    top: 50% !important;
    bottom: auto !important;
    right: 15px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
  }
}

.discount-popup.hidden {
  display: none;
}

.popup-trigger {
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(130, 142, 219, 0.4);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(130, 142, 219, 0.3);
  overflow: visible;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .popup-trigger {
    width: 65px !important;
    height: 65px !important;
  }
}

.bounce-ball {
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, #828edb, #6120ea);
  border-radius: 50%;
  position: relative;
  animation: bounce 3.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  border: 2px solid #000000;
  display: block;
  margin: auto;
}

@media (max-width: 768px) {
  .bounce-ball {
    width: 90%;
    height: 90%;
    min-width: 40px;
    min-height: 40px;
    max-width: 58px;
    max-height: 58px;
  }
}

@keyframes bounce {
  0% {
    border-radius: 12px;
    transform: translateX(0) scale(1, 1);
  }
  15% {
    border-radius: 35px;
    transform: translateX(-10%) scale(1, 1);
  }
  20% {
    border-radius: 50px;
    transform: translateX(-20%) scale(1, 1);
  }
  35% {
    border-radius: 50px;
    transform: translateX(-35%) scaleX(1.2) scaleY(0.95);
  }
  50% {
    border-radius: 50px;
    transform: translateX(-50%) scaleX(1.4) scaleY(0.85);
  }
  75% {
    border-radius: 50px;
    transform: translateX(-60%) scaleX(1.5) scaleY(0.8);
  }
  100% {
    border-radius: 50px;
    transform: translateX(-70%) scaleX(1.6) scaleY(0.75);
  }
}

.popup-content {
  display: none;
  position: absolute;
  top: 50%;
  right: 70px;
  transform: translateY(-50%);
  width: 350px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(130, 142, 219, 0.4);
  border-radius: 20px;
  padding: var(--spacing-xl);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 60px rgba(130, 142, 219, 0.2);
  animation: popupSlideLeft 0.4s ease-out;
}

@media (max-width: 768px) {
  .popup-content {
    right: 5px;
  }
}

@keyframes popupSlideLeft {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
  }
}

.popup-content.show {
  display: block;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  padding: 0;
  width: 30px;
  height: 30px;
}

.popup-close:hover {
  color: #ffffff;
}

.popup-content h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  padding-right: 30px;
}

.popup-content p {
  color: #b0b0b0;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.popup-input {
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(130, 142, 219, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.popup-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #828edb;
  box-shadow: 0 0 0 3px rgba(130, 142, 219, 0.2);
}

.popup-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.popup-submit {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: linear-gradient(135deg, #828edb, #6120ea);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(130, 142, 219, 0.3);
}

.popup-submit:hover {
  background: linear-gradient(135deg, #949fc4, #7534ff);
  box-shadow: 0 6px 20px rgba(130, 142, 219, 0.5);
  transform: translateY(-2px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
  }

  .cta-container {
    grid-template-columns: 1fr;
  }

  .cta-graphics {
    height: 250px;
  }

  .graphic-card {
    width: 150px !important;
    height: 150px !important;
  }

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

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

/* ====== FEEDBACK SECTION ====== */
.feedback {
  background: linear-gradient(180deg, #000000 0%, #0a0a1a 50%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.feedback::before {
  content: '';
  position: absolute;
  top: -400px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(130, 142, 219, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.feedback-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 var(--spacing-xl);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .feedback-container {
    padding: 0 var(--spacing-lg);
  }
}

.feedback-container .section-title {
  color: #ffffff;
}

.feedback-container .section-subtitle {
  color: #b0b0b0;
}

/* ====== FEEDBACK FORM ====== */
.feedback-form {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(130, 142, 219, 0.3);
  border-radius: 16px;
  padding: var(--spacing-xl);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: var(--spacing-2xl) auto 0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.feedback-form:hover {
  border-color: #828edb;
  box-shadow: 0 15px 40px rgba(130, 142, 219, 0.25);
  background-color: rgba(130, 142, 219, 0.08);
}

@media (max-width: 768px) {
  .feedback-form {
    padding: var(--spacing-lg);
  }
}

.form-group {
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
}

.form-label {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  display: block;
  text-align: center;
}

.form-select,
.form-input,
.form-textarea {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(130, 142, 219, 0.3);
  border-radius: 8px;
  color: #ffffff;
  padding: var(--spacing-md);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #828edb;
  background-color: rgba(130, 142, 219, 0.1);
  box-shadow: 0 0 10px rgba(130, 142, 219, 0.3);
}

.form-select option {
  background-color: #0f172a;
  color: #ffffff;
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  position: relative;
}

.char-count {
  color: #828edb;
  font-size: 0.85rem;
  margin-top: var(--spacing-xs);
  text-align: right;
}

.feedback-button {
  align-self: center;
  margin-top: var(--spacing-md);
}

/* ====== WAITING LIST SECTION ====== */
.waitinglist {
  background: linear-gradient(180deg, #000000 0%, #0a0a1a 50%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.waitinglist::before {
  content: '';
  position: absolute;
  bottom: -400px;
  right: 50%;
  transform: translateX(50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(97, 32, 234, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.waitinglist-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 var(--spacing-xl);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .waitinglist-container {
    padding: 0 var(--spacing-lg);
  }
}

.waitinglist-container .section-title {
  color: #ffffff;
}

.waitinglist-container .section-subtitle {
  color: #b0b0b0;
}

/* ====== WAITING LIST FORM ====== */
.waitinglist-form {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(130, 142, 219, 0.3);
  border-radius: 16px;
  padding: var(--spacing-xl);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  margin: var(--spacing-2xl) auto 0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.waitinglist-form:hover {
  border-color: #828edb;
  box-shadow: 0 15px 40px rgba(130, 142, 219, 0.25);
  background-color: rgba(130, 142, 219, 0.08);
}

@media (max-width: 768px) {
  .waitinglist-form {
    padding: var(--spacing-lg);
  }
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.form-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(130, 142, 219, 0.5);
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.form-checkbox:hover {
  border-color: #828edb;
}

.form-checkbox:checked {
  background: linear-gradient(135deg, #828edb, #6120ea);
  border-color: #828edb;
  position: relative;
}

.form-checkbox:checked::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-label {
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}

.waitinglist-button {
  align-self: center;
  margin-top: var(--spacing-md);
}

@media (max-width: 640px) {
  .section {
    min-height: auto;
    padding: var(--spacing-xl) 0;
  }

  .hero {
    padding-top: 0;
  }
}

/* ====== FEEDBACK E WAITING LIST SIDE-BY-SIDE ====== */
/* Wrapper that centers both sections and limits combined width */
#feedback-waiting-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  justify-content: center;
  align-items: center;
  padding: 0 var(--spacing-lg);
}

/* Keep wrapper stacked (column) and centered; inner containers use standard max-width */
#feedback-waiting-wrapper {
  flex-direction: column;
  align-items: center;
}

/* ====== DOWNLOAD FREE MODAL ====== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.modal.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #333;
}

.modal-content h3 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-icon {
  width: 32px;
  height: 32px;
}

.modal-content p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Input styling inside modal (override form-input white text) */
.modal-content .form-input {
  color: #1f2937;
}

.modal-content .form-input::placeholder {
  color: #6b7280;
}

.download-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.download-submit {
  padding: 12px 24px;
  background: linear-gradient(135deg, #828edb, #6120ea);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(130, 142, 219, 0.4);
}

.download-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
  }

  .modal-content h3 {
    font-size: 1.5rem;
  }
}









