:root {
  /* GLOBAL VARIABLES: Change these to update colors across the whole site */
  color-scheme: dark;
  --bg: #05101c;
  --surface: #f8fbff;
  --surface-soft: rgba(248, 251, 255, 0.95);
  --text: #eef6ff;
  --muted: #9fb7cf;
  --accent: #fcbf2d;
  --accent-soft: #ffe1a6;
  --border: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.06);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  --radius: 28px;
  --radius-soft: 20px;
  --max-width: 1200px;
}

/* LIGHT THEME: These variables override the ones above when the sun icon is clicked */
[data-theme="light"] {
  --bg: #f5f7fb;
  --surface: #083931;
  --surface-soft: rgba(255, 255, 255, 0.92);
  --text: #1b2e4e;
  --muted: #6f7f96;
  --accent: #2a6ef6;
  --accent-soft: #81b6ff;
  --border: rgba(17, 24, 39, 0.12);
  --card: rgba(255, 255, 255, 0.85);
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

/* BASE STYLES & RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(252, 190, 41, 0.12), transparent 25%),
    radial-gradient(circle at 85% 15%, rgba(8, 177, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #07101c 0%, #04101b 65%, #050d14 100%);
  transition: background 0.45s ease, color 0.45s ease;
  overflow-x: hidden;
}

body.page-loading {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

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

::selection {
  background: rgba(252, 190, 41, 0.28);
  color: var(--surface);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(3, 8, 17, 0.92);
  backdrop-filter: blur(16px);
  color: var(--surface);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-ring {
  width: 76px;
  height: 76px;
  border: 5px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}

/* PAGE TRANSITIONS: Controls the fade effect when clicking links */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 1990;
  background: #06141b;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* NAVIGATION BAR: Sticky header and link hover states */
header {
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(18px);
  background: rgba(5, 12, 22, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

header.scrolled {
  background: rgba(5, 10, 18, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 18px rgba(252, 190, 41, 0.45));
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--surface);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--surface);
  transition: transform 0.25s ease, background 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(252, 190, 41, 0.18);
}

/* MOBILE MENU TOGGLE: Hamburger icon animations */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--surface);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECTION: The main top section with the moving background and large text */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 5% 80px;
  background: radial-gradient(circle at top left, rgba(252, 190, 41, 0.16), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(18, 196, 255, 0.10), transparent 16%),
    linear-gradient(180deg, #08141f 0%, #051017 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 92% 15%, rgba(252, 190, 41, 0.08), transparent 16%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 10;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.02;
  max-width: 10ch;
  margin: 0;
  letter-spacing: -0.04em;
}

.hero h1 span {
  background: linear-gradient(110deg, rgba(252, 190, 41, 1), rgba(255, 255, 255, 0.9));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 1.65rem;
  max-width: 640px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.btn-primary {
  background: linear-gradient(135deg, #fcbf2d, #ffe9a0);
  color: #08141d;
}

.btn-secondary {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* HERO IMAGES: Handles the aspect ratio and the infinite fade-loop animation */
.hero-image-container {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.24);
  transform: translateY(calc(var(--hero-offset, 0px) * -1));
  transition: transform 0.2s ease-out;
}

/* PARALLAX EFFECT: Adjust the '0.45' or '-0.36' to change how fast things move on scroll */
.hero-floating--left {
  top: 16%;
  left: -36px;
  transform: translateY(calc(var(--hero-offset, 0px) * 0.45));
}

.hero-floating--right {
  right: -28px;
  bottom: 6%;
  transform: translateY(calc(var(--hero-offset, 0px) * -0.36));
}

.hero-image-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;

  opacity: 0;
  animation: heroFadeLoop 12s infinite ease-in-out;
  transform-origin: center;
}

.hero-image-container img:nth-child(2) {
  animation-delay: 6s;
}

.hero-floating {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(252, 190, 41, 0.18);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

/* HIGHLIGHT CARDS: The stats section (98% uptime, etc.) */
.hero-highlights {
  padding: 0 5% 40px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1.2rem;
  max-width: var(--max-width);
  margin: 2.4rem auto 0;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 190, 41, 0.35);
}

.counter {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.2rem;
  font-size: 3rem;
  font-weight: 900;
  color: var(--surface);
}

.suffix {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.highlight-card p {
  margin-top: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

/* POSTER SLIDERS: Adjust the '32s' in the animation to speed up or slow down scrolling */
.slider-section {
  padding: 92px 0 68px;
  background: transparent;
}

.slider-title {
  max-width: 940px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--surface);
  letter-spacing: -0.03em;
}

.slider-container {
  overflow: hidden;
  padding: 2rem 5%;
}

.slider-track {
  display: flex;
  gap: 1rem;
  animation: slide-infinite 32s linear infinite;
}

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

.slider-track img {
  width: 100%;
  max-height: 400px;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.slider-track img:hover {
  transform: translateY(-6px) scale(1.02);
  filter: brightness(1.05);
}

@keyframes slide-infinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* BENEFITS SECTION: The green-themed boxes explaining features */
.benefits-section {
  padding: 90px 5%;
  background: radial-gradient(circle at 18% 15%, rgba(252, 190, 41, 0.16), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(22, 132, 255, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(5, 11, 18, 0.98), rgba(5, 11, 18, 0.88));
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.22);
  margin: 0 5% 60px;
}

.benefits-section h2 {
  margin-bottom: 2rem;
  color: transparent;
  background: linear-gradient(135deg, #fcbf2d, #e2f7ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.3rem, 3.5vw, 3.2rem);
  text-align: center;
  letter-spacing: -0.04em;
}

.benefits-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.benefit-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-box:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 190, 41, 0.35);
}

.benefit-box h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #fff;
}

.benefit-box p {
  color: var(--muted);
  line-height: 1.8;
}

/* PROGRESS BARS: Animated bars using data-progress attributes from HTML */
.progress-section {
  padding: 88px 5% 92px;
}

.section-panel {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.2rem;
  align-items: center;
}

.section-title {
  font-size: clamp(2.4rem, 3vw, 3rem);
  line-height: 1.04;
  color: var(--surface);
  margin-bottom: 0.6rem;
}

.section-intro {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  font-size: 1rem;
}

.progress-grid {
  display: grid;
  gap: 1.1rem;
}

.progress-card {
  padding: 1.45rem 1.5rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.progress-card span:first-child {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--surface);
  font-weight: 700;
}

.progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(252, 190, 41, 1), rgba(255, 255, 255, 0.75));
  transition: width 0.9s ease;
}

