/* ==========================================================================
   EDDY GIL (TEDDY) ORBETA - APPLE CUPERTINO DARK PORTFOLIO DESIGN SYSTEM
   Focused on Teddy, Core Skills, Tech Logos, Official Badges & Animated Timeline
   ========================================================================== */

:root {
  /* Color System */
  --bg-dark: #08090d;
  --bg-card: rgba(16, 20, 29, 0.75);
  --bg-card-hover: rgba(24, 30, 44, 0.9);
  --bg-subtle: #0d0f15;
  --bg-nav: rgba(10, 12, 18, 0.82);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #6e6e73;
  --text-inverse: #000000;

  /* Accents */
  --accent-blue: #2997ff;
  --accent-cyan: #00f2fe;
  --accent-purple: #a855f7;
  --accent-green: #30d158;
  --accent-gold: #ffb800;
  --accent-red: #ff453a;
  --accent-aws: #ff9900;
  --accent-docker: #2496ed;
  --accent-terraform: #844fba;
  --accent-azure: #0078d4;

  /* Borders & Gradients */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(255, 255, 255, 0.2);
  --gradient-apple: linear-gradient(135deg, #2997ff 0%, #a855f7 50%, #00f2fe 100%);
  --gradient-aws: linear-gradient(135deg, #192a45 0%, #0b1526 100%);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body.apple-dark {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  background-color: #040711;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 3.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Celestial Sky Full-Viewport Canvas (Glowing Stars & Shooting Stars) */
.celestial-sky-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Atmospheric Day/Night & Sunrise Colorwash Overlay */
.celestial-atmosphere-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  transition: opacity 4s cubic-bezier(0.4, 0, 0.2, 1), background 4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Phase 1: Stargazing Night (Deep cosmic midnight blue + subtle purple/cyan nebula glow) */
body.sky-night {
  background-color: #040711;
}

body.sky-night .celestial-atmosphere-overlay {
  opacity: 1;
  background: 
    radial-gradient(ellipse at 80% 15%, rgba(30, 58, 138, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 75%, rgba(88, 28, 135, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #03060e 0%, #060c1c 45%, #040711 100%);
}

/* Phase 2: Radiant Sunrise (Indigo fades to rose, peach, amber, and golden horizon) */
body.sky-sunrise {
  background-color: #10081c;
}

body.sky-sunrise .celestial-atmosphere-overlay {
  opacity: 1;
  background: 
    radial-gradient(ellipse at 50% 100%, rgba(251, 146, 60, 0.5) 0%, rgba(244, 63, 94, 0.3) 30%, rgba(147, 51, 234, 0.2) 60%, transparent 80%),
    linear-gradient(180deg, #0a0e27 0%, #1a1038 25%, #421644 55%, #881c34 78%, #c2410c 94%, #f59e0b 100%);
}

/* Phase 3: Golden Morning / Clear Daylight */
body.sky-day {
  background-color: #081126;
}

body.sky-day .celestial-atmosphere-overlay {
  opacity: 1;
  background: 
    radial-gradient(circle at 65% 15%, rgba(253, 224, 71, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 25% 65%, rgba(56, 189, 248, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, #071026 0%, #0c1c42 35%, #11285e 75%, #18387a 100%);
}

/* Phase 4: Twilight Sunset (Crimson, lavender, and dusky magenta) */
body.sky-sunset {
  background-color: #16081c;
}

body.sky-sunset .celestial-atmosphere-overlay {
  opacity: 1;
  background: 
    radial-gradient(ellipse at 50% 100%, rgba(244, 63, 94, 0.45) 0%, rgba(147, 51, 234, 0.3) 40%, transparent 75%),
    linear-gradient(180deg, #060b22 0%, #1a0f35 25%, #461448 55%, #7e1039 80%, #9f1239 100%);
}

/* Interactive Celestial Toggle Button in Navbar */
.celestial-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.celestial-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.sky-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.sky-label {
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

/* Ambient Animated Lighting */
.ambient-glow-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2997ff 0%, transparent 70%);
  top: -80px;
  right: -50px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
  top: 50%;
  right: 10%;
}

/* Main Content Stacking */
#main-content {
  position: relative;
  z-index: 2;
}

/* Container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Sections */
.section-wrapper {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.bg-subtle {
  background-color: rgba(13, 15, 22, 0.45);
}

.section-header {
  margin-bottom: 44px;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
}

/* Navigation */
.apple-nav-wrapper {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.apple-nav {
  pointer-events: auto;
  width: 100%;
  max-width: 1100px;
  height: 54px;
  background: linear-gradient(135deg, rgba(30, 42, 74, 0.94) 0%, rgba(18, 26, 48, 0.96) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 24px rgba(41, 151, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-nav-wrapper.scrolled .apple-nav {
  background: linear-gradient(135deg, rgba(22, 32, 60, 0.98) 0%, rgba(14, 20, 38, 0.98) 100%);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.18), 0 6px 30px rgba(56, 189, 248, 0.25);
}

body.sky-sunrise .apple-nav {
  background: linear-gradient(135deg, rgba(62, 38, 52, 0.94) 0%, rgba(44, 24, 38, 0.96) 100%);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(251, 146, 60, 0.3);
}

body.sky-day .apple-nav {
  background: linear-gradient(135deg, rgba(28, 56, 96, 0.94) 0%, rgba(18, 40, 72, 0.96) 100%);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(56, 189, 248, 0.35);
}

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

.nav-item {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nav-item.highlight-badge-link {
  color: #fbbf24;
  font-weight: 700;
}

.nav-item.highlight-au {
  color: #38bdf8;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 22px;
  flex-direction: column;
  justify-content: space-around;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  padding: 8px 16px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1984eb;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(41, 151, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-block {
  width: 100%;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

/* Hero Section */
.hero-section {
  padding-top: 110px;
  padding-bottom: 50px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.badge-dot {
  display: none !important;
}

.pulse-animation {
  display: none !important;
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-subtitle-role {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.hero-summary {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 720px;
  margin-top: 14px;
  margin-bottom: 24px;
}

/* Australia Target Card */
.au-target-card {
  width: 100%;
  max-width: 820px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-color: rgba(41, 151, 255, 0.3);
  background: linear-gradient(90deg, rgba(41, 151, 255, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  text-align: left;
}

.au-flag-badge {
  font-size: 1.8rem;
  line-height: 1;
}

.au-target-text {
  flex: 1;
}

.au-target-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.au-target-text span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
  display: block;
}

/* Quick Contact Strip */
.quick-contact-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-chip.highlight-chip {
  color: var(--accent-blue);
  border-color: rgba(41, 151, 255, 0.3);
}

/* Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 960px;
}

.metric-box {
  padding: 18px 14px;
  text-align: left;
  border-radius: var(--radius-md);
}

.metric-box.au-box {
  border-color: rgba(41, 151, 255, 0.35);
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.09) 0%, rgba(16, 20, 29, 0.75) 100%);
}

.metric-num {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.metric-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Tech Logos Grid (Terraform, Docker, Azure, AWS, Python, etc.) */
.tech-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.tech-logo-card {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.tech-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.logo-graphic {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
}

.svg-tech-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tech-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.tech-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Detailed Categorized Skills Matrix */
.skills-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.skill-category-box {
  padding: 24px;
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.cat-icon {
  font-size: 1.25rem;
}

.cat-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-pill-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.skill-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

.skill-pill.highlight {
  color: var(--text-primary);
  border-color: rgba(41, 151, 255, 0.25);
  background: rgba(41, 151, 255, 0.08);
}

/* Official Visual Digital Badges Section */
.badges-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.badge-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--radius-lg);
  position: relative;
}

.badge-aws-card {
  border-color: rgba(255, 153, 0, 0.25);
  background: linear-gradient(180deg, rgba(255, 153, 0, 0.06) 0%, rgba(16, 20, 29, 0.8) 100%);
}

.badge-jlpt-card {
  border-color: rgba(255, 69, 58, 0.25);
  background: linear-gradient(180deg, rgba(255, 69, 58, 0.06) 0%, rgba(16, 20, 29, 0.8) 100%);
}

.badge-terraform-card {
  border-color: rgba(132, 79, 186, 0.3);
  background: linear-gradient(180deg, rgba(132, 79, 186, 0.08) 0%, rgba(16, 20, 29, 0.8) 100%);
}

.badge-emblem-wrap {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.official-cert-badge-img {
  width: 115px;
  height: 115px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.badge-jlpt-card .official-cert-badge-img {
  background: #ffffff;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.badge-aws-card:hover .official-cert-badge-img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 12px 26px rgba(255, 153, 0, 0.45));
}

.badge-jlpt-card:hover .official-cert-badge-img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 12px 26px rgba(239, 68, 68, 0.45));
}

.badge-terraform-card:hover .official-cert-badge-img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 12px 26px rgba(132, 79, 186, 0.5));
}

/* Official AWS Badge Design */
.official-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.official-badge:hover {
  transform: scale(1.06);
}

.badge-hexagon {
  width: 104px;
  height: 120px;
  background: #111a2e;
  border: 3px solid #ff9900;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 153, 0, 0.25);
}

.aws-clf-badge .badge-hexagon {
  border-color: #00a4bd;
  box-shadow: 0 8px 24px rgba(0, 164, 189, 0.25);
}

.badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.1;
  padding: 6px;
}

.badge-brand {
  font-size: 0.82rem;
  font-weight: 900;
  color: #ff9900;
  letter-spacing: -0.02em;
}

.aws-clf-badge .badge-brand {
  color: #00a4bd;
}

.badge-cert-name {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #a0aec0;
  margin-bottom: 4px;
}

.badge-spec {
  font-size: 0.64rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 4px;
}

.badge-tier {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #ff9900;
  color: #07090e;
  padding: 1px 6px;
  border-radius: 3px;
}

.aws-clf-badge .badge-tier {
  background: #00a4bd;
}

/* JLPT Seal Badge */
.jlpt-seal {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle, #e03131 0%, #9b1c1c 100%);
  border: 3px solid #ffcc00;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(224, 49, 49, 0.35);
  color: white;
}

.jlpt-kanji {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.jlpt-rank {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  color: #ffd43b;
}

.jlpt-org {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.prior-seal {
  background: radial-gradient(circle, #343a40 0%, #1a1e24 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.prior-seal .jlpt-rank {
  font-size: 1.05rem;
  color: #adb5bd;
}

/* AWS Knowledge Badge */
.knowledge-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #141f33;
  border: 3px dashed #ff9900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.badge-k-text {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #a0aec0;
}

.badge-k-sub {
  font-size: 0.62rem;
  font-weight: 800;
  color: #ffd43b;
  line-height: 1.2;
}

.essentials-badge .knowledge-circle {
  border-color: #20c997;
}

.badge-validity {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 6px;
  display: block;
}

.badge-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.badge-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.badge-pill-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.badge-pill-tag.tag-jlpt {
  color: #ffa8a8;
  border-color: rgba(255, 107, 107, 0.25);
}

.badge-pill-tag.tag-terraform {
  color: #d8b4fe;
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(132, 79, 186, 0.12);
}

/* ==========================================================================
   GLOBAL INTERACTIVE GLOBE & FLIGHT SCROLLYTELLING JOURNEY
   ========================================================================== */

.flight-nav-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.flight-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flight-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.flight-pill.active {
  background: rgba(41, 151, 255, 0.18);
  border-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(41, 151, 255, 0.3);
}

.flight-pill.highlight-au-pill.active {
  background: rgba(255, 184, 0, 0.2);
  border-color: var(--accent-gold);
  color: #ffda79;
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.35);
}

.pill-flag {
  font-size: 1.05rem;
}

/* Dual Column Layout */
.globe-journey-stage {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: flex-start;
  margin-top: 40px;
  position: relative;
}

/* Sticky Left Globe Card */
.globe-sticky-col {
  position: sticky;
  top: 80px;
  z-index: 10;
}

.globe-display-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  border-color: rgba(41, 151, 255, 0.3);
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.95) 0%, rgba(8, 10, 16, 0.95) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.globe-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.hud-country-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-flag {
  font-size: 2.2rem;
  line-height: 1;
}

.hud-country-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.1;
}

.hud-coords {
  font-size: 0.68rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-blue);
  display: block;
}

.hud-status-chip {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(48, 209, 88, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(48, 209, 88, 0.25);
}

/* Canvas Wrapper with Airplane Overlay */
.globe-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle, rgba(10, 24, 48, 0.6) 0%, #05070c 80%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#globeCanvas {
  width: 100%;
  height: 100%;
  max-width: 340px;
  max-height: 340px;
  display: block;
}

.plane-flight-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}

.flight-plane-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px rgba(41, 151, 255, 0.9));
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.flight-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: radarPing 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes radarPing {
  0% { width: 10px; height: 10px; opacity: 1; }
  100% { width: 90px; height: 90px; opacity: 0; }
}

.flight-telemetry-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.75rem;
}

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

.telemetry-item.text-right {
  text-align: right;
}

.tel-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.tel-val {
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   VISUAL TRAVEL & CAREER HISTORY STAGE (MATCHING USER REFERENCE DESIGN)
   Scenic Card Backdrop, 3D Globe with Flight Arc & Red Beacon Pin,
   Exact 4-Column Timeline Rows, Authentic SVG Logos & Category Pills
   ========================================================================== */

.travel-history-section {
  position: relative;
  padding: 80px 0 100px 0;
  overflow: hidden;
  scroll-margin-top: 85px;
}

.travel-history-section .container {
  max-width: 1420px;
}

/* Destination Switcher Navigation Pills */
.dest-switcher-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px auto 36px auto;
  max-width: 1100px;
}

.dest-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dest-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.dest-btn.active {
  background: #00b4d8;
  color: #ffffff;
  border-color: #00b4d8;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  transform: translateY(-2px);
}

.dest-btn.highlight-au.active {
  background: linear-gradient(135deg, #ffb800 0%, #ff8800 100%);
  border-color: #ffb800;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.5);
}

.dest-btn.parchment-toggle-btn {
  background: rgba(245, 230, 200, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
  color: #e2c07a;
}

.dest-btn.parchment-toggle-btn:hover,
.dest-btn.parchment-toggle-btn.active {
  background: #e2c07a;
  color: #2b1d0c;
  border-color: #e2c07a;
  box-shadow: 0 0 20px rgba(226, 192, 122, 0.4);
}

/* ==========================================================================
   THE VISUAL TRAVEL STAGE CARD (Slides 1-4 Aesthetic)
   Serene daylight panoramic atmosphere with Mt Fuji / Tropics / Red Sea / Manila
   ========================================================================== */
.visual-travel-stage-card {
  position: relative;
  border-radius: 28px;
  overflow: visible;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2);
  min-height: 620px;
  transition: all 0.4s ease;
}

/* Atmospheric Backdrop Layer (Clips background images to card border-radius without breaking sticky children) */
.stage-backdrop-art {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 40%, #ffffff 100%);
  transition: background 0.5s ease;
}

/* Theme variations for each country */
.visual-travel-stage-card.theme-japan .stage-backdrop-art {
  background: linear-gradient(180deg, #dbeafe 0%, #f0f7ff 35%, #ffffff 80%);
}

.visual-travel-stage-card.theme-saipan .stage-backdrop-art {
  background: linear-gradient(180deg, #cffafe 0%, #ecfeff 40%, #ffffff 85%);
}

.visual-travel-stage-card.theme-saudi .stage-backdrop-art {
  background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 40%, #ffffff 85%);
}

.visual-travel-stage-card.theme-philippines .stage-backdrop-art {
  background: linear-gradient(180deg, #fce7f3 0%, #fdf2f8 35%, #ffffff 80%);
}

.visual-travel-stage-card.theme-australia .stage-backdrop-art {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0fdf4 40%, #ffffff 85%);
}

/* Clouds & Atmospheric Soft Textures */
.art-layer.art-clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
              radial-gradient(ellipse 40% 50% at 80% 10%, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
  opacity: 0.9;
}

/* ==========================================================================
   DYNAMIC SCENIC PANORAMA & ATMOSPHERE (Philippines, Saudi Arabia, Saipan, Japan, Australia)
   ========================================================================== */
.scenic-country-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scenic-country-backdrop .scenic-art-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  opacity: 0.65;
  filter: saturate(1.15) brightness(1.02);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

/* Atmospheric readability gradient masks: ensures left side shows panorama and right side has high text contrast */
.scenic-country-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.28) 30%,
    rgba(255, 255, 255, 0.82) 55%,
    rgba(255, 255, 255, 0.96) 100%
  );
  pointer-events: none;
}

.scenic-country-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.22) 40%,
    rgba(255, 255, 255, 0.82) 80%,
    #ffffff 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Individual fine-tuning */
.scenic-phil-backdrop .scenic-art-img { opacity: 0.68; }
.scenic-saudi-backdrop .scenic-art-img { opacity: 0.65; }
.scenic-saipan-backdrop .scenic-art-img { opacity: 0.68; }
.scenic-japan-backdrop .scenic-art-img { opacity: 0.62; }
.scenic-aus-backdrop .scenic-art-img { opacity: 0.62; }

/* Gentle Floating Sakura Petals Drifting Across Sky */
.scenic-sakura-petals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.scenic-sakura-petals .petal {
  position: absolute;
  font-size: 1.1rem;
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
  animation: floatSakuraPetal 12s infinite linear;
}

.scenic-sakura-petals .p1 { top: -20px; left: 18%; animation-delay: 0s; animation-duration: 11s; }
.scenic-sakura-petals .p2 { top: -20px; left: 42%; animation-delay: 3s; animation-duration: 14s; }
.scenic-sakura-petals .p3 { top: -20px; left: 65%; animation-delay: 6s; animation-duration: 12s; }
.scenic-sakura-petals .p4 { top: -20px; left: 82%; animation-delay: 2s; animation-duration: 15s; }
.scenic-sakura-petals .p5 { top: -20px; left: 30%; animation-delay: 8s; animation-duration: 13s; }

@keyframes floatSakuraPetal {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { transform: translate(-140px, 600px) rotate(360deg); opacity: 0; }
}

/* Dynamic Botanical Flora Frame Arching Over Globe Top */
.globe-flora-frame {
  display: none;
}

.globe-flora-img {
  width: auto;
  max-width: 100%;
  height: 115px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.16));
  transition: opacity 0.4s ease;
}

/* Top-Right Scenic Silhouette Landmark (Used for other destinations) */
.art-silhouette {
  position: absolute;
  top: 0;
  right: 0;
  width: 520px;
  height: 260px;
  opacity: 0.22;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Grid Layout: Left Globe, Right Timeline */
.stage-content-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 38px 42px;
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN: 3D EARTH GLOBE & FLIGHT ROUTE ARC
   ========================================================================== */
.stage-globe-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 100px;
}

.globe-showcase-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.globe-container-box {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  animation: floatGlobe 6s ease-in-out infinite;
}

@keyframes floatGlobe {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* 3D Photorealistic Sphere Container */
.globe-sphere-wrapper {
  position: relative;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 
    0 25px 60px rgba(2, 132, 199, 0.45),
    0 0 50px rgba(56, 189, 248, 0.35),
    inset 0 0 35px rgba(2, 44, 82, 0.6);
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #034a7c 60%, #072445 100%);
  background-image: url('assets/globe-japan.jpg');
  background-size: cover;
  background-position: center;
}

/* Atmospheric 3D Outer Rim Glow */
.globe-sphere-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 25px rgba(14, 165, 233, 0.6), 0 0 30px rgba(56, 189, 248, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 5;
}

.globe-sphere-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s ease-in-out, transform 0.6s cubic-bezier(0.25, 1, 0.35, 1);
  filter: contrast(1.08) brightness(1.02);
  pointer-events: none;
  z-index: 1;
}

.globe-sphere-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* 3D Spherical Specular Light & Atmospheric Rim Glow */
.globe-sphere-lighting {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.08) 35%, transparent 68%);
  box-shadow: inset 0 0 25px rgba(14, 165, 233, 0.5), 0 0 25px rgba(56, 189, 248, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  z-index: 3;
}

/* Dynamic Flight Trajectory SVG Arc Overlay */
.globe-flight-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 8;
  overflow: visible;
}

.flight-arc-glow {
  fill: none;
  stroke: rgba(56, 189, 248, 0.4);
  stroke-width: 6;
  stroke-linecap: round;
  filter: url(#flightGlowFilter);
  transition: opacity 1.2s ease;
}

.flight-arc-dash {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 6 5;
  filter: drop-shadow(0 2px 5px rgba(2, 132, 199, 0.7));
  transition: opacity 1.2s ease;
}

.flight-origin-beacon {
  fill: rgba(255, 255, 255, 0.95);
  stroke: #38bdf8;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
  transition: opacity 0.8s ease;
}

/* Soft Clouds at Base of Globe */
.globe-base-clouds {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 50px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -15px;
  z-index: 4;
}

.cloud-puff {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(8px);
}

.cloud-puff.puff-1 { width: 120px; height: 45px; }
.cloud-puff.puff-2 { width: 160px; height: 55px; margin: 0 -25px; }
.cloud-puff.puff-3 { width: 130px; height: 45px; }

/* Red Location Marker Pin on Globe */
.globe-marker-pin {
  position: absolute;
  top: 42%;
  left: 56%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
  transition: left 2.4s cubic-bezier(0.25, 1, 0.35, 1), top 2.4s cubic-bezier(0.25, 1, 0.35, 1), transform 0.6s ease;
  will-change: left, top, transform;
}

.globe-marker-pin.in-flight {
  transform: translate(-50%, -120%) scale(0.92);
}

.pin-head {
  width: 22px;
  height: 22px;
  background: #ea1d25;
  border: 2.5px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(234, 29, 37, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-core {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  transform: rotate(45deg);
}

.pin-pulse {
  position: absolute;
  bottom: -4px;
  width: 16px;
  height: 8px;
  background: rgba(234, 29, 37, 0.4);
  border-radius: 50%;
  animation: pinPulseRing 1.8s infinite ease-out;
}

@keyframes pinPulseRing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.pin-city-badge {
  margin-top: 6px;
  background: #ffffff;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

/* Modern Airplane along Flight Trajectory */
.globe-flight-plane {
  position: absolute;
  top: 48%;
  left: 36%;
  pointer-events: none;
  z-index: 12;
  filter: drop-shadow(0 4px 12px rgba(2, 44, 82, 0.65));
  will-change: left, top, transform;
  display: none;
}

.plane-svg-icon {
  width: 24px;
  height: 24px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

/* ==========================================================================
   RIGHT COLUMN: DESTINATION HEADER & TIMELINE ROWS
   ========================================================================== */
.stage-history-col {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 30px 34px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* Location Header (Serif typography matching image) */
.dest-header-block {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(14, 165, 233, 0.2);
}

.dest-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 4px;
}

.pin-glyph {
  font-size: 1.15rem;
  color: #0284c7;
}

.dest-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.05;
  color: #0b2341;
  letter-spacing: -0.02em;
  margin: 2px 0 6px 0;
}

.dest-subheading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0;
}

/* Timeline Rows Container with Teal Spine Line */
.location-timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 26px;
}

/* Continuous Vertical Teal Timeline Line */
.location-timeline-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 18px;
  width: 2.5px;
  background: #00b4d8;
  border-radius: 2px;
}

/* Table Header for the 5-Column Timeline */
.timeline-table-header {
  position: relative;
  display: grid;
  grid-template-columns: 65px 230px 140px 1fr 130px;
  align-items: center;
  gap: 16px;
  padding: 8px 18px;
  margin-bottom: 6px;
  border-bottom: 2px solid rgba(14, 165, 233, 0.25);
  user-select: none;
}

.timeline-table-header .t-th {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0369a1;
}

.timeline-table-header .t-th-logo {
  text-align: center;
}

.timeline-table-header .t-th-action {
  text-align: right;
  padding-right: 4px;
}

/* Individual Timeline Row Card (Collapsible Drawer Model) */
.timeline-row-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.05);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.timeline-row-item:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
  transform: translateX(3px);
  border-color: rgba(2, 132, 199, 0.35);
}

.timeline-row-item.expanded {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 8px 26px rgba(2, 132, 199, 0.14);
}

/* Teal Circular Bullet Node on Spine - Pinned to the top icon center */
.timeline-row-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 34px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00b4d8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1.5px #00b4d8;
  z-index: 2;
  transition: all 0.2s ease;
}

.timeline-row-item:hover::before,
.timeline-row-item.expanded::before {
  background: #0284c7;
  transform: translateY(-50%) scale(1.35);
  box-shadow: 0 0 10px #0284c7;
}

/* Main Row Grid: Icon | Name | Date | Title | Action Button */
.t-row-main {
  display: grid;
  grid-template-columns: 65px 230px 140px 1fr 130px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  width: 100%;
}

/* Column 1: Icon (Logo) */
.t-col-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  flex-shrink: 0;
}

.t-col-logo svg,
.t-col-logo img {
  max-width: 58px;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

/* Column 2: Name (Organization + Location) */
.t-col-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.t-company {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0b1f38;
  line-height: 1.25;
  word-break: break-word;
}

.t-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.2;
}

.t-location svg {
  flex-shrink: 0;
  stroke: #0284c7;
}

/* Column 3: Date */
.t-col-date {
  display: flex;
  align-items: center;
  min-width: 0;
}

.t-date-pill {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(203, 213, 225, 0.85);
  padding: 4px 10px;
  border-radius: 8px;
  line-height: 1.25;
  white-space: normal;
}

/* Column 4: Work Title & Tag */
.t-col-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.t-role {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.25;
}

.t-role-tag {
  display: flex;
  align-items: center;
}

.t-role-tag .timeline-tag-pill {
  transform: scale(0.92);
  transform-origin: left center;
}

/* Column 5: Action Button (View Details) */
.t-col-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.t-btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.08);
  color: #0284c7;
  border: 1px solid rgba(14, 165, 233, 0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.t-btn-details:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
  transform: translateY(-1px);
}

.t-btn-details .btn-chevron {
  transition: transform 0.25s ease;
  stroke: currentColor;
}

.timeline-row-item.expanded .t-btn-details {
  background: #0369a1;
  color: #ffffff;
  border-color: #0369a1;
}

.timeline-row-item.expanded .t-btn-details .btn-chevron {
  transform: rotate(180deg);
}

/* Card Drawer: Key Responsibilities & Impact Details */
.t-row-drawer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, rgba(241, 245, 249, 0.95) 100%);
  border-top: 0 solid transparent;
}

.timeline-row-item.expanded .t-row-drawer {
  max-height: 500px;
  opacity: 1;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.t-drawer-inner {
  padding: 14px 20px 16px 85px;
}

.t-drawer-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.t-drawer-icon {
  font-size: 0.85rem;
}

.t-drawer-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0284c7;
}

.t-drawer-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 450;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* Category Tag Pill Sub-elements */
.timeline-tag-pill {
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.timeline-tag-pill:hover {
  transform: translateY(-1px);
}

.tag-pill-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e1f4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  margin-right: -8px;
  box-shadow: 0 1px 4px rgba(9, 51, 86, 0.12);
  transition: all 0.2s ease;
}

.tag-pill-circle svg {
  width: 15px;
  height: 15px;
  stroke: #093356;
}

.tag-pill-label {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #093356;
  background: #e1f4fc;
  padding: 4px 12px 4px 14px;
  border-radius: 9999px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  z-index: 1;
  transition: all 0.2s ease;
}

.timeline-row-item:hover .tag-pill-circle {
  background: #d4effa;
  transform: scale(1.06);
}

.timeline-row-item:hover .tag-pill-label {
  background: rgba(212, 239, 250, 0.95);
  color: #072642;
}

.timeline-tag-pill.tag-au-target {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

/* Parchment Overrides for Table Header */
.p-rows-list .timeline-table-header {
  border-bottom-color: rgba(201, 164, 106, 0.4);
}

.p-rows-list .timeline-table-header .t-th {
  color: #854d0e;
}

/* Parchment Overrides for Timeline Cards and Details Drawer */
.parchment-history-container .timeline-row-item {
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(201, 164, 106, 0.35);
  box-shadow: 0 3px 12px rgba(133, 77, 14, 0.05);
}

.parchment-history-container .timeline-row-item:hover {
  background: #ffffff;
  border-color: rgba(201, 164, 106, 0.6);
  box-shadow: 0 8px 24px rgba(133, 77, 14, 0.12);
}

.parchment-history-container .t-btn-details {
  background: rgba(180, 83, 9, 0.08);
  color: #92400e;
  border-color: rgba(180, 83, 9, 0.25);
}

.parchment-history-container .t-btn-details:hover,
.parchment-history-container .timeline-row-item.expanded .t-btn-details {
  background: #92400e;
  color: #ffffff;
  border-color: #92400e;
}

.parchment-history-container .t-row-drawer {
  background: rgba(254, 250, 240, 0.92);
}

.parchment-history-container .timeline-row-item.expanded .t-row-drawer {
  border-top: 1px solid rgba(201, 164, 106, 0.35);
}

.parchment-history-container .t-drawer-title {
  color: #92400e;
}


/* ==========================================================================
   STAGE 2: FULL PANORAMIC PARCHMENT VIEW (Authentic Scroll Chronicle Aesthetic)
   Antique Paper Texture, Carved Wooden Finials, Continuous Scroll Journey Spine
   ========================================================================== */
.parchment-history-container {
  margin-top: 30px;
  border-radius: 16px;
  background: #fbf7ee;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(245, 235, 215, 0.9) 0%, transparent 75%),
    linear-gradient(180deg, #fdf9f1 0%, #f7eed8 45%, #f4e8ce 100%);
  border: 2px solid #c9a46a;
  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.75), 
    inset 0 0 80px rgba(180, 140, 80, 0.18),
    inset 0 0 25px rgba(100, 60, 20, 0.08);
  color: #2b1f14;
  padding: 24px 44px 34px 44px;
  position: relative;
  overflow: visible;
}

/* 3D Carved Wooden & Gold Scroll Roller Rods */
.scroll-rod-finial {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -24px;
  z-index: 10;
}

.scroll-rod-finial.finial-top {
  margin-bottom: 24px;
}

.scroll-rod-finial.finial-bottom {
  margin-top: 36px;
}

.rod-cylinder {
  flex: 1;
  height: 14px;
  background: linear-gradient(180deg, 
    #b8860b 0%, 
    #d4af37 30%, 
    #784212 70%, 
    #451a03 100%
  );
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.rod-knob {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 35% 35%, #fde047 0%, #b8860b 60%, #451a03 100%);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.knob-left { margin-right: -4px; }
.knob-right { margin-left: -4px; }

.scroll-paper-curl {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 10px;
  pointer-events: none;
}

.scroll-paper-curl.curl-top {
  bottom: -9px;
  background: linear-gradient(180deg, rgba(80, 50, 20, 0.25) 0%, transparent 100%);
}

.scroll-paper-curl.curl-bottom {
  top: -9px;
  background: linear-gradient(0deg, rgba(80, 50, 20, 0.25) 0%, transparent 100%);
}

.parchment-scroll-card {
  position: relative;
  z-index: 2;
}

.parchment-header {
  position: relative;
  text-align: center;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 2px solid rgba(201, 164, 106, 0.45);
}

.parchment-watermark-compass {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.parchment-eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #92400e;
  margin-bottom: 6px;
}

.parchment-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.85rem;
  font-weight: 800;
  color: #0b2341;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.parchment-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  color: #785233;
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto;
}

/* Continuous Scroll Journey Timeline Spine */
.parchment-sections-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.parchment-sections-stack::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 10px;
  width: 2px;
  background: linear-gradient(180deg, 
    rgba(201, 164, 106, 0.2) 0%, 
    rgba(201, 164, 106, 0.7) 15%, 
    rgba(201, 164, 106, 0.7) 85%, 
    rgba(201, 164, 106, 0.2) 100%
  );
  z-index: 1;
}

.parchment-location-group {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px dashed rgba(201, 164, 106, 0.45);
  position: relative;
  z-index: 2;
}

.parchment-location-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Clean, Refined Scroll Waypoint Badge (No garish primary colors) */
.p-scroll-waypoint {
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 110px;
}

.waypoint-node {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fdfaf3;
  border: 2px solid #c9a46a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201, 164, 106, 0.2);
  z-index: 3;
}

.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #92400e;
}

.waypoint-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #ffffff;
  border: 1.5px solid #c9a46a;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(133, 77, 14, 0.08);
  transition: all 0.25s ease;
}

.waypoint-badge:hover {
  transform: translateY(-1px);
  border-color: #92400e;
  box-shadow: 0 5px 16px rgba(133, 77, 14, 0.16);
}

.waypoint-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.waypoint-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.p-rows-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-rows-list .timeline-row-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 164, 106, 0.35);
}

