/* ============================================================
   360xai — Premium AI Company Website Stylesheet
   White & Blue Futuristic Theme
   ============================================================ */

/* ===== GOOGLE FONTS + CSS RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: #FFFFFF;
  color: #0A2540;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0A2540;
  --primary-mid: #0B3D91;
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --white: #FFFFFF;
  --off-white: #F8FAFF;
  --border: rgba(59, 130, 246, 0.15);
  --text-muted: #64748B;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 32px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 20px 60px rgba(10, 37, 64, 0.14);
  --shadow-blue: 0 8px 32px rgba(59, 130, 246, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--off-white);
}

.gradient-text {
  background: linear-gradient(135deg, #3B82F6 0%, #0B3D91 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-light {
  background: linear-gradient(135deg, #93C5FD 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: inline;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #3B82F6, #0B3D91);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary-mid);
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(59, 130, 246, 0.06);
}

.nav-cta-link {
  background: linear-gradient(135deg, #3B82F6, #0B3D91);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 50px;
}

.nav-cta-link:hover {
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.4);
  z-index: 998;
  backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
  display: block;
}

/* ===== HERO SECTION (OLD - KEPT FOR REFERENCE) ===== */
/* The old .hero styles are preserved here but the section is commented out in HTML */
.hero { display: none; }

/* ===== HERO V2 — NEW PREMIUM SPLIT HERO ===== */

/* --- Section wrapper --- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #020817 0%, #050d1e 35%, #061630 60%, #0A2540 100%);
  padding: calc(var(--nav-height) + 20px) 24px 80px;
}

/* --- Animated dot-grid background --- */
.hv2-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(59, 130, 246, 0.25) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  animation: hv2GridDrift 20s linear infinite;
}

@keyframes hv2GridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* --- Horizontal scan-line sweep --- */
.hv2-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), rgba(96,165,250,0.8), rgba(59,130,246,0.5), transparent);
  animation: hv2Scan 6s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes hv2Scan {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* --- Ambient glow orbs --- */
.hv2-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hv2-orb-a {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  top: -200px; right: -180px;
  animation: hv2OrbFloat 10s ease-in-out infinite;
}

.hv2-orb-b {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(11,61,145,0.22) 0%, transparent 70%);
  bottom: -100px; left: -150px;
  animation: hv2OrbFloat 13s ease-in-out infinite reverse;
}

.hv2-orb-c {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(96,165,250,0.14) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: hv2OrbFloat 8s ease-in-out infinite 2s;
}

@keyframes hv2OrbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(30px,-40px) scale(1.08); }
  70%     { transform: translate(-20px, 25px) scale(0.94); }
}

/* --- Inner flex container --- */
.hv2-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ========================= */
/*  LEFT COLUMN              */
/* ========================= */

.hv2-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- Badge --- */
.hv2-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(96,165,250,0.35);
  border-radius: 50px;
  padding: 8px 18px 8px 12px;
  margin-bottom: 28px;
  width: fit-content;
  animation: hv2FadeDown 0.7s ease-out both;
  backdrop-filter: blur(8px);
}

.hv2-badge-pulse {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34,197,94,0.8);
  animation: hv2PulseDot 2s ease-in-out infinite;
}

@keyframes hv2PulseDot {
  0%,100% { transform: scale(1); box-shadow: 0 0 10px rgba(34,197,94,0.8); }
  50%     { transform: scale(1.4); box-shadow: 0 0 20px rgba(34,197,94,1); }
}

.hv2-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #93C5FD;
}

.hv2-badge-live {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #22C55E;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: 4px;
  padding: 2px 6px;
}

/* --- Title --- */
.hv2-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hv2-title-line1 {
  color: rgba(255,255,255,0.92);
  animation: hv2FadeUp 0.8s ease-out 0.1s both;
}

.hv2-title-line2 {
  color: #ffffff;
  animation: hv2FadeUp 0.8s ease-out 0.2s both;
  min-height: 1.08em;
  display: block;
}

.hv2-title-line3 {
  color: rgba(255,255,255,0.85);
  animation: hv2FadeUp 0.8s ease-out 0.3s both;
}

