/* ==========================================================================
   REN NETWORK — STYLESHEET
   ========================================================================== */

/* ── 1. RESET & CSS VARIABLES ── */

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

:root {
  --bg:      #07090f;
  --surface: #0d1117;
  --card:    #111520;
  --border:  rgba(255,255,255,0.07);
  --accent:  #818cf8;
  --accent2: #22d3ee;
  --gold:    #fbbf24;
  --text:    #f1f5f9;
  --muted:   #8892a4;
  --radius:  14px;
}

/* ── 2. BASE ── */

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: .4;
}

/* ── 3. KEYFRAMES ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}
@keyframes pulseOrb {
  0%, 100% { opacity: .3;  transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: .55; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes auroraShift {
  0%, 100% { opacity: .75; }
  50%       { opacity: 1; }
}
@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0); }
  33%  { transform: translateY(-20px) translateX(10px); }
  66%  { transform: translateY(-10px) translateX(-8px); }
  100% { transform: translateY(0) translateX(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes statGlow {
  0%, 100% { opacity: .3; filter: blur(8px); }
  50%       { opacity: .6; filter: blur(12px); }
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes beamPulse {
  0%, 100% { width: 60px; opacity: 1; }
  50%       { width: 90px; opacity: .7; }
}
@keyframes glitch {
  0%   { text-shadow: none; transform: translate(0); }
  20%  { text-shadow: -2px 0 rgba(99,102,241,.6), 2px 0 rgba(6,182,212,.6); transform: translate(-1px, 0); }
  40%  { text-shadow: 2px 0 rgba(99,102,241,.6), -2px 0 rgba(6,182,212,.6); transform: translate(1px, 0); }
  60%  { text-shadow: -1px 0 rgba(251,191,36,.5); transform: translate(0, -1px); }
  80%  { text-shadow: 1px 0 rgba(99,102,241,.5); transform: translate(0, 1px); }
  100% { text-shadow: none; transform: translate(0); }
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(99,102,241,.15); }
  50%       { box-shadow: 0 0 24px rgba(99,102,241,.35); }
}
@keyframes pillShimmer {
  0%   { left: -60%; }
  100% { left: 160%; }
}
@keyframes radarSpin {
  to { transform: rotate(360deg); }
}

/* ── 4. ACCESSIBILITY ── */

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: #fff;
  padding: 8px 16px; border-radius: 6px;
  font-size: .875rem; font-weight: 600;
  text-decoration: none; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ── 5. SCROLL PROGRESS ── */

#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--gold));
  z-index: 9999; transition: width .1s linear;
  box-shadow: 0 0 8px rgba(99,102,241,.7);
}

/* ── 6. NAVIGATION ── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(6%, calc((100% - 1240px) / 2), 12%);
  background: rgba(7,9,15,0.85); /* Premium glassmorphism */
  backdrop-filter: blur(32px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 40px rgba(0,0,0,.6);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--text); text-decoration: none;
  letter-spacing: -.5px;
  transition: transform .3s ease, filter .3s ease;
}
.logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 16px rgba(99,102,241,.4));
}

.logo-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  transition: transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 12px;
}
.logo:hover .logo-mark {
  transform: scale(1.08) rotate(-4deg);
}

.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  position: relative;
  color: var(--muted); text-decoration: none;
  font-size: .95rem; font-weight: 500;
  transition: color .3s ease;
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Mobile nav open state - Premium floating card */
.nav-links.nav--open {
  display: flex; flex-direction: column;
  position: absolute; top: calc(100% + 8px); left: 4%; right: 4%; z-index: 99;
  background: rgba(10,14,25,0.95);
  backdrop-filter: blur(24px) saturate(180%);
  padding: 24px 8%;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  gap: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  animation: slideDownFade .3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; padding: 12px 26px;
  border-radius: 100px; font-size: .95rem; font-weight: 600;
  text-decoration: none; transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 16px rgba(99,102,241,.3);
}
.nav-cta:hover { 
  transform: translateY(-2px) scale(1.05); 
  box-shadow: 0 8px 24px rgba(99,102,241,.5);
}

