/* ============================================================
   PRO LOOK — near-black canvas + electric blue, soft glows, glass cards.
   Loaded after style.css and vibrant.css; only colour and finish, no layout.
   ============================================================ */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #dbeafe;
  --secondary: #22d3ee;
  --secondary-dark: #0891b2;
  --secondary-light: #cffafe;
  --green: #22c55e;                       /* success marks stay green */
  --gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-secondary: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, .35);

  /* vibrant.css layer: green/yellow → blue/cyan */
  --v-green: #3b82f6;
  --v-green-2: #2563eb;
  --v-green-deep: #1d4ed8;
  --v-yellow: #22d3ee;
  --v-yellow-2: #06b6d4;
  --v-gold-text: #0e7490;
  --v-ink: #0b1220;
  --v-muted: #475569;
  --v-card-shadow: 0 12px 32px -14px rgba(37, 99, 235, .35);
  --v-card-shadow-hover: 0 22px 48px -16px rgba(37, 99, 235, .45);
  --v-grad: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #22d3ee 100%);
  --v-grad-btn: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --v-grad-yellow: linear-gradient(135deg, #67e8f9 0%, #22d3ee 55%, #06b6d4 100%);
}

/* ---------- Finish: crisp type, selection, focus ---------- */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: rgba(59, 130, 246, .35); color: inherit; }
:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.hero-title, .section-title, .page-hero h1, .cta-inner h2 { letter-spacing: -0.035em; }