/* Typewriter highlighted word */
.hv2-typewriter {
  background: linear-gradient(90deg, #60A5FA, #93C5FD, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: hv2GradientShift 3s linear infinite;
}

/* Typewriter cursor */
.hv2-typewriter::after {
  content: '|';
  -webkit-text-fill-color: rgba(96,165,250,0.8);
  animation: hv2Blink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes hv2Blink {
  0%,100% { opacity: 1; }
  50%     { opacity: 0; }
}

@keyframes hv2GradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Gradient accent word */
.hv2-gradient-word {
  background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 50%, #BFDBFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Subtitle --- */
.hv2-subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(180,210,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  animation: hv2FadeUp 0.8s ease-out 0.4s both;
}

.hv2-subtitle strong {
  color: #93C5FD;
  font-weight: 600;
}

/* --- CTA Buttons --- */
.hv2-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  animation: hv2FadeUp 0.8s ease-out 0.5s both;
}

.hv2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #3B82F6, #0B3D91);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(59,130,246,0.5), 0 4px 20px rgba(59,130,246,0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hv2-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hv2-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(59,130,246,0.7), 0 8px 30px rgba(59,130,246,0.5);
}

.hv2-btn-primary:hover::before { opacity: 1; }

.hv2-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: rgba(255,255,255,0.05);
  color: #93C5FD;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(96,165,250,0.35);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hv2-btn-ghost:hover {
  background: rgba(59,130,246,0.15);
  border-color: rgba(96,165,250,0.7);
  color: #BFDBFE;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(59,130,246,0.2);
}

/* --- Stats --- */
.hv2-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  animation: hv2FadeUp 0.8s ease-out 0.6s both;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

.hv2-stat {
  text-align: center;
  padding: 0 24px;
}

.hv2-stat:first-child { padding-left: 0; }
.hv2-stat:last-child  { padding-right: 0; }

.hv2-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff 0%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hv2-stat-lbl {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(147,197,253,0.7);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hv2-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(96,165,250,0.25);
}

/* --- Trust chips --- */
.hv2-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: hv2FadeUp 0.8s ease-out 0.7s both;
}

.hv2-trust-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(147,197,253,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hv2-trust-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hv2-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: #60A5FA;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 8px;
  padding: 5px 12px;
  transition: all 0.25s ease;
}

.hv2-chip:hover {
  background: rgba(59,130,246,0.2);
  border-color: rgba(96,165,250,0.5);
  transform: translateY(-1px);
}

/* ========================= */
/*  RIGHT COLUMN             */
/* ========================= */

.hv2-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hv2FadeRight 0.9s ease-out 0.3s both;
  overflow: visible;
}

/* --- Neural network wrapper --- */
.hv2-neural-wrapper {
  position: relative;
  width: 460px;
  height: 460px;
  max-width: 100%;
}

.hv2-neural-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(59,130,246,0.3));
  animation: hv2NeuralRotate 40s linear infinite;
}

@keyframes hv2NeuralRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* SVG node pulsing animations */
.nnode-outer {
  animation: hv2NodePulse 3s ease-in-out infinite;
}

.nnode-outer:nth-child(odd) { animation-delay: -1s; }
.nnode-outer:nth-child(even){ animation-delay: -2s; }

@keyframes hv2NodePulse {
  0%,100% { opacity: 0.6; r: attr(r); }
  50%     { opacity: 1; }
}

/* Neural connection line shimmer */
.nline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: hv2LineReveal 2s ease-out forwards, hv2LinePulse 4s ease-in-out infinite 2s;
}

@keyframes hv2LineReveal {
  to { stroke-dashoffset: 0; }
}

@keyframes hv2LinePulse {
  0%,100% { opacity: 0.35; }
  50%     { opacity: 0.65; }
}

/* Core pulsing ring */
.core-pulse {
  animation: hv2CorePulse 2.5s ease-in-out infinite;
}

@keyframes hv2CorePulse {
  0%,100% { r: 40; opacity: 0.4; }
  50%     { r: 52; opacity: 0; }
}

/* Orbiting data dots — animated in JS, but add base spinning via CSS */
.orbit-dot-a {
  animation: hv2OrbitA 6s linear infinite;
  transform-origin: 250px 250px;
}
.orbit-dot-b {
  animation: hv2OrbitB 9s linear infinite;
  transform-origin: 250px 250px;
}
.orbit-dot-c {
  animation: hv2OrbitC 12s linear infinite reverse;
  transform-origin: 250px 250px;
}

