/* ============================================
   FitLife Pro — Personal Fitness & Nutrition Website
   ============================================ */

/* --- CSS Variables --- */
:root {
  --accent: #e63946;
  --accent2: #2a9d8f;
  --accent3: #f4a261;
  --accent4: #3884ff;
  --bg: #fcfcf9;
  --bg2: #ffffff;
  --ink: #1a1a2e;
  --muted: #6b7280;
  --rule: #e5e7eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent2); }
ul { list-style: none; padding: 0; }

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

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--ink);
  background: rgba(0,0,0,0.04);
}
.nav-cta {
  padding: 0.45rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 100px;
  transition: all var(--transition);
}
.nav-cta:hover { background: #c1121f; color: #fff; text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(26,26,46,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 2rem 1.5rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(230,57,70,0.9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  animation: bounce 2s infinite;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #c1121f;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(230,57,70,0.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: #fff;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
}
.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- Section Common --- */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(230,57,70,0.08);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}
.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 560px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}
.about-image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}
.about-image-badge span {
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.about-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.about-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.about-mission {
  margin-top: 1.1rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #faf7f2, #f4f7fb);
  border: 1px solid #eee;
  border-radius: 14px;
}
.about-mission-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
}
.mission-title-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  border-radius: 6px;
}
.about-mission-list {
  display: grid;
  gap: 0.6rem;
}
.mission-card {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.mission-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.mission-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.mission-body {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.mission-lbl {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.mission-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.mission-item {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.55rem 0.8rem;
  background: #fff;
  border-left: 3px solid var(--accent3);
  border-radius: 6px;
  line-height: 1.7;
}
.mission-item b { color: var(--ink); }
.about-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.credential-card {
  background: var(--bg2);
  border-radius: 10px;
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: all 0.3s ease;
}
.credential-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.credential-icon-wrap {
  background: linear-gradient(135deg, #e63946, #ff6b6b);
  padding: 0.65rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.credential-icon-text {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  padding: 0.1rem 0.2rem;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.18));
}
.credential-body {
  padding: 0.65rem 0.7rem 0.7rem;
  text-align: center;
}
.credential-body strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.3;
  margin-bottom: 0.1rem;
  color: var(--ink);
}
.credential-body span {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  line-height: 1.3;
}

/* --- Journey Timeline --- */
.journey-section {
  margin: 4rem 0;
}
.journey-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}
.journey-mission {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: flex-start;
  margin: 1rem 0 2rem;
}
.journey-mission-right { min-width: 0; }
.journey-mission-right .about-mission { margin-top: 0; }
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent2);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent2);
}
.timeline-item:first-child .timeline-dot { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent2);
  display: block;
  margin-bottom: 0.2rem;
}
.timeline-item:first-child .timeline-year { color: var(--accent); }
.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* --- Video Grid --- */
.video-section { margin: 4rem 0; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.video-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.video-thumb {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--transition);
}
.video-card:hover .video-play-icon { transform: scale(1.1); }
.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.video-info {
  padding: 0.8rem 1rem;
}
.video-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.video-info span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --- Honors Grid --- */
.honors-section { margin: 4rem 0; }
.honors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.honor-card {
  background: var(--bg2);
  border-radius: 10px;
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.honor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.honor-topbar {
  height: 3px;
  background: var(--accent-color);
}
.honor-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
}
.honor-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.honor-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.honor-info {
  flex: 1;
  min-width: 0;
}
.honor-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--ink);
  line-height: 1.3;
}
.honor-desc {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --- Nutrition Hero --- */
.nutrition-hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  max-height: 320px;
}
.nutrition-hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.nutrition-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff;
}
.nutrition-hero-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.nutrition-hero-overlay p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* --- Tabs --- */
.tabs-container, .training-tabs { margin: 2rem 0; }
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0;
}
.tab-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-panel.active { display: block; }