/* ---------- Headline gradient ---------- */
.gradient-text, [data-theme="light"] .gradient-text {
  background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 35%, #06b6d4 65%, #1d4ed8 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #bfdbfe 30%, #60a5fa 60%, #ffffff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(59, 130, 246, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(59, 130, 246, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-download, .btn-download:hover {
  background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 55%, #06b6d4 100%);
  color: #04131a;
  box-shadow: 0 10px 26px -10px rgba(34, 211, 238, .7);
}
[data-theme="light"] .hmb-btn.btn-download { background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 55%, #06b6d4 100%); color: #04131a; border-color: transparent; }
[data-theme="light"] .btn-outline { border-color: #93c5fd; color: #1d4ed8; background: rgba(239, 246, 255, .6); }
[data-theme="light"] .btn-outline:hover { background: #3b82f6; border-color: #3b82f6; color: #fff; }

/* ---------- Hero kicker + badge ---------- */
.hero-title-small { color: #2563eb; }
[data-theme="dark"] .hero-title-small { color: #93c5fd; }
.hero-badge i { color: #3b82f6; }
[data-theme="dark"] .hero-badge {
  background: rgba(59, 130, 246, .10); border: 1px solid rgba(96, 165, 250, .35); color: #bfdbfe;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
[data-theme="dark"] .hero-badge i { color: #60a5fa; }

/* ---------- Feature cards: one blue/cyan family instead of five colours ---------- */
.fc-purple, .fc-orange { --fc-color: #22d3ee; --fc-bg: rgba(6, 182, 212, .12); }
.fc-green, .fc-yellow, .fc-blue { --fc-color: #60a5fa; --fc-bg: rgba(59, 130, 246, .12); }
.feature-card[class*="fc-"] .fc-number { color: #3b82f6; }
.feature-card[class*="fc-"] .fc-arrow { color: #3b82f6; background: rgba(59, 130, 246, .12); }
.feature-card:is(.fc-orange, .fc-yellow, .fc-purple) .fc-number, .feature-card:is(.fc-orange, .fc-yellow, .fc-purple) .fc-arrow { color: #0891b2; }
.feature-card:is(.fc-orange, .fc-yellow, .fc-purple) .fc-arrow { background: rgba(6, 182, 212, .12); }
[data-theme="dark"] .feature-card[class*="fc-"] .fc-number, [data-theme="dark"] .feature-card[class*="fc-"] .fc-arrow { color: #60a5fa; }
[data-theme="dark"] .feature-card:is(.fc-orange, .fc-yellow, .fc-purple) .fc-number, [data-theme="dark"] .feature-card:is(.fc-orange, .fc-yellow, .fc-purple) .fc-arrow { color: #22d3ee; }

/* ---------- Pricing tags: cyan instead of amber ---------- */
.pkh-tag-save, .pkh-tag-free,
[data-theme="light"] .pkh-tag-save, [data-theme="light"] .pkh-tag-free { background: rgba(6, 182, 212, .12); border-color: rgba(6, 182, 212, .35); color: #0e7490; }
[data-theme="dark"] .pkh-tag-save, [data-theme="dark"] .pkh-tag-free { background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .35); color: #67e8f9; }

/* ---------- Success marks stay green ---------- */
li > .fa-check-circle, li > .fa-circle-check, li > .fa-check, .hiw-checklist i, .check-list i { color: #22c55e; }

/* ============================================================
   DARK (default): the launch-video look
   ============================================================ */
[data-theme="dark"] body { background: #05070d; color: #cbd5e1; }
[data-theme="dark"] body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -10%, rgba(59, 130, 246, .26), transparent 70%),
    radial-gradient(35% 30% at 100% 35%, rgba(37, 99, 235, .12), transparent 70%),
    radial-gradient(35% 30% at 0% 80%, rgba(34, 211, 238, .07), transparent 70%);
}

/* glass header */
[data-theme="dark"] .header, [data-theme="dark"] .header.scrolled {
  background: rgba(5, 7, 13, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(148, 163, 184, .10);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8);
}
[data-theme="dark"] .nav-link.active, [data-theme="dark"] .nav-link:hover { color: #93c5fd; background: rgba(59, 130, 246, .12); }

/* section heroes: black with a blue light from above, like the video */
[data-theme="dark"] .page-hero, [data-theme="dark"] .hero {
  background:
    radial-gradient(70% 60% at 50% -15%, rgba(59, 130, 246, .35), transparent 65%),
    radial-gradient(40% 50% at 100% 100%, rgba(37, 99, 235, .14), transparent 70%),
    #05070d;
}
[data-theme="dark"] .page-hero::before { background: radial-gradient(ellipse at 50% 0%, rgba(96, 165, 250, .22) 0%, transparent 70%); }
[data-theme="dark"] .page-hero-badge, [data-theme="dark"] .section-badge {
  background: rgba(59, 130, 246, .12); border-color: rgba(96, 165, 250, .35); color: #bfdbfe;
}

/* glass cards */
[data-theme="dark"] :is(.feature-card, .hiw-step, .sup-card, .blog-card, .blog-post-card, .faq-item, .testi-card, .pack-home-card, .pricing-card, .plan-card, .download-box, .step, .hiw-done, .rss-panel, .inner-toc) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)) !important;
  border: 1px solid rgba(148, 163, 184, .14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 48px -28px rgba(0, 0, 0, .9);
}
[data-theme="dark"] :is(.feature-card, .hiw-step, .sup-card, .blog-card, .blog-post-card, .testi-card, .pack-home-card, .pricing-card, .plan-card):hover {
  border-color: rgba(96, 165, 250, .45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(96, 165, 250, .12), 0 28px 56px -24px rgba(37, 99, 235, .5);
}

/* text on dark */
[data-theme="dark"] :is(h1, h2, h3, h4) { color: #f8fafc; }
[data-theme="dark"] :is(.section-desc, .hero-desc, .page-hero p) { color: #94a3b8; }

/* footer */
[data-theme="dark"] .footer { background: #04060b; border-top: 1px solid rgba(148, 163, 184, .10); }

/* scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track { background: #05070d; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #1c2740; border-radius: 8px; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #2563eb; }

@media (prefers-reduced-motion: reduce) {
  .gradient-text { animation: none !important; }
}

/* ============================================================
   MOTION — every button and circle is alive (calm, not busy).
   All of it is off for visitors who ask for reduced motion.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* ---- Buttons: lift, press, breathing glow, automatic shine ---- */
  .btn { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease; will-change: transform; }
  .btn:hover { transform: translateY(-3px); }
  .btn:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
  .btn i { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  .btn:hover i.fa-arrow-right, .btn:hover i.fa-arrow-right-long { transform: translateX(4px); }
  .btn:hover i.fa-download { animation: pro-drop .7s ease; }
  .btn:hover i:not(.fa-arrow-right):not(.fa-download) { transform: scale(1.15) rotate(-6deg); }
  .btn-primary { animation: pro-breathe 3.6s ease-in-out infinite; }
  .btn-primary::after, .btn-download::after { animation: pro-shine 6s ease-in-out infinite; }
  .btn-primary:hover::after, .btn-download:hover::after { animation: none; }

  /* ---- Numbered step circles + icon circles: float and send out a ring ---- */
  :is(.hiw-step-number, .dl-step-num, .doc-step-num, .hiw-done-icon, .guarantee-item-icon, .docs-head-icon) {
    position: relative; animation: pro-float 4.5s ease-in-out infinite;
  }
  :is(.hiw-step-number, .dl-step-num, .doc-step-num, .hiw-done-icon)::after {
    content: ""; position: absolute; inset: -6px; border-radius: inherit; pointer-events: none;
    border: 2px solid rgba(96, 165, 250, .55); animation: pro-ring 2.6s ease-out infinite;
  }
  :is(.hiw-step, .dl-step, .doc-step):nth-child(2) :is(.hiw-step-number, .dl-step-num, .doc-step-num),
  :is(.hiw-step, .dl-step, .doc-step):nth-child(2) :is(.hiw-step-number, .dl-step-num, .doc-step-num)::after { animation-delay: .6s; }
  :is(.hiw-step, .dl-step, .doc-step):nth-child(3) :is(.hiw-step-number, .dl-step-num, .doc-step-num),
  :is(.hiw-step, .dl-step, .doc-step):nth-child(3) :is(.hiw-step-number, .dl-step-num, .doc-step-num)::after { animation-delay: 1.2s; }
  :is(.hiw-step, .dl-step, .doc-step):nth-child(4) :is(.hiw-step-number, .dl-step-num, .doc-step-num),
  :is(.hiw-step, .dl-step, .doc-step):nth-child(4) :is(.hiw-step-number, .dl-step-num, .doc-step-num)::after { animation-delay: 1.8s; }

  /* ---- Icons on cards: tilt and grow when the card is hovered ---- */
  :is(.feature-icon, .step-icon, .sup-icon, .hiw-step-icon, .docs-card-icon, .fc-icon, .src-icon, .mock-source-icon) { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  :is(.feature-card, .step, .sup-card, .hiw-step, .docs-card, .src-card, .mock-source-item):hover :is(.feature-icon, .step-icon, .sup-icon, .hiw-step-icon, .docs-card-icon, .fc-icon, .src-icon, .mock-source-icon) { transform: scale(1.12) rotate(-6deg); }
  .fc-arrow { transition: transform .3s ease; }
  .feature-card:hover .fc-arrow { transform: translateX(4px) rotate(-45deg); }

  /* ---- Status dots: gentle "live" pulse ---- */
  :is(.map-dot, .rss-dot, .sup-dot) { animation: pro-pulse 1.9s ease-in-out infinite; }

  /* ---- Avatars, badges, chips: small lift on hover ---- */
  :is(.testi-avatar, .bpc-avatar, .rc-avatar, .frc-avatar, .dq-avatar) { transition: transform .3s ease, box-shadow .3s ease; }
  :is(.testi-card, .blog-post-card, .rc-card, .frc-card, .dq-card):hover :is(.testi-avatar, .bpc-avatar, .rc-avatar, .frc-avatar, .dq-avatar),
  :is(.testi-avatar, .bpc-avatar, .rc-avatar, .frc-avatar, .dq-avatar):hover { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
  :is(.section-badge, .page-hero-badge, .hero-badge, .v-chip, .pkh-tag, .hiw-step-tag, .float-badge) { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  :is(.section-badge, .page-hero-badge, .hero-badge, .v-chip, .pkh-tag, .hiw-step-tag):hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(59, 130, 246, .6); border-color: rgba(96, 165, 250, .6); }

  /* ---- Round header buttons: theme, language, back-to-top ---- */
  :is(.theme-toggle, .lang-toggle) { transition: transform .25s ease, background .25s ease; }
  :is(.theme-toggle, .lang-toggle):hover { transform: translateY(-2px); }
  .theme-toggle i { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
  .theme-toggle:hover i { transform: rotate(35deg) scale(1.1); }
  .lang-toggle:hover .lang-icon { display: inline-block; animation: pro-spin .8s ease; }
  .scroll-top::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(96, 165, 250, .5); animation: pro-ring 2.8s ease-out infinite; pointer-events: none; }
  .scroll-top:hover i { animation: pro-rise .6s ease; }

  /* ---- Play buttons ---- */
  :is(.demo-play-btn, .video-play-btn) { animation: pro-breathe 2.8s ease-in-out infinite; }

  @keyframes pro-breathe {
    0%, 100% { box-shadow: 0 10px 28px -10px rgba(59, 130, 246, .75), inset 0 1px 0 rgba(255, 255, 255, .22); }
    50%      { box-shadow: 0 14px 36px -8px rgba(59, 130, 246, 1), 0 0 0 6px rgba(59, 130, 246, .12), inset 0 1px 0 rgba(255, 255, 255, .22); }
  }
  @keyframes pro-shine { 0%, 78% { left: -120%; } 100% { left: 140%; } }
  @keyframes pro-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  @keyframes pro-ring  { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
  @keyframes pro-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .65; } }
  @keyframes pro-drop  { 0% { transform: translateY(0); } 40% { transform: translateY(4px); } 70% { transform: translateY(-2px); } 100% { transform: translateY(0); } }
  @keyframes pro-spin  { to { transform: rotate(360deg); } }
  @keyframes pro-rise  { 0% { transform: translateY(0); } 40% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
}
