/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p { color: #4a4a4a; }

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary {
  background: #564592;
  color: white;
}

.btn-primary:hover {
  background: #4f518c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #564592;
  border: 2px solid #564592;
}

.btn-secondary:hover {
  background: #564592;
  color: white;
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #111111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #4a4a4a;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #564592;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #2c2a4a;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SECTION 01: HERO (Base + Variants) ===== */
.hero {
  padding: 200px 0 80px;
  position: relative;
}

/* Option Label for comparison */
.option-label {
  position: absolute;
  top: 90px;
  left: 2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

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

.hero-content h1 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  object-fit: cover;
}

.hero-image .placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* ----- HERO OPTION 1: Solid Dark ----- */
.hero-dark-solid {
  background: #2c2a4a;
}

.hero-dark-solid .hero-content h1 {
  color: #ffffff;
}

.hero-dark-solid .hero-content h1 span {
  color: #907ad6;
}

.hero-dark-solid .hero-content p {
  color: rgba(255, 255, 255, 0.8);
}

.hero-dark-solid .hero-image .placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
}

/* ----- HERO OPTION 2: Gradient Dark ----- */
.hero-dark-gradient {
  background: linear-gradient(135deg, #2c2a4a 0%, #564592 50%, #4f518c 100%);
}

.hero-dark-gradient .hero-content h1 {
  color: #ffffff;
}

.hero-dark-gradient .hero-content h1 span {
  background: linear-gradient(90deg, #C0F1D6, #CEE9FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-dark-gradient .hero-content p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-dark-gradient .hero-image .placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

/* ----- Dark Hero Buttons ----- */
.btn-primary-light {
  background: #907ad6;
  color: white;
}

.btn-primary-light:hover {
  background: #a08de0;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* ----- HERO OPTION 3: Centered with Email CTA ----- */
.hero-centered {
  background: radial-gradient(ellipse at center, #4f518c 0%, #2c2a4a 70%, #1a1a2e 100%);
  text-align: center;
}

.hero-centered .container {
  display: block;
}

.hero-content-centered {
  max-width: 680px;
  margin: 0 auto;
}

.hero-content-centered h1 {
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-content-centered h1 span {
  display: block;
  color: #b0a5d4;
}

.hero-content-centered p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-email-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.hero-email-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.3s ease;
}

.hero-email-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero-email-form input:focus {
  outline: none;
  border-color: #907ad6;
}

.hero-email-form .btn {
  white-space: nowrap;
}

/* ===== SECTION 02: TRUST BAR ===== */
.trust-bar {
  padding: 4rem 0;
  background: linear-gradient(135deg, #CEE9FC, #C0F1D6);
}

.trust-bar p {
  text-align: center;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 2rem;
}

.logo-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.logo-slider .logo-item {
  width: 120px;
  height: 40px;
  background: #999;
  border-radius: 4px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.3s ease;
}

.logo-slider .logo-item:hover {
  opacity: 0.8;
}

/* ===== SECTION 03: MAIN SECTION ===== */
.main-section {
  padding: 5rem 0;
  background: #ffffff;
}

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

.main-section .image-side {
  order: -1;
}

.main-section .image-side img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.main-section .placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #fceace, #c7c0f1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #564592;
  font-weight: 500;
}

.main-section .content-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.content-block h3 {
  font-size: 1.1rem;
  color: #2c2a4a;
  margin-bottom: 0.5rem;
}

.content-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
}

/* ===== SECTION 04: FEATURES ===== */
.features {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fceace, #c7c0f1);
}

.features h2 {
  text-align: center;
  margin-bottom: 4rem;
  color: #2c2a4a;
}

.features > .container > p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(86, 69, 146, 0.15);
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #CEE9FC, #C0F1D6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: #2c2a4a;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ===== SECTION 04B: FEATURES ALT - Accordion ===== */
.features-alt {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fceace, #c7c0f1);
  position: relative;
}

.option-label-dark {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: rgba(44, 42, 74, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2c2a4a;
}

.features-alt h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c2a4a;
}

.features-alt-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.features-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, #564592, #907ad6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.accordion-item:hover::before {
  opacity: 0.6;
}

.accordion-item.active::before {
  opacity: 1;
}

.accordion-item.active {
  box-shadow: 0 4px 20px rgba(86, 69, 146, 0.15);
}

.accordion-header {
  width: 100%;
  padding: 1rem 1.25rem;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #f9f9f9;
}

.accordion-title {
  flex: 1;
  text-align: left;
  font-weight: 500;
  color: #2c2a4a;
  font-size: 1rem;
}

.accordion-toggle {
  font-size: 0.75rem;
  color: #564592;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.accordion-content p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
}

.features-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50px;
  padding: 2rem;
}

.features-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===== SECTION 05: PROCESS ===== */
.process {
  padding: 6rem 0;
  background: #ffffff;
}

.process h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c2a4a;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-steps-4 {
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  text-align: center;
}

.step-icon {
  width: 200px;
  height: 200;
  margin: 0 auto 1.5rem;
}

.step-icon .placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #CEE9FC, #C0F1D6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #564592;
  font-size: 0.75rem;
  font-weight: 500;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-step h3 {
  margin-bottom: 0.75rem;
  color: #2c2a4a;
}

.process-step p {
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== SECTION 06: FAQ ===== */
.faq {
  padding: 6rem 0;
  background: linear-gradient(135deg, #CEE9FC, #C0F1D6);
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c2a4a;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: white;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  color: #2c2a4a;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question .icon {
  font-size: 1.5rem;
  color: #564592;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
}

/* ===== SECTION 07: FOOTER / CTA ===== */
.footer-cta {
  padding: 6rem 0;
  background: #2c2a4a;
  color: white;
}

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

.footer-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.trust-elements {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-elements span {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #907ad6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

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

.contact-form .btn {
  width: 100%;
  background: #564592;
  margin-top: 0.5rem;
}

.contact-form .btn:hover {
  background: #907ad6;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  background: #1a1a2e;
  padding: 2rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-bottom .logo {
  color: white;
  margin-bottom: 1rem;
  display: inline-block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero .container,
  .main-section .container,
  .footer-cta .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .main-section .image-side {
    order: 0;
  }

  .main-section .placeholder {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    justify-content: center;
  }

  .the-gap .image-side {
    order: 0;
  }

  .the-gap .placeholder,
  .the-gap .image-side img {
    margin: 0 auto;
  }

  .gap-icons {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .features-image {
    order: -1;
  }

  .features-image img {
    max-width: 500px;
    margin: 0 auto;
    display: block;
  }

  .process-steps,
  .process-steps-4 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-steps::before {
    display: none;
  }

  .trust-elements {
    justify-content: center;
  }

  .contact-form {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Mobile Menu */
  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  nav li {
    text-align: center;
  }

  nav a {
    display: block;
    padding: 1rem 2rem;
  }

  nav a:hover {
    background: #f5f5f5;
  }

  .logo-slider {
    gap: 2rem;
  }

  .logo-slider .logo-item {
    width: 80px;
    height: 30px;
  }

  /* Features image */
  .features-image {
    padding: 1.5rem;
    border-radius: 30px;
  }

  /* Process icons */
  .step-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  /* Sections */
  .hero,
  .main-section,
  .features,
  .features-alt,
  .process,
  .faq,
  .footer-cta {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 120px;
  }

  /* Hero */
  .hero-content-centered h1 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .hero-content-centered h1 span {
    font-size: 1.5rem;
  }

  .hero-content-centered p {
    font-size: 1rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
  }

  /* Container padding */
  .container {
    padding: 0 1.25rem;
  }

  /* Buttons */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Feature cards */
  .feature-grid {
    max-width: 100%;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-card h3 {
    height: auto;
    font-size: 1.1rem;
  }

  /* Process */
  .step-icon {
    width: 100px;
    height: 100px;
  }

  .process-step p {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  /* Prevent overflow */
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Accordion */
  .accordion-item {
    max-width: 100%;
  }

  .accordion-header {
    padding: 1rem;
  }

  .accordion-title {
    font-size: 0.95rem;
    word-wrap: break-word;
  }

  .accordion-content p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  /* Features alt section */
  .features-alt-content {
    gap: 2rem;
  }

  .features-accordion {
    width: 100%;
  }

  .features-image {
    padding: 1rem;
    border-radius: 20px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .features-image img {
    max-width: 100%;
  }

  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 1rem 1rem;
  }

  /* Footer CTA */
  .footer-cta h2 {
    font-size: 1.5rem;
  }

  .footer-cta .container {
    text-align: left;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-group label {
    text-align: left;
  }

  .trust-elements {
    flex-direction: column;
    gap: 1rem;
  }

  .trust-elements span {
    font-size: 0.8rem;
  }

  /* Content blocks */
  .content-block h3 {
    font-size: 1rem;
  }

  .content-block p {
    font-size: 0.95rem;
  }
}
