/* ========================================
   STARARC — Stylesheet
   Flashy / AI-Marketing palette
   ======================================== */

:root {
  --bg: #07070d;
  --bg-2: #0c0c18;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-dim: rgba(255, 255, 255, 0.45);
  --accent-1: #a78bfa;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --gradient: linear-gradient(135deg, #a78bfa 0%, #22d3ee 50%, #a78bfa 100%);
  --gradient-2: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
  --gradient-3: linear-gradient(135deg, #f472b6 0%, #a78bfa 50%, #22d3ee 100%);
  --shadow-glow: 0 0 60px rgba(167, 139, 250, 0.35);
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1200px;
  --container-narrow: 820px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent-1); color: var(--bg); }
:focus-visible { outline: 1px solid var(--accent-1); outline-offset: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.container.narrow { max-width: var(--container-narrow); }

/* ========== Background ========== */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--accent-1);
  top: -200px; left: -200px;
}
.blob-2 {
  width: 500px; height: 500px;
  background: var(--accent-2);
  top: 40%; right: -150px;
  animation-delay: -7s;
}
.blob-3 {
  width: 450px; height: 450px;
  background: var(--accent-3);
  bottom: -100px; left: 30%;
  animation-delay: -14s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-50px, 50px) scale(0.95); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--transition);
  backdrop-filter: blur(0px);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 7, 13, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.logo-mark {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-accent {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 38px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gradient-2);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(12, 12, 24, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  z-index: 99;
}
.mobile-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}
.mobile-menu a { color: white; font-size: 16px; font-weight: 500; }
@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient-2);
  color: #07070d;
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.35);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c4b5fd, #67e8f9);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.5);
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: white;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 15px;
}
.btn-block { width: 100%; justify-content: center; }
.nav-cta { padding: 10px 18px; }

/* ========== Hero (homepage) ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 80px;
}
.hero .container { text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #4ade80;
  opacity: 0.4;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.4; }
  to { transform: scale(2.5); opacity: 0; }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 28px;
}
.gradient-text {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
  font-style: italic;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
}
@media (max-width: 1100px) { .hero-visual { display: none; } }

.orbit {
  position: relative;
  width: 400px;
  height: 400px;
}
.orbit-ring {
  position: absolute;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring-1 { width: 200px; height: 200px; animation: rotate 18s linear infinite; }
.orbit-ring-2 { width: 300px; height: 300px; animation: rotate 28s linear reverse infinite; }
.orbit-ring-3 { width: 400px; height: 400px; animation: rotate 38s linear infinite; }
.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  filter: drop-shadow(0 0 30px rgba(167, 139, 250, 0.7));
}
.orbit-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 20px var(--accent-2);
  top: 50%; left: 50%;
}
.orbit-dot-1 { animation: orbit1 18s linear infinite; }
.orbit-dot-2 { animation: orbit2 28s linear reverse infinite; background: var(--accent-1); box-shadow: 0 0 20px var(--accent-1); }
.orbit-dot-3 { animation: orbit3 38s linear infinite; background: var(--accent-3); box-shadow: 0 0 20px var(--accent-3); }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbit1 {
  from { transform: translate(-50%, -50%) rotate(0) translateX(100px) rotate(0); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: translate(-50%, -50%) rotate(0) translateX(150px) rotate(0); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(150px) rotate(-360deg); }
}
@keyframes orbit3 {
  from { transform: translate(-50%, -50%) rotate(0) translateX(200px) rotate(0); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(200px) rotate(-360deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, white, transparent);
  background-size: 100% 200%;
  animation: scrollLine 2s linear infinite;
}
@keyframes scrollLine {
  from { background-position: 0 -100%; }
  to { background-position: 0 200%; }
}

/* ========== Page hero (inner pages) ========== */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  text-align: center;
}
.page-hero .hero-title { margin-bottom: 24px; }
.page-hero .hero-subtitle { margin-bottom: 0; }

/* ========== Sections ========== */
.section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
}
.section-header {
  text-align: center;
  margin-bottom: 70px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--accent-1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}
