/* ============================================================
   SUPRABHAT TECHNOLOGIES — SCI-FI HUD STYLESHEET
   ============================================================ */

:root {
  --cyan:       #00d4ff;
  --blue:       #0066ff;
  --blue-dark:  #003a8c;
  --neon-green: #00ff9d;
  --warn:       #ffcc00;
  --alert:      #ff3c5a;
  --bg:         #020b18;
  --bg2:        #040f1f;
  --panel:      rgba(0, 212, 255, 0.04);
  --panel-b:    rgba(0, 212, 255, 0.12);
  --text:       #c8e8ff;
  --text-dim:   #4a7a9b;
  --border:     rgba(0, 212, 255, 0.25);
  --border-hot: rgba(0, 212, 255, 0.7);
  --glow:       0 0 20px rgba(0, 212, 255, 0.4);
  --glow-hot:   0 0 40px rgba(0, 212, 255, 0.7);
  --font-hud:   'Orbitron', monospace;
  --font-mono:  'Share Tech Mono', monospace;
  --font-body:  'Exo 2', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: crosshair;
}

/* ── Background Grid ── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift { to { background-position: 60px 60px; } }

.scanline {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.08) 2px, rgba(0,0,0,0.08) 4px);
}

canvas#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── HUD Corners ── */
.hud-corner {
  position: fixed; width: 40px; height: 40px; z-index: 10; pointer-events: none;
}
.hud-tl { top: 12px; left: 12px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud-tr { top: 12px; right: 12px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.hud-bl { bottom: 12px; left: 12px; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud-br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }

/* ── Status Bar ── */
.status-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(2, 11, 24, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; gap: 24px; align-items: center;
  padding: 4px 60px;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-dim);
  letter-spacing: 0.15em;
}
.status-item { color: var(--text-dim); }
.blink-dot { color: var(--neon-green); animation: blink 1.4s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Navigation ── */
.nav-hud {
  position: fixed; top: 28px; left: 0; right: 0; z-index: 99;
  display: flex; align-items: center; gap: 0;
  padding: 14px 60px;
  background: rgba(2, 11, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.logo-icon { filter: drop-shadow(0 0 12px rgba(0,212,255,0.6)); }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: var(--font-hud); font-size: 18px; font-weight: 700;
  color: var(--cyan); letter-spacing: 0.18em;
  text-shadow: 0 0 20px rgba(0,212,255,0.6);
}
.logo-sub { font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); letter-spacing: 0.2em; }

.nav-links {
  display: flex; gap: 6px; list-style: none; margin-left: auto; margin-right: 24px;
}
.nav-link {
  font-family: var(--font-hud); font-size: 11px; font-weight: 600;
  color: var(--text-dim); text-decoration: none; letter-spacing: 0.2em;
  padding: 8px 16px; border: 1px solid transparent;
  transition: all 0.25s ease; position: relative;
}
.nav-link::before {
  content: attr(data-label);
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-size: 8px; color: var(--blue); font-family: var(--font-mono);
  opacity: 0; transition: opacity 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--cyan); border-color: var(--border);
  background: var(--panel); box-shadow: var(--glow);
}
.nav-link:hover::before, .nav-link.active::before { opacity: 1; }

.btn-primary {
  font-family: var(--font-hud); font-size: 11px; font-weight: 700;
  color: var(--bg); background: var(--cyan);
  text-decoration: none; letter-spacing: 0.15em;
  padding: 10px 22px; border: none; cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.2s ease;
  box-shadow: 0 0 24px rgba(0,212,255,0.5);
}
.btn-primary:hover {
  background: #fff; color: var(--bg);
  box-shadow: 0 0 40px rgba(0,212,255,0.9);
}

.btn-outline {
  font-family: var(--font-hud); font-size: 11px; font-weight: 700;
  color: var(--cyan); background: transparent;
  text-decoration: none; letter-spacing: 0.15em;
  padding: 10px 22px; border: 1px solid var(--cyan); cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.2s ease; display: inline-block;
}
.btn-outline:hover { background: rgba(0,212,255,0.1); box-shadow: var(--glow); }

/* ── Main Content ── */
.main-content {
  position: relative; z-index: 10;
  margin-top: 80px; /* below nav */
  min-height: calc(100vh - 80px);
}

/* ── HUD Panel ── */
.hud-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  position: relative;
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hud-panel:hover { border-color: var(--border-hot); box-shadow: var(--glow); }
.hud-panel::before {
  content: ''; position: absolute; top: -1px; left: 20px; width: 40px; height: 2px;
  background: var(--cyan);
}
.panel-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--cyan);
  letter-spacing: 0.3em; margin-bottom: 12px; opacity: 0.7;
}

