/* ==========================================================================
   Alari — PT Alari Digital Solusindo
   Stylesheet v1.0.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette — Deep Tech */
  --color-navy:        #0A1F3D;
  --color-navy-2:      #0F2A52;
  --color-electric:    #1F4FD9;
  --color-electric-2:  #1842BC;
  --color-sky:         #7DD3FC;
  --color-sky-soft:    #BAE6FD;
  --color-cloud:       #F4F6FB;
  --color-cloud-2:     #E7ECF5;
  --color-steel:       #475569;
  --color-steel-2:     #64748B;
  --color-line:        #E2E8F0;
  --color-white:       #FFFFFF;

  /* Typography */
  --font-display: 'Instrument Sans', sans-serif;
  --font-body:    'Inclusive Sans', system-ui, sans-serif;
  --font-ui:      'Rethink Sans', sans-serif;

  /* Spacing scale */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 96px;

  /* Layout */
  --max-w: 1240px;
  --nav-h: 70px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  14px;
  --r-xl:  16px;
  --r-pill: 999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-navy);
  background: var(--color-cloud);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
}

.section {
  padding: var(--sp-4xl) var(--sp-xl);
}

.section--cloud { background: var(--color-cloud); }
.section--white { background: var(--color-white); }
.section--navy  { background: var(--color-navy); }

.sec-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-2xl);
  align-items: end;
  margin-bottom: var(--sp-3xl);
}

.sec-head__label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-electric);
  margin-bottom: 12px;
}

.sec-head__title {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 700;
}

.sec-head__desc {
  font-size: 16px;
  color: var(--color-steel);
  max-width: 460px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   5. SCROLL REVEAL ANIMATION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.65s var(--ease-spring),
    transform 0.65s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }
.reveal--d5 { transition-delay: 0.40s; }
.reveal--d6 { transition-delay: 0.48s; }

/* --------------------------------------------------------------------------
   6. NAVIGATION
   -------------------------------------------------------------------------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow 0.25s ease;
}

.nav-wrap.is-scrolled {
  box-shadow: 0 2px 24px rgba(10, 31, 61, 0.09);
}

.nav {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--sp-xl);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo img {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.15s;
}

.nav__logo:hover img { opacity: 0.8; }

/* Links */
.nav__links {
  display: flex;
  gap: var(--sp-xl);
  margin-left: var(--sp-lg);
  list-style: none;
}

.nav__links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-steel);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-electric);
  border-radius: 2px;
  transition: width 0.22s var(--ease-spring);
}

.nav__links a:hover { color: var(--color-navy); }
.nav__links a:hover::after { width: 100%; }

/* CTA group */
.nav__cta {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-xs);
  margin-left: auto;
  background: none;
  border: none;
  outline: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-spring);
}

.mobile-menu.is-open { max-height: 400px; }

.mobile-menu a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  padding: 14px var(--sp-xl);
  text-decoration: none;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-line);
  transition: background 0.15s;
}

.mobile-menu a:hover { background: var(--color-cloud); }
.mobile-menu a.nav-cta-mobile { color: var(--color-electric); font-weight: 700; }

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.12s ease,
    background 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}

.btn--primary {
  background: var(--color-electric);
  color: var(--color-white);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 1px 3px rgba(10, 31, 61, 0.14);
}
.btn--primary:hover {
  background: var(--color-electric-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(31, 79, 217, 0.32);
}
.btn--primary:active { transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-line);
}
.btn--ghost:hover {
  border-color: var(--color-navy);
  background: var(--color-cloud);
}

.btn--dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn--dark:hover {
  background: var(--color-navy-2);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 10px;
}

.btn--full { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  background: var(--color-white);
  padding: 80px var(--sp-xl) 64px;
  border-bottom: 1px solid var(--color-line);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.16), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(31, 79, 217, 0.06), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-electric);
  background: rgba(31, 79, 217, 0.07);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}

