/* ==========================================================================
   AURORA x CLAYMORPHISM HYBRID THEME
   Pearlescent Frosted Clay Cards, Tactile Dual-Shadows, Cosmic Glows
   ========================================================================== */

:root {
  /* Cosmic Aurora Backgrounds */
  --bg-deep: #080A16;
  --bg-surface: #0F1224;

  /* Pearlescent Frosted Clay Palette */
  --clay-frosted-bg: rgba(22, 27, 50, 0.72);
  --clay-frosted-hover: rgba(28, 34, 64, 0.85);

  /* Dual Clay Shadows: Specular White Inner + Colored Inset + Soft Deep Drop */
  --clay-dual-shadow: 
    inset 3px 3px 6px rgba(255, 255, 255, 0.22),
    inset -4px -4px 8px rgba(6, 182, 212, 0.12),
    0 18px 36px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(139, 92, 246, 0.12);

  --clay-dual-shadow-hover: 
    inset 4px 4px 8px rgba(255, 255, 255, 0.35),
    inset -5px -5px 10px rgba(6, 182, 212, 0.22),
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(139, 92, 246, 0.25);

  --clay-btn-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.45),
    inset -3px -3px 6px rgba(0, 0, 0, 0.35),
    0 10px 24px rgba(139, 92, 246, 0.4);

  /* Luminous Aurora Accent Colors */
  --aurora-purple: #8B5CF6;
  --aurora-cyan: #06B6D4;
  --aurora-pink: #EC4899;
  --aurora-emerald: #10B981;

  --text-pure: #F4F5F9;
  --text-dim: #98A0B8;
  --text-muted: #646B84;

  --border-clay: rgba(139, 92, 246, 0.25);
  --border-clay-hover: rgba(6, 182, 212, 0.45);

  /* Fonts */
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-clay: 28px;
  --radius-pill: 980px;
}

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

html {
  background-color: var(--bg-deep);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-pure);
  position: relative;
  overflow-x: hidden;
}

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

/* 3D Canvas */
#stage-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

main {
  position: relative;
  z-index: 5;
}

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

/* Switcher Banner */
.style-switcher-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: rgba(8, 10, 22, 0.95);
  color: #FFF;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  border-bottom: 1px solid var(--border-clay);
}

.switcher-title {
  font-weight: 700;
  color: #38BDF8;
}

.switcher-links {
  display: flex;
  gap: 10px;
}

.switcher-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.switcher-link:hover, .active-style {
  color: #FFF;
  background: rgba(139, 92, 246, 0.3);
  font-weight: 600;
}

/* Ambient Aurora Glow Orbs */
.aurora-ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.25;
}

.orb-violet {
  top: -80px;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
}

.orb-cyan {
  bottom: -60px;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
}

.orb-pink {
  top: 40%;
  left: 55%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #EC4899 0%, transparent 70%);
  opacity: 0.16;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 100;
  background: rgba(11, 13, 27, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-clay);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: #FFFFFF;
}

.brand-clay-gem {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #06B6D4);
  box-shadow: inset -2px -2px 4px rgba(0,0,0,0.3), inset 2px 2px 4px rgba(255,255,255,0.7), 0 0 10px #06B6D4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.nav-clay-pill {
  text-decoration: none;
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.15), inset -1px -1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-clay-pill:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--aurora-purple);
  transform: translateY(-1px);
}

.btn-clay-cta {
  background: linear-gradient(135deg, #8B5CF6, #06B6D4);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--clay-btn-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
}

.btn-clay-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   HERO SECTION: Luminous Tactile Clay
   ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 70px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #C4B5FD;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.3), inset -1px -1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 22px;
}

