/* ==========================================
   INNOVITE TECH — styles.css
   ========================================== */

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

:root {
  --bg: #060612;
  --bg-2: #0c0c24;
  --surface: #111130;
  --surface-2: #1a1a40;
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --primary: #6c63ff;
  --primary-light: #9b95ff;
  --cyan: #00e5ff;
  --green: #00ff9d;
  --orange: #ff6b35;
  --grad-1: linear-gradient(135deg, #6c63ff 0%, #00e5ff 100%);
  --grad-2: linear-gradient(135deg, #ff6b35 0%, #ff2d78 100%);
  --grad-3: linear-gradient(135deg, #00ff9d 0%, #00e5ff 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

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

/* ── UTILS ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 18px; max-width: 540px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-1);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(108,99,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(108,99,255,0.6); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(6,6,18,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { font-size: 24px; background: var(--grad-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: #fff; }
.logo-accent { color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--grad-1) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(108,99,255,0.35);
  transition: box-shadow 0.2s, transform 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 36px rgba(108,99,255,0.55) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s; }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 16px;
  background: rgba(6,6,18,0.97);
  border-top: 1px solid var(--border);
}
.mobile-menu a { color: var(--text); text-decoration: none; font-size: 16px; font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(108,99,255,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0,229,255,0.08) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(0,255,157,0.4);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,255,157,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0,255,157,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,255,157,0); }
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #fff;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 48px;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 0 40px; }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-unit { font-size: 28px; font-weight: 700; background: var(--grad-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.stat-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0.4;
}
.hero-scroll-hint span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── SERVICES ── */
.services { padding: 120px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(108,99,255,0.4); box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card-cloud .card-glow { background: radial-gradient(circle, rgba(108,99,255,0.3) 0%, transparent 70%); }
.card-blockchain .card-glow { background: radial-gradient(circle, rgba(0,229,255,0.25) 0%, transparent 70%); }
.card-digital .card-glow { background: radial-gradient(circle, rgba(0,255,157,0.2) 0%, transparent 70%); }
.service-card:hover .card-glow { opacity: 1; }
.card-featured {
  border-color: rgba(0,229,255,0.3);
  background: linear-gradient(160deg, #111130 0%, #0d1a2e 100%);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.15), inset 0 1px 0 rgba(0,229,255,0.1);
}
.featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--grad-1);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
}
.card-icon-wrap { margin-bottom: 24px; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-cloud .card-icon { background: rgba(108,99,255,0.15); color: var(--primary-light); }
.card-blockchain .card-icon { background: rgba(0,229,255,0.12); color: var(--cyan); }
.card-digital .card-icon { background: rgba(0,255,157,0.12); color: var(--green); }
.card-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 28px; }
.service-tags li {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}
.service-card:hover .service-tags li { border-color: rgba(108,99,255,0.3); color: var(--primary-light); }
.card-blockchain:hover .service-tags li { border-color: rgba(0,229,255,0.3); color: var(--cyan); }
.card-digital:hover .service-tags li { border-color: rgba(0,255,157,0.3); color: var(--green); }
.card-link { font-size: 14px; font-weight: 600; color: var(--primary-light); text-decoration: none; transition: gap 0.2s; display: inline-flex; gap: 4px; }
.card-blockchain .card-link { color: var(--cyan); }
.card-digital .card-link { color: var(--green); }
.card-link:hover { opacity: 0.8; }

/* ── WHY US ── */
.why-us { padding: 120px 0; background: var(--bg-2); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-left .section-title { margin-bottom: 20px; }
.why-desc { color: var(--text-muted); font-size: 17px; line-height: 1.7; margin-bottom: 36px; }
.why-right { display: flex; flex-direction: column; gap: 32px; }
.pillar { display: flex; gap: 20px; align-items: flex-start; }
.pillar-icon {
  font-size: 22px;
  width: 52px; height: 52px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar h4 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.pillar p { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ── MARQUEE ── */
.marquee-section {
  padding: 40px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-inner span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s;
}
.marquee-inner span:hover { color: var(--primary-light); border-color: rgba(108,99,255,0.4); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PROCESS ── */
.process { padding: 120px 0; }
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 40px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.process-step:hover { transform: translateY(-4px); border-color: rgba(108,99,255,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.step-content h4 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.process-connector {
  flex: 0 0 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, rgba(108,99,255,0.5) 50%, var(--border) 100%);
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 9px; height: 9px;
  border-top: 1px solid rgba(108,99,255,0.5);
  border-right: 1px solid rgba(108,99,255,0.5);
  transform: rotate(45deg);
}

/* ── CONTACT ── */
.contact { padding: 120px 0; background: var(--bg-2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: flex-start; }
.contact-left .section-title { margin-bottom: 16px; }
.contact-left p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-icon { font-size: 18px; width: 40px; height: 40px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.contact-item a { color: var(--text); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.contact-item a:hover { color: var(--primary-light); }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}
.form-group textarea { resize: vertical; }
.form-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* ── FOOTER ── */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 14px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .card-featured { grid-column: span 2; }
  .why-inner { gap: 48px; }
  .contact-inner { gap: 48px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .card-featured { grid-column: span 1; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { padding: 20px 24px; gap: 16px; }
  .stat { padding: 0 20px; }
  .stat-number { font-size: 32px; }
  .stat-divider { width: 1px; height: 40px; }
  .process-connector { display: none; }
  .process-steps { flex-direction: column; align-items: stretch; }
  .process-step { max-width: 100%; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
