/*
  TekSpo Infinity - Global Styles
  Elegant + futuristic look with glassmorphism, neon accents, and subtle motion.
*/

:root {
  --bg: #0b0f14;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #e6ecf2;
  --muted: #a8b3bf;
  --accent: #7c5cff; /* violet */
  --accent-2: #00d4ff; /* cyan */
  --success: #2ad5a5;
  --warn: #ffcc66;
  --danger: #ff6b6b;
  --card-radius: 16px;
  --btn-radius: 12px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --blur: 14px;
  --maxw: 1200px;
}

/* Base */
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% -10%, rgba(124, 92, 255, 0.25), transparent 60%),
              radial-gradient(900px 500px at 85% 0%, rgba(0, 212, 255, 0.20), transparent 60%),
              var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.7; color: var(--muted); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 18, 0.6);
  backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 36px; width: auto; }
.brand .title { font-weight: 700; letter-spacing: 0.3px; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  position: relative;
  color: var(--muted);
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 200ms ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

/* Mobile nav controls */
.menu-toggle {
  display: none;
  padding: 10px 12px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: var(--text);
}
.nav-back {
  display: none;
  padding: 10px 12px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: var(--text);
}

/* Mobile menu dropdown */
.nav-open .nav-links {
  display: flex !important;
  position: absolute;
  top: 68px;
  right: 0;
  left: 0;
  flex-direction: column;
  gap: 0;
  background: rgba(8, 12, 18, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 24px 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.22); }
.btn.primary {
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.2), rgba(0, 212, 255, 0.2));
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow { color: var(--accent-2); font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.headline { font-size: 44px; font-weight: 800; letter-spacing: -0.5px; }
.subcopy { margin-top: 12px; max-width: 58ch; }

.shape-wrap {
  position: relative;
  min-height: 340px;
}
.hero-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
}
.shape {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(124,92,255,0.16), rgba(0,212,255,0.16), transparent 60%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 30px 80px rgba(0,0,0,0.45);
  filter: saturate(120%);
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-8px) }
}

/* Search */
.search {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.search input[type="search"] {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  outline: none;
}
.search input[type="search"]::placeholder { color: #91a1b2; }

/* Sections */
section { padding: 56px 0; }
.section-title { font-size: 28px; margin-bottom: 18px; }

/* Cards / Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.card {
  grid-column: span 6;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--card-radius);
  backdrop-filter: blur(var(--blur));
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card.full { grid-column: span 12; }
.card.image { padding: 0; overflow: hidden; }
.card.image img { width: 100%; height: 260px; object-fit: cover; display: block; }
.card .card-caption { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card .card-caption h3 { margin: 0; }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 18px 50px rgba(124, 92, 255, 0.18);
}
.card h3 { margin-bottom: 8px; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card li { margin: 6px 0; }

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 12, 18, 0.6);
  backdrop-filter: blur(var(--blur));
  padding: 28px 0;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.socials { display: flex; gap: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 420ms ease, transform 420ms ease; }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

/* Utilities */
.muted { color: var(--muted); }
.accent { color: var(--accent-2); }
.spacer-sm { height: 10px; }
.spacer-md { height: 20px; }
.spacer-lg { height: 40px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-back { display: inline-flex; }
  .card { grid-column: span 12; }
  .headline { font-size: 34px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shape { animation: none; }
  .reveal { transition: none; }
}


