/* ==========================================================================
   STYLE SYSTEM: Team Property Management Ltd. (チーム財産管理株式会社)
   Aesthetic: Warm Japanese Minimalist Light Theme (Alabaster White)
   Accents: Deep Indigo, Forest Moss Green, Brushed Brass/Gold
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  /* Clean Light Palette */
  --bg-alabaster: hsl(30, 20%, 98%);
  --bg-white: hsl(0, 0%, 100%);
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-nav: rgba(255, 255, 255, 0.9);
  
  --indigo-primary: hsl(215, 45%, 18%);
  --indigo-hover: hsl(215, 55%, 25%);
  --indigo-glow: hsla(215, 45%, 18%, 0.05);
  
  --moss-green: hsl(140, 25%, 32%);
  --moss-glow: hsla(140, 25%, 32%, 0.08);
  
  --gold-accent: hsl(43, 55%, 38%);
  --gold-hover: hsl(43, 70%, 45%);
  --gold-glow: hsla(43, 55%, 38%, 0.08);
  
  --text-main: hsl(220, 20%, 12%);
  --text-secondary: hsl(215, 12%, 40%);
  --text-muted: hsl(215, 10%, 55%);
  
  --border-light: rgba(0, 0, 0, 0.06);
  --border-focus: hsla(43, 55%, 38%, 0.4);
  
  /* Layout & Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
  --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.05);
  --shadow-gold: 0 15px 35px hsla(43, 55%, 38%, 0.06);
  
  --font-serif: 'Playfair Display', 'Noto Sans JP', serif;
  --font-sans: 'Outfit', 'Noto Sans JP', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-snappy: all 0.2s ease;
  
  --max-width: 1280px;
  --header-height: 80px;
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
}

/* Base Styles & Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  background-color: var(--bg-alabaster);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Soft Accents */
.accent-glow-1, .accent-glow-2 {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(130px);
  opacity: 0.25;
}

.accent-glow-1 {
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  top: -5%;
  right: -5%;
}

.accent-glow-2 {
  background: radial-gradient(circle, var(--moss-glow) 0%, transparent 70%);
  top: 50%;
  left: -10%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--indigo-primary);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-snappy);
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 100px 0;
}

.text-gold {
  color: var(--gold-accent);
  background: linear-gradient(135deg, var(--gold-accent) 40%, var(--indigo-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--moss-green);
  margin-bottom: 12px;
  font-weight: 600;
  display: inline-block;
  border-bottom: 2px solid var(--moss-green);
  padding-bottom: 4px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-accent), var(--moss-green));
  margin: 20px auto 0;
}

.section-title.left::after {
  margin: 20px 0 0;
}

/* Frosted-Glass Card Light Mode */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--gold-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--indigo-primary);
  color: var(--bg-white);
  border: none;
  box-shadow: 0 4px 15px rgba(22, 38, 57, 0.15);
}

.btn-primary:hover {
  background: var(--indigo-hover);
  box-shadow: 0 6px 20px rgba(22, 38, 57, 0.25);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--indigo-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  border-color: var(--indigo-primary);
  background: var(--indigo-glow);
  transform: translateY(-2px);
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: transparent;
}

header.scrolled {
  background-color: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--indigo-primary);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

nav a:hover, nav a.active {
  color: var(--indigo-primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--moss-green);
  transition: var(--transition-snappy);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--indigo-primary);
  transition: var(--transition-snappy);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-glow);
  border: 1px solid hsla(43, 55%, 38%, 0.2);
  border-radius: 50px;
  padding: 7px 15px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 24px;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background-color: var(--gold-accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite alternate;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 15px;
}

.hero-panel {
  position: relative;
  z-index: 10;
}

.hero-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.hero-stat-item {
  border-left: 3px solid var(--gold-accent);
  padding-left: 20px;
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--indigo-primary);
}

.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* MHI Vision Section (Rejuvenation & Purposed Tours) */
.mhi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mhi-tag {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--moss-green);
  margin-bottom: 16px;
  font-style: italic;
}

.mhi-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1rem;
}

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

.mhi-pillar-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 30px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.mhi-pillar-card:hover {
  border-color: var(--gold-accent);
  background: var(--bg-card);
  transform: translateX(6px);
}

.mhi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  background: var(--moss-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moss-green);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid hsla(140, 25%, 32%, 0.15);
}

.mhi-pillar-content h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--indigo-primary);
}

.mhi-pillar-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Investment Section (Calculator) */
.invest-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-top: 50px;
}

.invest-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.tier-card {
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  box-shadow: var(--shadow-soft);
}

.tier-card.featured {
  border-color: var(--gold-accent);
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--gold-glow) 100%);
  box-shadow: var(--shadow-medium);
}

