:root {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --container: 1100px;

  --card: rgba(17, 30, 58, 0.78);
  --line: var(--border);
  --accent: #3b82f6;
  --accent2: #22c55e;
}

/* Reset / base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(80, 120, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(0, 255, 200, 0.12), transparent 55%),
    var(--bg);
}

section {
  padding: 72px 0;
}

@media (max-width: 720px) {
  section {
    padding: 54px 0;
  }

  .section--cta {
    padding: 54px 0;
  }
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Skip link */
.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}
.skip:focus {
  left: 12px;
  z-index: 999;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 54, 95, 0.45);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

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

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(34, 197, 94, 0.75));
  font-weight: 900;
  letter-spacing: 0.2px;
}

.brand__name {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.brand__tag {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
}

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

.navMobile {
  display: none;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(34, 54, 95, 0.9);
  box-shadow: none;
}

.btn--small {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

/* Sections */
/*.section {
}*/

.section__head {
  margin-bottom: 16px;
}

.section__head h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mt {
  margin-top: 16px;
}

/* Hero */
.hero {
  padding: 56px 0 10px;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.hero__copy {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
}

.hl {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(34, 197, 94, 0.85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 16px;
}

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

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(34, 54, 95, 0.9);
  color: var(--muted);
  font-size: 13px;
}

.hero__card {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
  overflow: hidden;
}

.mini__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini__title {
  margin: 8px 0 6px;
  font-weight: 900;
  font-size: 18px;
}

.mini__desc {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.8));
  pointer-events: none;
}

/* Grid */
.grid {
  display: grid;
  gap: 14px;
}

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

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

/* Cards */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 18px;
  overflow: hidden;
}

.panel,
.package-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card--featured {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 18px 48px rgba(59, 130, 246, 0.12);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  padding: 8px 12px;
  border-radius: 999px;

  /* glass */
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.72), rgba(10, 18, 34, 0.35));
  border: 1px solid rgba(59, 130, 246, 0.35);
  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;

  color: rgba(255, 255, 255, 0.92);

  overflow: hidden; /* for shine */
}

.badge::before {
  content: "★";
  font-size: 12px;
  line-height: 1;
  opacity: 0.9;
  filter: drop-shadow(0 6px 14px rgba(59, 130, 246, 0.25));
}

/* Package cards polish */
.grid--3 {
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Keep the top row consistent */
.card__top {
  position: relative;
  min-height: 54px;
}

/* Featured badge: top-center (doesn't push layout, stays off the PRO image) */
.card--featured .badge {
  left: 50%;
  top: 10px;
  right: auto;
  transform: translateX(-50%);
  z-index: 3;

  /* stop it feeling like a full-width bar */
  max-width: 70%;
  padding: 8px 14px;
}

/* Give the price a consistent width so headings align nicely */
.price {
  position: relative;
  z-index: 3;
  min-width: 140px;
}

/* Make package images consistent height */
.card__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: auto; /* aspect-ratio handles it */
}

/* Push list to take remaining space, button sits at bottom */
.card .list {
  flex: 1;
}

.card .btn--full {
  margin-top: 12px;
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.price {
  text-align: right;
}

.price__big {
  font-size: 22px;
  font-weight: 900;
}

.price__small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.card__img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 10px 0 12px;
  border: 1px solid var(--border);
}

@keyframes badgeShine2 {
  0% {
    transform: translateX(-140%) skewX(-20deg);
    opacity: 0;
  }
  12% {
    opacity: 0.55;
  }
  35% {
    opacity: 0.25;
  }
  55% {
    transform: translateX(140%) skewX(-20deg);
    opacity: 0;
  }
  100% {
    transform: translateX(140%) skewX(-20deg);
    opacity: 0;
  }
}

.card--featured .badge::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -40%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  filter: blur(0.2px);
  animation: badgeShine2 3.4s ease-in-out infinite;
  pointer-events: none;
}

.list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 7px 0;
}