/* FEATURES GRID: Icon cards with descriptions */
.features {
  padding: 90px 5% 70px;
}

.features .section-title {
  color: var(--surface);
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 190, 41, 0.35);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  background: rgba(252, 190, 41, 0.13);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--surface);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.8;
}

/* ABOUT SECTION */
.about {
  padding: 90px 5%;
}

.about h2 {
  font-size: clamp(2.3rem, 3vw, 3rem);
  margin-bottom: 1.6rem;
  color: var(--surface);
}

.about-text {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
}

/* CHANNEL LOGO SLIDER: Controls the logo strip sizes and gap */
.slider-channel {
  padding: 55px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(5, 10, 18, 0.06));
}

.slider-channel .slider-container {
  padding: 0 5%;
}

.slider-channel .slider-track img {
  width: auto;
  height: 150px;
  margin: 0 35px;
  border: none;
  box-shadow: none;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.slider-channel .slider-track img:hover {
  transform: translateY(-8px) scale(1.05);
}

/* PRICING SECTION: Handles the grid and the recommended/VIP card styling */
.pricing-section {
  padding: 90px 5%;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2.8rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 30px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 190, 41, 0.35);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--surface);
}

.pricing-card .price {
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  flex-grow: 1;
}

.pricing-card ul li {
  color: var(--muted);
  font-size: 0.98rem;
}

.btn-buy {
  background: transparent;
  color: var(--accent);
  border: 2px solid rgba(252, 190, 41, 0.88);
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-buy:hover {
  background: var(--accent);
  color: #08141d;
  box-shadow: 0 18px 42px rgba(252, 190, 41, 0.22);
}

.pricing-card.premium-vip {
  background: linear-gradient(145deg, rgba(17, 30, 44, 0.96), rgba(8, 16, 26, 1));
  border-color: rgba(252, 190, 41, 0.45);
}

.pricing-card.premium-vip .vip-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #08141d;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card.premium-vip .duration {
  color: var(--accent);
  font-weight: 700;
  margin-top: -8px;
  margin-bottom: 10px;
}

.pricing-card.premium-vip .btn-buy {
  background: var(--accent);
  color: #08141d;
}

.faq-section {
  padding: 90px 5%;
  background: rgba(255, 255, 255, 0.03);
}

.faq-section h2 {
  font-size: clamp(2.3rem, 3vw, 3rem);
  margin-bottom: 2.2rem;
  color: var(--surface);
  text-align: center;
}

.faq-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.faq-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.faq-box:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 190, 41, 0.30);
}

