/* ================================
   Design Tokens
================================ */

:root {
  /* Base Colors */
  --bg: #eef7ff;
  --paper: #ffffff;
  --text: #071426;
  --muted: #5b6b80;
  --muted-2: #8290a3;

  /* Brand Colors */
  --primary: #061a35;
  --primary-2: #083b72;
  --accent: #12cffa;
  --accent-2: #2563eb;
  --success: #0ea5a4;

  /* Surfaces */
  --line: rgba(255, 255, 255, 0.86);
  --border: rgba(148, 163, 184, 0.22);
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);

  /* Shadows */
  --shadow-sm: 0 10px 30px rgba(8, 47, 73, 0.08);
  --shadow-md: 0 18px 54px rgba(8, 47, 73, 0.12);
  --shadow-lg: 0 30px 90px rgba(8, 47, 73, 0.16);

  /* Radius */
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 38px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1180px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  --ease-premium: cubic-bezier(.22, .9, .24, 1);

  /* Scrollbar */
  --scrollbar-size: 14px;
  --scrollbar-radius: var(--radius-pill);
  --scrollbar-border-size: 4px;

  --scrollbar-track:
    linear-gradient(180deg,
      rgba(238, 247, 255, 0.96),
      rgba(255, 255, 255, 0.76));

  --scrollbar-thumb:
    linear-gradient(180deg,
      #5ee7ff 0%,
      var(--accent) 28%,
      var(--accent-2) 62%,
      var(--primary-2) 100%);

  --scrollbar-thumb-hover:
    linear-gradient(180deg,
      #8cf0ff 0%,
      var(--accent) 34%,
      var(--accent-2) 100%);

  --scrollbar-thumb-active:
    linear-gradient(180deg,
      var(--primary-2) 0%,
      var(--accent-2) 52%,
      var(--accent) 100%);

  --scrollbar-border: rgba(238, 247, 255, 0.9);
  --scrollbar-glow: rgba(18, 207, 250, 0.36);
  --scrollbar-glow-strong: rgba(18, 207, 250, 0.5);

  /* Scroll Progress */
  --progress-width: 11px;
  --progress-width-active: 14px;
  --progress-height: min(44vh, 380px);
  --progress-offset: 14px;
  --progress-track:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.62),
      rgba(255, 255, 255, 0.34));
  --progress-fill:
    linear-gradient(180deg,
      var(--accent) 0%,
      var(--accent-2) 54%,
      var(--primary-2) 100%);
}

/* ================================
   Root Behavior
================================ */


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-2) rgba(255, 255, 255, 0.58);
  scroll-timeline-name: --page-scroll;
  scroll-timeline-axis: block;
}

body {
  min-height: 100vh;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 0%, rgba(18, 207, 250, 0.22), transparent 32%),
    radial-gradient(circle at 86% 10%, rgba(37, 99, 235, 0.14), transparent 34%),
    linear-gradient(135deg, #f9fcff 0%, #edf7ff 46%, #ffffff 100%);
  overflow-x: hidden;
  font-feature-settings: "ss01";
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(7, 20, 38, 0.03) 0 1px, transparent 1px 34px),
    radial-gradient(circle, rgba(18, 207, 250, 0.22) 0 1px, transparent 1.7px);
  background-size: auto, 64px 64px;
  opacity: .42;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.page {
  position: relative;
  z-index: 1;
}

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

.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  animation: glassBreath 7s var(--ease) infinite alternate;
}

.glass:hover {
  animation-play-state: paused;
}

.section {
  padding: 74px 0;
  scroll-margin-top: 120px;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #087ea7;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.8;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(18, 207, 250, .12);
  flex: 0 0 auto;
}

.section-head h2 {
  font-size: clamp(31px, 4vw, 53px);
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -1.2px;
  text-wrap: balance;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
  font-weight: 600;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 17px;
  border: 0;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2) 58%, #0a719d);
  box-shadow: 0 16px 42px rgba(18, 207, 250, .21);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(18, 207, 250, .3);
}

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

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(18, 207, 250, .36);
}