.sparkle-icon {
  color: var(--aurora-cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 700;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.hero-gradient-text {
  display: block;
  font-size: 0.58em;
  font-weight: 600;
  background: linear-gradient(90deg, #C4B5FD, #38BDF8, #34D399, #F472B6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 4px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 660px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.hero-actions-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Clay Button Styles */
.clay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.clay-btn-primary {
  background: linear-gradient(135deg, #8B5CF6, #06B6D4);
  color: #FFFFFF;
  box-shadow: var(--clay-btn-shadow);
}

.clay-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.45);
}

.clay-btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-clay);
  color: #FFFFFF;
  box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.2), inset -1px -1px 3px rgba(0, 0, 0, 0.3);
}

.clay-btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-clay-hover);
  transform: translateY(-2px);
}

.clay-btn svg {
  width: 15px;
  height: 15px;
}

/* 4 Pillowy Clay Stat Cards */
.hero-clay-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-clay-card {
  background: var(--clay-frosted-bg);
  border: 1px solid var(--border-clay);
  border-radius: 22px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--clay-dual-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-clay-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--clay-dual-shadow-hover);
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   COMMON SECTIONS & PEARLESCENT CLAY CARDS
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--aurora-cyan);
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 36px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* The Core Aurora-Clay Card */
.clay-card {
  background: var(--clay-frosted-bg);
  border: 1px solid var(--border-clay);
  border-radius: var(--radius-clay);
  padding: 28px;
  backdrop-filter: blur(24px);
  box-shadow: var(--clay-dual-shadow);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.clay-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-clay-hover);
  box-shadow: var(--clay-dual-shadow-hover);
  background: var(--clay-frosted-hover);
}

.clay-emoji-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.35), inset -2px -2px 4px rgba(0, 0, 0, 0.3);
}

.badge-purple { background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.15)); border: 1px solid rgba(139, 92, 246, 0.4); }
.badge-cyan { background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(6, 182, 212, 0.15)); border: 1px solid rgba(6, 182, 212, 0.4); }
.badge-pink { background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(236, 72, 153, 0.15)); border: 1px solid rgba(236, 72, 153, 0.4); }

.clay-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.clay-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Experience Stack */
.clay-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.role-title {
  font-size: 19px;
  font-weight: 600;
  color: #FFFFFF;
}

.company-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--aurora-cyan);
  margin-top: 2px;
}

.clay-time-chip {
  font-size: 11px;
  font-weight: 600;
  color: #C4B5FD;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.2);
}

.clay-bullet-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.clay-bullet-list li {
  font-size: 14px;
  color: var(--text-dim);
}

.clay-bullet-list strong {
  color: #FFFFFF;
}

.clay-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clay-tag {
  font-size: 11px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.1);
}

/* Projects */
.featured-aurora-card {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: var(--clay-dual-shadow), 0 0 30px rgba(6, 182, 212, 0.12);
}

.clay-mini-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--aurora-cyan);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
}

.time-dim {
  font-size: 11px;
  color: var(--text-muted);
}

.project-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}

.clay-metrics-pill-box {
  display: flex;
  gap: 20px;
  padding: 12px 18px;
  background: rgba(10, 12, 24, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.1), inset 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
}

.cm-item {
  display: flex;
  flex-direction: column;
}

.cm-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.cm-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

/* Skills Cloud */
.category-title {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.clay-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-pill {
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.15), inset -1px -1px 2px rgba(0, 0, 0, 0.2);
}

.active-pill {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(6, 182, 212, 0.35));
  border-color: rgba(6, 182, 212, 0.4);
  color: #FFFFFF;
}

/* Contact */
.contact-hero-card {
  padding: 48px;
}

.contact-pills-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.clay-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-clay);
  color: #FFFFFF;
  box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.25), inset -1px -1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.clay-contact-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--aurora-cyan);
}

.clay-contact-btn svg {
  width: 15px;
  height: 15px;
}

/* Footer */
.footer {
  padding: 36px 0;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-clay);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
}

.text-center { text-align: center; }

/* Toast */
.clay-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(22, 27, 50, 0.95);
  border: 1px solid var(--aurora-cyan);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 500;
}

.clay-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media(max-width: 820px) {
  .hero-clay-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .contact-hero-card { padding: 32px 20px; }
  .footer-flex { flex-direction: column; gap: 10px; }
}