.parchment-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid rgba(201, 164, 106, 0.4);
}

#btnBackToGlobe {
  background: #0b2341;
  color: #ffffff;
  border: 1px solid #0b2341;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

#btnBackToGlobe:hover {
  background: #0284c7;
  border-color: #0284c7;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1180px) {
  .timeline-table-header {
    grid-template-columns: 55px 190px 125px 1fr 120px;
    gap: 12px;
    padding: 6px 14px;
  }
  .t-row-main {
    grid-template-columns: 55px 190px 125px 1fr 120px;
    gap: 12px;
    padding: 12px 14px;
  }
  .t-drawer-inner {
    padding: 12px 16px 14px 67px;
  }
  .t-company {
    font-size: 0.88rem;
  }
  .t-role {
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .stage-content-grid {
    grid-template-columns: 280px 1fr;
    padding: 28px 24px;
    gap: 24px;
  }
  .globe-container-box, #travelGlobeCanvas {
    width: 270px;
    height: 270px;
  }
  .dest-heading {
    font-size: 2.6rem;
  }
  .parchment-location-group {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 900px) {
  .stage-content-grid {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
  .stage-globe-col {
    position: static;
    margin-bottom: 20px;
  }
  .timeline-table-header {
    display: none;
  }
  .timeline-row-item {
    padding: 0;
  }
  .t-row-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .timeline-row-item::before {
    display: none;
  }
  .location-timeline-list {
    padding-left: 0;
  }
  .location-timeline-list::before {
    display: none;
  }
  .t-col-logo {
    justify-content: flex-start;
    width: auto;
  }
  .t-col-name,
  .t-col-date,
  .t-col-title,
  .t-col-action {
    width: 100%;
  }
  .t-btn-details {
    width: 100%;
  }
  .t-drawer-inner {
    padding: 12px 16px 14px 16px;
  }
  .parchment-location-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .parchment-history-container {
    padding: 24px 16px;
  }
}


/* ==========================================================================
   MODERN HORIZONTAL SCRUB CAROUSEL
   ========================================================================== */

.modern-scroll-section {
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid var(--border-hairline);
}

.scroll-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.scroll-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.carousel-nav-controls {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.carousel-filter-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.c-filter {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.c-filter:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.c-filter.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

.carousel-track-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 4px 2px;
}

.carousel-card {
  width: 280px;
  min-height: 200px;
  padding: 20px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.carousel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.c-year {
  font-size: 0.75rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.c-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.c-badge.badge-work {
  background: rgba(41, 151, 255, 0.12);
  color: var(--accent-blue);
}

.c-badge.badge-study {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
}

.c-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 4px;
}

.c-org {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.c-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
}

.carousel-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.carousel-progress-thumb {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 4px;
  transition: width 0.1s ease, transform 0.1s ease;
}

/* Australia 2-Col Grid */
.au-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.au-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.au-badge-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.au-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.au-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

/* Australia Overlap Bar */
.au-overlap-card {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  gap: 16px;
}

.clock-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.clock-city {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.clock-val {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
}

.clock-arrow {
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.overlap-info {
  text-align: right;
}

.overlap-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-green);
  display: block;
}

.overlap-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Flagship Products Showcase Stack */
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

.shinq-flagship-card {
  padding: 36px 40px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 165, 233, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.08);
  width: 100%;
  margin: 0 auto;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.shinq-flagship-card:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(14, 165, 233, 0.16);
}

.genai-flagship-card {
  padding: 36px 40px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(168, 85, 247, 0.12);
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.genai-flagship-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(168, 85, 247, 0.22);
}

.genai-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.09);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: #d8b4fe;
  transition: all 0.2s ease;
}

