/* Agbogidiezike Technology Hub - Main Stylesheet */
:root {
  --primary: #0a1f44;
  --primary-dark: #06152b;
  --accent: #1e90ff;
  --accent-light: #4db8ff;
  --accent-glow: #00bfff;
  --secondary: #00d4ff;
  --dark: #0a1628;
  --darker: #050d18;
  --light: #f0f7ff;
  --white: #ffffff;
  --gray: #8ba3c7;
  --gray-light: #c5d5e8;
  --success: #00c853;
  --gradient: linear-gradient(135deg, #0a1f44 0%, #1a3a6b 50%, #0d2b5a 100%);
  --gradient-accent: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
  --shadow: 0 10px 40px rgba(0, 30, 80, 0.25);
  --shadow-lg: 0 20px 60px rgba(0, 20, 60, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--darker);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 13, 24, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 144, 255, 0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4);
  border: 2px solid rgba(30, 144, 255, 0.5);
  background: #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text .brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.logo-text .tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: 0.3px;
}

.logo span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-light);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(30, 144, 255, 0.15);
}

.nav-cta {
  background: var(--gradient-accent) !important;
  color: white !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.35);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 144, 255, 0.5) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(30, 144, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 144, 255, 0.15);
  border: 1px solid rgba(30, 144, 255, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-light);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 6px 25px rgba(30, 144, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(30, 144, 255, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(30, 144, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(30, 144, 255, 0.15);
  border-color: var(--accent);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(10, 31, 68, 0.7);
  border: 1px solid rgba(30, 144, 255, 0.25);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: rgba(30, 144, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(30, 144, 255, 0.15);
}

.stat-item .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}

.stat-item .label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
}

/* Floating icons animation */
.float-icon {
  position: absolute;
  width: 56px;
  height: 56px;
  background: rgba(10, 31, 68, 0.9);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.float-icon:nth-child(1) { top: 10%; left: -20px; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 60%; right: -30px; animation-delay: 1.5s; }
.float-icon:nth-child(3) { bottom: 15%; left: 10%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ========== SECTIONS ========== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .badge {
  display: inline-block;
  background: rgba(30, 144, 255, 0.15);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* ========== PILLARS ========== */
.pillars {
  background: var(--dark);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: rgba(10, 31, 68, 0.6);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30, 144, 255, 0.4);
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.15);
}

.pillar-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(30, 144, 255, 0.12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-team {
  background: rgba(10, 31, 68, 0.7);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
}

.service-team:hover {
  border-color: rgba(30, 144, 255, 0.45);
  box-shadow: var(--shadow);
}

.team-header {
  padding: 32px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(0, 100, 200, 0.05) 100%);
  border-bottom: 1px solid rgba(30, 144, 255, 0.15);
}

.team-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-header p {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.team-body {
  padding: 28px 32px 36px;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(5, 13, 24, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(30, 144, 255, 0.08);
  transition: var(--transition);
}

.service-item:hover {
  background: rgba(30, 144, 255, 0.08);
  border-color: rgba(30, 144, 255, 0.25);
}

.service-item .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(30, 144, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.service-item h4 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--white);
  margin-bottom: 4px;
}

.service-item p {
  font-size: 0.88rem;
  color: var(--gray);
}

/* ========== FEATURES / WHY US ========== */
.why-us {
  background: var(--dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: rgba(10, 31, 68, 0.5);
  border: 1px solid rgba(30, 144, 255, 0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 144, 255, 0.35);
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, #0a1f44 0%, #123a6b 50%, #0a2a55 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-box p {
  color: var(--gray-light);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(30, 144, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-light);
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

.contact-form {
  background: rgba(10, 31, 68, 0.6);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(5, 13, 24, 0.8);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ========== LEGAL PAGES ========== */
.legal-content {
  max-width: 850px;
  margin: 0 auto;
  background: rgba(10, 31, 68, 0.5);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: 20px;
  padding: 48px;
}

.legal-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}

.legal-content .updated {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-light);
  margin: 36px 0 14px;
}

.legal-content p,
.legal-content li {
  color: var(--gray-light);
  margin-bottom: 14px;
  font-size: 1rem;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent-light);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--darker);
  border-top: 1px solid rgba(30, 144, 255, 0.12);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--gray);
  margin: 16px 0 24px;
  font-size: 0.95rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(30, 144, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 144, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--gray);
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--gray-light);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== TECH STACK ========== */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.tech-badge {
  background: rgba(30, 144, 255, 0.12);
  border: 1px solid rgba(30, 144, 255, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-light);
}

/* ========== FAQ ========== */
.faq-item {
  background: rgba(10, 31, 68, 0.5);
  border: 1px solid rgba(30, 144, 255, 0.12);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(30, 144, 255, 0.08);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(5, 13, 24, 0.98);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .pillars-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 28px 20px;
  }

  section {
    padding: 70px 0;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none; }