.hamburger {
  display: none; flex-direction: column; gap: 6px;
  cursor: pointer; background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.1); padding: 10px;
  border-radius: 10px; transition: all .3s ease;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span { 
  width: 24px; height: 2px; 
  background: var(--text); border-radius: 2px; 
  transition: all .3s ease;
}

/* ── 7. LAYOUT UTILITIES ── */

section {
  position: relative;
  padding: 100px clamp(6%, calc((100% - 1240px) / 2), 12%);
}

.section-label {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -.75px; line-height: 1.18;
  text-wrap: balance;
}
.section-sub {
  color: var(--muted); max-width: 540px; margin-top: 12px; font-size: 1rem;
}
.section-head { margin-bottom: 60px; }
.section-head::after {
  content: '';
  display: block; margin-top: 20px;
  height: 1px; width: 48px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  opacity: .8;
}
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Icon colour helpers */
.icon--indigo { background: rgba(99,102,241,.12);  color: #a5b4fc; }
.icon--cyan   { background: rgba(6,182,212,.12);   color: #67e8f9; }
.icon--amber  { background: rgba(245,158,11,.1);   color: #fcd34d; }
.icon--green  { background: rgba(16,185,129,.1);   color: #6ee7b7; }
.icon--red    { background: rgba(239,68,68,.1);    color: #fca5a5; }
.icon--purple { background: rgba(168,85,247,.1);   color: #d8b4fe; }

/* SVG inside icon containers inherits the color */
.service-icon svg, .product-icon svg,
.value-icon svg, .floating-badge .icon svg { display: block; }

/* ── 8. HERO ── */

.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px clamp(6%, calc((100% - 1240px) / 2), 12%) 80px;
  overflow: hidden;
}

/* Background decoration layers */
.aurora-layer {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(139,92,246,.22), transparent),
    radial-gradient(ellipse 60% 45% at 80% 70%, rgba(8,145,178,.18),  transparent),
    radial-gradient(ellipse 50% 40% at 50% 10%, rgba(251,191,36,.1),  transparent);
  animation: auroraShift 15s ease-in-out infinite alternate;
  transition: transform .12s ease-out;
}

/* Cursor glow that follows mouse in hero */
.hero-cursor-glow {
  position: absolute; pointer-events: none; z-index: 1;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.13) 0%, transparent 68%);
  transform: translate(-50%, -50%);
  filter: blur(24px);
  transition: left .09s ease-out, top .09s ease-out, opacity .4s;
  left: 50%; top: 50%; opacity: 0;
}

.particle-field {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.particle-field::before,
.particle-field::after {
  content: '';
  position: absolute; width: 100%; height: 100%;
  background-image:
    radial-gradient(circle 1.5px at 10% 15%, rgba(99,102,241,.5)  0%, transparent 100%),
    radial-gradient(circle 1px   at 25% 60%, rgba(6,182,212,.4)   0%, transparent 100%),
    radial-gradient(circle 2px   at 40% 30%, rgba(251,191,36,.35) 0%, transparent 100%),
    radial-gradient(circle 1px   at 55% 80%, rgba(99,102,241,.4)  0%, transparent 100%),
    radial-gradient(circle 1.5px at 70% 20%, rgba(6,182,212,.5)   0%, transparent 100%),
    radial-gradient(circle 1px   at 85% 65%, rgba(139,92,246,.4)  0%, transparent 100%),
    radial-gradient(circle 2px   at 15% 85%, rgba(251,191,36,.3)  0%, transparent 100%),
    radial-gradient(circle 1px   at 90% 10%, rgba(99,102,241,.5)  0%, transparent 100%),
    radial-gradient(circle 1.5px at 60% 50%, rgba(6,182,212,.3)   0%, transparent 100%),
    radial-gradient(circle 1px   at 35% 90%, rgba(139,92,246,.4)  0%, transparent 100%);
  animation: particleDrift 20s linear infinite;
}
.particle-field::after {
  background-image:
    radial-gradient(circle 1px   at  5% 45%, rgba(99,102,241,.4)  0%, transparent 100%),
    radial-gradient(circle 2px   at 20% 10%, rgba(6,182,212,.35)  0%, transparent 100%),
    radial-gradient(circle 1px   at 45% 70%, rgba(251,191,36,.4)  0%, transparent 100%),
    radial-gradient(circle 1.5px at 65% 35%, rgba(99,102,241,.3)  0%, transparent 100%),
    radial-gradient(circle 1px   at 78% 85%, rgba(139,92,246,.5)  0%, transparent 100%),
    radial-gradient(circle 2px   at 92% 55%, rgba(6,182,212,.4)   0%, transparent 100%),
    radial-gradient(circle 1px   at 30% 25%, rgba(251,191,36,.3)  0%, transparent 100%),
    radial-gradient(circle 1.5px at 50%  5%, rgba(99,102,241,.5)  0%, transparent 100%);
  animation: particleDrift 28s linear infinite reverse;
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .55; pointer-events: none;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  top: -200px; left: -150px;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #0891b2, transparent 70%);
  bottom: -150px; right: -100px;
  animation: drift 10s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: 40%; left: 50%; transform: translate(-50%, -50%);
  animation: pulseOrb 8s ease-in-out infinite;
}

.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

/* Hero content */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(129,140,248,.15); border: 1px solid rgba(129,140,248,.35);
  color: var(--accent); padding: 7px 16px; border-radius: 100px;
  font-size: .82rem; font-weight: 600; margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(99,102,241,.15), inset 0 1px 0 rgba(255,255,255,.08);
  animation: fadeUp .8s ease both, badgeGlow 3s ease-in-out 1s infinite;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -1.5px; max-width: 820px;
  position: relative;
  animation: fadeUp .8s ease .1s both;
}
.hero h1 .grad {
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc, #67e8f9, #a5b4fc, #c7d2fe);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 8s ease infinite;
}

.hero p {
  max-width: 560px; font-size: 1.15rem; color: var(--muted);
  margin-top: 20px; line-height: 1.7;
  animation: fadeUp .8s ease .2s both;
}

.hero-actions {
  display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .8s ease .3s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; padding: 14px 30px;
  border-radius: 10px; font-size: 1rem; font-weight: 600;
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(99,102,241,.35);
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.25) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover      { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,.5); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active     { transform: scale(.97); }

.btn-ghost {
  border: 1px solid var(--border); color: var(--muted);
  padding: 14px 28px; border-radius: 10px;
  font-size: 1rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.2); color: var(--text); }

.stats-strip {
  display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .8s ease .4s both;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative; display: inline-block;
}
.stat-label { font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* ── 9. TICKER ── */

.ticker-strip {
  overflow: hidden; white-space: nowrap;
  padding: 14px 0; position: relative;
  background: linear-gradient(to right, rgba(129,140,248,.06), rgba(34,211,238,.06));
  border-top: 1px solid rgba(129,140,248,.14);
  border-bottom: 1px solid rgba(129,140,248,.14);
}
.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute; top: 0; width: 120px; height: 100%; z-index: 2;
  pointer-events: none;
}
.ticker-strip::before { left: 0;  background: linear-gradient(to right, #07090f, transparent); }
.ticker-strip::after  { right: 0; background: linear-gradient(to left,  #07090f, transparent); }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }

.ticker-track {
  display: inline-flex;
  animation: tickerScroll 30s linear infinite;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 28px;
  font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .5px;
}
.ticker-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

/* ── 10. ABOUT ── */

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.about-visual {
  position: relative; height: 420px;
  display: flex; align-items: center; justify-content: center;
}

.about-card-main {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  width: 100%; max-width: 380px;
  box-shadow: 0 8px 40px rgba(99,102,241,.12);
}
.about-card-main h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.about-card-main p  { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.card-divider {
  margin-top: 20px; display: flex; align-items: center; gap: 10px;
}
.card-divider-line {
  height: 4px; flex: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 4px;
}
.card-divider-label { color: var(--muted); font-size: .8rem; }

.mini-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.3);
  color: var(--accent2); padding: 5px 12px; border-radius: 100px;
  font-size: .78rem; font-weight: 600; margin-bottom: 16px;
}

.floating-badge {
  position: absolute;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(99,102,241,.12), inset 0 0 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 500;
}
.floating-badge .icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.floating-badge-label      { font-size: .82rem; font-weight: 600; }
.floating-badge-sublabel   { font-size: .75rem; color: var(--muted); }
.badge-tl { top: 30px; left: -10px;  animation: float 4s ease-in-out infinite; }
.badge-br { bottom: 40px; right: -10px; animation: float 4s ease-in-out 2s infinite; }

.values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px;
}
.value-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.value-item:hover {
  transform: translateY(-2px);
  border-color: rgba(99,102,241,.25);
  box-shadow: 0 4px 16px rgba(99,102,241,.1);
}
.value-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(99,102,241,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.value-item h4 { font-size: .9rem; font-weight: 600; margin-bottom: 3px; }
.value-item p  { font-size: .8rem; color: var(--muted); }

/* ── 11. SERVICES ── */

.services-bg {
  background:
    linear-gradient(to bottom, var(--bg), #0b0f1c, var(--bg)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40h30m20 0h30M40 0v30m0 20v30' stroke='%23818cf8' stroke-width='.5' opacity='.18'/%3E%3Ccircle cx='40' cy='40' r='2.5' fill='%23818cf8' opacity='.25'/%3E%3Ccircle cx='0'  cy='0'  r='1.5' fill='%2322d3ee' opacity='.2'/%3E%3Ccircle cx='80' cy='80' r='1.5' fill='%2322d3ee' opacity='.2'/%3E%3Ccircle cx='80' cy='0'  r='1.5' fill='%2322d3ee' opacity='.2'/%3E%3Ccircle cx='0'  cy='80' r='1.5' fill='%2322d3ee' opacity='.2'/%3E%3C/svg%3E");
  background-size: auto, 80px 80px;
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  cursor: default; position: relative; overflow: hidden;
}
/* Top accent line */
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
/* Shine sweep */
.service-card::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  transition: left .6s ease; pointer-events: none;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after  { left: 160%; }
.service-card:hover {
  border-color: rgba(129,140,248,.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99,102,241,.2);
}

.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.service-card p  { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: var(--muted); padding: 4px 10px;
  border-radius: 100px; font-size: .75rem;
}

/* ── 12. PROCESS ── */

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}

.step { text-align: center; padding: 0 20px; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; position: relative; z-index: 1;
  box-shadow:
    0 0 0 4px rgba(99,102,241,.15),
    0 0 0 8px rgba(99,102,241,.07),
    0 4px 16px rgba(99,102,241,.3);
  transition: box-shadow .3s;
}
.step:hover .step-num {
  box-shadow:
    0 0 0 6px rgba(99,102,241,.2),
    0 0 0 12px rgba(99,102,241,.08),
    0 6px 24px rgba(99,102,241,.4);
}
.step h4 { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: .85rem; }

/* ── 13. WHY CHOOSE / TRUST ── */

.trust-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
}
.trust-list { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }

.trust-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,.15); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.trust-item:hover {
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 4px 16px rgba(99,102,241,.1);
}

.trust-check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(6,182,212,.15); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent2); font-size: .9rem;
}
.trust-item h4 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.trust-item p  { color: var(--muted); font-size: .85rem; }

