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

/* ==============================
   CSS CUSTOM PROPERTIES
   ============================== */
:root {
  /* Backgrounds – neutral dark, no blue tint */
  --bg: #0c0c0c;
  --bg-1: #111111;
  --card-bg: #141414;

  /* Text */
  --text: #eeeeee;
  --text-2: #888888;
  --text-3: #555555;

  /* Single accent – warm orange */
  --accent: #f97316;
  --accent-2: #fb923c;
  --accent-dim: rgba(249, 115, 22, 0.1);
  --accent-border: rgba(249, 115, 22, 0.35);

  /* Borders / glass */
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(249, 115, 22, 0.4);
  --glass: rgba(20, 20, 20, 0.7);
  --glass-hover: rgba(24, 24, 24, 0.9);

  /* Shadows */
  --shadow-lg: 0 25px 60px -12px rgba(0, 0, 0, 0.85);
  --glow: 0 0 40px rgba(249, 115, 22, 0.2);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radii */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.3s var(--ease);
  --transition-slow: all 0.6s var(--ease-out);
}

/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 62.5%; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ==============================
   CUSTOM CURSOR
   ============================== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
}

.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(249, 115, 22, 0.5);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
}

.cursor-ring.hovering {
  width: 56px; height: 56px;
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.04);
}

@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ==============================
   SCROLL PROGRESS
   ============================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 1001;
  transition: width 0.08s linear;
}

/* ==============================
   PRELOADER
   ============================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2.5rem;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.preloader-bar {
  width: 160px; height: 2px;
  background: #1f1f1f;
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: preload 1.8s var(--ease-out) forwards;
}

@keyframes preload { from { width: 0; } to { width: 100%; } }

/* ==============================
   TYPOGRAPHY
   ============================== */
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.mono { font-family: var(--font-mono); }

.accent-text { color: var(--accent); }

/* ==============================
   LAYOUT
   ============================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
section { padding: 12rem 0; }

/* ==============================
   SUBTLE BACKGROUND TEXTURE
   ============================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.018) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

/* Single soft glow at top — no aurora blobs */
body::after {
  content: '';
  position: fixed;
  top: -30vh;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.055) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ==============================
   NAVIGATION
   ============================== */
nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition-slow);
}

nav.scrolled {
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}

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

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 4rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
}

.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  display: block;
  transition: var(--transition);
  border-radius: 2px;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================
   BUTTONS
   ============================== */
.btn {
  padding: 1.2rem 2.8rem;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: none;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #0c0c0c;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--accent-border);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.8rem 4rem; font-size: 1.7rem; border-radius: 10px; }

/* ==============================
   SECTION HEADER
   ============================== */
.section-header { text-align: center; margin-bottom: 8rem; }

.section-label {
  font-size: 1.15rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin-bottom: 1.5rem;
  display: block;
  font-family: var(--font-mono);
}

.section-title { font-size: clamp(3.2rem, 4.5vw, 5rem); font-weight: 800; letter-spacing: -0.03em; }

.section-subtitle {
  font-size: 1.7rem;
  color: var(--text-2);
  max-width: 580px;
  margin: 2rem auto 0;
  line-height: 1.75;
}

/* ==============================
   HERO SECTION
   ============================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  padding-top: 9rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1.6rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 1.2rem;
  color: var(--accent-2);
  font-family: var(--font-mono);
  margin-bottom: 3.5rem;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: dot-blink 2.5s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(5rem, 9vw, 10.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 3rem;
}

.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; }

/* Single-color accent – no rainbow */
.hero-title .accent-word { color: var(--accent); }

.hero-description {
  font-size: 1.9rem;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 5rem;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 4rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-3);
  font-size: 1.1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  animation: hint-float 2.5s ease-in-out infinite;
}

.scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid #333;
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  width: 3px; height: 7px;
  background: #444;
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

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

/* ==============================
   STATS BAR
   ============================== */
.stats-bar {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-block {
  padding: 3rem 2rem;
  position: relative;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-value {
  font-size: 5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 1.2rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* ==============================
   ABOUT SECTION
   ============================== */
#about { position: relative; z-index: 1; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 9rem;
  align-items: center;
}

.about-image { position: relative; }

.about-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.about-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.8s var(--ease);
  filter: grayscale(15%);
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(12,12,12,0.55) 100%);
  pointer-events: none;
}