.eyebrow__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-electric);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(31, 79, 217, 0.4); }
  70%  { box-shadow: 0 0 0 6px rgba(31, 79, 217, 0); }
  100% { box-shadow: 0 0 0 0   rgba(31, 79, 217, 0); }
}

.hero__title {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.06;
}

.hero__title .accent {
  color: var(--color-electric);
  position: relative;
  white-space: nowrap;
}

.hero__title .accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-electric), var(--color-sky));
  border-radius: 2px;
  opacity: 0.5;
}

.hero__sub {
  font-size: 17px;
  color: var(--color-steel);
  max-width: 520px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-mini {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-steel);
}

.trust-mini .check {
  color: var(--color-electric);
  font-weight: 700;
  margin-right: 3px;
}

/* Hero visual / browser mockup */
.hero__visual { position: relative; }

.browser-mock {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  box-shadow:
    0 28px 70px -20px rgba(10, 31, 61, 0.22),
    0 6px 18px  -4px rgba(10, 31, 61, 0.08);
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(-1.5deg) translateY(0px); }
  50%       { transform: rotate(-1.5deg) translateY(-8px); }
}

.browser-bar {
  background: var(--color-cloud);
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-bar__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-bar__dot--red   { background: #FC6058; }
.browser-bar__dot--yellow { background: #FEC02F; }
.browser-bar__dot--green  { background: #2ACA42; }

.browser-bar__url {
  margin-left: var(--sp-sm);
  flex: 1;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--color-steel-2);
}

.browser-body {
  padding: 18px;
  background: linear-gradient(180deg, var(--color-white), var(--color-cloud));
  height: 340px;
  position: relative;
}

/* Mock UI pieces */
.mock-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-sm);
  padding: 12px;
}

.mock-h { height: 8px; background: var(--color-navy); border-radius: 4px; }
.mock-l { height: 5px; background: var(--color-cloud-2); border-radius: 3px; }

.mock-btn {
  display: inline-block;
  padding: 6px 12px;
  background: var(--color-electric);
  color: white;
  border-radius: 5px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.mock-mini-card {
  height: 80px;
  border-radius: var(--r-sm);
  border: 1px solid var(--color-line);
  background: var(--color-white);
  padding: 10px;
}

.mock-mini-card--dark { background: var(--color-navy); }

/* Floating stats */
.floating-stat {
  position: absolute;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: 0 14px 32px -10px rgba(10, 31, 61, 0.18);
  font-family: var(--font-ui);
}

.floating-stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-electric);
  font-size: 24px;
  line-height: 1;
}

.floating-stat__lbl {
  font-size: 11px;
  color: var(--color-steel);
  margin-top: 4px;
}

.floating-stat--1 {
  top: -18px;
  left: -28px;
  animation: float-s1 4.5s ease-in-out infinite;
}

.floating-stat--2 {
  bottom: -18px;
  right: -12px;
  animation: float-s2 5.5s ease-in-out infinite;
}

@keyframes float-s1 {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%       { transform: rotate(-3deg) translateY(-6px); }
}

@keyframes float-s2 {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%       { transform: rotate(2deg) translateY(-5px); }
}

/* --------------------------------------------------------------------------
   9. STATS BAR
   -------------------------------------------------------------------------- */
.stats {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 40px var(--sp-xl);
}

.stats__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.stat-item {
  text-align: center;
  padding: 0 var(--sp-md);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child { border-right: none; }

.stat-item__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-white) 30%, var(--color-sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item__lbl {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-sky-soft);
  margin-top: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   10. SHOWCASE / PORTFOLIO
   -------------------------------------------------------------------------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform  0.22s var(--ease-spring),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px -16px rgba(10, 31, 61, 0.2);
  border-color: var(--color-cloud-2);
}

.case-card__thumb {
  aspect-ratio: 4 / 3;
  background: var(--color-cloud);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
}