.btn-full {
  width: 100%;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(18, 207, 250, .68);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-wrap {
  position: sticky;
  top: 8px;
  z-index: 50;
  padding-top: 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow: 0 16px 48px rgba(8, 47, 73, .1);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: logoFloat 4.8s var(--ease) infinite alternate;
}

.logo::before {
  content: "";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, var(--accent) 0 48%, transparent 49%),
    linear-gradient(135deg, var(--primary), #0a5f93 72%, var(--accent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24);
}

.brand-title {
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.5px;
  line-height: 1;
}

.brand-subtitle {
  margin-top: 6px;
  color: #0a85b3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #526174;
  font-size: 14px;
  font-weight: 850;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  transition: color .2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .22s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #087ea7;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 104px);
  padding: 76px 0 72px;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(40px, 5.7vw, 74px);
  line-height: 1.18;
  letter-spacing: -2.3px;
  font-weight: 950;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 44%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
  font-weight: 600;
}

.actions-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 610px;
  margin-top: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 13px 12px;
  text-align: center;
  border-radius: 20px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline-start: auto;
  padding: 34px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  isolation: isolate;
  animation: heroCardFloat 5.6s var(--ease) infinite alternate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(18, 207, 250, .15);
  filter: blur(50px);
}

.logo.big-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 32px;
}

.logo.big-logo::before {
  width: 72px;
  height: 72px;
  border-radius: 24px;
}

.hero-card h2 {
  margin-top: 24px;
  text-align: center;
  font-size: 40px;
  font-weight: 950;
  letter-spacing: -1px;
}

.hero-card p {
  max-width: 440px;
  margin: 13px auto 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 600;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.feature-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .9);
  font-weight: 900;
  color: #243142;
  animation: itemFloat 5s var(--ease) infinite alternate;
}

.feature-line:nth-child(2) {
  animation-delay: .35s;
}

.feature-line:nth-child(3) {
  animation-delay: .7s;
}

.icon-box {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #e6f9ff;
  background: linear-gradient(135deg, var(--primary), #0a5f93);
  box-shadow: var(--shadow-sm);
  font-size: 19px;
  font-weight: 950;
  animation: iconPulse 3.4s var(--ease) infinite;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-xl);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
  animation: cardWave 6s var(--ease) infinite alternate;
}

.plan-card:nth-child(2) {
  animation-delay: .25s;
}

.plan-card:nth-child(3) {
  animation-delay: .5s;
}

.plan-card:nth-child(4) {
  animation-delay: .75s;
}

.plan-card:hover {
  transform: translateY(-6px);
  background: var(--surface-strong);
  box-shadow: 0 30px 74px rgba(18, 207, 250, .16);
}

.plan-card.is-featured {
  border-color: rgba(18, 207, 250, .58);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 30px 78px rgba(18, 207, 250, .17);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #06245a;
  background: linear-gradient(135deg, #bdf4ff, #fff);
  border: 1px solid rgba(18, 207, 250, .42);
  font-size: 12px;
  font-weight: 950;
  animation: ribbonGlow 2.8s var(--ease) infinite alternate;
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  min-height: 34px;
}

.badge {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: #e0f7ff;
  color: #087ea7;
  font-size: 12px;
  font-weight: 950;
}

.check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #2563eb);
  font-size: 17px;
  font-weight: 950;
}

.plan-card h3 {
  font-size: 24px;
  font-weight: 950;
}

.price-box {
  position: relative;
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(circle at 18% 0%, rgba(18, 207, 250, .25), transparent 38%), linear-gradient(135deg, var(--primary), #07356f 64%, #0a5f93);
  box-shadow: 0 18px 42px rgba(18, 207, 250, .16);
  overflow: hidden;
  animation: priceGlow 4.6s var(--ease) infinite alternate;
}

.price-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .16) 48%, transparent 70%);
  transform: translateX(120%);
  animation: priceShine 4s ease-in-out infinite;
}

