:root {
  --navy: #071b3a;
  --navy-2: #0b2a59;
  --blue: #1057c8;
  --gold: #c9a24b;
  --gold-2: #f3d98b;
  --ink: #102033;
  --muted: #64748b;
  --line: rgba(7, 27, 58, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(7, 27, 58, 0.14);
  --soft-shadow: 0 16px 44px rgba(7, 27, 58, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #edf2f8;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(7, 27, 58, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
}

.brand-logo {
  display: block;
  width: 148px;
  height: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta,
.nav-cta {
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  padding: 82px 0;
  isolation: isolate;
  background: #06152c;
}

.hero-carousel {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-carousel 24s infinite;
}

.hero-slide-1 { animation-delay: 0s; }
.hero-slide-2 { animation-delay: 6s; }
.hero-slide-3 { animation-delay: 12s; }
.hero-slide-4 { animation-delay: 18s; }

@keyframes hero-carousel {
  0%, 21% { opacity: 1; transform: scale(1); }
  25%, 96% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(3, 16, 36, 0.98) 0%, rgba(4, 20, 47, 0.94) 38%, rgba(4, 20, 47, 0.45) 68%, rgba(4, 20, 47, 0.22) 100%),
    linear-gradient(125deg, transparent 25%, rgba(16, 87, 200, 0.25) 64%, transparent 65%),
    radial-gradient(circle at 25% 18%, rgba(201, 162, 75, 0.22), transparent 21rem);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 536px;
}

.hero-copy {
  max-width: 700px;
}

.hero .eyebrow {
  color: var(--gold-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.45rem, 8vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 14px;
  color: #1e3a5f;
  font-size: clamp(1.08rem, 3vw, 1.45rem);
  line-height: 1.45;
  font-weight: 700;
}

.hero .hero-subtitle {
  color: #e0eaf8;
}

.hero .hero-text {
  color: #bccbe0;
}

.hero-text,
.section-heading p,
.premium-card p,
.offer-card p,
.final-content p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 24px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 15px 20px;
  font-weight: 900;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 18px 34px rgba(16, 87, 200, 0.24);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 27, 58, 0.14);
}

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

.btn-primary:hover {
  box-shadow: 0 22px 42px rgba(16, 87, 200, 0.34);
}

.btn-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 36px rgba(201, 162, 75, 0.2);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #eaf2ff;
  background: rgba(7, 27, 58, 0.46);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-badges span::before,
.included-grid span::before {
  content: "✓";
  color: var(--gold);
  text-shadow: 0 0 12px rgba(201, 162, 75, 0.5);
}

.showcase-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: #fff;
  background: #101720;
}

.showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 26, 0.98) 0%, rgba(10, 16, 26, 0.89) 45%, rgba(10, 16, 26, 0.64) 100%),
    url("./assets/legacy-hero-professional.png") center right / cover no-repeat;
  opacity: 0.82;
}

.showcase-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(201, 162, 75, 0.09), transparent 45%);
  pointer-events: none;
}

.showcase-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  align-items: center;
}

.showcase-copy {
  max-width: 640px;
}

.showcase-copy .eyebrow {
  color: var(--gold-2);
}

.showcase-copy h2 {
  color: #fff;
}

.showcase-copy p {
  max-width: 540px;
  margin-bottom: 28px;
  color: #c4d3e8;
  line-height: 1.75;
}

.showcase-devices {
  position: relative;
  min-height: 390px;
  isolation: isolate;
}

.showcase-devices::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 18%;
  right: 2%;
  width: 74%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(243, 217, 139, 0.46) 0%, rgba(201, 162, 75, 0.18) 42%, transparent 72%);
  filter: blur(18px);
  transform: rotate(-8deg);
}

.desktop-mockup,
.mobile-mockup {
  position: absolute;
  z-index: 1;
  display: block;
  max-width: none;
  filter:
    drop-shadow(0 26px 32px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 22px rgba(243, 217, 139, 0.2));
}

.desktop-mockup {
  top: 4px;
  right: -2%;
  width: min(100%, 560px);
  animation: float-desktop 6s ease-in-out infinite;
}

.mobile-mockup {
  bottom: -4px;
  left: 1%;
  width: clamp(122px, 32%, 180px);
  animation: float-mobile 6.8s ease-in-out infinite;
}

@keyframes float-desktop {
  50% { transform: translateY(-10px); }
}

