/* =========================================================
   iTechTrails – Master Stylesheet
   Path: /assets/css/style.css
   ========================================================= */

/* =========================================================
   1. RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg:           #0a0e1a;
  --bg-2:         #0f1424;
  --card:         rgba(255,255,255,0.04);
  --card-hover:   rgba(255,255,255,0.06);
  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(79,140,255,0.30);

  /* Text */
  --text:         #e8ecf4;
  --muted:        #94a3b8;
  --muted-2:      #64748b;

  /* Accents */
  --accent:       #4f8cff;
  --accent-2:     #22d3ee;
  --accent-3:     #a78bfa;
  --accent-4:     #f472b6;
  --accent-5:     #4ade80;

  /* Gradients */
  --gradient:     linear-gradient(135deg, #4f8cff 0%, #22d3ee 100%);
  --gradient-p:   linear-gradient(135deg, #a78bfa 0%, #4f8cff 100%);
  --gradient-k:   linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
  --gradient-s:   linear-gradient(135deg, #22d3ee 0%, #f472b6 100%);
  --gradient-g:   linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* =========================================================
   2. NAVIGATION
   ========================================================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 1rem 2rem;
  background: rgba(10,14,26,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  isolation: isolate;
}

.site-nav.nav-scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  background: rgba(10,14,26,0.92);
}

.site-nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s, transform .2s;
}

.logo:hover { opacity: .9; }

.logo-img {
  height: 60px;         /* was 42px → now 60px */
  width: auto;
  max-width: 260px;     /* was 200px → now 260px */
  display: block;
  object-fit: contain;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px var(--accent);
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-menu > li { position: relative; }

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
  display: inline-block;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--text); }

.nav-menu a.active::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.has-dropdown > a { padding-right: .3rem; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: #0f1424;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .5rem 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  list-style: none;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}

.has-dropdown:hover .dropdown { display: block; }

.dropdown li { list-style: none; }

.dropdown a {
  display: block;
  padding: .6rem 1.2rem;
  font-size: .85rem;
  color: var(--muted);
  transition: background .2s, color .2s;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: .55rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: .88rem;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79,140,255,0.35);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background .2s;
  margin-left: .5rem;
}

.nav-toggle:hover { background: rgba(255,255,255,0.06); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.site-nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: all .25s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(79,140,255,0.30);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(79,140,255,0.45);
  color: #fff;
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
  transform: translateY(-2px);
}

/* =========================================================
   4. HERO (with techno animation)
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 20%, rgba(79,140,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34,211,238,0.08) 0%, transparent 50%),
    #0a0e1a;
}

/* Animated grid layer */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(79,140,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,140,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(55deg);
  transform-origin: center center;
  animation: gridPan 20s linear infinite;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

@keyframes gridPan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 48px, 48px 0; }
}

/* Glow orbs layer */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(79,140,255,0.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(34,211,238,0.20) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(167,139,250,0.15) 0%, transparent 45%);
  filter: blur(50px);
  animation: orbFloat 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes orbFloat {
  0%   { transform: translate3d(0, 0, 0)        scale(1);    opacity: .9; }
  50%  { transform: translate3d(20px, -30px, 0) scale(1.1);  opacity: 1; }
  100% { transform: translate3d(-15px, 20px, 0) scale(1.05); opacity: .85; }
}

/* Scanning line */
.hero-scanline {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  z-index: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(79,140,255,0.6) 50%,
    transparent 100%
  );
  box-shadow: 0 0 24px rgba(34,211,238,0.6);
  animation: scanDown 8s linear infinite;
  pointer-events: none;
}

