/* =============================================
   360 Integrations — Global Stylesheet v2
   Design: Premium Dark Tech
   ============================================= */

:root {
  --bg:          #060b16;
  --bg-2:        #0a1120;
  --bg-card:     rgba(255,255,255,0.035);
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(5,89,201,0.5);
  --accent:      #0559C9;
  --accent-lt:   #2d8cff;
  --accent-glow: rgba(5,89,201,0.3);
  --cyan:        #00d4ff;
  --text:        #dde6f5;
  --text-muted:  #6b7d9f;
  --white:       #ffffff;
  --radius:      14px;
  --radius-lg:   22px;
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
  --font:        'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- LAYOUT ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 110px 0; }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.7; }

/* gradient text utility */
.grad-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-lt) 50%, var(--cyan) 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.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-lt);
  background: rgba(5,89,201,0.1);
  border: 1px solid rgba(5,89,201,0.28);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-lt);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-lt);
}

.section-header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.section-header h2 { margin-bottom: 18px; }
.section-header p  { font-size: 1.08rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 16px 36px; font-size: 1.02rem; border-radius: 12px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0775f5 100%);
  color: var(--white);
  box-shadow: 0 0 24px rgba(5,89,201,0.4), 0 4px 16px rgba(0,0,0,0.3);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(5,89,201,0.6), 0 8px 24px rgba(0,0,0,0.3);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ---- NAV ---- */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.4s ease;
}
.nav-header.scrolled {
  background: rgba(6,11,22,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-360 {
  background: linear-gradient(135deg, var(--accent-lt), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-int { color: var(--white); }

.nav-links { display: flex; gap: 36px; margin-left: auto; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent-lt);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(6,11,22,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 28px 28px;
}
.mobile-menu a {
  padding: 13px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 20px; }
.mobile-menu.open { display: flex; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(5,89,201,0.22) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat1 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  bottom: -100px; left: -50px;
  animation: orbFloat2 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-40px, 30px) scale(1.05); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-40px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 80px 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s ease both;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 10px var(--cyan); transform: scale(1); }
  50%      { box-shadow: 0 0 20px var(--cyan); transform: scale(1.3); }
}

.hero h1 {
  margin-bottom: 28px;
  animation: fadeSlideDown 0.8s 0.1s ease both;
}
.hero h1 .line-2 { display: block; }

.hero-sub {
  font-size: 1.18rem;
  max-width: 580px;
  margin-bottom: 44px;
  color: var(--text-muted);
  animation: fadeSlideDown 0.8s 0.2s ease both;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.8s 0.3s ease both;
}

/* hero floating chips */
.hero-chips {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  animation: fadeSlideLeft 1s 0.5s ease both;
}
.hero-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.hero-chip:hover {
  background: rgba(5,89,201,0.12);
  border-color: rgba(5,89,201,0.3);
  transform: translateX(-6px);
}
.hero-chip-icon {
  width: 36px; height: 36px;
  background: rgba(5,89,201,0.15);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-lt);
}
.hero-chip-icon svg { width: 18px; height: 18px; }
.chip-label { color: var(--text-muted); font-size: 0.72rem; }

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translate(30px, -50%); }
  to   { opacity: 1; transform: translate(0, -50%); }
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: linear-gradient(90deg, var(--bg-2) 0%, rgba(5,89,201,0.05) 50%, var(--bg-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.trust-item svg { width: 20px; height: 20px; color: var(--accent-lt); flex-shrink: 0; }
.trust-divider { width: 1px; height: 32px; background: var(--border); }

/* ---- STATS ---- */
.stats-section { padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--bg-2);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,89,201,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-item:hover::before { opacity: 1; }
.stat-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* ---- CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,89,201,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-lt), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(5,89,201,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(5,89,201,0.12);
}
.card:hover::before, .card:hover::after { opacity: 1; }

.card-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.card-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, rgba(5,89,201,0.18) 0%, rgba(0,212,255,0.06) 100%);
  border: 1px solid rgba(5,89,201,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-lt);
  transition: all 0.35s ease;
}
.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(5,89,201,0.3), rgba(0,212,255,0.12));
  box-shadow: 0 0 24px rgba(5,89,201,0.3);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 14px; color: var(--white); }
.card > p { font-size: 0.93rem; margin-bottom: 28px; line-height: 1.7; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-lt);
  transition: all var(--transition);
}
.card-link:hover { gap: 10px; color: var(--white); }

/* ---- WHY US ---- */
.why-us {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(5,89,201,0.07) 0%, transparent 70%),
              var(--bg-2);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.why-text h2 { margin-bottom: 20px; }
