/* =========================================================
   iGaming SEO Backlinks — Stylesheet
   ========================================================= */

:root {
  --primary: #FF7A00;
  --primary-light: #FF8A00;
  --gold: #FF9D2E;
  --bg: #050505;
  --bg-alt: #0A0A0C;
  --card: #0D0D10;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 122, 0, 0.35);
  --text: #FFFFFF;
  --text-secondary: #A7A7A7;
  --text-muted: #6F6F73;
  --success: #20D878;
  --blue: #3B82F6;

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--primary); }

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--primary);
  color: #000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* =========================================================
   Background FX
   ========================================================= */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 122, 0, 0.16) 0%, rgba(255, 122, 0, 0) 65%);
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}

/* =========================================================
   Custom cursor
   ========================================================= */
.cursor-dot,
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.cursor-glow {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0) 70%);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-glow { display: none; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #0a0500;
}
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(255, 122, 0, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(59, 130, 246, 0.4);
  color: #fff;
}
.btn-secondary:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 24px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ease), opacity 0.3s ease;
}
.mobile-menu.open {
  max-height: 560px;
  opacity: 1;
}
.mobile-link {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.mobile-cta {
  margin-top: 14px;
  justify-content: center;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.section {
  position: relative;
  padding: 70px 0;
  z-index: 1;
}

.section-head {
  max-width: 740px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-sub, .section-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 60ch;
}

.section-head .section-sub { margin: 0 auto; }

.section-cta { text-align: center; margin-top: 48px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px -20px rgba(255, 122, 0, 0.35);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 122, 0, 0.1);
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-weight: 400;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.card-link:hover { transform: translateX(3px); }

.card-metric {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}
.check-list-orange li::before { color: var(--primary); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  z-index: 1;
  padding: 70px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.95fr;
  gap: 60px;
  align-items: center;
  /* margin-bottom: 552px; */
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 122, 0, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 32px;
}

.stat { display: flex; flex-direction: column; }
.stat-num, .stat-num-static {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-dashboard {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.dashboard-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.dashboard-card {
  background: linear-gradient(180deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 40px -10px rgba(255, 122, 0, 0.12);
}

.dashboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.dashboard-row:last-child { border-bottom: none; }

.row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}
.row-icon { color: var(--primary); font-size: 0.7rem; }

.row-value.up {
  color: var(--success);
  font-weight: 700;
  font-size: 0.92rem;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.info-card h3 {
  font-family: var(--font-display);
  margin-bottom: 22px;
  font-size: 1.2rem;
}

/* =========================================================
   Why us
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.stat-card h3 {
  font-family: var(--font-display);
  margin-bottom: 24px;
}

.progress-row { margin-bottom: 20px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.progress-value { color: var(--text); font-weight: 600; }
.progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transition: width 1.1s var(--ease);
}

.testimonial {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  /* font-style: italic; */
  font-size: 0.95rem;
  line-height: 1.7;
}
.testimonial-author {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
}
.author-name { font-weight: 600; }
.author-role { font-size: 0.82rem; color: var(--text-muted); }

/* =========================================================
   Process
   ========================================================= */
.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.process-line {
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.process-step {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}

.process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.process-step h3 { font-size: 1.02rem; margin-bottom: 10px; font-family: var(--font-display); }
.process-step p { color: var(--text-secondary); font-size: 0.88rem; }

/* =========================================================
   Geo / Markets
   ========================================================= */
.geo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}



.geo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px;
  align-items: start;
}
.geo-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.geo-panel h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-bottom: 18px;
  color: var(--text);
}

.geo-panel .h3 {
  font-size: 1.3rem;
  /* margin-bottom: 14px; */
}

.geo-panel-2 {
  background: var(--card);
  border: 1px solid #ff9b28b7;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 0 40px -12px rgba(255, 122, 0, 0.3);
}
.geo-panel .white{
  color: var(--text);
}
.geo-panel h3:not(:first-child) { margin-top: 0px; }

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
}
.pill-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* =========================================================
   Pricing
   ========================================================= */
.pricing-card { text-align: center; position: relative; }
.pricing-featured {
  border-color: var(--border-strong);
  box-shadow: 0 0 40px -12px rgba(255, 122, 0, 0.3);
}
.pricing-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #0a0500;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item:hover { border-color: var(--border-strong); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-body);
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: transform 0.3s var(--ease);
}
.faq-icon::before { width: 100%; height: 2px; top: 7px; left: 0; }
.faq-icon::after { width: 2px; height: 100%; top: 0; left: 7px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-icon::before { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-answer p {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* =========================================================
   Blog
   ========================================================= */
.blog-meta {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.blog-meta span:first-child { color: var(--primary); font-weight: 600; }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card), var(--bg-alt));
  overflow: hidden;
}
.final-cta-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.22), transparent 70%);
  animation: pulse-glow 5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.final-cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 18px;
}
.final-cta p {
  position: relative;
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 auto 34px;
}
.final-cta .hero-ctas { position: relative; justify-content: center; margin-bottom: 0; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo { display: block; margin-bottom: 16px; font-size: 1.2rem; }

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.cta-igaming{
  color: black !important;
  font-weight: 500;
  padding: 14px 16px !important;
  margin-top: 20px !important;
  border-radius: 999px !important;
  align-items: center !important;
  /* text-align: center !important; */
  background: linear-gradient(135deg, var(--primary), var(--gold));
}
.footer-col a:hover { color: var(--primary); }

.footer-cta { margin-top: 10px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-bottom: 0;
}
.social-links a:hover { border-color: var(--primary); color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--primary); }

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #0a0500;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal, .reveal-left, .reveal-right, .scale-reveal {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal { transform: translateY(24px); }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.scale-reveal { transform: scale(0.94); }