.tier-card.featured::after {
  content: 'HIGH MARGINS';
  position: absolute;
  top: 18px;
  right: -30px;
  background: var(--gold-accent);
  color: var(--bg-white);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 35px;
  transform: rotate(45deg);
}

.tier-header {
  margin-bottom: 20px;
}

.tier-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--moss-green);
  font-weight: 600;
  margin-bottom: 6px;
}

.tier-title {
  font-size: 1.7rem;
  font-family: var(--font-serif);
  color: var(--indigo-primary);
}

.tier-limits {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tier-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-features li::before {
  content: '✓';
  color: var(--moss-green);
  font-weight: 700;
}

/* Calculator Panel Styling */
.calc-widget {
  padding: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-medium);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.calc-title {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.calc-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

/* Custom Range Slider */
.range-slider-container {
  position: relative;
  padding-bottom: 10px;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #eaeaea;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-accent);
  cursor: pointer;
  border: 3px solid var(--bg-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.input-box-wrap {
  position: relative;
}

.input-currency {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-weight: 600;
}

.calc-input {
  width: 100%;
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 12px 15px 12px 35px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  outline: none;
  transition: var(--transition-snappy);
}

.calc-input:focus {
  border-color: var(--gold-accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--border-focus);
}

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

.period-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-snappy);
  box-shadow: var(--shadow-soft);
}

.period-btn.active, .period-btn:hover {
  border-color: var(--indigo-primary);
  color: var(--indigo-primary);
  background: var(--indigo-glow);
}

.calc-results {
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

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

.result-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-row:first-child {
  padding-top: 0;
}

.result-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

.result-val.highlight {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-accent);
}

.calc-cta {
  width: 100%;
}

/* Thought Leadership Book Mockup (White Theme adaptation) */
.book-showcase-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.book-stage {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.book-container {
  width: 240px;
  height: 360px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(10deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.15);
}

.book-container:hover {
  transform: rotateY(-12deg) rotateX(5deg) scale(1.02);
}

.book-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--indigo-primary) 0%, hsl(215, 30%, 12%) 100%);
  border: 1px solid hsla(43, 55%, 38%, 0.3);
  border-radius: 2px 10px 10px 2px;
  z-index: 5;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.book-spine {
  width: 25px;
  height: 100%;
  position: absolute;
  top: 0;
  left: -12px;
  background: linear-gradient(90deg, hsl(215, 30%, 10%) 0%, var(--indigo-primary) 100%);
  border: 1px solid hsla(43, 55%, 38%, 0.3);
  transform: rotateY(-90deg);
  transform-origin: right;
  z-index: 4;
}

.book-pages {
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  position: absolute;
  top: 4px;
  right: -4px;
  background: #fdfaf4;
  border-radius: 0 6px 6px 0;
  box-shadow: inset -3px 0 8px rgba(0,0,0,0.1);
  transform: translateZ(-4px);
  z-index: 3;
}

.book-badge {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-accent);
  border: 1px solid var(--gold-accent);
  padding: 3px 6px;
  align-self: flex-start;
  margin-bottom: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
}

.book-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--bg-white);
  line-height: 1.2;
}

.book-title span {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: #c9d5e3;
  margin-top: 8px;
}

.book-author {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0c2d6;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* System 1 vs 2 Widget Light Theme */
.book-heading {
  font-size: 2.2rem;
  color: var(--indigo-primary);
}

.book-synopsis {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 30px;
}

.psycho-widget {
  margin-top: 30px;
}

.psycho-nav {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.psycho-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  transition: var(--transition-snappy);
}

.psycho-tab.active {
  color: var(--indigo-primary);
}

.psycho-tab.active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--moss-green);
}

.psycho-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.psycho-pane.active {
  display: block;
}

.psycho-card {
  padding: 30px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  box-shadow: var(--shadow-soft);
}

.psycho-system-title {
  font-size: 1.25rem;
  color: var(--indigo-primary);
  margin-bottom: 6px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.psycho-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold-accent);
  margin-bottom: 12px;
}

.psycho-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.psycho-metric {
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 12px;
}

.psycho-metric-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-weight: 500;
}

.psycho-metric-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo-primary);
}

.consulting-hook {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--moss-glow);
  border: 1px dashed var(--moss-green);
  border-radius: var(--border-radius-md);
}

.consulting-hook-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo-primary);
}

/* Team Profiles Light Theme */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.team-card {
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--moss-green);
  box-shadow: var(--shadow-medium);
}

.team-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  overflow: hidden;
  margin: 0 auto 15px;
  background: var(--bg-alabaster);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-badge-icon {
  font-size: 1.8rem;
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 3px;
  font-family: var(--font-serif);
  color: var(--indigo-primary);
}

