@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700&display=swap");

.home-page {
  --primary: #001845;
  --secondary: #023e7d;
  --accent: #7b2cbf;
  --bg: #ffffff;
  --text: #102033;
  --muted: #65758a;
  --line: rgba(2, 62, 125, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --blue-soft: rgba(2, 62, 125, 0.07);
  --blue-panel: rgba(0, 24, 69, 0.045);
  --shadow: 0 24px 70px rgba(0, 24, 69, 0.11);
  --shadow-soft: 0 14px 38px rgba(0, 24, 69, 0.08);
  --radius: 8px;
  --font: "Inter", "Montserrat", Arial, sans-serif;
  --font-secondary: "Montserrat", "Inter", Arial, sans-serif;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 6%, rgba(2, 62, 125, 0.08), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(0, 24, 69, 0.08), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 52%);
  font-family: var(--font);
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.home-page a {
  color: inherit;
}

.home-page main {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 6%, rgba(2, 62, 125, 0.08), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(0, 24, 69, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 44%, #ffffff 100%);
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 18px !important;
  border-bottom: 1px solid var(--line);
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(0, 24, 69, 0.08) !important;
}

.home-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(0, 24, 69, 0.08) !important;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  height: 48px;
  min-width: max-content;
}

.brand-mark img {
  width: auto;
  max-width: 176px;
  max-height: 38px;
  height: auto;
  object-fit: contain;
}

.home-header .head_txt {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  width: 100%;
}

.home-header .head_txt h3 {
  margin: 0;
  padding: 10px 10px !important;
  color: #314760 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.home-header .head_txt h3:hover {
  color: var(--primary) !important;
}

.home-header .nav-cta h3 {
  color: #ffffff !important;
  background: var(--accent);
  border-radius: var(--radius);
}

.mobile_home {
  display: none !important;
}

.mobile_home span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px 0;
  background: var(--primary);
}

.hero-section {
  position: relative;
  padding: 48px 6vw 18px;
  background: linear-gradient(
    180deg,
    #000000 0,
    #001845 80px,
    #002855 220px,
    #023e7d 380px,
    #0353a4 520px,
    #0466c8 620px,
    #ffffff 700px,
    #ffffff 100%
  );
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  max-width: 1260px;
  margin: 0 auto;
  text-align: center;
}

.hero-section .section-label,
.hero-section .hero-copy h1 {
  color: #ffffff;
}

.hero-section .hero-subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.hero-section .btn {
  background: #ffffff;
  color: var(--primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.hero-section .btn:hover {
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2);
}

.section-label {
  margin: 0 0 13px;
  color: var(--secondary);
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.why-copy h2,
.franchise-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--primary);
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
}

.hero-subtitle {
  max-width: 750px;
  margin: 24px auto 0;
  color: #465a72;
  font-family: var(--font-secondary);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  overflow: hidden;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.btn-primary {
  color: #ffffff !important;
  background: var(--accent);
  box-shadow: 0 16px 32px rgba(123, 44, 191, 0.24);
}

.btn-secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(123, 44, 191, 0.28);
}

.hero-image-wrap {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  animation: hero-float 5.4s ease-in-out infinite;
}

.trust-strip,
.why-section,
.content-section,
.franchise-section,
.final-cta {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.trust-strip span {
  padding: 10px 14px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    var(--blue-panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 46px;
  align-items: center;
  padding-top: 38px;
}

.why-copy h2,
.section-heading h2,
.franchise-copy h2,
.final-cta h2 {
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.12;
}

.why-copy p,
.section-heading p,
.franchise-copy p,
.final-cta p {
  color: var(--muted);
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.76;
}

.why-copy p {
  margin: 18px 0 28px;
}

.sharing-visual {
  padding: 20px;
  overflow: hidden;
}

.sharing-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.content-section {
  padding-top: 92px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p {
  margin: 16px 0 0;
}

.feature-grid,
.steps-grid,
.franchise-benefits,
.metric-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

.feature-grid article,
.testimonial-grid article {
  padding: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-grid article:hover,
.steps-grid article:hover,
.franchise-benefits article:hover,
.testimonial-grid article:hover,
.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-grid i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--secondary);
  border-radius: var(--radius);
  background: rgba(2, 62, 125, 0.09);
  font-size: 19px;
}

.feature-grid h3,
.steps-grid h3,
.franchise-benefits h3,
.testimonial-grid strong {
  color: var(--primary);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.feature-grid p,
.steps-grid p,
.testimonial-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.steps-grid::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: var(--line);
}

.steps-grid article {
  position: relative;
  padding: 28px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.steps-grid span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--primary);
  font-size: 22px;
  font-weight: 900;
}

.steps-grid h3 {
  margin: 22px 0 10px;
  font-size: 20px;
}

.franchise-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 38px;
  align-items: center;
  margin-top: 94px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)),
    linear-gradient(135deg, rgba(0, 24, 69, 0.08), rgba(2, 62, 125, 0.08));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.franchise-copy p {
  margin: 18px 0 28px;
}

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