.genai-pill:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.55);
  transform: translateY(-1px);
}

.shinq-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.shinq-brand-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.shinq-dual-brand-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shinq-dual-brand-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.25);
}

.shinq-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 2px 0;
  letter-spacing: -0.02em;
}

.shinq-tagline {
  font-size: 0.84rem;
  color: #94a3b8;
  font-weight: 500;
}

.proj-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.proj-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.proj-tag.tag-live {
  background: rgba(48, 209, 88, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(48, 209, 88, 0.25);
}

.shinq-body-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  margin-top: 26px;
}

.shinq-subhead {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  margin-bottom: 10px;
}

.shinq-arch-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0 22px 0;
}

.arch-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.arch-icon-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-top: 2px;
}

.aws-arch-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.arch-feat-item:hover .aws-arch-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 8px rgba(255, 153, 0, 0.5));
}

.arch-feat-item strong {
  font-size: 0.92rem;
  color: #f1f5f9;
  display: block;
  margin-bottom: 2px;
}

.arch-feat-item p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.shinq-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shinq-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: #7dd3fc;
  transition: all 0.2s ease;
}

.shinq-pill:hover {
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(14, 165, 233, 0.45);
  transform: translateY(-1px);
}

.pill-aws-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

.shinq-right-metrics {
  padding: 24px 26px;
  border-radius: 18px;
  background: rgba(10, 15, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metrics-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.metric-stats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.metric-stat-row:last-child {
  border-bottom: none;
}

.stat-name {
  font-size: 0.8rem;
  color: #94a3b8;
}

.stat-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
}

.stat-val.val-cyan {
  color: #38bdf8;
}

.stat-val.val-green {
  color: #4ade80;
}

.shinq-metrics-footer {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .shinq-body-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shinq-flagship-card,
  .genai-flagship-card {
    padding: 24px 20px;
  }
  .shinq-header-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .shinq-cta-right {
    width: 100%;
  }
  .shinq-cta-right .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Contact Clean Box */
.contact-box-clean {
  padding: 44px 32px;
  border-radius: var(--radius-xl);
  border-color: rgba(41, 151, 255, 0.25);
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.method-card {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-radius: var(--radius-md);
}

.method-icon {
  font-size: 1.5rem;
}

.method-meta {
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.method-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.recruiter-action-box {
  max-width: 500px;
  margin: 0 auto;
}

/* Apple Footer */
.apple-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border-hairline);
  background: #050608;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background: rgba(16, 20, 29, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--accent-blue);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.25s ease-out forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Print Styles */
@media print {
  body.apple-dark {
    background: #ffffff !important;
    color: #111111 !important;
  }
  .ambient-glow-layer, .apple-nav-wrapper, .recruiter-action-box, .mobile-toggle, .btn, .timeline-filter-pills {
    display: none !important;
  }
  .glass-panel {
    background: transparent !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    color: #111 !important;
  }
  .hero-headline, .section-title, .step-title, .badge-title {
    color: #000 !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 960px) and (min-width: 600px) {
  .globe-journey-stage {
    grid-template-columns: 260px 1fr;
    gap: 20px;
  }
  .globe-sticky-col {
    position: sticky;
    top: 70px;
    z-index: 10;
  }
  .globe-display-card {
    padding: 16px;
  }
  .globe-canvas-wrapper {
    height: 220px;
  }
}

@media (max-width: 599px) {
  .globe-journey-stage {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .globe-sticky-col {
    position: relative;
    top: 0;
    margin-bottom: 20px;
  }
  .globe-canvas-wrapper {
    height: 240px;
  }
}

@media (max-width: 900px) {
  .tech-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .badges-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-categories-grid {
    grid-template-columns: 1fr;
  }
  .au-grid-2col {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .apple-nav {
    padding: 0 14px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 58px;
    left: 14px;
    right: 14px;
    background: rgba(12, 15, 22, 0.98);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    z-index: 1001;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  .nav-links.active {
    display: flex;
    animation: menuIn 0.25s ease-out forwards;
  }
  @keyframes menuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .mobile-toggle {
    display: flex;
  }
  .au-target-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
  }
  .badges-showcase-grid {
    grid-template-columns: 1fr;
  }
  .au-overlap-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .overlap-info {
    text-align: left;
  }
  .animated-timeline-wrapper {
    padding-left: 44px;
  }
  .timeline-neon-spine {
    left: 14px;
  }
  .step-bullet {
    left: -44px;
    width: 30px;
    height: 30px;
  }
}

/* Responsive adjustments for Visual Travel Stage & 4-Column Timeline */
@media (max-width: 1040px) {
  .stage-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  .stage-globe-col {
    position: static;
    margin-bottom: 8px;
  }
  .scenic-japan-backdrop {
    width: 380px;
    height: 160px;
    opacity: 0.16;
  }
}

@media (max-width: 768px) {
  .dest-heading {
    font-size: 2.3rem;
  }
  .dest-subheading {
    font-size: 1.1rem;
  }
  .tag-pill-label {
    font-size: 0.76rem;
    padding: 5px 12px 5px 14px;
  }
}

@media (max-width: 620px) {
  .globe-container-box {
    width: 270px;
    height: 270px;
  }
  #travelGlobeCanvas {
    width: 270px;
    height: 270px;
  }
}

/* ==========================================================================
   HONEY BEE CYBER DEFENSE WIDGET & THREAT TELEMETRY
   ========================================================================== */
.honeybee-shield-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 980;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.honeybee-shield-widget:hover {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.45));
}

.honeybee-shield-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(15, 20, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 14px rgba(245, 158, 11, 0.2);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
}

.honeybee-pulse-dot {
  display: none !important;
}

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

.honeybee-icon {
  font-size: 1.1rem;
}

.honeybee-label strong {
  color: #f59e0b;
  margin-left: 2px;
}

/* Honey Bee Telemetry Modal */
.honeybee-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.honeybee-modal-backdrop.active {
  display: flex;
}

.honeybee-modal-card {
  background: #0b1120;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.2);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.honeybee-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.honeybee-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.honeybee-modal-close:hover {
  color: #fff;
}

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

.honeybee-stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
}

.honeybee-stat-title {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.honeybee-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f1f5f9;
}

.honeybee-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.honeybee-bot-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   AWS BEDROCK AI CAREER AGENT & VOICE ASSISTANT UI
   ========================================================================== */

/* Floating Launcher Button - Sleek Round Airplane Flight Icon (No Text) */
/* Floating Launcher Button - Choro Riding Airplane with Contoured Purple Aura (No Circle, No White BG) */
.bedrock-chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10004;
  width: 120px;
  height: 90px;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  user-select: none;
  animation: choroAirplaneSoar 3.6s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes choroAirplaneSoar {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  35% {
    transform: translateY(-9px) rotate(-3deg) scale(1.02);
  }
  70% {
    transform: translateY(-4px) rotate(2deg) scale(0.99);
  }
}

.bedrock-chat-launcher:hover {
  transform: translateY(-12px) scale(1.12) rotate(-3deg);
}

.bedrock-chat-launcher.chat-open {
  transform: scale(0.92);
  opacity: 0.9;
}

.airplane-launcher-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.airplane-flight-icon {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  display: block;
  /* Glowing Purple Aura coating the exact silhouette of Choro & Airplane */
  filter: drop-shadow(0 0 5px rgba(233, 213, 255, 0.95))
          drop-shadow(0 0 14px rgba(168, 85, 247, 0.9))
          drop-shadow(0 0 28px rgba(147, 51, 234, 0.75));
  animation: choroPurpleAuraPulse 2.8s ease-in-out infinite alternate;
  transition: transform 0.25s ease, filter 0.25s ease;
}

@keyframes choroPurpleAuraPulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(233, 213, 255, 0.95))
            drop-shadow(0 0 13px rgba(168, 85, 247, 0.85))
            drop-shadow(0 0 25px rgba(147, 51, 234, 0.65));
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(243, 232, 255, 1))
            drop-shadow(0 0 18px rgba(192, 132, 252, 0.95))
            drop-shadow(0 0 34px rgba(147, 51, 234, 0.9))
            drop-shadow(0 0 48px rgba(126, 34, 206, 0.55));
  }
}