.price-label {
  color: #c8f3ff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.price {
  margin-top: 7px;
  font-size: 31px;
  font-weight: 950;
  letter-spacing: -1px;
  text-align: center;
}

.currency {
  margin-top: 5px;
  color: #c8f3ff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.plan-card p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
  font-weight: 600;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
  transform: translateY(16px);
}

.product-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px auto 0;
  padding: 18px 20px;
  border-radius: 24px;
  color: #263447;
  font-weight: 750;
  line-height: 1.9;
}

.product-note strong {
  color: var(--primary);
  font-weight: 950;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step,
.support-card,
.faq-item {
  padding: 24px;
  border-radius: var(--radius-xl);
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
  animation: blockFloat 5.8s var(--ease) infinite alternate;
}

.process-step:nth-child(2),
.support-card:nth-child(2),
.faq-item:nth-child(2) {
  animation-delay: .25s;
}

.process-step:nth-child(3),
.support-card:nth-child(3),
.faq-item:nth-child(3) {
  animation-delay: .5s;
}

.process-step:nth-child(4),
.faq-item:nth-child(4) {
  animation-delay: .75s;
}

.process-step:hover,
.support-card:hover,
.faq-item:hover {
  transform: translateY(-5px);
  background: var(--surface-strong);
  box-shadow: 0 26px 64px rgba(18, 207, 250, .13);
}

.process-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0a5f93);
  font-weight: 950;
  direction: ltr;
  animation: numberPop 3.2s var(--ease) infinite alternate;
}

.process-step h3,
.support-card h3,
.faq-item h3 {
  font-size: 19px;
  font-weight: 950;
  color: var(--primary);
}

.process-step p,
.support-card p,
.faq-item p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
  font-weight: 600;
}

.ai-box {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-2xl);
  animation: aiBoxFloat 6.4s var(--ease) infinite alternate;
}

.ai-price {
  position: relative;
  padding: 34px;
  border-radius: 32px;
  color: #fff;
  background: radial-gradient(circle at 15% 0%, rgba(18, 207, 250, .28), transparent 36%), linear-gradient(145deg, var(--primary), #07356f 60%, #0a5f93);
  box-shadow: 0 24px 70px rgba(18, 207, 250, .17);
  overflow: hidden;
  animation: priceGlow 4.8s var(--ease) infinite alternate;
}

.ai-price::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(18, 207, 250, .13), transparent, rgba(255, 255, 255, .11), transparent);
  animation: spinSlow 15s linear infinite;
  pointer-events: none;
}

.ai-price>* {
  position: relative;
  z-index: 1;
}

.ai-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 34px;
  animation: iconPulse 3.2s var(--ease) infinite;
}

.ai-price h2 {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -1px;
}

.ai-price p {
  margin-top: 14px;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 700;
}

.price-panel {
  margin-top: 26px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .2);
}

.dollar {
  margin-top: 8px;
  font-size: 52px;
  font-weight: 950;
  direction: ltr;
  text-align: right;
  letter-spacing: -2px;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.mini-badges span {
  padding: 10px 15px;
  border-radius: 999px;
  background: #e0f7ff;
  color: #087ea7;
  font-size: 13px;
  font-weight: 900;
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ai-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .88);
  color: #243142;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.75;
  animation: itemFloat 5.2s var(--ease) infinite alternate;
}

.ai-feature:nth-child(2n) {
  animation-delay: .25s;
}

.ai-feature:nth-child(3n) {
  animation-delay: .5s;
}

.gift-box {
  padding: 40px;
  border-radius: var(--radius-2xl);
  background: radial-gradient(circle at 15% 20%, rgba(18, 207, 250, .18), transparent 32%), linear-gradient(90deg, rgba(224, 247, 255, .84), rgba(255, 255, 255, .78), rgba(239, 246, 255, .9));
  animation: giftBoxFloat 6.2s var(--ease) infinite alternate;
}

.gift-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 34px;
  align-items: center;
}

.gift-visual {
  display: grid;
  place-items: center;
}

.gift-circle {
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-md);
  font-size: 52px;
  font-weight: 950;
  color: var(--primary);
  animation: giftBounce 3.8s var(--ease) infinite alternate;
}