.franchise-benefits article {
  padding: 22px;
  min-height: 112px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.franchise-benefits h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--primary);
}

.dashboard-sidebar strong {
  color: #ffffff;
  font-size: 18px;
}

.dashboard-sidebar span {
  padding: 11px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  font-weight: 800;
}

.dashboard-content {
  padding: 26px;
}

.dashboard-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-title h3 {
  margin: 0;
  color: var(--primary);
  font-size: 25px;
  font-weight: 900;
}

.dashboard-title p {
  margin: 0;
  color: var(--secondary);
  font-weight: 900;
}

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

.metric-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.metric-card strong {
  display: block;
  margin-top: 9px;
  color: var(--primary);
  font-size: 28px;
  font-weight: 900;
}

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

.testimonial-grid strong {
  display: block;
  margin-top: 18px;
}

.faq-section {
  padding-bottom: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 19px 20px;
  color: var(--primary);
  background: transparent;
  border: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-item button i {
  color: var(--secondary);
  transition: transform 0.24s ease;
}

.faq-item.is-open button i {
  transform: rotate(180deg);
}

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

.faq-answer p {
  margin: 0;
  padding: 0 20px 19px;
  color: var(--muted);
  line-height: 1.72;
}

.final-cta {
  margin-top: 84px;
  margin-bottom: 84px;
  padding: 46px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)),
    linear-gradient(135deg, rgba(0, 24, 69, 0.08), rgba(2, 62, 125, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.final-cta p {
  max-width: 680px;
  margin: 16px auto 0;
}

.final-cta .hero-actions {
  justify-content: center;
}

.home-footer {
  padding: 58px 6vw 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--primary) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 34px;
  max-width: 1220px;
  margin: 0 auto;
}

.home-footer img {
  width: 156px;
  height: auto;
  margin-bottom: 16px;
}

.home-footer .footer-brand img {
  filter: brightness(0) invert(1);
}

.home-footer h3 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 17px;
}

.home-footer p {
  margin: 0;
  max-width: 360px;
  line-height: 1.72;
}

.home-footer a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.home-footer a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  max-width: 1220px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  max-width: none;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media screen and (max-width: 1080px) {
  .hero-inner,
  .why-section,
  .franchise-section {
    grid-template-columns: 1fr;
  }

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

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

@media screen and (max-width: 820px) {
  .home-header {
    display: block !important;
    min-height: auto;
    width: 100%;
    margin-top: 0;
    padding: 10px 14px !important;
    overflow: hidden;
  }

  .brand-mark img {
    width: auto;
    max-width: 152px;
    max-height: 34px;
  }

  .home-header .mobile_home {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 18px;
    width: 42px;
    height: 42px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
  }

  .home-header .head_txt {
    display: grid !important;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
  }

  .home-header .head_txt > * {
    overflow: hidden;
  }

  .home-header.add_height .head_txt {
    grid-template-rows: 1fr;
    padding-top: 8px;
  }

  .home-header .head_txt h3 {
    padding: 12px 0 !important;
  }

  .home-header .nav-cta h3 {
    padding: 12px !important;
    text-align: center;
  }

  .hero-section {
    padding: 54px 22px 44px;
  }

  .hero-inner {
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-actions,
  .final-cta .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .trust-strip,
  .why-section,
  .content-section,
  .franchise-section,
  .final-cta {
    width: calc(100% - 32px);
  }

  .why-section,
  .content-section {
    padding-top: 66px;
  }

  .feature-grid,
  .steps-grid,
  .franchise-benefits,
  .metric-grid,
  .testimonial-grid,
  .dashboard-preview,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .franchise-section,
  .final-cta {
    margin-top: 66px;
    padding: 26px 18px;
  }

  .dashboard-title {
    display: grid;
  }

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

  .dashboard-sidebar strong {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 480px) {
  .section-heading h2,
  .why-copy h2,
  .franchise-copy h2,
  .final-cta h2 {
    font-size: 31px;
  }

  .hero-image-wrap {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}