/* --- Principles Grid --- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.principle-card {
  padding: 1.5rem;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  transition: all var(--transition);
}
.principle-card:hover {
  border-color: rgba(42,157,143,0.3);
  box-shadow: var(--shadow);
}
.principle-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.principle-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.principle-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* --- Tab Content Card --- */
.tab-content-card {
  padding: 2rem;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.tab-content-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.tab-content-card > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.tab-content-card ul {
  padding-left: 1.2rem;
  list-style: disc;
}
.tab-content-card ul li {
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 0.9rem;
}

/* --- Macro Grid --- */
.macro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.macro-item {
  text-align: center;
  padding: 1rem;
  background: rgba(42,157,143,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(42,157,143,0.15);
}
.macro-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent2);
}
.macro-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* --- Recipe Grid --- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.recipe-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: all var(--transition);
}
.recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.recipe-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recipe-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recipe-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.recipe-body {
  padding: 1.2rem;
}
.recipe-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.recipe-body h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.recipe-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.recipe-nutrients {
  display: flex;
  gap: 0.5rem;
}
.recipe-nutrients span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(42,157,143,0.1);
  color: var(--accent2);
}

/* --- Muscle Grid --- */
.muscle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.muscle-card {
  padding: 1.5rem;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  transition: all var(--transition);
}
.muscle-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.muscle-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.muscle-card h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.muscle-card ul li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--rule);
}
.muscle-card ul li:last-child { border-bottom: none; }

/* --- Stretch Layout --- */
.stretch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.stretch-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}
.stretch-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.stretch-content > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.stretch-list {
  display: grid;
  gap: 1rem;
}
.stretch-item {
  padding: 1rem;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
}
.stretch-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent2);
  display: block;
  margin-bottom: 0.2rem;
}
.stretch-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.stretch-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* --- Meditation Layout --- */
.meditation-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.meditation-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.meditation-content > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.meditation-cards {
  display: grid;
  gap: 1rem;
}
.meditation-card {
  padding: 1.2rem;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  position: relative;
}
.meditation-icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.3rem;
}
.meditation-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.meditation-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.meditation-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent4);
}
.meditation-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* --- Plans Grid --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.plan-card {
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: all var(--transition);
}
.plan-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.plan-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.plan-header {
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(230,57,70,0.05), rgba(42,157,143,0.05));
  border-bottom: 1px solid var(--rule);
}
.plan-level {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent2);
}
.plan-card.featured .plan-level { color: var(--accent); }
.plan-header h4 {
  font-size: 1.1rem;
  margin-top: 0.2rem;
}
.plan-body {
  padding: 1.2rem;
}
.plan-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.plan-body ul {
  margin-bottom: 1.2rem;
}
.plan-body ul li {
  font-size: 0.85rem;
  color: var(--ink);
  padding: 0.3rem 0;
  position: relative;
  padding-left: 1.2rem;
}
.plan-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}
.plan-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

/* --- Courses Grid --- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.course-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: all var(--transition);
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.course-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.course-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.course-icon {
  font-size: 2.5rem;
}
.course-body {
  padding: 1.2rem;
}
.course-body h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.course-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.course-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* --- Booking Grid --- */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.booking-card {
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.booking-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.booking-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.booking-popular {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.booking-type {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
}
.booking-price {
  margin-bottom: 1.5rem;
}
.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
}
.price-period {
  font-size: 0.9rem;
  color: var(--muted);
}
.booking-features {
  margin-bottom: 1.5rem;
  text-align: left;
}
.booking-features li {
  font-size: 0.88rem;
  padding: 0.4rem 0;
  position: relative;
  padding-left: 1.5rem;
}
.booking-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}