@keyframes scanDown {
  0%   { top: 5%;  opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

/* Floating node dots */
.hero-nodes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-nodes span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: nodePulse 4s ease-in-out infinite;
}

.hero-nodes span:nth-child(1) { top: 15%; left: 12%; animation-delay: 0s; }
.hero-nodes span:nth-child(2) { top: 30%; left: 78%; animation-delay: .5s; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-nodes span:nth-child(3) { top: 55%; left: 22%; animation-delay: 1s; background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); }
.hero-nodes span:nth-child(4) { top: 70%; left: 82%; animation-delay: 1.5s; }
.hero-nodes span:nth-child(5) { top: 85%; left: 45%; animation-delay: 2s; background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); }
.hero-nodes span:nth-child(6) { top: 45%; left: 60%; animation-delay: 2.5s; }
.hero-nodes span:nth-child(7) { top: 20%; left: 42%; animation-delay: 3s; background: var(--accent-4); box-shadow: 0 0 10px var(--accent-4); }
.hero-nodes span:nth-child(8) { top: 78%; left: 8%;  animation-delay: 3.5s; }

@keyframes nodePulse {
  0%, 100% { transform: scale(1);   opacity: .5; }
  50%      { transform: scale(1.6); opacity: 1; }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.badge span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gradient-text-p {
  background: var(--gradient-p);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gradient-text-k {
  background: var(--gradient-k);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Hero visual – floating cards */
.hero-visual {
  position: relative;
  height: 460px;
}

.glass-card {
  position: absolute;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.card-1 { top: 6%;  left: 0;    width: 260px; animation: float1 6s ease-in-out infinite; }
.card-2 { top: 38%; right: 0;   width: 240px; animation: float2 7s ease-in-out infinite; }
.card-3 { bottom: 0; left: 15%; width: 230px; animation: float1 8s ease-in-out infinite; }

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(12px); }
}

.card-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
  font-size: 1.1rem;
}

.card-title {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .3rem;
}

.card-sub {
  font-size: .78rem;
  color: var(--muted);
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  margin-top: .8rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 100px;
  width: 78%;
  animation: fill 3s ease-in-out infinite alternate;
}

@keyframes fill {
  from { width: 55%; }
  to   { width: 92%; }
}

/* =========================================================
   5. PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: 9rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(79,140,255,0.18) 0%, transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 1.2rem;
}

.page-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.page-hero .breadcrumb a:hover { color: var(--accent); }

.page-hero .breadcrumb .sep {
  margin: 0 .55rem;
  opacity: .5;
}

.page-hero .badge {
  position: relative;
  z-index: 2;
  margin-bottom: 1.4rem;
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.page-hero .hero-cta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero .updated {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .85rem;
  margin-top: .8rem;
  padding: .4rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
}

/* =========================================================
   6. SECTIONS
   ========================================================= */
.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  color: var(--accent-2);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: .7rem;
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section .lead {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* =========================================================
   7. CARDS
   ========================================================= */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform .3s, border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--card-hover);
}

.card:hover::before { opacity: 1; }

.card-icon-lg {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

/* Service cards */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--card-hover);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.service-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-card .arrow {
  color: var(--accent);
  font-size: .85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s;
}

.service-card:hover .arrow { gap: .7rem; }

/* =========================================================
   8. GRIDS
   ========================================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* =========================================================
   9. TRUST BAR
   ========================================================= */
.trust {
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.trust p {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: .6;
}

.trust-logos span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--muted);
  transition: color .25s;
}

.trust-logos span:hover { color: var(--accent); }

