/* ============================================
   METAMORPH-X — Premium Dark Cyber Portfolio
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary: #0B0F19;
  --bg-secondary: #101624;
  --bg-card: rgba(16, 22, 36, 0.65);
  --bg-glass: rgba(16, 22, 36, 0.45);
  --accent-cyan: #00D2FF;
  --accent-blue: #0072FF;
  --gradient-accent: linear-gradient(135deg, #00D2FF, #0072FF);
  --gradient-accent-r: linear-gradient(135deg, #0072FF, #00D2FF);
  --white: #FFFFFF;
  --text-primary: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-color: rgba(0, 210, 255, 0.12);
  --border-hover: rgba(0, 210, 255, 0.35);
  --glow-cyan: 0 0 20px rgba(0, 210, 255, 0.25);
  --glow-cyan-strong: 0 0 40px rgba(0, 210, 255, 0.35), 0 0 80px rgba(0, 114, 255, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 8px 50px rgba(0, 0, 0, 0.5);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  background: rgba(0, 210, 255, 0.08);
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(0, 210, 255, 0.15);
}

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

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

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Background Decoration ---------- */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 20%, rgba(0, 114, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 80%, rgba(0, 210, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle grid pattern */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 210, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition-base);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: -1;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2px;
  user-select: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.logo .accent {
  color: var(--accent-cyan);
}

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 8px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(0, 210, 255, 0.06);
}

.nav-links a.nav-cta {
  color: var(--bg-primary);
  background: var(--gradient-accent);
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 50px;
  margin-left: 8px;
}

.nav-links a.nav-cta:hover {
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

/* Hero glow orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 114, 255, 0.06) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-badge i {
  color: var(--accent-cyan);
  font-size: 0.7rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #00D2FF;
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,210,255,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0,210,255,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 44px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--bg-primary);
  box-shadow: 0 4px 25px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan-strong);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: rgba(0, 210, 255, 0.06);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-value .gradient-text {
  font-size: inherit;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 114, 255, 0.05) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.code-block {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 2;
  color: var(--text-secondary);
}

.code-block .keyword { color: #c792ea; }
.code-block .function { color: #82aaff; }
.code-block .string { color: #c3e88d; }
.code-block .comment { color: var(--text-muted); font-style: italic; }
.code-block .type { color: #ffcb6b; }
.code-block .operator { color: #89ddff; }
.code-block .number { color: #f78c6c; }

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-elevated);
}

.floating-badge i {
  font-size: 1.3rem;
  color: var(--accent-cyan);
}

.floating-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.floating-badge-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-content .section-desc {
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.about-feature:hover {
  background: rgba(0, 210, 255, 0.04);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
  font-size: 1rem;
  transition: var(--transition-base);
}

.about-feature:hover .about-feature-icon {
  background: rgba(0, 210, 255, 0.14);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CORE PILLARS SECTION
   ============================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.pillar-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition-base);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 210, 255, 0.06);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 210, 255, 0.07);
  border: 1px solid rgba(0, 210, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 28px;
  transition: var(--transition-base);
}

.pillar-card:hover .pillar-icon {
  background: rgba(0, 210, 255, 0.12);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.12);
  transform: scale(1.08);
}

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

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pillar-tag {
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(0, 210, 255, 0.06);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.1);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.04) 0%, transparent 70%);
  bottom: -300px;
  left: -200px;
  pointer-events: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.team-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition-base);
  border-radius: 0 0 4px 4px;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 210, 255, 0.05);
}

.team-card:hover::before {
  opacity: 1;
  width: 100%;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bg-primary);
  background: var(--gradient-accent);
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.2);
  transition: var(--transition-base);
}

.team-card:hover .team-avatar {
  box-shadow: 0 4px 30px rgba(0, 210, 255, 0.35);
  transform: scale(1.05);
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(0, 210, 255, 0.2);
  transition: var(--transition-base);
}

.team-card:hover .team-avatar::after {
  border-color: rgba(0, 210, 255, 0.5);
  inset: -6px;
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.team-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.08);
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(0, 210, 255, 0.1);
  margin-bottom: 16px;
}

.team-card .team-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition-base);
}

.team-card:hover .team-socials {
  opacity: 1;
  transform: translateY(0);
}

.team-socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 210, 255, 0.06);
  border: 1px solid rgba(0, 210, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.team-socials a:hover {
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  position: relative;
}

.contact-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.contact-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.contact-wrapper::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.06) 0%, transparent 70%);
  bottom: -200px;
  right: -100px;
  pointer-events: none;
}

.contact-wrapper .section-desc {
  margin: 0 auto 36px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 210, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  transition: var(--transition-base);
  cursor: pointer;
}

.contact-link-card:hover {
  border-color: var(--border-hover);
  background: rgba(0, 210, 255, 0.08);
  transform: translateY(-2px);
}

.contact-link-card i {
  font-size: 1.2rem;
  color: var(--accent-cyan);
}

.contact-link-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 24px 32px;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2px;
}

.footer-logo .accent {
  color: var(--accent-cyan);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent-cyan);
  border-color: var(--border-hover);
  background: rgba(0, 210, 255, 0.1);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-copy .accent {
  color: var(--accent-cyan);
  font-weight: 600;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.back-to-top:hover {
  color: var(--accent-cyan);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ============================================
   DIVIDER
   ============================================ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-base);
}

.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-overlay a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 32px;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.mobile-nav-overlay a:hover {
  color: var(--white);
  background: rgba(0, 210, 255, 0.06);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1080px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: 2;
  }

  .about-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .hero-stats {
    gap: 32px;
  }

  .contact-wrapper {
    padding: 40px 28px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    letter-spacing: -0.5px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-link-card {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   SCROLL REVEAL ANIMATION (CSS-only)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.12s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.19s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.26s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.33s; }
