/* ==========================================================================
   Mac Upgraded — Official Master Website Stylesheet
   Clean Apple/Vercel aesthetic with interactive graphical Hero & Dock
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-card: #ffffff;

  --ink-primary: #121316;
  --ink-secondary: #4b5563;
  --ink-muted: #6b7280;
  --ink-faint: #9ca3af;

  --accent-blue: #0071e3;
  --accent-blue-hover: #005bb5;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-card: #e5e7eb;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
  --shadow-dock: 0 20px 50px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

/* ==========================================================================
   Floating Pill Navbar
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  max-width: 1040px;
  margin: 0 auto;
  height: 54px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-monogram {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--ink-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
}

.brand-subtitle {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-secondary);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--ink-primary);
}

.nav-cta {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--ink-primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  transition: opacity var(--transition);
}

.nav-cta:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Graphical & Interactive Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 48px;
  padding-bottom: 80px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 64px;
    padding-bottom: 100px;
  }
}

/* Subtle dot-matrix grid background */
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 35%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 35%, black 40%, transparent 100%);
}

.hero-glow-halo {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(0, 113, 227, 0.08) 0%, rgba(16, 185, 129, 0.05) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 40px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  margin-bottom: 18px;
}

.title-highlight {
  color: #0f172a;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   Interactive Hero Stage & macOS Window Showcase
   ========================================================================== */
.hero-stage-card {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}

.stage-window {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.stage-window:hover {
  transform: translateY(-2px);
  box-shadow: 0 36px 70px -15px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.stage-titlebar {
  height: 38px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.stage-window-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  letter-spacing: -0.01em;
}

.stage-platform-pill {
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.stage-screen-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.8;
  background: #080c14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-screen-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-screen-wrap.is-mobile {
  background: radial-gradient(ellipse at 50% 45%, #1e1b4b 0%, #080c14 75%);
}

.stage-screen-wrap.is-mobile img {
  object-fit: contain;
  max-height: 100%;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.5));
}

.stage-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  align-items: flex-end;
}

.stage-meta-bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stage-meta-info {
  text-align: left;
}

.stage-meta-info strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
}

.stage-meta-info span {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.stage-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--ink-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  white-space: nowrap;
}

.stage-launch-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

/* ==========================================================================
   macOS Interactive Dock
   ========================================================================== */
.hero-dock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  box-shadow: var(--shadow-dock);
  margin-top: -24px;
  position: relative;
  z-index: 10;
}

.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dock-item img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Apple Dock Magnification Effect */
.dock-item:hover {
  transform: translateY(-8px) scale(1.18);
}

.dock-item:hover img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.dock-tooltip {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 19, 22, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform-origin: bottom;
}

.dock-item:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.dock-indicator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
  margin-top: 4px;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.dock-item.active .dock-indicator {
  opacity: 1;
  background: var(--ink-primary);
  width: 5px;
  height: 5px;
}

.dock-hint {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 14px;
}

/* ==========================================================================
   Section Headers & Filter Controls
   ========================================================================== */
.section-head-split {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-head-split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-head {
  max-width: 600px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

/* Interactive Filter Pills */
.filter-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
}

.filter-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: all var(--transition);
}

.filter-pill:hover {
  color: var(--ink-primary);
}

.filter-pill.active {
  background: #fff;
  color: var(--ink-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Selected Work / Projects List
   ========================================================================== */
.apps-section {
  padding-bottom: 96px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), box-shadow var(--transition), opacity 0.25s ease;
}

@media (min-width: 880px) {
  .project-card {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    padding: 44px;
  }
}

.project-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.08);
}

