/* ==========================================================================
   Paul Zgondea — Personal Executive Profile & Architecture Portfolio
   Aesthetic: Midnight Obsidian & Cyber Emerald / Radiant Cyan
   ========================================================================== */

:root {
  --bg-dark: #020617;
  --bg-gradient-top: #1e293b;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.045);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-cyan: rgba(34, 211, 238, 0.35);
  --border-emerald: rgba(52, 211, 153, 0.35);

  --accent-cyan: #22d3ee;
  --accent-emerald: #34d399;
  --accent-blue: #38bdf8;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --mouse-x: 50%;
  --mouse-y: 50%;
}

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

/* Strict Image Sizing Safeguards */
img, svg, picture, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, var(--bg-gradient-top), var(--bg-dark));
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Ambient Lighting */
.ambient-glow-top {
  position: fixed;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(52, 211, 153, 0.05) 50%, transparent 80%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-bottom {
  position: fixed;
  bottom: -300px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: rgba(2, 6, 23, 0.8);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

.font-mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 1rem;
  z-index: 100;
  width: 100%;
  max-width: 1140px;
  margin: 1rem auto 0;
  padding: 0 1rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.35rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease;
}

.nav-inner:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(52, 211, 153, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-wrapper:hover .brand-monogram {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.55);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.availability-beacon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-beacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(52, 211, 153, 0.22));
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: #fff;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(52, 211, 153, 0.35));
  border-color: rgba(34, 211, 238, 0.85);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Spotlight Card Base
   ========================================================================== */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.75rem;
  padding: 2rem;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    550px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(34, 211, 238, 0.085),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.spotlight-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.65);
}

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

/* ==========================================================================
   Executive Profile Card & Avatar (Strict Dimensions)
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-eyebrow .highlight {
  color: var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 0.85rem;
}

.hero-build-in-text {
  background-image: linear-gradient(90deg, #22d3ee 0%, #34d399 50%, #22d3ee 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
  animation: text-stabilize 3s ease-out forwards;
}

@keyframes text-stabilize {
  0% { background-position: -100% 50%; opacity: 0; }
  20% { opacity: 1; }
  100% { background-position: 0% 50%; opacity: 1; }
}

.hero-build-in-dot {
  display: inline-block;
  color: #34d399;
  opacity: 0;
  transform-origin: center;
  animation: dot-build-in 0.8s ease-out forwards;
  animation-delay: 2.2s;
}

@keyframes dot-build-in {
  0% { transform: scale(0); opacity: 0; text-shadow: 0 0 20px #34d399; }
  50% { transform: scale(1.3); opacity: 1; text-shadow: 0 0 15px #34d399; }
  100% { transform: scale(1); opacity: 1; text-shadow: 0 0 0px transparent; }
}

.profile-showcase-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 1.5rem auto 0;
  text-align: left;
}

.profile-showcase-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2.25rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.profile-showcase-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
}

.profile-ambient-orb {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.profile-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

/* Strict Avatar Constraints (Never blows up) */
.profile-avatar-ring {
  position: relative;
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  min-width: 84px !important;
  min-height: 84px !important;
  border-radius: 50% !important;
  padding: 3px !important;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald)) !important;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3) !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.profile-avatar {
  width: 78px !important;
  height: 78px !important;
  max-width: 78px !important;
  max-height: 78px !important;
  min-width: 78px !important;
  min-height: 78px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  background: #0f172a !important;
}

.profile-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.profile-role {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.profile-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Clean View Switcher Tabs inside Profile Card */
.profile-tabs {
  display: inline-flex;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.25rem;
  gap: 0.25rem;
}

.profile-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}

.profile-tab-btn:hover {
  color: #fff;
}

.profile-tab-btn.active {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.15);
}

.profile-tab-panel {
  position: relative;
  z-index: 2;
  display: none;
  padding-top: 2rem;
  animation: smooth-fade-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.profile-tab-panel.active {
  display: block;
}

@keyframes smooth-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-bio-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 1.75rem;
}