/* Case thumb gradients */
.case-card--1 .case-card__thumb { background: linear-gradient(135deg, #DBEAFE, #93C5FD); }
.case-card--2 .case-card__thumb { background: linear-gradient(135deg, #FEF3C7, #FCD34D); }
.case-card--3 .case-card__thumb { background: linear-gradient(135deg, #DCFCE7, #86EFAC); }
.case-card--4 .case-card__thumb { background: linear-gradient(135deg, #FCE7F3, #F9A8D4); }
.case-card--5 .case-card__thumb { background: linear-gradient(135deg, var(--color-navy), var(--color-electric)); }
.case-card--6 .case-card__thumb { background: linear-gradient(135deg, #E0E7FF, #A5B4FC); }

.case-card__device {
  position: absolute;
  inset: 18% 14% 0 14%;
  background: var(--color-white);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  border: 1px solid rgba(10, 31, 61, 0.1);
  box-shadow: 0 10px 28px -8px rgba(10, 31, 61, 0.2);
  overflow: hidden;
  padding: 10px;
  transition: transform 0.3s var(--ease-spring);
}

.case-card:hover .case-card__device { transform: translateY(-4px) scale(1.01); }

.case-card__device .l { height: 4px; background: var(--color-cloud-2); border-radius: 2px; margin-bottom: 6px; }
.case-card__device .l.dark { background: var(--color-navy); height: 6px; width: 60%; }
.case-card__device .l.short { width: 40%; }
.case-card__device .l.mid   { width: 70%; }

.case-card__device .d-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 8px;
}

.case-card__device .d-grid > div { height: 18px; background: var(--color-cloud); border-radius: 3px; }

.case-card__meta { padding: 18px 18px 22px; }

.case-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }

.tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-electric);
  background: rgba(31, 79, 217, 0.08);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}

.case-card__title { font-size: 20px; margin-bottom: 6px; font-weight: 600; }

.case-card__result {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-steel);
}

.case-card__result strong { color: var(--color-electric); font-weight: 700; }

/* --------------------------------------------------------------------------
   11. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testi-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -12px rgba(10, 31, 61, 0.14);
}

.testi-card__quote {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.55;
  color: var(--color-electric);
  margin-bottom: 14px;
  margin-top: 8px;
  opacity: 0.6;
}

.testi-card__body {
  font-size: 15px;
  color: var(--color-navy);
  flex: 1;
  margin-bottom: 22px;
  line-height: 1.65;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-line);
  padding-top: var(--sp-md);
}

.testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-electric), var(--color-sky));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testi-card__name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-navy);
}

.testi-card__role {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--color-steel);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   12. PRICING / PACKAGES
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pkg-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
  padding: 30px;
  transition:
    border-color 0.2s,
    transform  0.22s var(--ease-spring),
    box-shadow 0.2s;
  position: relative;
}

.pkg-card:hover {
  border-color: var(--color-electric);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(31, 79, 217, 0.18);
}

.pkg-card--featured {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  box-shadow: 0 8px 40px -10px rgba(10, 31, 61, 0.35);
}

.pkg-card--featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px -12px rgba(10, 31, 61, 0.4);
}

.pkg-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--color-sky);
  color: var(--color-navy);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pkg-card__tier {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-electric);
  margin-bottom: 10px;
}

.pkg-card--featured .pkg-card__tier { color: var(--color-sky); }

.pkg-card__name { font-size: 26px; margin-bottom: 6px; }
.pkg-card--featured .pkg-card__name { color: var(--color-white); }

.pkg-card__desc {
  font-size: 14px;
  color: var(--color-steel);
  margin-bottom: 20px;
  min-height: 42px;
  line-height: 1.55;
}

.pkg-card--featured .pkg-card__desc { color: var(--color-sky-soft); }

.pkg-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 4px;
  color: var(--color-navy);
}

.pkg-card--featured .pkg-card__price { color: var(--color-white); }

.pkg-card__price .from {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13px;
  color: var(--color-steel);
  margin-right: 4px;
}

.pkg-card--featured .pkg-card__price .from { color: var(--color-sky-soft); }

.pkg-card__delivery {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-steel);
  margin-bottom: 22px;
}

.pkg-card--featured .pkg-card__delivery { color: var(--color-sky-soft); }

.pkg-card__features {
  list-style: none;
  margin-bottom: 26px;
}

.pkg-card__features li {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-steel);
  padding: 9px 0 9px 26px;
  position: relative;
  border-top: 1px solid var(--color-line);
}

.pkg-card--featured .pkg-card__features li { border-top-color: rgba(255, 255, 255, 0.08); }
.pkg-card__features li:first-child { border-top: none; padding-top: 0; }
.pkg-card--featured .pkg-card__features li { color: var(--color-sky-soft); }

.pkg-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--color-electric);
  font-weight: 700;
}

.pkg-card__features li:first-child::before { top: 0; }
.pkg-card--featured .pkg-card__features li::before { color: var(--color-sky); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; }

.faq-item { border-bottom: 1px solid var(--color-line); }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-navy);
  gap: var(--sp-md);
  transition: color 0.15s;
  user-select: none;
}

.faq-item__q:hover { color: var(--color-electric); }

.faq-item__ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-cloud);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--color-navy);
  transition:
    transform  0.25s var(--ease-spring),
    background 0.2s,
    color      0.2s;
}

.faq-item.is-open .faq-item__ico {
  transform: rotate(45deg);
  background: var(--color-electric);
  color: var(--color-white);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s var(--ease-spring),
    padding    0.2s;
  color: var(--color-steel);
  font-size: 15px;
  line-height: 1.68;
}

.faq-item.is-open .faq-item__a { max-height: 320px; padding-bottom: 22px; }

/* --------------------------------------------------------------------------
   14. TRUST BAR
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--color-white);
  padding: 32px var(--sp-xl);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.trust-bar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-steel);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-bar__item svg { color: var(--color-electric); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   15. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(125, 211, 252, 0.1), transparent 58%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31, 79, 217, 0.2), transparent 65%);
  pointer-events: none;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section__title {
  color: var(--color-white);
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
  font-weight: 700;
}

.cta-section__sub {
  color: var(--color-sky-soft);
  font-size: 17px;
  margin-bottom: 34px;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.6;
}

.cta-section .btn--primary {
  background: var(--color-sky);
  color: var(--color-navy);
}
.cta-section .btn--primary:hover {
  background: #5BC0F0;
  box-shadow: 0 6px 20px rgba(125, 211, 252, 0.4);
}

.cta-section .btn--ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}
.cta-section .btn--ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-navy);
  color: var(--color-sky-soft);
  padding: 60px var(--sp-xl) var(--sp-xl);
  font-family: var(--font-ui);
}

.footer__grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__logo {
  display: block;
  margin-bottom: var(--sp-md);
  /* Invert dark logo to white for dark background */
  filter: brightness(0) invert(1);
  height: 30px;
  width: auto;
}

.footer__desc {
  max-width: 320px;
  font-size: 14px;
  color: var(--color-sky-soft);
  line-height: 1.65;
}

.footer__pt {
  margin-top: 14px;
  color: rgba(186, 230, 253, 0.45);
  font-size: 12px;
}

.footer__col h4 {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__col a {
  color: var(--color-sky-soft);
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  line-height: 1.6;
  transition: color 0.15s;
}

.footer__col a:hover { color: var(--color-white); }

.footer__bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(186, 230, 253, 0.5);
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Tablet: ≤ 960px */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 52px 20px 40px; }
  .floating-stat { display: none; }

  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid   { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
}

/* Mobile: ≤ 720px */
@media (max-width: 720px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.08); border-right: none; }

  .sec-head { grid-template-columns: 1fr; gap: var(--sp-md); }
  .section  { padding: 64px 20px; }

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

  .trust-bar__inner { gap: var(--sp-xl); }

  .footer__grid  { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--sp-sm); text-align: center; }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .hero__actions  { flex-direction: column; }
  .cta-actions    { flex-direction: column; align-items: center; }
  .btn--lg        { width: 100%; justify-content: center; }
}