.trust-visual {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px; text-align: center;
  position: sticky; top: 100px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(99,102,241,.1);
}
.trust-visual::before {
  content: '';
  position: absolute; inset: 0; border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.08), transparent 70%);
  pointer-events: none;
}

.big-icon {
  margin: 0 auto 20px;
  width: 72px; height: 72px;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.trust-visual h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700; margin-bottom: 10px;
}
.trust-visual p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.metric-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px;
}
.metric {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px;
}
.metric-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.metric-name { font-size: .78rem; color: var(--muted); margin-top: 3px; }

.quote-block {
  margin-top: 28px; padding: 18px;
  background: rgba(99,102,241,.06);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 10px;
}
.quote-block p { color: var(--muted); font-size: .85rem; font-style: italic; }

/* ── 14. PRODUCTS ── */

.products-section { background: #0b0e17; }

.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
  transition: transform .3s, box-shadow .3s;
}
.product-card::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  transition: left .6s ease; pointer-events: none;
}
.product-card:hover      { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(99,102,241,.2); }
.product-card:hover::after { left: 160%; }

/* "More on the way" placeholder card */
.product-card--placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; border-style: dashed; min-height: 220px;
}
.product-card--placeholder .placeholder-plus {
  font-size: 2rem; margin-bottom: 12px; opacity: .4;
}