.bedrock-chat-launcher:hover .airplane-flight-icon {
  filter: drop-shadow(0 0 8px #ffffff)
          drop-shadow(0 0 20px #c084fc)
          drop-shadow(0 0 38px #9333ea)
          drop-shadow(0 0 56px rgba(126, 34, 206, 0.95));
}

.choro-avatar-wrap {
  position: relative;
  border-radius: 50% !important;
  overflow: hidden;
}

.choro-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: filter 0.15s ease, transform 0.2s ease;
}

.choro-avatar-wrap.speaking .choro-avatar-img {
  animation: choroSpeakingBounce 0.4s infinite ease-in-out alternate;
}

@keyframes choroSpeakingBounce {
  0% { transform: scale(1); }
  100% { transform: scale(1.06) translateY(-1px); }
}

.bedrock-launcher-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bedrock-launcher-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
}

.bedrock-launcher-tag {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #00c7b7, #7b3fe4);
  color: #ffffff;
}

.bedrock-launcher-subtitle {
  font-size: 0.72rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bedrock-launcher-subtitle .live-dot {
  display: none !important;
}

/* Chatbot Modal Container */
.bedrock-chat-container {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 440px;
  max-width: calc(100vw - 32px);
  height: 590px;
  max-height: calc(100vh - 170px);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(123, 63, 228, 0.45);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(123, 63, 228, 0.25);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 10005;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bedrock-chat-container.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.bedrock-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(30, 27, 75, 0.85), rgba(15, 23, 42, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.bedrock-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  overflow: hidden;
  background: #0b1120;
  border: 2px solid #00c7b7;
  box-shadow: 0 0 12px rgba(0, 199, 183, 0.4);
  padding: 0;
  flex-shrink: 0;
}

.bedrock-header-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.bedrock-header-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bedrock-header-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
}

.bedrock-badge-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(123, 63, 228, 0.25);
  border: 1px solid rgba(123, 63, 228, 0.6);
  color: #c084fc;
  font-family: 'JetBrains Mono', monospace;
}

.bedrock-header-status {
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bedrock-header-status .status-dot {
  display: none !important;
}

.bedrock-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bedrock-header-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bedrock-header-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.bedrock-header-btn.muted {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Audio Wave Visualizer */
.bedrock-audio-wave-bar {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 6px 18px;
  background: rgba(123, 63, 228, 0.15);
  border-bottom: 1px solid rgba(123, 63, 228, 0.25);
  font-size: 0.72rem;
  color: #c084fc;
}

.bedrock-audio-wave-bar.active {
  display: flex;
}

.bedrock-wave-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
  margin-right: 6px;
}

.bedrock-wave-bars span {
  width: 3px;
  height: 4px;
  background: #c084fc;
  border-radius: 2px;
  animation: bedrockAudioWave 1s infinite ease-in-out;
}

.bedrock-wave-bars span:nth-child(2) { animation-delay: 0.2s; }
.bedrock-wave-bars span:nth-child(3) { animation-delay: 0.4s; }
.bedrock-wave-bars span:nth-child(4) { animation-delay: 0.15s; }

@keyframes bedrockAudioWave {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* Voice Engine & Accent Selector Popover */
.bedrock-voice-popover {
  position: absolute;
  top: 54px;
  right: 12px;
  left: 12px;
  z-index: 100;
  background: rgba(13, 18, 36, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(123, 63, 228, 0.25);
  padding: 12px 14px;
  animation: bedrockPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bedrockPopIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bedrock-voice-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  font-size: 0.85rem;
}

.bedrock-popover-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.15s;
}

.bedrock-popover-close:hover {
  color: #ffffff;
}

.bedrock-voice-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bedrock-voice-opt {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bedrock-voice-opt:hover {
  background: rgba(123, 63, 228, 0.12);
  border-color: rgba(192, 132, 252, 0.3);
}

.bedrock-voice-opt.active {
  background: rgba(123, 63, 228, 0.2);
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 0 12px rgba(123, 63, 228, 0.25);
}

.bedrock-voice-opt input[type="radio"] {
  margin-top: 2px;
  accent-color: #a855f7;
  cursor: pointer;
}

.bedrock-voice-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bedrock-voice-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f8fafc;
}

.bedrock-voice-desc {
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.3;
}

.bedrock-voice-popover-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

.bedrock-test-voice-btn {
  background: linear-gradient(135deg, #7b3fe4, #9333ea);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(123, 63, 228, 0.35);
  transition: all 0.2s ease;
}

.bedrock-test-voice-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(123, 63, 228, 0.5);
}

.bedrock-listen-welcome-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(123, 63, 228, 0.35), rgba(79, 70, 229, 0.35));
  border: 1px solid rgba(192, 132, 252, 0.45);
  border-radius: 20px;
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.bedrock-listen-welcome-btn:hover {
  background: linear-gradient(135deg, rgba(123, 63, 228, 0.55), rgba(79, 70, 229, 0.55));
  border-color: rgba(192, 132, 252, 0.8);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(123, 63, 228, 0.4);
}

/* Messages Area */
.bedrock-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.bedrock-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.bedrock-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.bedrock-msg-row {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: bedrockFadeIn 0.25s ease-out;
}

@keyframes bedrockFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.bedrock-msg-row.agent {
  align-self: flex-start;
}

.bedrock-msg-row.user {
  align-self: flex-end;
}

.bedrock-avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50% !important;
  overflow: hidden;
  border: 1.5px solid rgba(0, 199, 183, 0.7);
  box-shadow: 0 0 8px rgba(0, 199, 183, 0.35);
  background: #0b1120;
}

.bedrock-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.bedrock-bubble {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border-top-left-radius: 4px;
  padding: 12px 14px;
  color: #e2e8f0;
  font-size: 0.84rem;
  line-height: 1.55;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.bedrock-bubble.user {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  border-top-right-radius: 4px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.bedrock-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 8px;
}

.bedrock-sender-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: #93c5fd;
}

.bedrock-model-badge {
  font-size: 0.62rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(123, 63, 228, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.bedrock-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 5px;
  border-radius: 4px;
  color: #38bdf8;
}

.bedrock-link {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.bedrock-link:hover {
  color: #7dd3fc;
}

/* Call-to-Action Box inside Agent Bubble */
.bedrock-cta-box {
  margin-top: 10px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(123, 63, 228, 0.3);
  border-radius: 10px;
}

.bedrock-cta-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bedrock-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bedrock-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.bedrock-action-btn.primary {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #0f172a;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.bedrock-action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(245, 158, 11, 0.45);
}

.bedrock-action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
}

.bedrock-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.bedrock-action-btn.tertiary {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.bedrock-action-btn.tertiary:hover {
  background: rgba(16, 185, 129, 0.25);
}

.bedrock-bubble-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
}

.bedrock-speak-bubble-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
}

.bedrock-speak-bubble-btn:hover {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.08);
}