.gift-content h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: -1.2px;
}

.gift-content p {
  max-width: 730px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2.05;
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.step {
  padding: 17px;
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .88);
  font-weight: 900;
  animation: itemFloat 5s var(--ease) infinite alternate;
}

.step:nth-child(2) {
  animation-delay: .25s;
}

.step:nth-child(3) {
  animation-delay: .5s;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 34px auto 44px;
  padding: 22px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #07356f 70%, #0a5f93);
  box-shadow: 0 30px 80px rgba(8, 47, 73, .18);
  animation: footerGlow 6s var(--ease) infinite alternate;
}

.footer .brand-subtitle,
.footer p {
  color: #c8f3ff;
}

.footer .logo {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
}

.mobile-cta {
  position: fixed;
  right: 12px;
  left: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 54px rgba(8, 47, 73, .18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: mobileCtaPulse 3.4s var(--ease) infinite alternate;
}

.mobile-cta-text {
  padding-right: 8px;
}

.mobile-cta-text strong {
  display: block;
  font-size: 13px;
  font-weight: 950;
  color: var(--primary);
}

.mobile-cta-text span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  filter: blur(8px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
}

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

@keyframes glassBreath {
  from {
    box-shadow: var(--shadow-md);
  }

  to {
    box-shadow: var(--shadow-lg);
  }
}

@keyframes logoFloat {
  from {
    transform: translateY(0) rotate(0deg);
  }

  to {
    transform: translateY(-4px) rotate(-1.5deg);
  }
}

@keyframes heroCardFloat {
  from {
    transform: translateY(0) rotateX(0deg);
  }

  to {
    transform: translateY(-12px) rotateX(1.5deg);
  }
}

@keyframes itemFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-5px);
  }
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-sm);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 14px 42px rgba(18, 207, 250, .25);
  }
}

@keyframes cardWave {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-7px);
  }
}

@keyframes ribbonGlow {
  from {
    box-shadow: 0 10px 28px rgba(18, 207, 250, .12);
  }

  to {
    box-shadow: 0 16px 42px rgba(18, 207, 250, .32);
  }
}

@keyframes priceGlow {
  from {
    box-shadow: 0 18px 42px rgba(18, 207, 250, .16);
  }

  to {
    box-shadow: 0 24px 62px rgba(18, 207, 250, .3);
  }
}

@keyframes priceShine {

  0%,
  45% {
    transform: translateX(120%);
  }

  72%,
  100% {
    transform: translateX(-120%);
  }
}

@keyframes blockFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-6px);
  }
}

@keyframes numberPop {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

@keyframes aiBoxFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-8px);
  }
}

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

@keyframes giftBoxFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-8px);
  }
}

@keyframes giftBounce {
  from {
    transform: translateY(0) rotate(0deg);
  }

  to {
    transform: translateY(-12px) rotate(-3deg);
  }
}

@keyframes footerGlow {
  from {
    box-shadow: 0 30px 80px rgba(8, 47, 73, .18);
  }

  to {
    box-shadow: 0 34px 92px rgba(18, 207, 250, .24);
  }
}

@keyframes mobileCtaPulse {
  from {
    transform: translateY(0);
    box-shadow: 0 18px 54px rgba(8, 47, 73, .18);
  }

  to {
    transform: translateY(-4px);
    box-shadow: 0 22px 66px rgba(18, 207, 250, .25);
  }
}


@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero,
  .ai-box,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    margin: 0 auto;
  }

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

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

