/*
Theme Name: Raeshio Custom
Theme URI: https://raeshio.com
Author: Raeshio
Author URI: https://raeshio.com
Description: Hand-coded custom theme for Raeshio, AI-powered bookkeeping and accounting support for small businesses across the US and UAE.
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: raeshio
*/

/* ==========================================================================
   Variables — dark, glass-morphic "AI product" palette. No white sections.
   ========================================================================== */
:root {
  --navy: #0b1f3a;         /* mid-dark panel tone (stat panels, page-hero) */
  --navy-deep: #050e1c;    /* deepest background */
  --bg-body: #071527;      /* base page background */
  --bg-alt: #0d2038;       /* alternate section tone, replaces old "paper" */
  --blue: #5b8cff;
  --blue-deep: #3a68e0;
  --blue-light: rgba(91, 140, 255, .14);
  --violet: #9b8cff;
  --green: #4fd18b;
  --amber: #ffb454;
  --ink: #f5f8fd;          /* light heading/body text on dark backgrounds */
  --slate: rgba(245, 248, 253, .68);
  --muted-2: rgba(245, 248, 253, .5);
  --line: rgba(255, 255, 255, .12);
  --surface: rgba(255, 255, 255, .045);
  --surface-hover: rgba(255, 255, 255, .075);
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
  --maxw: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
* { box-sizing: border-box; }
/* Deliberately NOT scroll-behavior: smooth — the JS in animations.js
   drives every scroll (wheel easing, anchor-link jumps) itself via its
   own requestAnimationFrame loop. CSS smooth-scroll fights that: each
   per-frame window.scrollTo() would itself kick off a ~300ms native
   smooth animation that the next frame's call immediately interrupts,
   so the page barely moves. Keep this "auto" and let the JS do the easing. */
html { scroll-behavior: auto; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-body);
  background-image:
    radial-gradient(circle at 10% 0%, rgba(91,140,255,.10), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(155,140,255,.07), transparent 45%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--slate); }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--paper { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: rgba(255,255,255,.72); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: #7fa8ff; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { font-size: 17px; }

/* ==========================================================================
   Scroll reveal animations (progressive enhancement)
   ========================================================================== */
.js-ready .reveal,
.js-ready .reveal-stagger > *,
.js-ready .section-head {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.js-ready .reveal.is-visible,
.js-ready .reveal-stagger > *.is-visible,
.js-ready .section-head.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--white); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(91,140,255,.55); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.3); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-navy { background: transparent; border-color: rgba(91,140,255,.5); color: var(--blue); }
.btn-outline-navy:hover { background: rgba(91,140,255,.12); border-color: var(--blue); color: var(--ink); }

/* ==========================================================================
   Scroll progress bar — thin gradient strip pinned to the very top,
   fills left-to-right with how far down the page the visitor has scrolled.
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 210;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--violet, #9b8cff) 55%, var(--amber, #ffb85c));
  box-shadow: 0 0 12px rgba(91,140,255,.6);
  will-change: width;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 14, 28, .88);
  border-bottom: 1px solid var(--line);
  /* Hiding on scroll animates `top`, not `transform` — a transform (or
     filter/backdrop-filter) on this element would create a new containing
     block for the fixed-position mobile menu nested inside it, breaking
     its full-screen sizing. Keep this element transform-free. */
  transition: top .35s ease, box-shadow .35s ease, background .35s ease;
}
.site-header.is-hidden { top: -90px; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,.6); background: rgba(5, 14, 28, .97); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--white);
}
.site-logo img,
.site-logo-img { display: block; height: 38px; width: auto; max-width: none; }
.primary-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.primary-menu a {
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,.82);
  position: relative;
  padding: 6px 0;
}
.primary-menu a:hover,
.primary-menu li.current-menu-item > a { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); display: block; }