/* ── Section Title ── */
.section-tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--blue);
  letter-spacing: 0.3em; margin-bottom: 8px; display: block;
}
.section-title {
  font-family: var(--font-hud); font-size: clamp(26px, 4vw, 44px);
  font-weight: 900; color: #fff; line-height: 1.1;
  letter-spacing: 0.05em; margin-bottom: 16px;
}
.section-title .accent { color: var(--cyan); text-shadow: 0 0 20px rgba(0,212,255,0.5); }
.section-desc {
  font-size: 15px; line-height: 1.75; color: var(--text);
  font-weight: 300; max-width: 560px;
}

/* ── Divider ── */
.hud-divider {
  border: none; border-top: 1px solid var(--border);
  position: relative; margin: 48px 0;
}
.hud-divider::after {
  content: '◆'; position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%); background: var(--bg);
  padding: 0 12px; color: var(--cyan); font-size: 10px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOME PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  min-height: 92vh;
  display: grid; place-items: center;
  padding: 60px;
  position: relative; overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  max-width: 1400px; width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 12px; color: var(--cyan);
  letter-spacing: 0.4em; margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--cyan); }
.hero-title {
  font-family: var(--font-hud); font-size: clamp(36px, 5vw, 68px);
  font-weight: 900; line-height: 1.05; color: #fff;
  letter-spacing: 0.03em; margin-bottom: 24px;
}
.hero-title .line-accent { color: var(--cyan); text-shadow: 0 0 30px rgba(0,212,255,0.6); display: block; }
.hero-desc {
  font-size: 16px; line-height: 1.8; color: var(--text);
  max-width: 480px; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  display: flex; justify-content: center; align-items: center; position: relative;
}
.globe-ring {
  width: 380px; height: 380px; position: relative;
  animation: spin 30s linear infinite;
}
.globe-ring svg { width: 100%; height: 100%; }

/* Stat cards row */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  margin: 0 60px;
}
.stat-card {
  background: var(--bg); padding: 32px 24px; text-align: center;
  transition: background 0.3s;
}
.stat-card:hover { background: var(--panel); }
.stat-num {
  font-family: var(--font-hud); font-size: 38px; font-weight: 900;
  color: var(--cyan); display: block;
  text-shadow: 0 0 20px rgba(0,212,255,0.4);
}
.stat-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.2em; margin-top: 6px; }

/* Service teasers */
.service-teasers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 60px;
}
.teaser-card {
  background: var(--panel); border: 1px solid var(--border);
  padding: 36px 28px; position: relative; overflow: hidden;
  transition: all 0.35s ease; text-decoration: none; display: block;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.teaser-card:hover {
  border-color: var(--cyan); box-shadow: var(--glow-hot);
  transform: translateY(-4px);
}
.teaser-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.teaser-card:hover::after { opacity: 1; }
.teaser-icon {
  width: 56px; height: 56px; margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.5));
}
.teaser-title {
  font-family: var(--font-hud); font-size: 17px; font-weight: 700;
  color: #fff; margin-bottom: 12px; letter-spacing: 0.08em;
}
.teaser-desc { font-size: 14px; line-height: 1.7; color: var(--text-dim); }
.teaser-link {
  font-family: var(--font-mono); font-size: 11px; color: var(--cyan);
  letter-spacing: 0.2em; margin-top: 20px; display: flex; align-items: center; gap: 8px;
}
.teaser-link::after { content: '→'; transition: transform 0.2s; }
.teaser-card:hover .teaser-link::after { transform: translateX(4px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SERVICES PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  padding: 80px 60px 60px; border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 60px; width: 120px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--border); margin: 60px;
}
.service-block {
  background: var(--bg2); padding: 48px 40px; position: relative;
  border-left: 3px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.service-block:hover { background: var(--panel); border-left-color: var(--cyan); }
.service-block .service-num {
  font-family: var(--font-hud); font-size: 60px; font-weight: 900;
  color: rgba(0,212,255,0.08); position: absolute; top: 24px; right: 28px;
  line-height: 1;
}
.service-block h3 {
  font-family: var(--font-hud); font-size: 22px; font-weight: 700;
  color: var(--cyan); margin-bottom: 16px; letter-spacing: 0.08em;
}
.service-block p { font-size: 14px; line-height: 1.8; color: var(--text); margin-bottom: 24px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono); font-size: 10px; color: var(--blue);
  border: 1px solid rgba(0,102,255,0.4); padding: 4px 10px;
  background: rgba(0,102,255,0.08); letter-spacing: 0.15em;
}