/* Typing Indicator */
.bedrock-bubble.typing {
  display: flex;
  align-items: center;
  padding: 10px 14px;
}

.bedrock-typing-dots {
  display: flex;
  gap: 4px;
}

.bedrock-typing-dots span {
  width: 6px;
  height: 6px;
  background: #a78bfa;
  border-radius: 50%;
  animation: bedrockDotBounce 1.2s infinite ease-in-out;
}

.bedrock-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.bedrock-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bedrockDotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Quick Suggestion Chips */
.bedrock-quick-chips {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 23, 42, 0.6);
  scrollbar-width: none;
}

.bedrock-quick-chips::-webkit-scrollbar {
  display: none;
}

.bedrock-chip-btn {
  white-space: nowrap;
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bedrock-chip-btn:hover {
  background: rgba(123, 63, 228, 0.2);
  border-color: rgba(123, 63, 228, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Listening Wave Banner */
.bedrock-listening-wave {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), rgba(217, 119, 6, 0.2));
  border-top: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.74rem;
  color: #fca5a5;
  font-weight: 600;
}

.bedrock-listening-dots {
  display: flex;
  gap: 3px;
}

.bedrock-listening-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ef4444;
  animation: bedrockListenPulse 0.8s infinite ease-in-out;
}

.bedrock-listening-dots span:nth-child(2) { animation-delay: 0.15s; }
.bedrock-listening-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes bedrockListenPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* Chat Input Footer */
.bedrock-chat-footer {
  padding: 10px 14px 14px 14px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bedrock-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bedrock-input-wrapper:focus-within {
  border-color: rgba(123, 63, 228, 0.8);
  box-shadow: 0 0 16px rgba(123, 63, 228, 0.35);
}

.bedrock-chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-size: 0.84rem;
  padding: 6px 0;
}