/* Info */
.info {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.info__title {
  font-weight: 900;
  margin-bottom: 6px;
}

.info__text {
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.45;
}

.info__tiny {
  color: rgba(185, 199, 232, 0.85);
  font-size: 13px;
}

/* Big blocks */
.big {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}

.big__media {
  min-height: 260px;
  background: rgba(0, 0, 0, 0.15);
}

.big__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.big__body {
  padding: 20px;
}

.big__body h3 {
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.chip {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(34, 54, 95, 0.9);
  font-weight: 800;
  font-size: 13px;
}

/* Demo links */
.demoLinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 16px;
}

.demoLink {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-weight: 800;
}

.demoLink:hover {
  filter: brightness(1.06);
}

/* FAQ */
.qa {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.qa summary {
  cursor: pointer;
  font-weight: 900;
}

.qa p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

/* CTA */
.section--cta {
  padding: 72px 0;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), transparent 60%);
}

.cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.cta h2 {
  margin: 0 0 8px;
}

.cta p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.cta__meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.cta__card {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 18px;
  overflow: hidden;
}

.contact {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.fineprint {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(185, 199, 232, 0.9);
}

/* Footer */
.footer {
  padding: 28px 0 46px;
  border-top: 1px solid rgba(34, 54, 95, 0.55);
  background: rgba(11, 18, 32, 0.65);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__brand {
  font-weight: 900;
}

.sticky-contact {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
  z-index: 9999;
}

.sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  min-width: 120px;
}

.sticky-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .big {
    grid-template-columns: 1fr;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .navMobile {
    display: inline-flex;
  }
}

@media (max-width: 820px) {
  .sticky-contact {
    display: flex;
  }

  body {
    padding-bottom: 80px;
  }
}

/* =========================
   Premium motion pack
   ========================= */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 1.2, 0.2, 1);
  --dur-1: 180ms;
  --dur-2: 420ms;
  --dur-3: 900ms;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .card--featured .badge::after {
    animation: none;
  }
}

/* Page entrance */
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.topbar {
  animation: dropIn 700ms var(--ease-out) both;
}

/* Subtle background drift */
@keyframes bgDrift {
  0% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.08);
  }
  100% {
    filter: saturate(1);
  }
}
body {
  animation: bgDrift 10s ease-in-out infinite;
}

/* Scroll reveal (stagger with --d) */
.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  filter: blur(10px);
  transition:
    opacity var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out),
    filter var(--dur-2) var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Premium hover lift */
.card,
.info,
.qa,
.big,
.cta__card {
  position: relative;
  transform: translateY(0);
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
  will-change: transform;
}
.card:hover,
.info:hover,
.qa:hover,
.big:hover,
.cta__card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.45);
}

/* Glow follow (driven by JS vars --mx/--my) */
.card::before,
.info::before,
.qa::before,
.big::before,
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out);
  background:
    radial-gradient(
      260px 180px at var(--mx, 50%) var(--my, 25%),
      rgba(59, 130, 246, 0.2),
      transparent 60%
    );
}
.glow-on::before {
  opacity: 1;
}

/* Images: gentle zoom + sharpen */
.card__img,
.big__media img {
  transform: scale(1);
  transition: transform var(--dur-3) var(--ease-out), filter var(--dur-2) var(--ease-out);
  will-change: transform;
}
.card:hover .card__img,
.big:hover .big__media img {
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}

/* Buttons: nicer motion + sheen */
.btn {
  transition:
    transform var(--dur-1) var(--ease-out),
    filter var(--dur-1) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -40%;
  transform: translateX(-60%) rotate(12deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0;
  transition: opacity var(--dur-1) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}
.btn:hover::after {
  opacity: 1;
  transform: translateX(60%) rotate(12deg);
}

/* Pills + chips: pop */
@keyframes pop {
  from {
    transform: translateY(6px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.pill,
.chip {
  animation: pop 700ms var(--ease-out) both;
}

/* FAQ: smoother open */
.qa > p {
  opacity: 0.9;
  transform: translateY(-2px);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.qa[open] > p {
  opacity: 1;
  transform: translateY(0);
}

/* Demo links: slide */
.demoLink {
  transition: transform var(--dur-2) var(--ease-out), filter var(--dur-1) var(--ease-out);
}
.demoLink:hover {
  transform: translateX(4px);
}