.why-text > p { margin-bottom: 40px; font-size: 1.02rem; }

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
}
.why-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s ease;
}
.why-list li:hover {
  background: rgba(5,89,201,0.08);
  border-color: rgba(5,89,201,0.25);
  transform: translateX(6px);
}
.why-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), #0775f5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(5,89,201,0.4);
}
.why-list li > div { display: flex; flex-direction: column; gap: 5px; }
.why-list li strong { color: var(--white); font-size: 0.95rem; }
.why-list li span  { font-size: 0.88rem; color: var(--text-muted); }

/* Animated network diagram */
.why-visual { display: flex; align-items: center; justify-content: center; }
.network-diagram {
  position: relative;
  width: 360px; height: 360px;
}
.nd-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(5,89,201,0.12);
  border-radius: 50%;
  animation: ndSpin 20s linear infinite;
}
.nd-ring-1 { width: 280px; height: 280px; }
.nd-ring-2 { width: 360px; height: 360px; animation-direction: reverse; animation-duration: 30s; }
@keyframes ndSpin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.nd-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--accent), #0775f5);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 0 0 8px rgba(5,89,201,0.12), 0 0 0 16px rgba(5,89,201,0.06), 0 0 60px rgba(5,89,201,0.5);
}
.nd-center svg { width: 32px; height: 32px; color: white; }
.nd-center span { font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: 0.05em; }

.nd-node {
  position: absolute;
  width: 72px; height: 72px;
  background: rgba(5,89,201,0.08);
  border: 1px solid rgba(5,89,201,0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.nd-node:hover {
  background: rgba(5,89,201,0.2);
  border-color: rgba(5,89,201,0.5);
  box-shadow: 0 0 24px rgba(5,89,201,0.25);
}
.nd-node svg { width: 20px; height: 20px; color: var(--accent-lt); }
.nd-node span { font-size: 0.6rem; font-weight: 600; text-align: center; color: var(--text-muted); }
.nd-n1 { top: 12px; left: 50%; transform: translateX(-50%); }
.nd-n2 { top: 50%; right: 12px; transform: translateY(-50%); }
.nd-n3 { bottom: 12px; left: 50%; transform: translateX(-50%); }
.nd-n4 { top: 50%; left: 12px; transform: translateY(-50%); }

.nd-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.nd-line { stroke: url(#lineGrad); stroke-width: 1.5; stroke-dasharray: 6 4; animation: dashFlow 2s linear infinite; }
.nd-line-2 { animation-delay: -0.5s; }
.nd-line-3 { animation-delay: -1s; }
.nd-line-4 { animation-delay: -1.5s; }
@keyframes dashFlow { to { stroke-dashoffset: -20; } }

/* ---- PROCESS SECTION ---- */
.process-section { padding: 110px 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: calc(12.5%); right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--accent-lt), var(--border), transparent);
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.step-num {
  width: 80px; height: 80px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-lt);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.process-step:hover .step-num {
  background: rgba(5,89,201,0.15);
  border-color: var(--accent);
  box-shadow: 0 0 32px rgba(5,89,201,0.3);
}
.process-step h4 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.process-step p  { font-size: 0.85rem; }

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,89,201,0.25) 0%, rgba(5,89,201,0.05) 40%, rgba(0,212,255,0.08) 100%);
  border-top: 1px solid rgba(5,89,201,0.2);
  border-bottom: 1px solid rgba(5,89,201,0.2);
}
.cta-banner-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: 10px; }
.cta-inner p  { font-size: 1.08rem; }
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 56px;
  padding-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 0.88rem; max-width: 270px; line-height: 1.7; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4, .footer-contact h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-links a, .footer-contact a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-service-area { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(5,89,201,0.18) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.page-header-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 30%, transparent 80%);
}
.page-header > .container { position: relative; z-index: 2; }
.page-header h1 { margin-bottom: 18px; }
.page-header p  { font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* ---- SERVICES PAGE ---- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-icon-lg {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(5,89,201,0.18), rgba(0,212,255,0.06));
  border: 1px solid rgba(5,89,201,0.22);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--accent-lt);
}
.service-icon-lg svg { width: 34px; height: 34px; }

