/* ============================================
   AVS RAJU – Infrastructure Legacy Experience
   Design System: Blueprint Engineering Vault
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Primary Palette */
  --bg-deep: #0a0e1a;
  --bg-primary: #0d1326;
  --bg-secondary: #111b33;
  --bg-card: #141e38;
  --bg-card-hover: #1a2745;
  
  /* Accent Colors */
  --accent-cyan: #00e5ff;
  --accent-cyan-dim: rgba(0, 229, 255, 0.15);
  --accent-cyan-glow: rgba(0, 229, 255, 0.4);
  --accent-blue: #2979ff;
  --accent-blue-dim: rgba(41, 121, 255, 0.15);
  --accent-steel: #607d8b;
  --accent-gold: #ffd740;
  --accent-gold-dim: rgba(255, 215, 64, 0.15);
  --accent-orange: #ff6d00;
  
  /* Text */
  --text-primary: #e8eaf6;
  --text-secondary: #90a4ae;
  --text-dim: #546e7a;
  --text-bright: #ffffff;
  
  /* Blueprint Grid */
  --grid-line: rgba(0, 229, 255, 0.06);
  --grid-line-bold: rgba(0, 229, 255, 0.12);
  
  /* Typography */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  
  /* Spacing */
  --section-pad: 100px 0;
  --container-width: 1200px;
  --gap-lg: 60px;
  --gap-md: 40px;
  --gap-sm: 20px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

a:hover {
  color: var(--accent-gold);
}

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

/* ── Blueprint Grid Background ── */
.blueprint-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-bold) 1px, transparent 1px);
  background-size:
    20px 20px,
    20px 20px,
    100px 100px,
    100px 100px;
  opacity: 0.5;
}

/* ── Scanline Overlay ── */
.scanline-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 229, 255, 0.01) 2px,
    rgba(0, 229, 255, 0.01) 4px
  );
}

/* ── Container ── */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── Navigation ── */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  transition: all 0.4s var(--ease-out);
}

.main-nav.scrolled {
  background: rgba(10, 14, 26, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: all 0.3s var(--ease-out);
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--accent-cyan);
  transition: all 0.3s var(--ease-out);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── PASSWORD GATE ── */
.gate-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: hidden;
}

.gate-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.gate-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gate-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: particleFloat 8s linear infinite;
  box-shadow: 0 0 6px var(--accent-cyan);
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

.gate-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}

.gate-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconPulse 2s ease-in-out infinite;
}

.gate-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent-cyan);
  fill: none;
  stroke-width: 1.5;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 229, 255, 0.4); }
}

.gate-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-cyan);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gate-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.gate-input-wrap {
  position: relative;
  margin-bottom: 30px;
}

.gate-input {
  width: 320px;
  padding: 16px 24px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 4px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 8px;
  text-align: center;
  outline: none;
  transition: all 0.3s var(--ease-out);
}

.gate-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.gate-input::placeholder {
  color: var(--text-dim);
  letter-spacing: 4px;
  font-size: 0.8rem;
}

.gate-btn {
  display: inline-block;
  padding: 14px 50px;
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border-radius: 4px;
}

.gate-btn:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.gate-error {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ff1744;
  margin-top: 15px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gate-error.visible {
  opacity: 1;
}

/* Shake Animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
  20%, 40%, 60%, 80% { transform: translateX(8px); }
}

.shake {
  animation: shake 0.6s ease-in-out;
}

/* Glitch Animation */
@keyframes glitch {
  0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, 2px); }
  20% { clip-path: inset(92% 0 1% 0); transform: translate(1px, -1px); }
  40% { clip-path: inset(43% 0 1% 0); transform: translate(-1px, 2px); }
  60% { clip-path: inset(25% 0 58% 0); transform: translate(2px, 1px); }
  80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, -1px); }
  100% { clip-path: inset(58% 0 43% 0); transform: translate(0); }
}

/* Gate Unlock Transition */
.gate-screen.unlocking {
  animation: gateUnlock 1.2s var(--ease-out) forwards;
}

@keyframes gateUnlock {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.2); pointer-events: none; }
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0.3) brightness(0.5);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.3) 0%,
    rgba(10, 14, 26, 0.7) 60%,
    var(--bg-deep) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.3s var(--ease-out) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.5s var(--ease-out) forwards;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.7s var(--ease-out) forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.9s var(--ease-out) forwards;
}

.hero-cta:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s 1.2s var(--ease-out) forwards;
}

.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 60px; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION STYLES ── */
.section {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  margin: 0 auto 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap-sm);
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 8px;
  padding: 36px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--accent-cyan-dim);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-cyan);
  fill: none;
  stroke-width: 1.5;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-sm);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 8px;
  transition: all 0.4s var(--ease-out);
}

.stat-item:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.05);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── IMAGE SECTIONS ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.6s var(--ease-out);
}

.split-image:hover img {
  transform: scale(1.03);
}

.split-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 8px;
  pointer-events: none;
}

.split-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-bright);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.split-text h2 span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.split-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-blue), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── FEATURE LIST ── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-sm);
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.06);
  border-radius: 8px;
  transition: all 0.3s var(--ease-out);
}

.feature-item:hover {
  border-color: rgba(0, 229, 255, 0.15);
  transform: translateX(4px);
}

.feature-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  margin-top: 8px;
  box-shadow: 0 0 8px var(--accent-cyan-glow);
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-bright);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── FULL-WIDTH IMAGE BANNER ── */
.image-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 60px 0;
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.6);
}

.image-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--bg-deep) 0%,
    rgba(10, 14, 26, 0.5) 50%,
    var(--bg-deep) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.image-banner-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-bright);
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.image-banner-text p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s var(--ease-out);
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(41, 121, 255, 0.15));
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.4s var(--ease-out);
  align-self: flex-start;
}

.form-submit:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(41, 121, 255, 0.25));
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan-dim);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-cyan);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-item h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-bright);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

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

/* ── SOCIAL ICONS ── */
.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out);
  background: var(--bg-card);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  transition: fill 0.3s;
}

.social-icon:hover {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.15);
}

.social-icon:hover svg {
  fill: var(--accent-cyan);
}

/* ── FOOTER ── */
.main-footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gap-md);
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-cyan);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 350px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 229, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-credit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

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

.footer-contact-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ── PAGE HERO (Internal Pages) ── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  filter: saturate(0.3);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, var(--bg-deep), transparent);
}

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

.page-hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.page-hero-title span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── GLOW ACCENTS ── */
.glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  margin: 80px 0;
  opacity: 0.3;
}

.glow-corner {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  pointer-events: none;
}

.glow-corner.cyan {
  background: var(--accent-cyan);
}

.glow-corner.blue {
  background: var(--accent-blue);
}

/* ── INTERACTIVE PROJECT CARDS ── */
.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.95), transparent);
  transition: all 0.4s var(--ease-out);
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.project-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

/* ── QUOTE BLOCK ── */
.quote-block {
  padding: 50px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 8px 8px 0;
  position: relative;
}

.quote-block::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(0, 229, 255, 0.1);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

.quote-block p {
  font-size: 1.3rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 16px;
}

.quote-block cite {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: normal;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .section-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: var(--gap-md); }
  .split-section.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid rgba(0, 229, 255, 0.1);
    gap: 4px;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .page-hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .stat-number { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quote-block { padding: 30px; }
  .quote-block p { font-size: 1.1rem; }
  .image-banner { height: 280px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .page-hero { padding: 130px 0 60px; }
  .gate-input { width: 260px; font-size: 0.95rem; }
  .gate-title { font-size: 1.1rem; letter-spacing: 4px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-item { padding: 24px 12px; }
}