.product-soon {
  position: absolute; top: 16px; right: 16px;
  background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3);
  color: var(--gold); padding: 4px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .5px;
  overflow: hidden;
}
.product-soon::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: pillShimmer 2.5s ease-in-out infinite;
}

.product-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.product-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.product-card p  { color: var(--muted); font-size: .85rem; line-height: 1.6; }

.product-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.product-card .tags span {
  background: rgba(255,255,255,.05); color: var(--muted);
  font-size: .72rem; padding: 3px 9px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.07);
}

/* ── 15. CTA ── */

.cta-section { padding: 80px 6%; }

.cta-box {
  background: linear-gradient(135deg, #0d0f1e, #091318);
  border: 1px solid rgba(129,140,248,.18);
  border-radius: 24px; padding: 70px 60px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 4px 30px rgba(99,102,241,.1);
}
/* Noise texture */
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* Glow border */
.cta-box::after {
  content: '';
  position: absolute; inset: -1px; border-radius: 25px; z-index: -1;
  background: linear-gradient(135deg, rgba(99,102,241,.3), rgba(6,182,212,.3), rgba(251,191,36,.2));
  filter: blur(1px);
}
.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: -1px; margin-bottom: 14px;
}
.cta-box p { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin: 0 auto 36px; }

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 16. FOOTER ── */