@media (max-width: 680px) {
  body {
    padding-bottom: 92px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .nav-wrap {
    top: 8px;
    padding-top: 8px;
  }

  .nav {
    padding: 10px 12px;
  }

  .nav>.btn {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .brand-title {
    font-size: 19px;
  }

  .brand-subtitle {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .logo {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }

  .logo::before {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 18px;
  }

  .hero {
    padding: 48px 0 54px;
  }

  .hero h1 {
    letter-spacing: -1.3px;
  }

  .hero-copy,
  .section-head p,
  .gift-content p {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-card,
  .ai-box,
  .gift-box {
    padding: 22px;
    border-radius: 30px;
  }

  .ai-price {
    padding: 24px;
    border-radius: 26px;
  }

  .dollar {
    font-size: 44px;
  }

  .trust-row,
  .plans,
  .process,
  .ai-features,
  .steps,
  .support-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .product-note {
    align-items: stretch;
    flex-direction: column;
  }

  .product-note .btn {
    width: 100%;
  }

  .gift-circle {
    width: 178px;
    height: 178px;
    font-size: 42px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .mobile-cta {
    display: grid;
  }
}

/* ================================
   AAA Native Themed Scrollbar
   Native browser scrollbar only
   No JS / No fake progress bar
================================ */

:root {
  --scrollbar-size: 14px;
  --scrollbar-radius: 999px;
  --scrollbar-border-size: 4px;

  --scrollbar-track:
    linear-gradient(180deg,
      rgba(238, 247, 255, 0.96),
      rgba(255, 255, 255, 0.78));

  --scrollbar-thumb:
    linear-gradient(180deg,
      #5ee7ff 0%,
      var(--accent) 28%,
      var(--accent-2) 62%,
      var(--primary-2) 100%);

  --scrollbar-thumb-hover:
    linear-gradient(180deg,
      #8cf0ff 0%,
      var(--accent) 34%,
      var(--accent-2) 72%,
      var(--primary-2) 100%);

  --scrollbar-thumb-active:
    linear-gradient(180deg,
      var(--primary-2) 0%,
      var(--accent-2) 52%,
      var(--accent) 100%);

  --scrollbar-track-border: rgba(255, 255, 255, 0.72);
  --scrollbar-border: rgba(238, 247, 255, 0.92);
  --scrollbar-glow: rgba(18, 207, 250, 0.34);
  --scrollbar-glow-hover: rgba(18, 207, 250, 0.48);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-2) rgba(238, 247, 255, 0.82);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

::-webkit-scrollbar-track {
  border-radius: var(--scrollbar-radius);
  background: var(--scrollbar-track);
  box-shadow:
    inset 0 0 0 1px var(--scrollbar-track-border),
    inset 0 0 18px rgba(18, 207, 250, 0.08);
}

::-webkit-scrollbar-thumb {
  min-height: 78px;
  border: var(--scrollbar-border-size) solid var(--scrollbar-border);
  border-radius: var(--scrollbar-radius);
  background: var(--scrollbar-thumb);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(6, 26, 53, 0.16),
    0 8px 24px var(--scrollbar-glow);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(6, 26, 53, 0.12),
    0 10px 34px var(--scrollbar-glow-hover);
}

::-webkit-scrollbar-thumb:active {
  background: var(--scrollbar-thumb-active);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(6, 26, 53, 0.2),
    0 8px 28px rgba(37, 99, 235, 0.42);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Better support for horizontal scroll areas */
*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-thumb {
  border-radius: var(--scrollbar-radius);
}

/* High contrast users */
@media (prefers-contrast: more) {
  html {
    scrollbar-color: var(--primary-2) #ffffff;
  }

  ::-webkit-scrollbar-track {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(6, 26, 53, 0.18);
  }

  ::-webkit-scrollbar-thumb {
    border-color: #ffffff;
    background:
      linear-gradient(180deg,
        var(--primary-2),
        var(--accent-2));
    background-clip: padding-box;
    box-shadow: none;
  }

  ::-webkit-scrollbar-thumb:hover {
    background:
      linear-gradient(180deg,
        var(--primary),
        var(--accent-2));
    background-clip: padding-box;
  }
}

/* Windows High Contrast / Forced Colors */
@media (forced-colors: active) {
  html {
    scrollbar-color: Highlight Canvas;
  }

  ::-webkit-scrollbar-track {
    background: Canvas;
  }

  ::-webkit-scrollbar-thumb {
    border-color: Canvas;
    background: Highlight;
    box-shadow: none;
  }
}