.faq-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.faq-box h3::after {
  content: '+';
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-box.active h3::after {
  transform: rotate(45deg);
}

.faq-box p {
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  margin-top: 0;
}

.faq-box.active p {
  max-height: 300px;
  opacity: 1;
  margin-top: 1rem;
}

/* APP DOWNLOAD CARDS: Links to install guides */
.apps-section {
  padding: 90px 5%;
}

.apps-section .section-title {
  color: var(--surface);
  margin-bottom: 0.8rem;
}

.apps-section .section-intro {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 2.4rem;
  line-height: 1.8;
}

.apps-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.app-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 26px;
  padding: 1.9rem 1.6rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 190, 41, 0.32);
}

.app-card img {
  border-radius: 22px;
  margin-bottom: 1.3rem;
}

.app-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
  color: var(--surface);
}

.app-card p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
  flex-grow: 1;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: rgba(252, 190, 41, 0.12);
  color: var(--surface);
  border: 1px solid rgba(252, 190, 41, 0.2);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s ease, background 0.3s ease;
}

.app-btn:hover {
  transform: translateY(-2px);
  background: rgba(252, 190, 41, 0.22);
  color: #08141d;
}

/* FOOTER: Multi-column links and copyright info */
.footer {
    background: radial-gradient(circle at top left, rgba(252, 190, 41, 0.16), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(18, 196, 255, 0.10), transparent 16%),
    linear-gradient(180deg, #08141f 0%, #051017 100%);
  color: var(--muted);
  padding: 80px 5% 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.5fr 1fr 1fr;
  margin-bottom: 50px;
}

.footer-column.brand p {
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.8;
  max-width: 350px;
}

.footer-logo img {
  max-height: 40px;
  width: auto;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(252, 190, 41, 0.45));
}

.footer-column h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
}

.footer-links a:hover {
  color: var(--surface);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '?';
  position: absolute;
  left: -18px;
  opacity: 0;
  transition: all 0.25s ease;
  color: var(--accent);
}

.footer-links a:hover::before {
  left: -8px;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  text-align: center;
}

/* FLOATING BUTTONS: Telegram and WhatsApp quick-contact links */
.social-float-btn {
  position: fixed;
  bottom: 40px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 1200;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.social-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.whatsapp-float {
  right: 24px;
  background-color: #25d366;
  animation: whatsappPulse 2.5s infinite;
}

.telegram-float {
  left: 24px;
  background-color: #0088cc;
  animation: telegramPulse 2.5s infinite;
  animation-delay: 1s;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes telegramPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.4);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(0, 136, 204, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
  }
}

/* KEYFRAMES: Core animations for image fades and rotating rings */
@keyframes heroFadeLoop {
  0%, 45% {
    opacity: 1;
    transform: scale(1);
  }
  55%, 95% {
    opacity: 0;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* SCROLL ANIMATION SYSTEM: These classes are applied by script.js when you scroll down */
main>section {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

main > section.hero {
  /* Make the hero appear faster than other sections */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

main>section.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

main>section .highlight-card,
main>section .benefit-box,
main>section .progress-card,
main>section .feature-card,
main>section .app-card,
main>section .pricing-card,
main>section .faq-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

main>section.in-view .highlight-card,
main>section.in-view .benefit-box,
main>section.in-view .progress-card,
main>section.in-view .feature-card,
main>section.in-view .app-card,
main>section.in-view .pricing-card,
main>section.in-view .faq-box {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN: Rules for Tablets and Laptops */
@media (max-width: 1024px) {
  .hero-shell {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: none;
  }

  .hero p {
    margin: 1.65rem auto 0;
  }

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

  .section-panel {
    grid-template-columns: 1fr;
  }

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

}

/* RESPONSIVE DESIGN: Rules for Mobile Devices */
@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    right: 5%;
    width: 250px;
    flex-direction: column;
    padding: 1rem;
    background: rgba(3, 9, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    box-shadow: 0 30px 85px rgba(0, 0, 0, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

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

  .footer-links a:hover {
    transform: none;
  }

  .hero {
    padding-top: 80px;
  }


  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-image-container {
    min-height: 320px;
  }

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

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

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

  .app-card {
    padding: 1.5rem 1.4rem;
  }

  .section-panel {
    gap: 1.5rem;
  }

  .social-float-btn {
    width: 50px;
    height: 50px;
  }

  .whatsapp-float {
    right: 18px;
  }

  .telegram-float {
    left: 18px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .slider-track img {
  max-height: 300px;
}

  .hero-pill {
    width: fit-content;
  }

  .feature-grid {
    gap: 1rem;
  }

  .progress-grid,
  .highlight-grid {
    gap: 1rem;
  }

  .pricing-card {
    min-height: auto;
  }
}