/* =========================================================
   10. PROCESS / STEPS
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: transform .3s, border-color .3s;
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.step-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: .8rem;
  display: block;
}

.step h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.step p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

/* =========================================================
   11. BENEFITS / WHY
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-list,
.why-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.benefits-list li,
.why-list li {
  display: flex;
  gap: .9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #cbd5e1;
  font-size: .95rem;
  line-height: 1.65;
}

.benefits-list li:last-child,
.why-list li:last-child { border-bottom: none; }

.check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  margin-top: 2px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-visual {
  position: relative;
  height: 420px;
}

.why-card {
  position: absolute;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.why-card .num {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.why-card .lbl {
  color: var(--muted);
  font-size: .82rem;
  margin-top: .2rem;
  font-weight: 500;
}

.wc-1 { top: 4%;  left: 0;    width: 220px; animation: float1 6s ease-in-out infinite; }
.wc-2 { top: 42%; right: 0;   width: 240px; animation: float2 7s ease-in-out infinite; }
.wc-3 { bottom: 0; left: 14%; width: 230px; animation: float1 8s ease-in-out infinite; }

/* =========================================================
   12. STATS
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(79,140,255,0.08), rgba(34,211,238,0.05));
  border: 1px solid rgba(79,140,255,0.18);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}

.stat .value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}

.stat .label {
  color: var(--muted);
  font-size: .85rem;
  margin-top: .6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* =========================================================
   13. TESTIMONIALS
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform .3s, border-color .3s;
}

.testimonial:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.stars {
  color: var(--accent-2);
  font-size: .95rem;
  letter-spacing: .15em;
  margin-bottom: 1rem;
}

.testimonial blockquote {
  color: #cbd5e1;
  font-size: .95rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: .95rem;
  flex-shrink: 0;
}

.author-info .name {
  font-weight: 700;
  color: var(--text);
  font-size: .92rem;
}

.author-info .role {
  color: var(--muted);
  font-size: .8rem;
}

/* =========================================================
   14. BLOG CARDS
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .3s, border-color .3s, background .3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--card-hover);
}

.blog-card .thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}

.blog-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.22), transparent 60%);
}

.blog-card .body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .cat {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-2);
  margin-bottom: .6rem;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .6rem;
  transition: color .2s;
}

.blog-card:hover h3 { color: var(--accent); }

.blog-card p {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card .meta {
  color: var(--muted-2);
  font-size: .78rem;
}

.view-all {
  text-align: center;
  margin-top: 2.5rem;
}

/* =========================================================
   15. FAQ
   ========================================================= */
.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s;
}

.faq-item:hover { border-color: var(--border-hover); }

.faq-item summary {
  padding: 1.3rem 1.6rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: .98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform .25s;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.75;
}

/* =========================================================
   16. CTA BOX
   ========================================================= */
.cta-section {
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(79,140,255,0.12), rgba(34,211,238,0.08));
  border: 1px solid rgba(79,140,255,0.25);
  border-radius: 24px;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(79,140,255,0.15), transparent 60%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.cta-box > * { position: relative; z-index: 2; }

.cta-box h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-box .btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   17. LEGAL PAGES
   ========================================================= */
.legal-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.toc {
  position: sticky;
  top: 90px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

.toc h3 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text);
  margin-bottom: 1rem;
}

.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: .35rem; }

.toc a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  line-height: 1.5;
  display: block;
  padding: .4rem 0 .4rem .7rem;
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.toc a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.legal-content {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2.5rem;
}

.legal-content .intro {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.8;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.legal-content section {
  scroll-margin-top: 100px;
  padding-top: 1.5rem;
}

.legal-content section:first-of-type { padding-top: 0; }

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.legal-content h2 .num {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 .7rem;
}

.legal-content p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }

.legal-content ul li {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  padding: .45rem 0 .45rem 1.5rem;
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.legal-content strong { color: var(--text); font-weight: 600; }

.legal-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted rgba(79,140,255,0.4);
  transition: color .2s, border-color .2s;
}

.legal-content a:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.legal-box {
  background: rgba(79,140,255,0.06);
  border: 1px solid rgba(79,140,255,0.2);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
}

.legal-box p { color: #cbd5e1; margin-bottom: 0; font-size: .9rem; }

.legal-warn {
  background: rgba(244,114,182,0.06);
  border: 1px solid rgba(244,114,182,0.2);
  border-left: 3px solid var(--accent-4);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
}

.legal-warn p { color: #cbd5e1; margin-bottom: 0; font-size: .9rem; }

.contact-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.2rem;
}

.contact-block p { margin-bottom: .5rem; color: #cbd5e1; }
.contact-block p:last-child { margin-bottom: 0; }

.back-to-top {
  text-align: center;
  margin-top: 3rem;
}

.back-to-top a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: .7rem 1.4rem;
  border-radius: 10px;
  background: rgba(79,140,255,0.08);
  border: 1px solid rgba(79,140,255,0.2);
  transition: all .25s;
}

.back-to-top a:hover {
  background: rgba(79,140,255,0.15);
  transform: translateY(-2px);
}

/* =========================================================
   18. FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(79,140,255,0.03) 100%);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col.brand .logo {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-col.brand p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.2rem;
}

.footer-social {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(79,140,255,0.1);
  border: 1px solid rgba(79,140,255,0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  transition: all .25s;
}

.footer-social a:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79,140,255,0.35);
}

.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: .7rem;
}

.footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.5;
  transition: color .2s, padding-left .2s;
  display: inline-block;
  position: relative;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-col ul li a:hover::before {
  content: '→';
  position: absolute;
  left: -10px;
  color: var(--accent);
  font-size: .8rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: .82rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-2);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom .legal-links a {
  color: var(--muted-2);
  text-decoration: none;
  transition: color .2s;
}

.footer-bottom .legal-links a:hover {
  color: var(--accent);
}

/* =========================================================
   19. JS-DRIVEN STYLES
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Back-to-top FAB (created by JS) */
.back-to-top-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(79,140,255,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  z-index: 90;
}

.back-to-top-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(79,140,255,0.5);
}

