/* =========================================================
   BASE / RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
}

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

body {
  width: 100%;
  min-width: 320px;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  list-style: none;
}

.container,
.nav-container {
  width: min(100% - 32px, 1100px);
  margin-inline: auto;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
  width: 100%;
  min-height: 70px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}

.logo-icon {
  width: clamp(72px, 8vw, 100px);
  height: clamp(30px, 3.5vw, 40px);
  background: url("/LogoSmall.svg") center / contain no-repeat;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  color: #1e1b4b;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  font-style: italic;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 28px);
  min-width: 0;
  flex: 1 1 auto;
}

.nav-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #111827;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  flex: 0 0 auto;
}

.btn-link {
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-primary {
  text-decoration: none;
  background: linear-gradient(130deg, #7a28ce 20%, #d02881, #f46725 90%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.07);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  height: 320px;
  background: url('/img/section-heroBanner1.jpg') center/cover no-repeat;
  min-height: clamp(260px, 32vw, 380px);
  padding: clamp(48px, 7vw, 80px) 16px;
  background:
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80")
    center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
}

.breadcrumbs {
  margin-bottom: 12px;
  color: #d1d5db;
  font-size: 12px;
}

.hero h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero p {
  color: #e5e7eb;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.6;
}


/* =========================================================
   PRICING
   ========================================================= */

.pricing-section {
  padding-block: clamp(50px, 8vw, 100px);
  background: #fcfcfd;
}