.bedrock-chat-input::placeholder {
  color: #64748b;
  font-size: 0.8rem;
}

.bedrock-mic-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bedrock-mic-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.bedrock-mic-btn.listening {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
  animation: bedrockMicPulse 1s infinite alternate;
}

@keyframes bedrockMicPulse {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

.bedrock-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #00c7b7, #7b3fe4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bedrock-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(0, 199, 183, 0.5);
}

.bedrock-footer-caption {
  font-size: 0.66rem;
  color: #64748b;
  text-align: center;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Settings Modal */
.bedrock-settings-modal {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.98);
  border-radius: 24px;
  z-index: 1000;
  padding: 20px;
  display: none;
  flex-direction: column;
}

.bedrock-settings-modal.active {
  display: flex;
}

.bedrock-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.bedrock-settings-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS (≤ 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Reposition floating launchers on mobile */
  .honeybee-shield-widget {
    bottom: 16px;
    left: 14px;
    z-index: 980;
  }

  .honeybee-shield-pill {
    padding: 6px 12px;
    font-size: 0.72rem;
    gap: 6px;
  }

  .honeybee-icon {
    font-size: 0.95rem;
  }

  .bedrock-chat-launcher {
    bottom: 16px;
    right: 14px;
    width: 95px;
    height: 72px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  /* Full Screen / Bottom Sheet Chat on Mobile */
  .bedrock-chat-container {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 92vh;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding-bottom: env(safe-area-inset-bottom, 16px);
  }

  .bedrock-msg-row {
    max-width: 96%;
  }

  .bedrock-bubble {
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  .bedrock-action-btn {
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  .honeybee-modal-card {
    padding: 16px;
    max-width: 95%;
  }

  .honeybee-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   REGION SWITCHER PILL (OUTSIDE JAPAN vs IN JAPAN)
   ========================================================================== */
.region-switcher-container {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 3px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.region-btn:hover {
  color: #f8fafc;
}

.region-btn.active {
  background: linear-gradient(135deg, #0284c7, #7b3fe4);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(123, 63, 228, 0.4);
}

/* ==========================================================================
   CONTACT ME DIRECT INBOUND DISPATCH FORM
   ========================================================================== */
.contact-form-card {
  margin-top: 36px;
  padding: 32px;
  border-radius: 20px;
  background: rgba(11, 16, 38, 0.65);
  border: 1px solid rgba(123, 63, 228, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(123, 63, 228, 0.12);
}

.contact-form-header {
  margin-bottom: 24px;
}

.form-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.contact-form-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.contact-form-header p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.portfolio-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

@media (max-width: 680px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 20px 16px;
  }
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-group label .req {
  color: #f43f5e;
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 11px 14px;
  color: #f8fafc;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.form-control:focus {
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.form-control::placeholder {
  color: #64748b;
  font-size: 0.86rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 95px;
}

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

.form-direct-notice {
  font-size: 0.76rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-status-banner {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-status-banner.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.contact-status-banner.error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

/* ==========================================================================
   CHORO IN-CHAT TICKET DISPATCH CARD
   ========================================================================== */
.choro-ticket-form-card {
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(123, 63, 228, 0.4);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choro-ticket-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c084fc;
  display: flex;
  align-items: center;
  gap: 5px;
}

.choro-ticket-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.78rem;
  color: #f1f5f9;
  font-family: inherit;
  outline: none;
}

.choro-ticket-input:focus {
  border-color: #a855f7;
}

.choro-ticket-btn {
  background: linear-gradient(135deg, #0284c7, #7b3fe4);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.choro-ticket-btn:hover {
  filter: brightness(1.15);
}

/* ==========================================================================
   PHILOSOPHY & CROSS-DISCIPLINARY ADVANTAGE SHOWCASE
   ========================================================================== */
.philosophy-showcase {
  margin-top: 36px;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 27, 75, 0.65));
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(123, 63, 228, 0.15);
}

.philosophy-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px auto;
}

.philosophy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.philosophy-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.philosophy-quote {
  font-size: 1.02rem;
  color: #e2e8f0;
  line-height: 1.65;
  font-style: italic;
  position: relative;
  padding: 0 16px;
}

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

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-showcase {
    padding: 24px 18px;
  }
}

.philosophy-card {
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.philosophy-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.15);
}

.philosophy-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.philosophy-card-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.philosophy-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.01em;
}

.philosophy-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.philosophy-card strong {
  color: #f1f5f9;
}

.philosophy-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
  margin-top: 4px;
}