@media (max-width: 860px) {
  .primary-menu {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
    z-index: 150;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #061020;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 48px -12px rgba(0,0,0,.6);
  }
  .primary-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity .2s ease, transform .2s ease;
  }
  .primary-menu a { font-size: 18px; width: 100%; padding: 10px 0; }
  body.nav-open { overflow: hidden; }
  .nav-toggle { display: flex; position: relative; z-index: 160; }
  .nav-toggle span { transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions .btn-primary { padding: 10px 18px; font-size: 14px; }
}

@media (max-width: 560px) {
  .site-header .container { height: 66px; }
  .site-logo { font-size: 18px; }
  .header-actions { gap: 10px; }
  .header-actions .btn-primary { display: none; }
  .primary-menu { top: 66px; height: calc(100vh - 66px); height: calc(100dvh - 66px); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, #12305c 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 0 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at top, black, transparent 70%);
  transform: translateY(var(--parallax-grid, 0px));
  will-change: transform;
}
#hero-particles {
  position: absolute;
  inset: -10% 0 0 0;
  width: 100%;
  height: 110%;
  pointer-events: none;
  transform: translateY(var(--parallax-particles, 0px));
  will-change: transform;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(36px, 5vw, 56px); color: var(--white); }
.hero h1 span { color: #7fa8ff; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.78); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 26px; color: var(--white); }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,.6); }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.hero-card ul { display: flex; flex-direction: column; gap: 14px; }
.hero-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.hero-card li .dot { width: 8px; height: 8px; border-radius: 50%; background: #4fd18b; flex: none; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 70px; }
}

/* ==========================================================================
   Stats bar (trust strip, directly under hero)
   ========================================================================== */
.stats-bar { padding: 40px 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.stats-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.stats-bar .stat { text-align: center; flex: 1; min-width: 150px; }
.stats-bar .stat strong { display: block; font-size: clamp(22px, 2.6vw, 30px); color: var(--white); }
.stats-bar .stat span { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .07em; }

/* ==========================================================================
   Explainer video
   ========================================================================== */
.video-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--navy-deep);
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ==========================================================================
   Icon
   ========================================================================== */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91,140,255,.16), rgba(155,140,255,.16));
  border: 1px solid rgba(255,255,255,.1);
  color: #8fb2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex: none;
}
.icon-box svg { width: 26px; height: 26px; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(14px);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--surface-hover); border-color: rgba(255,255,255,.2); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 15px; }
.card .learn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--blue); }

/* ==========================================================================
   Service detail rows — one full, clearly separated block per service
   (icon/number/heading on the left, description + "what's included" list
   on the right), used on the Services page so each offering reads as its
   own thing rather than a cramped shared card.
   ========================================================================== */