.service-visual {
  background: linear-gradient(135deg, rgba(5,89,201,0.06) 0%, rgba(0,212,255,0.03) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}
/* SVG illustration fills the visual panel */
.svc-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-features {
  list-style: none;
  margin: 26px 0 36px;
  display: flex; flex-direction: column; gap: 10px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.service-features li:hover {
  background: rgba(5,89,201,0.07);
  color: var(--text);
  transform: translateX(4px);
}
.service-features li::before {
  content: '';
  width: 7px; height: 7px;
  background: linear-gradient(135deg, var(--accent-lt), var(--cyan));
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-lt);
}

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.contact-card:hover {
  background: rgba(5,89,201,0.08);
  border-color: rgba(5,89,201,0.25);
  transform: translateX(4px);
}
.contact-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(5,89,201,0.18), rgba(0,212,255,0.06));
  border: 1px solid rgba(5,89,201,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-lt);
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card h4 { color: var(--white); margin-bottom: 5px; font-size: 0.95rem; }
.contact-card p, .contact-card a { font-size: 0.88rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--white); }

.form-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-lt), var(--cyan), transparent);
}
.form-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.4rem; }
.form-card > p { font-size: 0.9rem; margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: all var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107,125,159,0.7); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(5,89,201,0.06);
  box-shadow: 0 0 0 3px rgba(5,89,201,0.12);
}
.form-group select option { background: var(--bg-2); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; margin-top: 10px; justify-content: center; font-size: 1rem; }

/* ---- UNIFI PRODUCT GRID ---- */
.unifi-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0 56px;
}
.unifi-intro-text h2 { margin-bottom: 18px; }
.unifi-intro-text p  { font-size: 1.02rem; margin-bottom: 32px; }

.unifi-products {
  padding: 0 0 80px;
  border-bottom: 1px solid var(--border);
}
.unifi-products-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.unifi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.unifi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.unifi-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.unifi-card:hover {
  background: rgba(5,89,201,0.07);
  border-color: rgba(5,89,201,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(5,89,201,0.1);
}
.unifi-card:hover::after { opacity: 1; }

.unifi-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(5,89,201,0.2), rgba(0,212,255,0.07));
  border: 1px solid rgba(5,89,201,0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lt);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.unifi-card:hover .unifi-card-icon {
  box-shadow: 0 0 20px rgba(5,89,201,0.35);
}
.unifi-card-icon svg { width: 22px; height: 22px; }
.unifi-card-product {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lt);
}
.unifi-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.unifi-card p {
  font-size: 0.83rem;
  line-height: 1.65;
  flex: 1;
}
.unifi-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.unifi-card-features li {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.unifi-card-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent-lt);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}

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

/* --- Tablet landscape (≤1100px) --- */
@media (max-width: 1100px) {
  .hero-chips { display: none; }
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .unifi-grid { grid-template-columns: repeat(3,1fr); }
  .unifi-intro { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { gap: 36px; }
}

/* --- Tablet portrait (≤900px) --- */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 88vh; padding: 120px 0 80px; }

  /* Cards / grids */
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .why-inner { grid-template-columns: 1fr; gap: 50px; }
  .why-visual { order: -1; }
  .why-visual .network-diagram { margin: 0 auto; }

  /* Services page */
  .service-block { grid-template-columns: 1fr; gap: 40px; }
  .service-block.reverse { direction: ltr; }
  .service-visual { aspect-ratio: 16/9; max-height: 320px; }
  .unifi-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .unifi-intro { grid-template-columns: 1fr; gap: 36px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-cards { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }

  /* CTA */
  .cta-inner { flex-direction: column; gap: 24px; }
  .cta-inner > div:last-child { align-items: flex-start; }
}

/* --- Mobile (≤600px) --- */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }

  /* Typography */
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Hero */
  .hero { min-height: 100svh; padding: 110px 0 70px; text-align: center; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-badge { margin: 0 auto 20px; }

  /* Trust bar */
  .trust-inner { gap: 14px 24px; justify-content: flex-start; flex-wrap: wrap; }
  .trust-divider { display: none; }
  .trust-item { font-size: 0.8rem; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Why Us */
  .network-diagram { width: 260px; height: 260px; }
  .nd-ring-2 { width: 260px; height: 260px; }
  .nd-ring-1 { width: 200px; height: 200px; }

  /* Process steps */
  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .process-step { padding: 24px 20px; }

  /* Services page */
  .service-visual { aspect-ratio: 4/3; max-height: none; }
  .unifi-grid { grid-template-columns: 1fr; gap: 14px; }
  .unifi-card { padding: 22px 18px; }
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }

  /* CTA */
  .cta-inner { text-align: center; }
  .cta-inner > div:last-child { align-items: center; width: 100%; }
  .cta-inner a.btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Contact */
  .contact-info-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .info-card { padding: 20px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
  .footer { padding-top: 56px; }

  /* Section headers */
  .section-header { padding: 0 4px; }
  .section-header p { font-size: 0.92rem; }

  /* Mobile menu */
  .mobile-menu a { font-size: 1rem; padding: 14px 20px; }
}