footer {
  position: relative;
  background: #050709; 
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 80px clamp(6%, calc((100% - 1240px) / 2), 12%) 40px;
  overflow: hidden;
}

/* Subtle glow behind the footer */
footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 300px;
  background: radial-gradient(ellipse at bottom, rgba(99,102,241,.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.footer-top, .footer-bottom { position: relative; z-index: 1; }

.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px; margin-bottom: 60px;
}

.footer-brand p {
  color: var(--muted); font-size: .9rem; line-height: 1.7;
  margin-top: 18px; max-width: 280px;
}
.footer-brand .logo-mark img {
  filter: drop-shadow(0 0 12px rgba(99,102,241,.2));
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-brand .logo:hover .logo-mark img {
  filter: drop-shadow(0 0 24px rgba(99,102,241,.8));
  transform: scale(1.05) rotate(-2deg);
}

.footer-col h4 {
  font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff; margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col h4::before {
  content: ''; width: 8px; height: 2px;
  background: var(--accent2); border-radius: 2px;
}

.footer-col a {
  display: inline-block; color: var(--muted); text-decoration: none;
  font-size: .95rem; margin-bottom: 14px;
  transition: all .3s ease;
}
.footer-col a:hover { 
  color: var(--text); 
  transform: translateX(6px);
  text-shadow: 0 0 12px rgba(255,255,255,.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-bottom p { color: var(--muted); font-size: .88rem; font-weight: 500; }

.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 44px; height: 44px; 
  background: rgba(255,255,255,.04); 
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; 
  display: flex; align-items: center; justify-content: center;
  color: var(--text); text-decoration: none; font-size: 1.1rem;
  transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(8px);
}
.social-links a:hover { 
  background: linear-gradient(135deg, var(--accent), var(--accent2)); 
  color: #fff; 
  border-color: transparent;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(99,102,241,.4);
}

/* ── 17. CONTACT FORM ── */

/* Header area above form */
.cta-header { margin-bottom: 36px; }

.reply-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2);
  color: #34d399; padding: 6px 14px; border-radius: 100px;
  font-size: .8rem; font-weight: 500; margin-top: 18px;
}
.reply-dot {
  width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,.8);
  animation: blink 2s ease-in-out infinite;
}

/* Form layout */
.contact-form {
  max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
  text-align: left;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

/* Labelled field wrapper */
.form-field { display: flex; flex-direction: column; gap: 7px; }

.form-field label {
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--muted);
}

/* Inputs & textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  line-height: 1.5;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(136,146,164,.6); }

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255,255,255,.16);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(129,140,248,.55);
  background: rgba(99,102,241,.05);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: rgba(239,68,68,.5);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.contact-form textarea { min-height: 130px; }

/* Submit row */
.form-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 4px;
}

.form-hint {
  font-size: .8rem; color: var(--muted); font-style: italic;
}