.pricing-grid {
  display: grid;

  /* Automatically changes from 3 columns to fewer columns
     when there isn't enough room. */
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 280px), 1fr)
  );

  gap: clamp(16px, 2.5vw, 30px);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px) clamp(18px, 2.5vw, 28px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid #7c3aed;
    box-shadow: 0 8px 24px 9px rgb(124 58 237 / 14%);
    transform: scale(1.08);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg, #7a28ce 20%, #ea580c);
  color: white;
  font-size: 10px;
  font-weight: 800;
  right: clamp(12px, 2vw, 24px);

  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;

  padding: 4px 10px;
  border-radius: 12px;
  background: linear-gradient(90deg, #7c3aed, #ea580c);
  color: #fff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-tag {
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.plan-title {
  margin-bottom: 16px;
  color: #111827;
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.plan-price {
  margin-bottom: 24px;
  color: #111827;
  font-size: clamp(25px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.2;
}

.plan-price span {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.plan-features {
  flex: 1;
  margin-bottom: 30px;
}

.plan-features li {
  margin-bottom: 12px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.btn-plan {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border-radius: 8px;
  background: #6d28d9;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.btn-plan:hover {
  background: #5b21b6;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
  padding-block: clamp(50px, 8vw, 100px);
  background: #fff;
}

.section-title {
  margin-bottom: clamp(30px, 5vw, 48px);
  color: #111827;
  text-align: center;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.25;
}

.faq-list {
  width: min(100%, 720px);
  margin-inline: auto;

  display: flex;
  flex-direction: column;
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
  padding: clamp(16px, 2.5vw, 20px) 0;

  border-bottom: 1px solid #e5e7eb;

  color: #111827;
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 700;
  line-height: 1.4;

  cursor: pointer;
}

.faq-item > *:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.arrow-right {
    display: block;
    width: 18px;
    height: 18px;
    background: url(/IconsSVG/arrow-right-dark.svg) center/contain no-repeat;
    background-size: contain;
    background-repeat: no-repeat;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  height: 320px;
  background: url('/img/Section-CTA-Banner.png') center/cover no-repeat;
}

.faq-icon {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 12px;
}


/* =========================================================
   CTA BANNER
   ========================================================= */

.cta-banner {
  min-height: clamp(280px, 30vw, 360px);
  padding: clamp(50px, 7vw, 80px) 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: #0008;
}

.cta-content {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
}

.cta-content h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.cta-content p {
  margin-bottom: 28px;
  color: #d1d5db;
  font-size: clamp(13px, 1.5vw, 14px);
  line-height: 1.6;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-cta-primary,
.btn-cta-secondary {
  min-width: 140px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 8px;

  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

.btn-cta-primary {
  background: #fff;
  color: #111827;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s ease-in-out;
}

.btn-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease-in-out;
}

.scales:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: clamp(45px, 6vw, 60px) 0 20px;
  background: #ff6b00;
  color: #fff;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    minmax(220px, 2fr)
    repeat(3, minmax(120px, 1fr));

  gap: clamp(24px, 4vw, 55px);

  margin-bottom: clamp(35px, 5vw, 60px);
}

.footer-brand {
  min-width: 0;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 16px;

  color: #fff0e6;
  font-size: 13px;
  line-height: 1.6;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-column {
  min-width: 0;
}

.footer-column h5 {
  margin-bottom: 16px;
  color: #fff0e6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.footer-column a.active {
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff0e6;
  font-size: 11px;
}


/* =========================================================
   TABLETS / SMALL LAPTOPS
   ========================================================= */

@media (max-width: 1024px) {

  .container,
  .nav-container {
    width: min(100% - 40px, 1100px);
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav-actions {
    gap: 10px;
  }

  .btn-primary {
    padding-inline: 14px;
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .footer-brand p {
    max-width: 600px;
  }
}


/* =========================================================
   MOBILE / TABLETS
   ========================================================= */

@media (max-width: 768px) {

  .container,
  .nav-container {
    width: min(100% - 32px, 1100px);
  }

  .navbar,
  .nav-container {
    min-height: 64px;
  }

  /*
    Keep the main navbar on one row.
    Navigation links move to their own horizontal row.
  */

  .nav-container {
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;

    justify-content: flex-start;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 4px 0 8px;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .nav-actions {
    margin-left: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .faq-list {
    width: 100%;
  }

  .cta-btns {
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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


/* =========================================================
   PHONES
   ========================================================= */

@media (max-width: 480px) {

  .container,
  .nav-container {
    width: min(100% - 24px, 1100px);
  }

  .navbar,
  .nav-container {
    min-height: 60px;
  }

  .nav-container {
    gap: 8px;
  }

  .logo-icon {
    width: 76px;
    height: 31px;
  }

  .logo-text {
    font-size: 17px;
  }

  .btn-link {
    font-size: 12px;
  }

  .btn-primary {
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 7px;
    font-size: 12px;
  }

  .hero {
    min-height: 260px;
    padding: 50px 12px;
  }

  .breadcrumbs {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(27px, 8vw, 32px);
  }

  .hero p {
    font-size: 13px;
  }

  .pricing-card {
    padding: 25px 19px;
  }

  .popular-badge {
    right: 16px;
    font-size: 9px;
  }

  .plan-price {
    margin-bottom: 20px;
  }

  .plan-features li {
    font-size: 12px;
  }

  .section-title {
    font-size: 25px;
  }

  .faq-item {
    font-size: 14px;
  }

  .cta-banner {
    min-height: 280px;
    padding: 55px 12px;
  }

  .cta-content h2 {
    font-size: clamp(25px, 7.5vw, 30px);
  }

  .cta-content p {
    margin-bottom: 22px;
    font-size: 13px;
  }

  .cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

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

  .footer-brand p {
    max-width: 100%;
    font-size: 12px;
  }

  .footer-column h5 {
    font-size: 10px;
  }

  .footer-column a {
    font-size: 12px;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 359px) {

  .container,
  .nav-container {
    width: min(100% - 20px, 1100px);
  }

  .logo-text {
    display: none;
  }

  .logo-icon {
    width: 72px;
    height: 30px;
  }

  .btn-link {
    display: none;
  }

  .btn-primary {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .hero {
    min-height: 245px;
    padding: 42px 10px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 12px;
  }

  .pricing-section,
  .faq-section {
    padding-block: 45px;
  }

  .pricing-card {
    padding: 23px 16px;
  }

  .plan-title {
    font-size: 18px;
  }

  .plan-price {
    font-size: 25px;
  }

  .section-title {
    font-size: 23px;
  }

  .faq-item {
    font-size: 13px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

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

  .footer-brand {
    grid-column: 1;
  }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

  .btn-primary,
  .btn-plan,
  .btn-cta-primary,
  .btn-cta-secondary,
  .btn-link,
  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn-plan {
    display: flex;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   LANDSCAPE PHONES
   ========================================================= */

@media (max-height: 500px) and (orientation: landscape) {

  .hero {
    min-height: 300px;
    padding-block: 35px;
  }

  .cta-banner {
    min-height: 300px;
    padding-block: 40px;
  }
}


/* =========================================================
   LARGE / ULTRAWIDE SCREENS
   ========================================================= */

@media (min-width: 1440px) {

  .container,
  .nav-container {
    width: min(100% - 48px, 1280px);
  }

  .pricing-grid {
    gap: 30px;
  }

  .footer-grid {
    gap: 55px;
  }
}


/* =========================================================
   ACCESSIBILITY / FOCUS
   ========================================================= */

:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.45);
  outline-offset: 3px;
}


/* =========================================================
   SAFETY FOR LONG CONTENT
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
  overflow-wrap: break-word;
}

.pricing-card,
.footer-column,
.hero-content,
.cta-content {
  min-width: 0;
}