.about-image-glow {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: var(--accent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.about-image:hover .about-image-glow { opacity: 0.6; }

.about-float-badge {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  white-space: nowrap;
}

.about-badge-1 {
  bottom: 12%; left: -6rem;
  animation: float-badge 4s ease-in-out infinite;
}

.about-badge-2 {
  top: 12%; right: -5rem;
  animation: float-badge 4s ease-in-out infinite;
  animation-delay: -2s;
}

.float-badge-icon { font-size: 2.2rem; line-height: 1; }
.float-badge-text strong { font-size: 1.4rem; display: block; margin-bottom: 0.2rem; }
.float-badge-text p { font-size: 1.1rem; color: var(--text-2); margin: 0; line-height: 1.3; }

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

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-tag {
  display: inline-flex;
  padding: 0.6rem 1.4rem;
  background: var(--accent-dim);
  color: var(--accent-2);
  border-radius: 100px;
  font-size: 1.2rem;
  font-family: var(--font-mono);
  border: 1px solid var(--accent-border);
  width: fit-content;
}

.about-text h2 { font-size: clamp(3rem, 4vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; }
.about-text h2 span { color: var(--accent); }
.about-text p { font-size: 1.65rem; color: var(--text-2); line-height: 1.8; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.stat-item h4 {
  font-size: 3rem;
  font-family: var(--font-mono);
  color: var(--accent);
}

.stat-item p {
  font-size: 1.15rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

/* ==============================
   TECH MARQUEE
   ============================== */
.tech-section {
  padding: 9rem 0 10rem;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.tech-section .section-header { margin-bottom: 5rem; }

.tech-marquee {
  display: flex;
  gap: 2.5rem;
  overflow: hidden;
  -webkit-mask: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.tech-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 35s linear infinite;
  flex-shrink: 0;
}

.tech-marquee:hover .tech-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 2.4rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: default;
  transition: var(--transition);
}

.tech-pill:hover {
  border-color: var(--accent-border);
  background: var(--accent-dim);
  transform: translateY(-4px);
}

.tech-pill i { font-size: 2.2rem; }
.tech-pill span { font-size: 1.4rem; font-weight: 600; color: var(--text-2); }

/* ==============================
   PROJECTS SECTION
   ============================== */
#projects { position: relative; z-index: 1; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.project-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 20px 60px -12px rgba(0,0,0,0.6), var(--glow);
  transform: translateY(-8px);
}

.project-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  filter: grayscale(20%);
}

.project-card:hover .project-img {
  transform: scale(1.07);
  filter: grayscale(0%);
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--card-bg));
}

.project-info { padding: 2.8rem; }

.project-tags {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 1.1rem;
  padding: 0.4rem 1.2rem;
  background: rgba(249, 115, 22, 0.08);
  color: var(--accent-2);
  border-radius: 100px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  font-family: var(--font-mono);
}

.project-info h3 { font-size: 2.1rem; margin-bottom: 1rem; font-weight: 700; }
.project-info p { font-size: 1.45rem; color: var(--text-2); margin-bottom: 2.5rem; line-height: 1.7; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.project-link:hover { gap: 1.4rem; opacity: 0.8; }

/* ==============================
   TEAM SECTION
   ============================== */
#team { position: relative; z-index: 1; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.team-card-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.team-card-border {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: var(--accent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px -15px rgba(0,0,0,0.7), var(--glow);
}

.team-card:hover .team-card-glow { opacity: 1; }
.team-card:hover .team-card-border { opacity: 0.7; }

.member-avatar {
  width: 108px; height: 108px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.member-avatar-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  transition: opacity 0.4s;
}

.team-card:hover .member-avatar-ring { opacity: 1; }

.member-avatar-inner {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--card-bg);
  z-index: 1;
}

.member-avatar img {
  width: 108px; height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--card-bg);
  position: relative;
  z-index: 2;
  display: block;
  transition: var(--transition);
  filter: grayscale(20%);
}

.team-card:hover .member-avatar img { filter: grayscale(0%); }

.member-info h3 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }

.member-role {
  font-size: 1.25rem;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 2.5rem;
}

.member-links { display: flex; justify-content: center; gap: 1.2rem; }

.member-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 1.6rem;
  text-decoration: none;
  transition: var(--transition);
}

.member-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0c0c0c;
  transform: translateY(-3px);
}

/* ==============================
   CONTACT SECTION
   ============================== */
#contact { position: relative; z-index: 1; }

.contact-wrapper {
  max-width: 660px;
  margin: 0 auto;
  padding: 8rem 5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-wrapper::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,0.1), transparent 65%);
  pointer-events: none;
}

.contact-icon {
  width: 72px; height: 72px;
  margin: 0 auto 3rem;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: #0c0c0c;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(249,115,22,0.35);
}

.contact-wrapper h2 {
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.contact-wrapper h2 span { color: var(--accent); }

.contact-wrapper p {
  font-size: 1.7rem;
  color: var(--text-2);
  margin-bottom: 4rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.contact-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ==============================
   FOOTER
   ============================== */
footer {
  border-top: 1px solid var(--border);
  padding: 8rem 0 4rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 6rem;
  margin-bottom: 6rem;
}

.footer-brand p {
  font-size: 1.5rem;
  color: var(--text-2);
  margin: 2rem 0 3rem;
  line-height: 1.75;
}

.footer-social { display: flex; gap: 1.2rem; }

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 1.7rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0c0c0c;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1.2rem; }

.footer-col a {
  font-size: 1.5rem;
  color: var(--text-2);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-col a:hover { color: var(--text); transform: translateX(5px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  font-size: 1.4rem;
  color: var(--text-3);
}

.footer-bottom a { color: var(--accent); text-decoration: none; }
.footer-bottom a:hover { opacity: 0.8; }

/* ==============================
   REVEAL ANIMATIONS
   ============================== */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9) translateY(25px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1) translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==============================
   PAGE HERO (team / projects)
   ============================== */
.page-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  padding-top: 14rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.page-hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 5rem; }
  .about-float-badge { display: none; }
  .about-image-wrapper img { height: 400px; }
}

@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  html { font-size: 57%; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 270px; height: 100vh;
    background: rgba(12,12,12,0.98);
    border-left: 1px solid var(--border);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    display: flex;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 999;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 2.2rem; }
  .nav-hamburger { display: flex; }
  nav .btn { display: none; }

  .hero-title { font-size: clamp(4.5rem, 12vw, 7rem); }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1.2rem; text-align: center; }
  .contact-wrapper { padding: 5rem 3rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-block::after { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }
}