@keyframes hv2OrbitA {
  from { transform: rotate(0deg)   translateX(130px); }
  to   { transform: rotate(360deg) translateX(130px); }
}
@keyframes hv2OrbitB {
  from { transform: rotate(120deg)  translateX(180px); }
  to   { transform: rotate(480deg)  translateX(180px); }
}
@keyframes hv2OrbitC {
  from { transform: rotate(240deg) translateX(80px); }
  to   { transform: rotate(600deg) translateX(80px); }
}

/* --- Floating label tags --- */
.hv2-label {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  color: #93C5FD;
  background: rgba(5,15,40,0.85);
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 8px;
  padding: 5px 10px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  animation: hv2LabelFloat 4s ease-in-out infinite;
  pointer-events: none;
}

.hv2-lbl-ai     { top: 8%;  left: 8%;  animation-delay: 0s;   }
.hv2-lbl-web3   { top: 8%;  right: 8%; animation-delay: -1s;  }
.hv2-lbl-fintech{ bottom: 8%; left: 8%; animation-delay: -2s; }
.hv2-lbl-cloud  { bottom: 8%; right: 8%; animation-delay: -3s; }

@keyframes hv2LabelFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

/* --- Floating glassmorphism micro-cards --- */
.hv2-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(96,165,250,0.3);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  z-index: 20;
  transition: all 0.3s ease;
  animation: hv2CardFloat 5s ease-in-out infinite;
  cursor: default;
}

.hv2-float-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(96,165,250,0.6);
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(59,130,246,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Shimmer on hover */
.hv2-float-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s ease;
  border-radius: 14px;
}

.hv2-float-card:hover::before { left: 150%; }

.hv2-fc-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.hv2-fc-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.hv2-fc-desc {
  font-size: 0.68rem;
  color: rgba(147,197,253,0.7);
  font-weight: 500;
  white-space: nowrap;
}

.hv2-fc-a {
  top: 10%; left: -10%;
  animation-duration: 5s;
  animation-delay: 0s;
}

.hv2-fc-b {
  top: 50%; right: -8%;
  transform: translateY(-50%);
  animation-duration: 6s;
  animation-delay: -2s;
}

.hv2-fc-c {
  bottom: 10%; left: -8%;
  animation-duration: 7s;
  animation-delay: -4s;
}

@keyframes hv2CardFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* Card B overrides the translateY(-50%) */
.hv2-fc-b {
  animation-name: hv2CardFloatB;
}

@keyframes hv2CardFloatB {
  0%,100% { transform: translateY(-50%); }
  50%     { transform: translateY(calc(-50% - 10px)); }
}

/* ========================= */
/*  SCROLL INDICATOR         */
/* ========================= */

.hv2-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: hv2FadeUp 1s ease-out 1.2s both;
}

.hv2-scroll span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(147,197,253,0.5);
}

.hv2-scroll-dot {
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(96,165,250,0.4);
  border-radius: 12px;
  position: relative;
}

.hv2-scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #60A5FA;
  border-radius: 2px;
  animation: hv2ScrollBounce 1.6s ease-in-out infinite;
}

@keyframes hv2ScrollBounce {
  0%,100% { top: 6px; opacity: 1; }
  80%     { top: 22px; opacity: 0; }
}

/* ========================= */
/*  KEYFRAME UTILITIES       */
/* ========================= */

@keyframes hv2FadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hv2FadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hv2FadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ========================= */
/*  RESPONSIVE               */
/* ========================= */

@media (max-width: 900px) {
  .hero-v2 {
    padding: calc(var(--nav-height) + 20px) 20px 100px;
  }

  .hv2-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hv2-left {
    align-items: center;
  }

  .hv2-subtitle {
    text-align: center;
  }

  .hv2-cta-row {
    justify-content: center;
  }

  .hv2-stats {
    width: 100%;
    justify-content: center;
  }

  .hv2-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 16px;
  }

  /* Smaller neural network, fully contained */
  .hv2-neural-wrapper {
    width: 280px;
    height: 280px;
  }

  /* Hide ALL float cards on small screens — they cause overflow */
  .hv2-float-card {
    display: none;
  }

  /* Labels stay but smaller */
  .hv2-label {
    font-size: 0.6rem;
    padding: 3px 6px;
    gap: 3px;
  }

  .hv2-title {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
    align-items: center;
  }
}

