/* ============================================
   INNER PAGES — PREMIUM REDESIGN
   Innova Systems 2026
   ============================================ */

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

:root {
  --accent: #bc94ec;
  --accent-bright: #d4aaff;
  --accent-dim: rgba(188, 148, 236, 0.15);
  --accent-border: rgba(188, 148, 236, 0.25);
  --bg: #020104;
  --bg-card: #0c0910;
  --bg-card2: #110e18;
  --text: #f0ecf8;
  --text-muted: #8b7fa0;
  --text-dim: #5a5068;
  --white: #ffffff;
  --line: rgba(255,255,255,0.07);
  --font: 'Play', 'SF Pro Display', system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
}

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

/* ============ BACK LINK ============ */
.back-link {
  position: fixed;
  top: 28px;
  left: 32px;
  z-index: 100;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}
.back-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.back-link svg { flex-shrink: 0; }

/* ============ HERO ============ */
.inner-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-poster {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
canvas.hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-grad {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to top, rgba(2,1,4,1) 0%, rgba(2,1,4,0.6) 40%, rgba(2,1,4,0.1) 100%),
    linear-gradient(to right, rgba(2,1,4,0.7) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5% 80px;
  max-width: 900px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #bc94ec, #e0ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 44px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #000;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(188,148,236,0.3);
}
.hero-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(188,148,236,0.5);
}

/* ============ STATS BAR ============ */
.stats-bar {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
  overflow-x: auto;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============ SERVICES GRID ============ */
.services-section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 64px;
  max-width: 700px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 48px 40px;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  background: var(--bg-card2);
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--accent);
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

/* ============ WHY US ============ */
.why-section {
  padding: 0 5% 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.why-card.accent-card {
  background: linear-gradient(135deg, #1a0f2e, #0f0a1a);
  border-color: var(--accent-border);
}
.why-num {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(188,148,236,0.08);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 30px;
  pointer-events: none;
  user-select: none;
}
.why-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.why-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ============ CTA SECTION ============ */
.inner-cta {
  margin: 0 5% 80px;
  background: linear-gradient(135deg, #1a0f2e 0%, #0f0a1a 50%, #0c0910 100%);
  border: 1px solid var(--accent-border);
  border-radius: 32px;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.inner-cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(188,148,236,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  flex-shrink: 0;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #000;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 100px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 0 40px rgba(188,148,236,0.25);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 50px rgba(188,148,236,0.4);
}
.btn-secondary {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .inner-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 36px;
  }
  .cta-actions { align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero-content { padding: 0 5% 60px; }
  .stat-item { padding: 24px 20px; }
  .services-section, .why-section { padding-top: 64px; padding-bottom: 64px; }
  .service-card { padding: 32px 24px; }
  .back-link { top: 16px; left: 16px; }
}