.service-detail-list { display: flex; flex-direction: column; }
.service-detail-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.service-detail-list .service-detail-row:first-child { border-top: 0; padding-top: 0; }
.service-detail-head { display: flex; flex-direction: column; align-items: flex-start; }
.service-detail-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 14px;
}
.service-detail-head h3 { font-size: 24px; margin-bottom: 0; }
.service-detail-body p.service-detail-lead { font-size: 16px; color: var(--slate); max-width: 640px; }
.service-detail-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-top: 22px;
}
.service-detail-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
.service-detail-points li .tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.service-detail-points li .tick svg { width: 11px; height: 11px; }
@media (max-width: 900px) {
  .service-detail-row { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .service-detail-points { grid-template-columns: 1fr; }
}

/* Process / onboarding timeline */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process .step { position: relative; padding-top: 8px; }
.process .step h4 { font-size: 17px; margin-bottom: 8px; }
.process .step p { font-size: 14px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.step-time {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.process-compare {
  text-align: center;
  margin: 44px 0 0;
  font-size: 15px;
  color: var(--slate);
}
.process-compare strong { color: var(--ink); }
.process-compare .old { text-decoration: line-through; color: #ff8f87; }

/* ==========================================================================
   Pain points ("the problem" section)
   ========================================================================== */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card { display: flex; gap: 20px; align-items: flex-start; }
.pain-card .icon-box { background: rgba(255,180,84,.14); border-color: rgba(255,180,84,.25); color: var(--amber); margin-bottom: 0; }
.pain-card h3 { font-size: 17px; margin-bottom: 8px; }
.pain-card p { font-size: 14px; margin: 0; }

/* ==========================================================================
   AI console (live activity panel)
   ========================================================================== */
.ai-console {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(16px);
}
.ai-console-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 30px;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(79,209,139,.6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(79,209,139,.55); }
  70% { box-shadow: 0 0 0 12px rgba(79,209,139,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,209,139,0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.ai-console-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .ai-console-grid { grid-template-columns: 1fr; } }

.ai-chart-wrap h3, .ai-feed h3 { font-size: 16px; margin-bottom: 18px; color: var(--white); }
.ai-chart { display: flex; align-items: flex-end; gap: 12px; height: 170px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ai-chart .bar-col {
  flex: 1;
  height: 4%;
  background: linear-gradient(180deg, rgba(91,140,255,.95), rgba(155,140,255,.45));
  border-radius: 6px 6px 0 0;
  transition: height 1.1s cubic-bezier(.16,1,.3,1);
  position: relative;
}
.ai-chart-labels { display: flex; gap: 12px; margin-top: 10px; }
.ai-chart-labels span { flex: 1; text-align: center; font-size: 11px; color: var(--muted-2); }

.ai-feed { display: flex; flex-direction: column; gap: 12px; }
.ai-feed-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
}
.ai-feed-item .ai-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(79,209,139,.15);
  color: var(--green);
  flex: none;
}
.ai-feed-item .ai-tag.flag { background: rgba(255,180,84,.15); color: var(--amber); }
.ai-feed-item .ai-tag.recon { background: rgba(91,140,255,.15); color: #8fb2ff; }
.ai-feed-item span.ai-time { margin-left: auto; font-size: 12px; color: var(--muted-2); flex: none; }

/* ==========================================================================
   Integrations marquee
   ========================================================================== */
.integrations-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.integrations-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: raeshioMarquee 26s linear infinite;
}
.integrations-wrap:hover .integrations-track { animation-play-state: paused; }
@keyframes raeshioMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .integrations-track { animation: none; } }
.integrations-track span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--muted-2);
  white-space: nowrap;
}

/* ==========================================================================
   Industry tabs
   ========================================================================== */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.industry-tab {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--slate);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.industry-tab:hover { color: var(--white); border-color: rgba(255,255,255,.28); }
.industry-tab.is-active {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  border-color: transparent;
}
.industry-panel-item { display: none; }
.industry-panel-item.is-active { display: block; }

.industry-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .industry-grid { grid-template-columns: 1fr; } }
.industry-points { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.industry-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.industry-points li .icon-box { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 0; }
.industry-points li .icon-box svg { width: 17px; height: 17px; }
.industry-focus-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}
.industry-heading { font-size: 26px; }