/* Send button */
.btn-send {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; padding: 13px 28px;
  border: none; border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(99,102,241,.35);
}
.btn-send::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.25) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn-send:hover      { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,.5); }
.btn-send:hover::after { opacity: 1; }
.btn-send:active     { transform: scale(.97); }
.btn-send:disabled   { opacity: .6; cursor: not-allowed; transform: none; }

/* Spinner */
.btn-send .spinner {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-send.loading .submit-label,
.btn-send.loading .submit-arrow { display: none; }
.btn-send.loading .spinner       { display: block; }

/* Status / error banner */
.form-status {
  font-size: .88rem; border-radius: 8px;
  transition: all .2s;
}
.form-status:empty { display: none; }
.form-status.error {
  background: rgba(239,68,68,.07);
  border: 1px solid rgba(239,68,68,.2);
  color: #fca5a5; padding: 11px 14px;
}

/* Success card */
.form-success {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 14px; padding: 16px 0;
  animation: fadeUp .5s ease both;
}
.form-success[hidden] { display: none !important; }

.success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(52,211,153,.1);
  border: 1.5px solid rgba(52,211,153,.35);
  display: flex; align-items: center; justify-content: center;
  color: #34d399; margin-bottom: 4px;
  box-shadow: 0 0 32px rgba(52,211,153,.15);
}
.form-success h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.5px;
}
.form-success p {
  color: var(--muted); font-size: .95rem;
  max-width: 380px; line-height: 1.65;
}
.form-success p strong { color: var(--text); font-weight: 600; }

/* ── 18. RESPONSIVE ── */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .services-grid,
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .about-grid       { grid-template-columns: 1fr; }
  .about-visual     { display: none; }
  .trust-grid       { grid-template-columns: 1fr; }
  .trust-visual     { position: static; }
  .footer-top       { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  section           { padding-top: 72px; padding-bottom: 72px; }
  .section-head     { margin-bottom: 40px; }

  nav               { padding: 14px 5%; }
  .nav-links        { display: none; }
  .hamburger        { display: flex; }

  .hero             { padding: 100px 6% 64px; }
  .hero p           { font-size: 1rem; }
  .stats-strip      { gap: 20px; }
  .stat-num         { font-size: 1.7rem; }

  .process-steps    { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .process-steps::before { display: none; }

  .services-grid,
  .products-grid    { grid-template-columns: 1fr; }

  .cta-section      { padding: 60px 5%; }
  .cta-box          { padding: 40px 24px; }
  .cta-actions      { flex-wrap: wrap; }

  .form-row         { grid-template-columns: 1fr; }
  .form-actions     { flex-direction: column; align-items: stretch; }
  .btn-send         { justify-content: center; }

  .footer-top       { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom    { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
}

/* ── Small phone (≤480px) ── */
@media (max-width: 480px) {
  section           { padding-top: 56px; padding-bottom: 56px; }
  .section-head     { margin-bottom: 28px; }
  .section-sub      { font-size: .9rem; }

  /* Hide CTA button in nav — too cramped alongside logo + hamburger */
  .nav-cta          { display: none; }

  .hero             { padding: 88px 5% 52px; }
  .hero-badge       { font-size: .75rem; padding: 6px 12px; margin-bottom: 20px; }
  .hero h1          { letter-spacing: -1px; }
  .hero p           { font-size: .92rem; margin-top: 14px; }
  .hero-actions     { margin-top: 24px; gap: 10px; }
  .btn-primary,
  .btn-ghost        { padding: 12px 22px; font-size: .92rem; width: 100%; justify-content: center; }
  .stats-strip      { gap: 16px; flex-wrap: wrap; }
  .stat-num         { font-size: 1.55rem; }

  .process-steps    { grid-template-columns: 1fr; gap: 32px; }
  .step             { padding: 0 8px; }

  .values           { grid-template-columns: 1fr; }

  .trust-visual     { padding: 28px 20px; border-radius: 14px; }

  .cta-box          { padding: 32px 18px; border-radius: 16px; }
  .cta-actions      { flex-direction: column; align-items: stretch; }

  .footer-top       { gap: 32px; }
  .social-links a   { width: 44px; height: 44px; }
}