.reveal.in-view, .reveal-left.in-view, .reveal-right.in-view, .scale-reveal.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1439px) {
  .container { padding: 0 22px; }
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-dashboard { order: -1; }
  .about-grid, .why-grid, .geo-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas, .about-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .about-ctas .btn { justify-content: center; }
  .cursor-dot, .cursor-glow { display: none; }
  .bg-glow { width: 560px; height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-dashboard { animation: none; }
  .cursor-dot, .cursor-glow { display: none; }
}

/* =========================================================
   ANIMATION ENHANCEMENTS
   (page loader, hero entrance, scroll progress, spotlight,
   refined cursor, stagger, micro-interactions)
   ========================================================= */

/* ---------- Page loader ---------- */
html.site-loading,
html.site-loading body {
  overflow: hidden;
  height: 100%;
}

body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.site-loaded body {
  opacity: 1;
  transform: translateY(0);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.loader-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.18), transparent 70%);
}
.loader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.loader-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.6);
  border-radius: 999px;
}
.loader-percent {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.55);
  z-index: 9998;
}

/* ---------- Mouse spotlight ---------- */
.mouse-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 122, 0, 0.07),
    transparent 26%
  );
}

/* ---------- Refined cursor ring ---------- */
.cursor-glow {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 122, 0, 0.45);
  background: radial-gradient(circle, rgba(255, 122, 0, 0.08), transparent 70%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
    border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor-glow.cursor-active {
  width: 66px;
  height: 66px;
  border-color: rgba(255, 122, 0, 0.85);
  background: radial-gradient(circle, rgba(255, 122, 0, 0.16), transparent 70%);
}

/* ---------- Hero sequenced entrance ---------- */
.badge,
.hero-title,
.hero-text,
.hero-ctas {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hero-dashboard {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hero-stats .stat {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.site-loaded .badge { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
html.site-loaded .hero-title { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
html.site-loaded .hero-text { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
html.site-loaded .hero-ctas { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
html.site-loaded .hero-dashboard { opacity: 1; transform: translateX(0); transition-delay: 0.85s; }

html.site-loaded .hero-stats .stat:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.70s; }
html.site-loaded .hero-stats .stat:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.76s; }
html.site-loaded .hero-stats .stat:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.82s; }
html.site-loaded .hero-stats .stat:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.88s; }

/* Subtle reveal for the highlighted orange headline phrase */
.hero-title .accent {
  display: inline-block;
  transition: opacity 0.6s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s, filter 0.6s var(--ease) 0.5s;
  opacity: 0;
  transform: translateY(6px);
  filter: blur(4px);
}
html.site-loaded .hero-title .accent {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- Section heading sequence (eyebrow -> title -> sub) ---------- */
.section-head.reveal .eyebrow,
.section-head.reveal .section-title,
.section-head.reveal .section-sub {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.section-head.reveal.in-view .eyebrow { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.section-head.reveal.in-view .section-title { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.section-head.reveal.in-view .section-sub { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }

/* ---------- Stagger for grouped items ---------- */
.grid > *:nth-child(1), .process-list > .process-step:nth-child(1), .faq-list > .faq-item:nth-child(1), .footer-grid > .footer-col:nth-child(1) { transition-delay: 0.02s; }
.grid > *:nth-child(2), .process-list > .process-step:nth-child(2), .faq-list > .faq-item:nth-child(2), .footer-grid > .footer-col:nth-child(2) { transition-delay: 0.10s; }
.grid > *:nth-child(3), .process-list > .process-step:nth-child(3), .faq-list > .faq-item:nth-child(3), .footer-grid > .footer-col:nth-child(3) { transition-delay: 0.18s; }
.grid > *:nth-child(4), .process-list > .process-step:nth-child(4), .faq-list > .faq-item:nth-child(4), .footer-grid > .footer-col:nth-child(4) { transition-delay: 0.26s; }
.grid > *:nth-child(5), .process-list > .process-step:nth-child(5), .faq-list > .faq-item:nth-child(5) { transition-delay: 0.34s; }
.grid > *:nth-child(6) { transition-delay: 0.42s; }
.faq-list > .faq-item:nth-child(6) { transition-delay: 0.42s; }
.faq-list > .faq-item:nth-child(7) { transition-delay: 0.48s; }
.faq-list > .faq-item:nth-child(8) { transition-delay: 0.54s; }
.faq-list > .faq-item:nth-child(9) { transition-delay: 0.60s; }

/* ---------- Service card hover refinement ---------- */
.service-card .card-icon {
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.service-card:hover .card-icon {
  transform: scale(1.1) rotate(-6deg);
  background: rgba(255, 122, 0, 0.18);
}
.service-card:hover .card-link {
  transform: translateX(4px);
}
.blog-card:hover, .link-card:hover {
  border-color: var(--border-strong);
}
.blog-card:hover h3 { color: var(--primary); }

/* ---------- 3D tilt light reflection ---------- */
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
}
.tilt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--tilt-x, 50%) var(--tilt-y, 50%),
    rgba(255, 122, 0, 0.10),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tilt-card:hover::before { opacity: 1; }

/* ---------- Button micro-interactions ---------- */
.btn {
  position: relative;
  overflow: hidden;
  margin-top: 15px;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: scale(0.97); }

/* ---------- Process timeline animated fill ---------- */
.process-line {
  overflow: hidden;
}
.process-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transition: width 1.4s var(--ease);
}

@media (max-width: 1023px) {
  .process-list { position: relative; }
  .process-step { padding-left: 30px; }
  .process-step::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 30px;
    bottom: -24px;
    width: 1px;
    background: var(--border-strong);
  }
  .process-step:last-child::before { display: none; }
}

/* ---------- Footer icon micro-interactions ---------- */
.social-links a {
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.social-links a:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 14px rgba(255, 122, 0, 0.35);
}

/* ---------- FAQ refinement ---------- */
.faq-question {
  transition: background 0.3s ease;
}
.faq-question[aria-expanded="true"] {
  background: rgba(255, 122, 0, 0.05);
}
.faq-answer p {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s var(--ease) 0.05s, transform 0.35s var(--ease) 0.05s;
}
.faq-item.faq-open .faq-answer p {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Final CTA slow gradient drift ---------- */
.final-cta-glow {
  animation: pulse-glow 5s ease-in-out infinite, drift-glow 12s ease-in-out infinite;
}
@keyframes drift-glow {
  0%, 100% { margin-left: -30px; }
  50% { margin-left: 30px; }
}

/* ---------- Reduced motion overrides ---------- */
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1 !important; transform: none !important; transition: none !important; }
  .loader { display: none !important; }
  .badge, .hero-title, .hero-text, .hero-ctas, .hero-dashboard, .hero-stats .stat,
  .hero-title .accent, .section-head.reveal .eyebrow, .section-head.reveal .section-title,
  .section-head.reveal .section-sub {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .final-cta-glow { animation: none !important; }
  .btn::after { display: none; }
  .mouse-spotlight { display: none; }
}

/* ---------- Mobile: lighten motion ---------- */
@media (max-width: 767px) {
  .mouse-spotlight { display: none; }
}