.industry-panel {
  background: var(--navy);
  border-radius: 22px;
  padding: 36px;
  color: var(--white);
}
.industry-panel .badge {
  display: inline-block;
  background: rgba(79, 209, 139, .15);
  color: #4fd18b;
  border: 1px solid rgba(79, 209, 139, .3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}
.industry-panel h3 { font-size: 22px; color: var(--white); }
.industry-panel p { color: rgba(255,255,255,.75); font-size: 15px; }
.channel-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.channel-pills span {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.industry-stats { display: flex; gap: 36px; }
.industry-stats strong { display: block; font-size: 28px; color: var(--white); }
.industry-stats span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  backdrop-filter: blur(14px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(91,140,255,.16), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.pricing-card:hover::before { opacity: 1; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--surface-hover); }
.pricing-card--popular { border-color: var(--blue); box-shadow: 0 20px 40px -22px rgba(91,140,255,.4); }
.pricing-card--popular::after {
  content: "Most Popular";
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 0 0 0 14px;
}
.pricing-tier { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pricing-price strong { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.pricing-price span { font-size: 14px; color: var(--slate); }
.pricing-desc { font-size: 14px; margin-bottom: 26px; min-height: 42px; }
.pricing-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.pricing-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.pricing-features li .pf-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(79,209,139,.16); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex: none; margin-top: 1px;
}
.pricing-features li .pf-check svg { width: 11px; height: 11px; }
.pricing-note { text-align: center; margin-top: 40px; font-size: 14px; color: var(--slate); }

/* ==========================================================================
   Custom cursor (pointer + hover devices only; see animations.js)
   Three layers: soft blurred glow (slowest), ring (medium lag), dot (instant)
   ========================================================================== */
.raeshio-cursor-glow,
.raeshio-cursor-dot,
.raeshio-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-200px, -200px);
}
.raeshio-cursor-glow {
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  background: radial-gradient(circle, rgba(91,140,255,.4), rgba(155,140,255,.2) 42%, transparent 72%);
  filter: blur(4px);
  mix-blend-mode: screen;
  z-index: 9997;
  opacity: 0;
  transition: opacity .3s ease, width .35s cubic-bezier(.16,1,.3,1), height .35s cubic-bezier(.16,1,.3,1), margin .35s cubic-bezier(.16,1,.3,1);
}
.raeshio-cursor-glow.is-visible { opacity: .85; }
.raeshio-cursor-glow.is-active { width: 300px; height: 300px; margin: -150px 0 0 -150px; opacity: 1; }

.raeshio-cursor-dot {
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: var(--white);
  box-shadow: 0 0 12px 2px rgba(91,140,255,.8);
  z-index: 9999;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
}
.raeshio-cursor-ring {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 2px solid rgba(255,255,255,.65);
  box-shadow: 0 0 26px rgba(91,140,255,.4);
  z-index: 9998;
  opacity: 0;
  transition: width .3s cubic-bezier(.16,1,.3,1), height .3s cubic-bezier(.16,1,.3,1), margin .3s cubic-bezier(.16,1,.3,1), border-color .3s ease, background .3s ease, opacity .2s ease, box-shadow .3s ease;
}
.raeshio-cursor-dot.is-visible,
.raeshio-cursor-ring.is-visible { opacity: 1; }
.raeshio-cursor-ring.is-active {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  background: rgba(91,140,255,.14);
  border-color: var(--blue);
  box-shadow: 0 0 40px rgba(91,140,255,.6);
}
.raeshio-cursor-ring.is-clicking { width: 30px; height: 30px; margin: -15px 0 0 -15px; }

/* Scroll feedback: while the page is actively scrolling the ring/glow
   stretch slightly into a motion trail and dim a touch, then relax back
   the instant scrolling stops — a small cue that the cursor stays "alive"
   even when no mousemove events are firing. */
.raeshio-cursor-ring.is-scrolling {
  transition: transform .12s linear, width .25s ease, height .25s ease, margin .25s ease, opacity .25s ease;
}
.raeshio-cursor-glow.is-scrolling { opacity: .5; transition: opacity .25s ease, transform .12s linear; }
html.has-custom-cursor,
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor .card,
html.has-custom-cursor .pricing-card,
html.has-custom-cursor .industry-tab,
html.has-custom-cursor .faq-item summary,
html.has-custom-cursor label { cursor: none; }
html.has-custom-cursor input,
html.has-custom-cursor textarea { cursor: text; }

/* Why us list */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .icon-box { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 0; }
.why-item .icon-box svg { width: 20px; height: 20px; }
.why-item h4 { font-size: 16px; margin-bottom: 4px; }
.why-item p { font-size: 14px; margin: 0; }
.why-panel {
  background: var(--navy);
  border-radius: 22px;
  padding: 36px;
  color: var(--white);
}
.why-panel .badge {
  display: inline-block;
  background: rgba(79, 209, 139, .15);
  color: #4fd18b;
  border: 1px solid rgba(79, 209, 139, .3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}
.why-panel h3 { font-size: 22px; color: var(--white); }
.why-panel p { color: rgba(255,255,255,.75); font-size: 15px; }
.why-panel .meter { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.why-panel .meter-row { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.why-panel .bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.why-panel .bar span { display: block; height: 100%; background: linear-gradient(90deg, #4fd18b, #7fa8ff); border-radius: 999px; }

@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
}
.testi-card .testi-quote { font-size: 15px; color: var(--ink); margin-bottom: 20px; flex: 1; }
.testi-quote::before { content: "\201C"; color: var(--blue); font-size: 30px; font-weight: 800; display: block; margin-bottom: -6px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex: none;
}
.testi-card .testi-person strong { display: block; font-size: 14px; color: var(--ink); }
.testi-card .testi-person span { font-size: 13px; color: var(--slate); }
.testi-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(79,209,139,.12);
  border: 1px solid rgba(79,209,139,.25);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* FAQ accordion */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); backdrop-filter: blur(14px); overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--blue);
  font-weight: 400;
  flex: none;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; font-size: 15px; color: var(--slate); }

/* Contact / CTA */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, #143a6e 100%);
  color: var(--white);
  border-radius: 26px;
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(26px, 3vw, 34px); color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: center; }
.contact-info-item span.label { display: block; font-size: 13px; color: var(--slate); }
.contact-info-item strong { font-size: 15px; color: var(--ink); }
.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--slate);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.social-row a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.social-row svg { width: 18px; height: 18px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(14px);
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 13px; font-weight: 700; color: var(--ink); }
.form-row input, .form-row textarea, .form-row select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--font);
  font-size: 14px;
  background: rgba(255,255,255,.04);
  color: var(--ink);
  resize: vertical;
}
.form-row select { appearance: auto; cursor: pointer; }
.form-row select option { background: var(--navy-deep); color: var(--ink); }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted-2); }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--slate); margin-bottom: 20px; }
.form-consent input { margin-top: 3px; }
.form-notice { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.form-notice.success { background: rgba(79,209,139,.12); color: #6fe3ab; border: 1px solid rgba(79,209,139,.3); }
.form-notice.error { background: rgba(255,107,107,.12); color: #ff8f87; border: 1px solid rgba(255,107,107,.3); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 72px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .site-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .site-logo-img { height: 44px; }
.footer-brand p { max-width: 320px; font-size: 14px; }
.site-footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom .social-row a { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.7); }

/* Generic page fallback */
.page-hero { background: var(--navy); color: var(--white); padding: 70px 0; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); color: var(--white); }
.entry-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 64px 24px 96px;
	color: var(--slate);
	font-size: 17px;
	line-height: 1.7;
}
.entry-content h1,
.entry-content h2,
.entry-content h3 { color: var(--ink); margin-top: 1.6em; }
.entry-content h2 { font-size: clamp(24px, 3vw, 32px); }
.entry-content h3 { font-size: 20px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .5em; color: var(--slate); }
.entry-content img { max-width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { text-align: center; font-size: 14px; color: var(--slate); margin-top: 10px; }
.entry-content blockquote {
	margin: 2em 0;
	padding: 20px 28px;
	border-left: 3px solid var(--blue);
	background: rgba(255,255,255,.035);
	border-radius: 0 12px 12px 0;
	color: var(--ink);
	font-style: italic;
}
.entry-content hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content .wp-block-columns { display: flex; gap: 32px; flex-wrap: wrap; }
.entry-content .wp-block-column { flex: 1 1 240px; }
.entry-content .wp-block-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.6em 0; }
.entry-content .wp-block-button__link {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--blue), var(--violet, #9b8cff));
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}
@media (max-width: 640px) {
	.entry-content { font-size: 16px; padding: 48px 20px 72px; }
	.entry-content .wp-block-columns { flex-direction: column; gap: 20px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .cta-banner { padding: 36px 22px; }
}
