/* ============================================================
   Denise Mathews Portfolio — styles.css
   Brand: #667eea → #764ba2
   ============================================================ */

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

:root {
  --purple: #667eea;
  --violet: #764ba2;
  --purple-light: #8b9cf7;
  --bg: #ffffff;
  --bg-alt: #f7f8ff;
  --bg-dark: #0a0b14;
  --text: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.1), 0 8px 24px rgba(0,0,0,.06);
  --shadow-purple: 0 8px 32px rgba(102,126,234,.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 68px;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
#navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-dot { color: var(--purple); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
  box-shadow: var(--shadow-purple);
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-light);
  background: rgba(255,255,255,0.98);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-link:last-child { border-bottom: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(102,126,234,.35); }

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

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}
.btn-outline:hover { background: var(--purple); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--purple);
  font-weight: 700;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  bottom: -100px; left: -100px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(102,126,234,.1);
  border: 1px solid rgba(102,126,234,.2);
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 580px;
}
.hero-br { display: none; }
@media (min-width: 640px) { .hero-br { display: block; } }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--border), transparent);
}

/* ===== PROJECTS ===== */
.projects-section { background: var(--bg-alt); }

/* Featured project */
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}
.project-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
}

.project-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.4;
}

.project-tag-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.project-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-ai    { background: rgba(102,126,234,.12); color: var(--purple); }
.tag-ops   { background: rgba(118,75,162,.12);  color: var(--violet); }
.tag-tool  { background: rgba(16,185,129,.12);  color: #059669; }
.tag-hr    { background: rgba(245,158,11,.12);  color: #d97706; }
.tag-app   { background: rgba(59,130,246,.12);  color: #2563eb; }
.tag-analytics { background: rgba(239,68,68,.12); color: #dc2626; }
.tag-automation { background: rgba(20,184,166,.12); color: #0d9488; }

.project-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.project-desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-impact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.impact-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text); }
.impact-icon { font-size: 1rem; min-width: 24px; }

.project-tech { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tech-badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

.project-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(102,126,234,.06), rgba(118,75,162,.06));
  border-radius: var(--radius-sm);
  border: 1px solid rgba(102,126,234,.15);
}
.pricing-label { font-size: 0.8rem; color: var(--text-muted); }
.pricing-value {
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-timeline { font-size: 0.82rem; color: var(--text-muted); }

/* Agent diagram */
.project-featured-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-diagram {
  position: relative;
  width: 300px;
  height: 300px;
}
.agent-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.agent-hub {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(102,126,234,.45);
}

.agent-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.agent-ring {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.agent-node {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
}
.node-ops      { background: #667eea; top: 17%; left: 50%; }
.node-analytics{ background: #764ba2; top: 33%; left: 82%; }
.node-creative { background: #f093fb; top: 67%; left: 82%; }
.node-coord    { background: #5ee7df; color: #1a1a2e; top: 83%; left: 50%; }
.node-support  { background: #f5a623; top: 67%; left: 18%; }
.node-strategy { background: #4facfe; top: 33%; left: 18%; }

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.project-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card:hover::after { transform: scaleX(1); }

.project-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.project-number-sm {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
}
.project-tags-sm { display: flex; gap: 6px; flex-wrap: wrap; }

.project-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.project-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.project-card-impact {
  font-size: 0.85rem;
  color: var(--purple);
  background: rgba(102,126,234,.07);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  line-height: 1.5;
  border-left: 3px solid var(--purple);
}
.project-card-impact-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.impact-row { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }

.project-card-tech { display: flex; gap: 6px; flex-wrap: wrap; }
.tech-badge-sm {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 5px;
}

.project-card-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.demo-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
  transition: opacity 0.2s;
}
.demo-link:hover { opacity: 0.7; }
.demo-link-primary {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
}
.demo-link-primary:hover { opacity: 0.85; }

.project-time-saved { margin-top: 14px; }
.time-saved-badge {
  background: linear-gradient(135deg, rgba(102,126,234,.12), rgba(118,75,162,.12));
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(102,126,234,.2);
}

/* ===== SERVICES ===== */
.services-section { background: var(--bg); }

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

.service-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-card-featured {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px rgba(102,126,234,.2), var(--shadow);
}
.service-card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-icon { font-size: 2rem; margin-bottom: 12px; }
.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.service-tiers { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.tier {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
}
.tier-mid { border-color: rgba(102,126,234,.25); background: rgba(102,126,234,.04); }
.tier-top {
  background: linear-gradient(135deg, rgba(102,126,234,.08), rgba(118,75,162,.08));
  border-color: rgba(102,126,234,.3);
}
.tier-name { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.tier-price {
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}
.tier-details { font-size: 0.78rem; color: var(--text-muted); }

.service-timeline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-stack-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.stack-chip {
  background: linear-gradient(135deg, rgba(102,126,234,.1), rgba(118,75,162,.1));
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.ops-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ops-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.ops-check { color: var(--purple); font-weight: 700; min-width: 16px; margin-top: 1px; }

.btn-service { width: 100%; margin-top: auto; }

.solutions-banner {
  background: var(--bg-alt);
  border: 1.5px solid rgba(102,126,234,.25);
  border-radius: var(--radius);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.solutions-banner-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.solutions-banner-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}
@media (max-width: 640px) {
  .solutions-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
}

.value-banner {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border-radius: var(--radius);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}
.value-banner-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 600px;
}
.value-banner-text strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }

/* ===== ABOUT ===== */
.about-section { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo-wrap { position: relative; margin-bottom: 32px; }
.about-photo-placeholder {
  width: 280px; height: 320px;
  background: linear-gradient(135deg, rgba(102,126,234,.12), rgba(118,75,162,.12));
  border-radius: var(--radius);
  border: 2px dashed rgba(102,126,234,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.photo-initials {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.photo-caption { font-size: 0.78rem; color: var(--text-muted); }

.about-photo-deco {
  position: absolute;
  inset: -12px -12px 12px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple), var(--violet));
  z-index: 1;
  opacity: 0.12;
}

.about-links { display: flex; flex-direction: column; gap: 12px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 4px 0;
}
.social-link svg { opacity: 0.6; flex-shrink: 0; }
.social-link:hover { color: var(--purple); }
.social-link:hover svg { opacity: 1; }
.location-link { cursor: default; }
.location-link:hover { color: var(--text-muted); }
.location-link:hover svg { opacity: 0.6; }

.about-para {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-para strong { color: var(--text); }
.about-para:last-of-type { margin-bottom: 28px; }

.about-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}
.skill-chip:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(102,126,234,.06);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 420px;
}

.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none;
}
.contact-channel:hover { border-color: var(--purple); box-shadow: 0 4px 16px rgba(102,126,234,.12); transform: translateX(4px); }
.channel-icon { font-size: 1.3rem; min-width: 28px; }
.channel-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.channel-value { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* Form */
.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(102,126,234,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.btn-form { width: 100%; margin-top: 4px; }

.form-status {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.4em;
}
.form-status.success { color: #22c55e; }
.form-status.error { color: #ef4444; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .nav-logo { color: #fff; font-size: 1.3rem; margin-right: 16px; }
.footer .logo-dot { color: var(--purple-light); }
.footer-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-tagline { font-size: 0.82rem; opacity: 0.55; }
.footer-right { display: flex; gap: 24px; }
.footer-right a { font-size: 0.85rem; opacity: 0.55; transition: opacity 0.2s; }
.footer-right a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  font-size: 0.78rem;
  opacity: 0.35;
  text-align: center;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .project-featured { grid-template-columns: 1fr; gap: 40px; padding: 40px 36px; }
  .project-featured-visual { order: -1; }
  .agent-diagram { width: 240px; height: 240px; }
  .agent-hub { width: 56px; height: 56px; font-size: 0.75rem; }
  .agent-node { width: 42px; height: 42px; font-size: 0.62rem; }

  .services-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-wrap { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
  .about-photo-placeholder { width: 220px; height: 240px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 72px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-featured { padding: 28px 24px; }
  .project-title { font-size: 1.6rem; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }

  .value-banner { flex-direction: column; text-align: center; padding: 32px 24px; }

  .about-photo-placeholder { width: 180px; height: 200px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .section-title { font-size: 1.8rem; }
}