/* --- Booking Form --- */
.booking-form-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.booking-form-container h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  text-align: center;
}
.booking-form-container > p {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.booking-form {
  display: grid;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: var(--font);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

/* --- Community Grid --- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.community-card {
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.community-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.community-card.featured {
  border-color: var(--accent2);
  box-shadow: 0 0 0 1px var(--accent2);
}
.community-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.community-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}
.community-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.community-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.community-features {
  margin-bottom: 1.2rem;
  text-align: left;
}
.community-features li {
  font-size: 0.85rem;
  padding: 0.3rem 0;
  position: relative;
  padding-left: 1.2rem;
}
.community-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}
.community-price {
  margin-bottom: 1rem;
}
.community-price .price-amount {
  font-size: 1.8rem;
}

/* --- Testimonials --- */
.testimonials-section {
  margin-top: 3rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  padding: 1.5rem;
}
.testimonial-stars {
  color: var(--accent3);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.testimonial-card p {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --- Student Transformations --- */
.transform-section { margin: 4rem 0; }
.transform-desc {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.transform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.transform-card {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.transform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.transform-student {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.transform-student strong {
  display: block;
  font-size: 0.98rem;
}
.transform-student span {
  font-size: 0.78rem;
  color: var(--muted);
}
.transform-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.transform-pair.transform-single { grid-template-columns: 1fr; }
.transform-pair.transform-single .transform-img img { height: 240px; }
.transform-img {
  position: relative;
  margin: 0;
}
.transform-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.transform-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}
.badge-before { background: var(--muted); }
.badge-after { background: var(--accent2); }
.transform-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.transform-result {
  padding: 0.7rem 1.1rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.transform-result b { color: var(--ink); }
.transform-video { display:inline-block; margin:0 1.1rem 1rem; padding:0.4rem 0.9rem; font-size:0.8rem; font-weight:600; color:#fff; background:linear-gradient(135deg,var(--accent),var(--accent2)); border-radius:999px; text-decoration:none; }
.transform-video:hover { opacity:0.9; }
@media (max-width: 480px) {
  .transform-img img { height: 150px; }
}

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-brand h3 span { color: var(--accent); }
.footer-brand p {
  font-size: 0.88rem;
  margin-bottom: 1rem;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}
.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links a,
.footer-links span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image img { max-height: 500px; height: auto; width: 100%; object-fit: cover; }
  .about-credentials { grid-template-columns: repeat(3, 1fr); }
  .stretch-layout { grid-template-columns: 1fr; }
  .journey-mission { grid-template-columns: 1fr; gap: 1.5rem; }
  .meditation-layout { grid-template-columns: 1fr; }
  .meditation-image img { height: 280px; order: -1; }
  .meditation-image { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }

  .section { padding: 3rem 0; }
  .section-header h2 { font-size: 1.6rem; }

  .about-credentials { grid-template-columns: 1fr; }
  .honors-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tabs-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0; }
  .tab-btn { flex-shrink: 0; }

  .booking-form-container { padding: 1.5rem; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1rem; }
  .video-grid { grid-template-columns: 1fr; }
  .honors-grid { grid-template-columns: 1fr; }
  .recipe-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.blog-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-icon { font-size: 2.5rem; }
.blog-date {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.blog-body { padding: 1.2rem; }
.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(230,57,70,0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.blog-body h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.blog-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.blog-readmore {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

/* --- FAQ Section --- */
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.5rem;
}
.faq-item {
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg2);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background var(--transition);
  user-select: none;
}
.faq-question:hover { background: rgba(0,0,0,0.02); }
.faq-arrow {
  font-size: 0.7rem;
  color: var(--muted);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.2rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.2rem 1rem;
}
.faq-answer p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* --- Video Modal --- */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}
.video-modal.show { display: flex; }
.video-modal-content {
  background: var(--bg2);
  border-radius: 12px;
  width: 100%;
  max-width: 720px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.video-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  z-index: 1;
}
.video-modal-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem;
}
.video-modal-placeholder .video-modal-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.video-modal-placeholder h3 { color: #fff; margin-bottom: 0.3rem; }

/* --- Skeleton Loading --- */
.skeleton {
  background: linear-gradient(90deg, var(--rule) 25%, #f0f0f0 50%, var(--rule) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Share Button --- */
.share-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent2);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-btn:hover {
  background: #21867a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
  .share-btn { bottom: 1rem; left: 1rem; width: 40px; height: 40px; }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s ease;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cookie-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.cookie-text p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-btn-primary {
  background: var(--accent);
  color: #fff;
}
.cookie-btn-primary:hover { background: #c1121f; }
.cookie-btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--rule);
}
.cookie-btn-secondary:hover { background: var(--rule); }

@media (max-width: 768px) {
  .cookie-banner-content { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
}

/* ============================================
   Auth Modal (Login / Register)
   ============================================ */
.auth-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.5);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.auth-modal-overlay.active { display: flex; }

.auth-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%; max-width: 420px;
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: authFadeIn 0.3s ease;
}
@keyframes authFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-close {
  position: absolute; top: 0.75rem; right: 1rem;
  background: none; border: none;
  font-size: 1.75rem; color: var(--muted); cursor: pointer;
  line-height: 1;
}
.auth-close:hover { color: var(--ink); }

.auth-tabs {
  display: flex; gap: 0; margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--rule);
}
.auth-tab {
  flex: 1; padding: 0.75rem 0;
  background: none; border: none;
  font-size: 1rem; font-weight: 600; color: var(--muted);
  cursor: pointer; position: relative;
  transition: color var(--transition);
}
.auth-tab.active { color: var(--accent); }
.auth-tab.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.auth-form.hidden, .auth-profile.hidden { display: none !important; }

.auth-form-group { margin-bottom: 1rem; }
.auth-form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.35rem;
}
.auth-form-group input {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--rule); border-radius: var(--radius-sm);
  font-size: 0.95rem; transition: border-color var(--transition);
  outline: none;
}
.auth-form-group input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

.auth-submit {
  width: 100%; margin-top: 0.5rem;
  padding: 0.8rem; font-size: 1rem;
}

.auth-switch-text {
  text-align: center; margin-top: 1rem;
  font-size: 0.85rem; color: var(--muted);
}
.auth-switch-text a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-switch-text a:hover { text-decoration: underline; }

/* User Profile (logged in) */
.auth-profile { text-align: center; padding: 1rem 0; }
.auth-avatar {
  width: 72px; height: 72px; margin: 0 auto 0.75rem;
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff;
}
.auth-profile h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.auth-profile-email { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }

.auth-profile-stats {
  display: flex; gap: 1rem; justify-content: center;
  margin-bottom: 1.25rem;
}
.auth-profile-stat {
  text-align: center;
}
.auth-profile-stat span {
  display: block; font-size: 1.5rem; font-weight: 700; color: var(--accent);
}
.auth-profile-stat small { font-size: 0.75rem; color: var(--muted); }

.auth-logout-btn {
  width: 100%; max-width: 200px; margin: 0 auto;
}

/* Auth nav link */
.nav-auth-link {
  font-weight: 600 !important;
  color: var(--accent) !important;
}
.nav-auth-link.logged-in {
  color: var(--accent2) !important;
}

@media (max-width: 768px) {
  .auth-modal { padding: 1.5rem 1.25rem; }
  .auth-avatar { width: 60px; height: 60px; font-size: 1.5rem; }
  .auth-profile-stat span { font-size: 1.25rem; }
}

/* 擅长领域 */
.about-skills {
  margin-top: 1.6rem;
}
.about-skills .skills-title {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: var(--heading, #1a1a2e);
  letter-spacing: 0.02em;
}
.skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.skills-chips .skill-chip {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  background: rgba(58, 134, 255, 0.1);
  color: #2a5bd7;
  border: 1px solid rgba(58, 134, 255, 0.25);
}
.skills-chips .skill-chip:nth-child(3n+2) {
  background: rgba(244, 162, 97, 0.12);
  color: #b06a1e;
  border-color: rgba(244, 162, 97, 0.3);
}
.skills-chips .skill-chip:nth-child(3n) {
  background: rgba(42, 157, 143, 0.1);
  color: #1f7a6d;
  border-color: rgba(42, 157, 143, 0.28);
}