/* Specializations */
.spec-section { padding: 60px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.spec-card {
  border: 1px solid var(--border); padding: 28px 24px;
  background: var(--panel); position: relative;
  transition: all 0.3s;
}
.spec-card:hover { border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0,255,157,0.2); }
.spec-card h4 {
  font-family: var(--font-hud); font-size: 13px; font-weight: 700;
  color: var(--neon-green); letter-spacing: 0.15em; margin-bottom: 10px;
}
.spec-card p { font-size: 13px; line-height: 1.7; color: var(--text-dim); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding: 60px; align-items: start;
}
.pillar-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.pillar-item {
  display: flex; gap: 20px; padding: 20px;
  border: 1px solid var(--border); background: var(--panel);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pillar-item:hover { border-color: var(--cyan); box-shadow: var(--glow); }
.pillar-num {
  font-family: var(--font-hud); font-size: 28px; font-weight: 900;
  color: rgba(0,212,255,0.25); flex-shrink: 0; line-height: 1;
}
.pillar-content h4 {
  font-family: var(--font-hud); font-size: 14px; color: var(--cyan);
  letter-spacing: 0.12em; margin-bottom: 8px;
}
.pillar-content p { font-size: 13px; line-height: 1.7; color: var(--text-dim); }

.value-prop {
  border: 1px solid var(--border); padding: 40px;
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(0,102,255,0.05));
  position: relative; margin-bottom: 32px;
}
.value-prop::before {
  content: '"'; position: absolute; top: 16px; left: 24px;
  font-size: 80px; color: var(--cyan); opacity: 0.2;
  font-family: serif; line-height: 1;
}
.value-prop p {
  font-size: 17px; line-height: 1.9; color: var(--text);
  font-style: italic; position: relative; z-index: 1;
}

.target-list { display: flex; flex-direction: column; gap: 16px; }
.target-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px; border-left: 2px solid var(--cyan);
  background: var(--panel);
}
.target-item .t-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.target-item p { font-size: 14px; line-height: 1.7; color: var(--text); }
.target-item strong { color: var(--cyan); font-family: var(--font-hud); font-size: 12px; display: block; margin-bottom: 4px; letter-spacing: 0.1em; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  padding: 60px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-block {
  border: 1px solid var(--border); padding: 24px;
  background: var(--panel); display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.3s;
}
.contact-block:hover { border-color: var(--cyan); }
.c-icon { font-size: 24px; flex-shrink: 0; }
.c-label { font-family: var(--font-mono); font-size: 10px; color: var(--cyan); letter-spacing: 0.25em; margin-bottom: 6px; }
.c-value { font-size: 14px; color: var(--text); line-height: 1.6; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-mono); font-size: 11px; color: var(--cyan);
  letter-spacing: 0.2em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0,212,255,0.04); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 14px;
  padding: 12px 16px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan); box-shadow: var(--glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg2); }
.form-note { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); letter-spacing: 0.1em; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer-hud {
  position: relative; z-index: 10;
  border-top: 1px solid var(--border);
  background: rgba(2,11,24,0.97);
  padding: 60px 60px 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-logo-text {
  font-family: var(--font-hud); font-size: 16px; font-weight: 700;
  color: var(--cyan); letter-spacing: 0.15em; margin-bottom: 12px;
}
.footer-tagline {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  margin-bottom: 8px;
}
.footer-sub { font-size: 13px; color: var(--text-dim); }
.footer-heading {
  font-family: var(--font-hud); font-size: 11px; font-weight: 700;
  color: var(--cyan); letter-spacing: 0.25em; margin-bottom: 16px;
}
.footer-col p { font-size: 13px; color: var(--text-dim); line-height: 2; }
.status-grid { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.s-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.s-dot.green { background: var(--neon-green); box-shadow: 0 0 6px var(--neon-green); }
.s-dot.yellow { background: var(--warn); box-shadow: 0 0 6px var(--warn); animation: blink 2s step-end infinite; }
.status-grid span:not(.s-dot) { font-size: 12px; color: var(--text-dim); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-family: var(--font-mono); font-size: 10px; color: var(--text-dim);
  letter-spacing: 0.15em;
}

/* ── Animations ── */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glitch {
  0%, 100% { clip-path: none; transform: none; }
  20% { clip-path: inset(20% 0 60% 0); transform: translateX(-3px); }
  40% { clip-path: inset(60% 0 10% 0); transform: translateX(3px); }
  60% { clip-path: inset(40% 0 40% 0); transform: translateX(-2px); }
}

.fade-in { animation: fadeInUp 0.7s ease both; }
.fade-in-2 { animation: fadeInUp 0.7s 0.15s ease both; }
.fade-in-3 { animation: fadeInUp 0.7s 0.3s ease both; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .spec-grid { grid-template-columns: 1fr; }
  .service-teasers { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 40px 24px; }
  .stat-row, .service-teasers, .services-grid, .spec-section,
  .about-layout, .contact-layout, .page-hero { padding-left: 24px; padding-right: 24px; }
  .footer-hud { padding-left: 24px; padding-right: 24px; }
  .nav-hud { padding: 14px 20px; }
  .status-bar { padding: 4px 20px; gap: 12px; }
  .nav-cta { display: none; }
  .globe-ring { width: 260px; height: 260px; }
  .hero-visual { display: none; }
}