.section-closing {
  text-align: center;
  margin-top: 56px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

/* ========== Card-grid (Areas of Work / Layers) ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(167,139,250,0.18), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.35);
  background: var(--surface-2);
}
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-1);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(34,211,238,0.1));
  border: 1px solid rgba(167,139,250,0.2);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: white;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient-2);
  border-color: transparent;
  transform: rotate(-6deg) scale(1.05);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ========== Principles grid (about / What This Means) ========== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.principles-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-1), var(--accent-2), transparent);
  opacity: 0.4;
}
@media (max-width: 900px) {
  .principles-grid { grid-template-columns: 1fr; gap: 18px; }
  .principles-grid::before { display: none; }
}
.principle-card {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.principle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.35);
  background: var(--surface-2);
}
.principle-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.principle-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: white;
  letter-spacing: -0.01em;
}

/* ========== Orientation grid (Clarity / Structure / Long-term) ========== */
.orientation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .orientation-grid { grid-template-columns: 1fr; } }
.orientation-card {
  padding: 36px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.orientation-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(34,211,238,0.15), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.orientation-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.35);
  background: var(--surface-2);
}
.orientation-card:hover::after { opacity: 1; }
.orientation-card > * { position: relative; z-index: 1; }

.orientation-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-1);
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.orientation-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(167,139,250,0.18), rgba(34,211,238,0.12));
  border: 1px solid rgba(167,139,250,0.25);
  display: grid;
  place-items: center;
  color: var(--accent-1);
  margin-bottom: 18px;
  transition: all var(--transition);
}
.orientation-icon svg { width: 24px; height: 24px; }
.orientation-card:hover .orientation-icon {
  background: var(--gradient-2);
  color: var(--bg);
  border-color: transparent;
  transform: rotate(-6deg) scale(1.05);
}
.orientation-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ========== Domain articles ========== */
.domain {
  padding: 56px 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.domain::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(167,139,250,0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.domain:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.domain:hover::after { opacity: 1; }
.domain > * { position: relative; z-index: 1; }

.domain-head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-bottom: 36px;
}
.domain-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-1);
  letter-spacing: 0.16em;
  min-width: 36px;
}
.domain-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1.15;
}

.domain-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-left: 64px;
}
@media (max-width: 900px) {
  .domain { padding: 40px 24px; }
  .domain-body { grid-template-columns: 1fr; padding-left: 0; gap: 24px; }
  .domain-head { gap: 16px; margin-bottom: 28px; }
}

.domain-block {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.domain-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-weight: 600;
}
.domain-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.domain-block ul { list-style: none; }
.domain-block ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.domain-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 12px;
  height: 1px;
  background: var(--accent-1);
}

/* ========== Roles grid ========== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .roles-grid { grid-template-columns: 1fr; } }

.role-card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.role-card::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(34,211,238,0.16), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.role-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.35);
  background: var(--surface-2);
}
.role-card:hover::after { opacity: 1; }
.role-card > * { position: relative; z-index: 1; }

.role-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-1);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.role-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(34,211,238,0.1));
  border: 1px solid rgba(167,139,250,0.2);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: white;
  transition: all var(--transition);
}
.role-card:hover .role-icon {
  background: var(--gradient-2);
  border-color: transparent;
  transform: rotate(-6deg) scale(1.05);
}
.role-icon svg { width: 26px; height: 26px; }
.role-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.role-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== Contact / CTA Card ========== */
.contact-card {
  position: relative;
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(167,139,250,0.06), rgba(34,211,238,0.04));
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  backdrop-filter: blur(20px);
  overflow: hidden;
}
@media (max-width: 700px) { .contact-card { padding: 48px 28px; } }

.contact-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.3), transparent 70%);
  pointer-events: none;
}
.contact-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-content .section-title { margin-bottom: 16px; }

.apply-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
}

/* ========== Footer ========== */
.footer {
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: white; }
.footer-address address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-address strong {
  color: white;
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

/* ========== Animations / Reveal ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.22,1,0.36,1) forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.25s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
.fade-in:nth-child(4) { animation-delay: 0.55s; }
.fade-in:nth-child(5) { animation-delay: 0.7s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), translate 0.9s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  translate: 0 0;
}

/* ========== Mobile ========== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .page-hero { padding: 130px 0 60px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 50px; }
  .footer { padding: 60px 0 24px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
}