/* Tablet: restore 2 cards inside bounds */
@media (min-width: 600px) and (max-width: 900px) {
  .hv2-neural-wrapper {
    width: 360px;
    height: 360px;
  }

  .hv2-float-card {
    display: flex;
    padding: 8px 12px;
    gap: 8px;
  }

  .hv2-fc-val  { font-size: 0.82rem; }
  .hv2-fc-desc { font-size: 0.6rem; white-space: nowrap; }
  .hv2-fc-icon { font-size: 1.1rem; }

  /* Move cards fully inside wrapper bounds */
  .hv2-fc-a {
    top: 5%;
    left: 5%;
    right: auto;
    bottom: auto;
  }

  .hv2-fc-b {
    top: auto;
    bottom: 5%;
    right: 5%;
    left: auto;
    transform: none;
    animation-name: hv2CardFloat;
  }

  .hv2-fc-c {
    display: none;
  }
}

@media (max-width: 520px) {
  .hv2-stats {
    flex-wrap: wrap;
    gap: 6px;
  }

  .hv2-stat-sep { display: none; }

  .hv2-stat {
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(96,165,250,0.15);
    border-radius: 12px;
  }

  .hv2-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hv2-btn-primary,
  .hv2-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* Legacy keyframes kept for other sections */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.3); opacity: 0.7; }
}

@keyframes bounceDown {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(6px); }
}

@keyframes floatOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(20px,-30px) scale(1.05); }
  66%     { transform: translate(-15px,20px) scale(0.95); }
}


/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  font-size: 1.05rem;
  color: #4A6080;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.pillar:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  transform: translateX(4px);
}

.pillar-icon {
  font-size: 1.5rem;
}

.pillar-title {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.92rem;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-img:hover {
  transform: scale(1.02);
}

.about-img-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floatCard 4s ease-in-out infinite;
}

.card-icon {
  font-size: 1.8rem;
}

.card-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-img-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  background: linear-gradient(135deg, #3B82F6, #0B3D91);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #0B3D91);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-card-featured {
  background: linear-gradient(145deg, #EBF4FF, #fff);
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}

.service-card-featured::before {
  transform: scaleX(1);
}

.service-featured-badge {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #3B82F6, #0B3D91);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
  background: rgba(59, 130, 246, 0.15);
  transform: scale(1.1) rotate(5deg);
}

.service-icon {
  font-size: 1.8rem;
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-features li {
  font-size: 0.82rem;
  color: #4A6080;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  gap: 8px;
  color: var(--primary-mid);
}

/* ===== TECH STACK SECTION ===== */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.tech-category {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.tech-category:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tech-cat-icon {
  font-size: 1.8rem;
}

.tech-cat-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.tech-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
}

.tech-item:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tech-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(248, 250, 255, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.12);
  transition: all 0.3s ease;
  overflow: hidden;
}

.tech-item-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}