.profile-bio-text strong {
  color: #fff;
  font-weight: 700;
}

/* Metrics Grid inside Profile */
.profile-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.profile-metric-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 1.15rem;
  padding: 1.1rem 1rem;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.profile-metric-box:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.04);
}

.pm-number {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
  line-height: 1.1;
}

.pm-number span.cyan { color: var(--accent-cyan); }
.pm-number span.emerald { color: var(--accent-emerald); }

.pm-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* Stack Domains Grid */
.stack-domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.stack-domain-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.stack-domain-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

/* Profile Bottom Connect Bar */
.profile-bottom-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.social-pills-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.social-pill:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Section Common Headers
   ========================================================================== */
.section-wrapper {
  padding: 4.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   Experience Timeline Cards
   ========================================================================== */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.exp-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.exp-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
  z-index: 2;
}

.exp-period {
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exp-company {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.exp-company:hover {
  color: var(--accent-cyan);
}

.exp-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  width: fit-content;
}

.exp-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  z-index: 2;
}

.exp-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
}

.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.exp-bullet {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.exp-bullet::before {
  content: '▹';
  color: var(--accent-emerald);
  font-weight: bold;
}

.bento-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.tech-pill {
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #cbd5e1;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Verified Credentials & Certifications Grid
   ========================================================================== */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.credential-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.cred-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.cred-logo-wrapper {
  height: 36px;
  display: flex;
  align-items: center;
}

.cred-logo {
  height: 32px;
  max-width: 130px;
  object-fit: contain;
}

.cred-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.55rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 9999px;
}

.cred-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 2;
}

.cred-issuer {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.cred-footer {
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.cred-verify-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.cred-verify-link:hover {
  color: #fff;
  gap: 0.55rem;
}

/* ==========================================================================
   Keystone Cloud Gateway Banner
   ========================================================================== */
.keystone-gateway-card {
  position: relative;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06) 0%, rgba(52, 211, 153, 0.04) 100%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 2rem;
  padding: 2.25rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.keystone-gateway-card:hover {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 20px 50px -15px rgba(34, 211, 238, 0.15);
}

.keystone-gateway-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.keystone-logo-badge {
  width: 68px;
  height: 68px;
  border-radius: 1.15rem;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  flex-shrink: 0;
}

.keystone-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.keystone-gateway-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.keystone-gateway-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 560px;
}

.keystone-gateway-actions {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* ==========================================================================
   Architecture Intake & Scheduling Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-panel {
  position: relative;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(34, 211, 238, 0.15);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-panel {
  transform: scale(1);
}

.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-step-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 0.2rem 0.55rem;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 6px;
}

.modal-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-body {
  padding: 2rem 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.modal-step {
  display: none;
}
.modal-step.active {
  display: block;
}

.step-question {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.step-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.modal-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.modal-choice-btn {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.modal-choice-btn:hover,
.modal-choice-btn.selected {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.4);
}

.choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.choice-info {
  flex: 1;
}

.choice-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.choice-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.modal-textarea {
  width: 100%;
  min-height: 130px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  resize: vertical;
  margin-bottom: 1.5rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.modal-textarea:focus {
  border-color: var(--accent-cyan);
}

.modal-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.step-indicator-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.step-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  transform: scale(1.2);
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Toast & Scroll Reveal
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  border: 1px solid var(--accent-emerald);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(2, 6, 23, 0.9);
  position: relative;
  z-index: 10;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links-inline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links-inline a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links-inline a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack-domains-grid {
    grid-template-columns: 1fr;
  }
  .keystone-gateway-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .availability-beacon {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .profile-showcase-card {
    padding: 1.5rem;
  }
  .profile-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  .exp-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .keystone-gateway-left {
    flex-direction: column;
    align-items: flex-start;
  }
}