.project-content {
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.project-icon {
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.project-title-group {
  display: flex;
  flex-direction: column;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin: 0;
}

.platform-badge {
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.platform-macos {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.platform-ios {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #f3e8ff;
}

.status-badge-soon {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-badge-soon::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 6px #ea580c;
  animation: pulse-dot 2s infinite ease-in-out;
}

.project-category {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}

.project-tagline {
  font-size: 16.5px;
  font-weight: 650;
  color: var(--ink-primary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.project-features li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.project-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #10b981;
}

.project-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.redirect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  background: var(--ink-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.redirect-btn:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-arrow {
  font-size: 15px;
  line-height: 1;
}

.action-note {
  font-size: 12px;
  color: var(--ink-muted);
}

.action-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.project-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.direct-appstore-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  background: #0071e3;
  color: #fff;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.22);
}

.direct-appstore-link:hover {
  background: #0077ed;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.32);
}

/* Visual Device Mockups */
.project-visual-link {
  display: block;
  transition: transform var(--transition), opacity var(--transition);
}

.project-visual-link:hover {
  transform: scale(1.015);
}

/* Mac Frame */
.device-mac {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.1);
}

.mac-titlebar {
  height: 30px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  position: relative;
}

.mac-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mac-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 500;
}

.device-mac img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Phone Frame */
.device-phone {
  max-width: 290px;
  margin: 0 auto;
  background: #000;
  border: 4px solid #1c1c1e;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.15);
}

.phone-notch {
  width: 72px;
  height: 18px;
  background: #000;
  border-radius: 10px;
  margin: 6px auto 4px;
}

.device-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 18.5;
  object-fit: cover;
  display: block;
}

/* Real Marketing Render Card */
.device-render {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 55px -10px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.device-render:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 30px 65px -12px rgba(217, 119, 6, 0.24);
}

.device-render img {
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  display: block;
}

/* ==========================================================================
   Principles Section
   ========================================================================== */
.principles-section {
  padding: 80px 0 96px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.principle-box {
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.principle-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.principle-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.principle-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 88px 0;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 48px 36px;
  border-radius: var(--radius-xl);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.contact-box h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink-primary);
}

.contact-intro {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.email-direct-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 22px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}

.email-label {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.contact-email-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-blue);
  font-family: 'JetBrains Mono', monospace;
  text-decoration: none;
}

.contact-email-link:hover {
  text-decoration: underline;
}

.btn-copy-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-primary);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-copy-email:hover {
  background: var(--ink-primary);
  color: #fff;
  border-color: var(--ink-primary);
}

/* Validated Contact Form */
.contact-form {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

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

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-primary);
}

.form-group .req {
  color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 10px 14px;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-error {
  display: none;
  font-size: 12px;
  color: #dc2626;
  margin-top: 2px;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #dc2626;
}

.form-group.has-error .form-error {
  display: block;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.form-privacy-note {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  color: #065f46;
  font-size: 14px;
  margin-top: 12px;
}

.form-success strong {
  display: block;
  font-size: 15px;
  color: #047857;
  margin-bottom: 2px;
}

.form-success p {
  margin: 0;
  line-height: 1.5;
  color: #065f46;
}

.form-success code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.success-icon {
  font-size: 18px;
  font-weight: 800;
  color: #059669;
}

.form-error-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  color: #92400e;
  font-size: 14px;
  margin-top: 12px;
}

.form-error-banner strong {
  display: block;
  font-size: 15px;
  color: #b45309;
  margin-bottom: 3px;
}

.form-error-banner p {
  margin: 0 0 10px 0;
  line-height: 1.5;
  color: #92400e;
}

.form-error-banner code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.error-icon {
  font-size: 18px;
  line-height: 1.2;
}

.form-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.btn-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-fallback:hover {
  background: #1e293b;
  color: #ffffff;
}

.btn-fallback-secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.btn-fallback-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.form-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: formSpin 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes formSpin {
  to { transform: rotate(360deg); }
}

/* Zero-Cookie Privacy Notice Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: 640px;
  width: calc(100% - 32px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 12px 8px 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.cookie-banner-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner-link {
  font-size: 12px;
  color: #93c5fd;
  text-decoration: underline;
  font-weight: 550;
  white-space: nowrap;
}

.cookie-banner-dismiss {
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--ink-primary);
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cookie-banner-dismiss:hover {
  background: #f1f5f9;
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .cookie-banner {
    border-radius: 16px;
    padding: 12px 14px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 4px;
  }
}

.footer-sep {
  color: var(--border-card);
  font-weight: 400;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-card);
  padding: 36px 0 44px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-title {
  font-weight: 700;
  color: var(--ink-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--ink-primary);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .stage-window, .dock-item, .project-card {
    transition: none !important;
  }
  .live-dot {
    animation: none !important;
  }
}