.team-role {
  font-size: 0.75rem;
  color: var(--gold-accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.team-credentials {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.team-cred-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-secondary);
}

/* Recruitment & Contact Light Forms */
.intake-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.intake-header {
  margin-bottom: 25px;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.input-wrap {
  position: relative;
}

.custom-input, .custom-select, .custom-textarea {
  width: 100%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 13px 18px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-smooth);
}

.custom-textarea {
  resize: vertical;
  min-height: 110px;
}

.custom-input:focus, .custom-select:focus, .custom-textarea:focus {
  border-color: var(--indigo-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--indigo-glow);
}

.custom-select {
  appearance: none;
  cursor: pointer;
}

.select-wrap::after {
  content: '▼';
  font-size: 0.6rem;
  color: var(--text-muted);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Simulated Drag & Drop CV upload */
.file-upload-wrap {
  border: 1px dashed var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 18px;
  text-align: center;
  position: relative;
  background: var(--bg-white);
  cursor: pointer;
  transition: var(--transition-snappy);
}

.file-upload-wrap:hover {
  border-color: var(--indigo-primary);
  background: var(--indigo-glow);
}

.file-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.file-upload-icon {
  font-size: 1.3rem;
  color: var(--indigo-primary);
}

.file-upload-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.file-upload-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Notification Popups */
.form-status {
  padding: 10px 18px;
  border-radius: var(--border-radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  display: none;
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

.form-status.success {
  background: hsla(140, 25%, 32%, 0.08);
  border: 1px solid var(--moss-green);
  color: var(--moss-green);
  display: block;
}

.form-status.error {
  background: rgba(220, 50, 50, 0.08);
  border: 1px solid rgb(220, 50, 50);
  color: rgb(200, 40, 40);
  display: block;
}

/* Footer Section Light Mode */
footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-desc {
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-sans);
  color: var(--indigo-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a:hover {
  color: var(--indigo-primary);
  padding-left: 4px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-contact strong {
  color: var(--indigo-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

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

.compliance-info {
  margin-top: 20px;
  padding: 12px 18px;
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   VISUAL EDITOR & ADMIN DRAWER STYLES
   ========================================================================== */

/* Floating Admin Key Trigger */
.admin-trigger {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--indigo-primary);
  color: var(--bg-white);
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.admin-trigger:hover {
  transform: rotate(45deg) scale(1.05);
  background: var(--gold-accent);
}

.admin-trigger.active {
  background: var(--moss-green);
  transform: rotate(90deg);
}

/* In-Place Contenteditable States */
body.admin-mode [contenteditable="true"] {
  outline: none;
  position: relative;
  cursor: text;
  border: 1px dashed var(--gold-accent);
  background: hsla(43, 55%, 38%, 0.02);
  border-radius: 4px;
  padding: 2px 5px;
  transition: var(--transition-snappy);
}

body.admin-mode [contenteditable="true"]:hover {
  background: hsla(43, 55%, 38%, 0.05);
  box-shadow: 0 0 8px hsla(43, 55%, 38%, 0.15);
}

/* Admin Slide-Out Panel */
.admin-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100vh;
  background: var(--bg-white);
  border-left: 1px solid var(--border-light);
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  z-index: 1999;
  transition: var(--transition-smooth);
  padding: 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.admin-drawer.open {
  right: 0;
}

.admin-drawer-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-drawer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--indigo-primary);
  font-family: var(--font-sans);
}

.admin-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
}

.admin-form-group {
  margin-bottom: 15px;
}

.admin-form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.admin-input {
  width: 100%;
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 10px 14px;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
}

.admin-input:focus {
  border-color: var(--indigo-primary);
}

.admin-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.admin-btn {
  width: 100%;
  padding: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-snappy);
}

.admin-btn-save {
  background: var(--indigo-primary);
  color: var(--bg-white);
  border: none;
}

.admin-btn-save:hover {
  background: var(--indigo-hover);
}

.admin-btn-export {
  background: var(--gold-accent);
  color: var(--bg-white);
  border: none;
}

.admin-btn-export:hover {
  background: var(--gold-hover);
}

.admin-btn-reset {
  background: var(--bg-alabaster);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.admin-btn-reset:hover {
  background: #f0ebe2;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

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

/* ==========================================================================
   MEDIA QUERIES (Responsive Design)
   ========================================================================== */

@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .section-title { font-size: 2.2rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-panel {
    display: none;
  }
  .mhi-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .invest-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calc-widget {
    position: static;
  }
  .book-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .book-stage {
    order: -1;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intake-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Mobile Menu Drawer */
  nav.mobile-active {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-white);
    flex-direction: column;
    padding: 30px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: fadeIn 0.3s ease;
  }
  
  nav.mobile-active ul {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  nav.mobile-active a {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