/* =========================================================
   20. RESPONSIVE
   ========================================================= */

/* ---- Tablet (≤900px) ---- */
@media (max-width: 900px) {
  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { height: 360px; }

  /* Why / Benefits */
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-visual { height: 340px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Legal */
  .legal-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .toc { position: static; }

  /* Footer → 2 cols */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-col.brand { grid-column: 1 / -1; }

  /* Show hamburger */
  .nav-toggle { display: flex; }

  /* Mobile drawer */
  .nav-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.5rem 2rem;
    overflow-y: auto;
    list-style: none;
    border-top: 1px solid var(--border);
    z-index: 9998;
    animation: drawerIn .3s ease;
  }

  @keyframes drawerIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .site-nav.nav-open .nav-menu { display: flex; }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu > li:last-child { border-bottom: none; }

  .nav-menu > li > a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
  }

  .nav-menu a.active { color: var(--accent); }
  .nav-menu a.active::after { display: none; }

  /* Mobile dropdown */
  .dropdown {
    display: none;
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 .75rem 1rem;
    min-width: auto;
    border-left: 2px solid rgba(79,140,255,0.25);
    margin-left: .5rem;
  }

  .has-dropdown.open .dropdown { display: block; }

  .dropdown a {
    padding: .55rem 0;
    font-size: .9rem;
  }

  .has-dropdown > a::after {
    content: ' ▾';
    display: inline-block;
    color: var(--accent);
    transition: transform .25s;
  }
  .has-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  /* Logo sizing */
  .logo-img { height: 38px; }
}

/* ---- Small mobile (≤600px) ---- */
@media (max-width: 600px) {
  .site-nav { padding: 1rem 1.2rem; }

  .hero { padding: 7rem 1.2rem 3rem; }
  .hero-visual { height: 320px; }
  .card-1, .card-2, .card-3 { width: 200px; }
  .wc-1, .wc-2, .wc-3 { width: 180px; }

  .page-hero { padding: 7rem 1.2rem 3rem; }
  .section { padding: 3.5rem 1.2rem; }

  .trust-logos { gap: 1.5rem; }

  .cta-box { padding: 3rem 1.5rem; }

  .legal-wrap { padding: 2rem 1.2rem 3rem; }
  .legal-content { padding: 1.6rem 1.2rem; }
  .legal-content h2 { font-size: 1.2rem; }

  /* Footer → 1 col */
  .site-footer { padding: 3rem 1.2rem 1.5rem; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-bottom .legal-links {
    justify-content: center;
  }
  .footer-col.brand p { max-width: 100%; }

  .logo-img { height: 34px; max-width: 160px; }

  .back-to-top-fab {
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }
}

/* ---- Very small (≤480px) ---- */
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .section h2 { font-size: 1.5rem; }
  .btn { padding: .75rem 1.3rem; font-size: .88rem; }
  .footer-social a { width: 34px; height: 34px; font-size: .85rem; }
}

/* =========================================================
   21. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-scanline,
  .hero-nodes span,
  .card-1, .card-2, .card-3,
  .wc-1, .wc-2, .wc-3,
  .cta-box::before,
  .progress-fill {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}