@keyframes float-mobile {
  50% { transform: translateY(9px); }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(7, 27, 58, 0.1);
  background: var(--navy);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee span::after {
  content: "•";
  color: var(--gold-2);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.needs-section,
.segments-section,
.process-section,
.included-section,
.offer-section,
.social-section {
  padding: 74px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.benefit-grid,
.segment-grid,
.included-grid {
  display: grid;
  gap: 16px;
}

.benefit-card,
.segment-card,
.testimonial-card,
.premium-card,
.offer-card {
  border: 1px solid rgba(7, 27, 58, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.benefit-card {
  overflow: hidden;
  padding: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.benefit-card:hover,
.segment-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 75, 0.4);
  box-shadow: var(--shadow);
}

.benefit-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.benefit-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 27, 58, 0.38));
}

.benefit-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-media img {
  transform: scale(1.06);
}

.benefit-content {
  padding: 20px 22px 22px;
}

.benefit-card p,
.testimonial-card p {
  color: var(--muted);
  line-height: 1.65;
}

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

.segment-card {
  min-height: 190px;
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.segment-card > span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.segment-card h3 {
  margin-bottom: 8px;
}

.segment-card p {
  color: var(--muted);
  line-height: 1.55;
}

.segment-card-featured {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.segment-card-featured > span,
.segment-card-featured p {
  color: #f3d98b;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--blue), var(--gold));
  background-size: 100% 200%;
  animation: flowLine 3.8s ease-in-out infinite;
}

@keyframes flowLine {
  50% {
    background-position: 0 100%;
  }
}

.timeline article {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 16px 16px 16px 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 32px rgba(7, 27, 58, 0.06);
}

.timeline span {
  position: absolute;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(16, 87, 200, 0.25);
}

.timeline h3 {
  margin: 0;
}

.premium-card {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 46px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(248, 251, 255, 0.72)),
    radial-gradient(circle at 90% 0%, rgba(201, 162, 75, 0.14), transparent 20rem);
}

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

.included-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid rgba(7, 27, 58, 0.08);
  border-radius: 8px;
  padding: 12px;
  color: #1e3a5f;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.offer-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.95), rgba(3, 13, 31, 0.96) 50%, rgba(8, 35, 76, 0.95)),
    #02050a;
}

.offer-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(130deg, transparent 30%, rgba(16, 87, 200, 0.28) 50%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

.offer-card {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(26px, 6vw, 56px);
  border-color: rgba(243, 217, 139, 0.38);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(13, 32, 62, 0.9), rgba(2, 7, 15, 0.94)),
    #06172f;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
  overflow: hidden;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(201, 162, 75, 0.2), transparent 42%, rgba(16, 87, 200, 0.14));
  pointer-events: none;
}

.offer-card > * {
  position: relative;
}

.offer-card h2,
.offer-card p {
  color: #f4f7fb;
}

.offer-badge {
  display: inline-flex;
  margin-bottom: 20px;
  border-radius: 8px;
  padding: 9px 13px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), #fff5d5);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.offer-card strong {
  display: block;
  margin: 4px 0 8px;
  color: var(--gold-2);
  font-size: clamp(3.8rem, 14vw, 7.6rem);
  line-height: 0.95;
  animation: valuePulse 2.4s ease-in-out infinite;
}

@keyframes valuePulse {
  50% {
    transform: scale(1.025);
    text-shadow: 0 0 28px rgba(201, 162, 75, 0.28);
  }
}

.offer-subtitle {
  color: var(--gold-2) !important;
  font-weight: 900;
}

.btn-large,
.btn-xl {
  width: 100%;
  margin-top: 16px;
}

.testimonial-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: testimonials 24s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: min(78vw, 390px);
  padding: 24px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: var(--navy);
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}

@keyframes testimonials {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.final-cta {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  padding: 86px 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(243, 217, 139, 0.28), transparent 20rem),
    linear-gradient(135deg, #071b3a 0%, #0e3f8f 100%);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: -25%;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    radial-gradient(circle, rgba(243, 217, 139, 0.28) 1px, transparent 1px);
  background-position: 0 0, 26px 36px;
  background-size: 64px 64px;
  animation: particles 18s linear infinite;
  opacity: 0.5;
}

@keyframes particles {
  to {
    transform: translate3d(54px, -42px, 0);
  }
}

.final-content {
  position: relative;
  text-align: center;
}

.final-content h2 {
  max-width: 850px;
  margin-inline: auto;
  color: #fff;
}

.final-content p {
  max-width: 640px;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

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

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

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .btn-large,
  .btn-xl {
    width: auto;
  }

  .benefit-grid,
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 820px) {
  .nav-links {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    align-items: center;
    min-height: 620px;
  }

  .showcase-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  }

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

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

  .timeline::before {
    left: 8%;
    right: 8%;
    top: 24px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--blue), var(--gold));
    background-size: 200% 100%;
  }

  .timeline article {
    display: block;
    min-height: 148px;
    padding: 72px 18px 18px;
  }

  .timeline span {
    top: 0;
    left: 18px;
  }

  .premium-card {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }
}

@media (min-width: 1060px) {
  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 430px) {
  .site-header {
    top: 8px;
    width: min(100% - 16px, 1180px);
  }

  .brand-logo {
    width: 116px;
  }

  .nav-cta {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  .showcase-devices {
    min-height: 318px;
  }

  .mobile-mockup {
    width: clamp(106px, 33%, 142px);
  }
}

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