/* Hover: brand-colour glow per technology */
.tech-item:hover .tech-python  { background: rgba(53,114,165,0.1); border-color: #3572A5; box-shadow: 0 0 10px rgba(53,114,165,0.25); }
.tech-item:hover .tech-tf      { background: rgba(255,111,0,0.1);  border-color: #FF6F00; box-shadow: 0 0 10px rgba(255,111,0,0.25); }
.tech-item:hover .tech-pt      { background: rgba(238,76,44,0.1);  border-color: #EE4C2C; box-shadow: 0 0 10px rgba(238,76,44,0.25); }
.tech-item:hover .tech-sk      { background: rgba(248,153,57,0.1); border-color: #F89939; box-shadow: 0 0 10px rgba(248,153,57,0.25); }
.tech-item:hover .tech-sol     { background: rgba(105,97,215,0.1); border-color: #6961D7; box-shadow: 0 0 10px rgba(105,97,215,0.25); }
.tech-item:hover .tech-rust    { background: rgba(206,66,43,0.1);  border-color: #CE422B; box-shadow: 0 0 10px rgba(206,66,43,0.25); }
.tech-item:hover .tech-eth     { background: rgba(98,104,143,0.1); border-color: #62688F; box-shadow: 0 0 10px rgba(98,104,143,0.25); }
.tech-item:hover .tech-sol2    { background: rgba(153,69,255,0.1); border-color: #9945FF; box-shadow: 0 0 10px rgba(153,69,255,0.25); }
.tech-item:hover .tech-node    { background: rgba(131,205,41,0.1); border-color: #83CD29; box-shadow: 0 0 10px rgba(131,205,41,0.25); }
.tech-item:hover .tech-go      { background: rgba(0,172,215,0.1);  border-color: #00ACD7; box-shadow: 0 0 10px rgba(0,172,215,0.25); }
.tech-item:hover .tech-pg      { background: rgba(51,103,145,0.1); border-color: #336791; box-shadow: 0 0 10px rgba(51,103,145,0.25); }
.tech-item:hover .tech-redis   { background: rgba(216,44,32,0.1);  border-color: #D82C20; box-shadow: 0 0 10px rgba(216,44,32,0.25); }
.tech-item:hover .tech-react   { background: rgba(97,218,251,0.1); border-color: #61DAFB; box-shadow: 0 0 10px rgba(97,218,251,0.25); }
.tech-item:hover .tech-next    { background: rgba(0,0,0,0.08);     border-color: #333;    box-shadow: 0 0 10px rgba(0,0,0,0.2); }
.tech-item:hover .tech-aws     { background: rgba(255,153,0,0.1);  border-color: #FF9900; box-shadow: 0 0 10px rgba(255,153,0,0.25); }
.tech-item:hover .tech-docker  { background: rgba(35,150,237,0.1); border-color: #2396ED; box-shadow: 0 0 10px rgba(35,150,237,0.25); }

/* ===== INDUSTRIES SECTION ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}

.industry-visual {
  margin-bottom: 20px;
}

.industry-icon-bg {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(11, 61, 145, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: var(--transition);
}

.industry-card:hover .industry-icon-bg {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(11, 61, 145, 0.1));
  transform: scale(1.1);
}

.industry-icon {
  font-size: 2rem;
}

.industry-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.industry-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent);
  border-radius: 50px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

/* ===== WHY 360XAI SECTION ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  transform: translateX(4px);
}

.why-item-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 48px;
}

.why-item-content h4 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.why-item-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.why-brain-container {
  position: relative;
  border-radius: var(--radius-xl);
}

.why-brain-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.why-brain-img:hover {
  transform: scale(1.02);
}

.why-floating-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.badge-top {
  top: -18px;
  right: -18px;
  animation: floatCard 4s ease-in-out infinite;
}

.badge-bottom {
  bottom: -18px;
  left: -18px;
  animation: floatCard 4s ease-in-out infinite reverse;
}

.badge-icon {
  font-size: 1.2rem;
}

/* ===== VISION SECTION ===== */
.vision {
  background: linear-gradient(145deg, #F0F7FF, #EBF4FF, #F8FAFF);
  text-align: center;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
}

.vision-label {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.vision-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.vision-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
}

.vision-values {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.vision-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  max-width: 220px;
}

.value-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.2);
  line-height: 1;
  flex-shrink: 0;
}

.value-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.value-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(59, 130, 246, 0.3);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: #4A6080;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--white);
}

.cta-wrapper {
  background: linear-gradient(135deg, #0A2540 0%, #0B3D91 50%, #1E40AF 100%);
  border-radius: var(--radius-xl);
  padding: 72px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-label {
  color: rgba(147, 197, 253, 0.8);
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-blockchain-img {
  width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0.85;
}

.cta-blockchain-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  transform-origin: center;
  animation: floatCard 5s ease-in-out infinite;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-detail:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}

a.contact-value:hover {
  color: var(--accent);
}

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  font-size: 0.78rem;
  font-weight: 700;
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #15803D;
  font-weight: 500;
}

.form-success.show {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  color: #fff !important;
}

.footer-logo .logo-icon {
  color: var(--accent-light);
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.footer-bottom-right a:hover {
  color: var(--accent-light);
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-blockchain-img {
    display: none;
  }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-cta-link {
    margin-top: 16px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
  }

  .about-img-card {
    bottom: -14px;
    left: -12px;
    padding: 12px 16px;
  }

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

  .tech-categories {
    grid-template-columns: 1fr;
  }

  .tech-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .industry-card {
    padding: 24px 16px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-brain-container {
    max-width: 400px;
    margin: 0 auto;
  }

  .why-floating-badge {
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  .vision-values {
    flex-direction: column;
    gap: 20px;
  }

  .vision-value {
    max-width: 100%;
  }

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

  .cta-wrapper {
    padding: 48px 28px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom-right {
    gap: 16px;
  }
}

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

  .hero-stats {
    gap: 12px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .container {
    padding: 0 16px;
  }
}