/* ==========================================================================
   WIREFRAME LEARN - GOOGLE SKILLS STYLE
   Clean, modern design system inspired by partner.skills.google
   ========================================================================== */

/* --- Google Design Tokens --- */
:root {
  --font-main: 'Google Sans Text', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Google Sans Display', 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;

  --border-subtle: #DADCE0;

  --text-primary: #1F1F1F;
  --text-secondary: #474747;
  --text-muted: #5F6368;

  --brand-orange: #E2582A;
  --brand-orange-dark: #C8481E;
  --brand-orange-light: #FDF0EC;

  --google-blue: #E2582A;
  --google-blue-dark: #C8481E;
  --google-blue-light: #FDF0EC;

  --brand-black: #1F1F1F;
  --brand-black-hover: #3C4043;

  --accent-blue: #E2582A;
  --accent-blue-dark: #C8481E;
  --accent-emerald: #E2582A;

  --gradient-primary: linear-gradient(135deg, #E2582A 0%, #C8481E 100%);

  --container-width: 1350px;
  --header-height: 64px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-card: 16px;
  --radius-chip: 24px;
  --radius-pill: 28px;

  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.12);
  --shadow-md: 0 2px 6px rgba(60, 64, 67, 0.15);
  --shadow-lg: 0 6px 20px rgba(60, 64, 67, 0.15), 0 2px 6px rgba(60, 64, 67, 0.1);
  --shadow-google: 0 1px 3px rgba(60, 64, 67, 0.12), 0 1px 2px rgba(60, 64, 67, 0.24);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--google-blue);
}

ul {
  list-style: none;
}

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

/* --- Global Lucide Icon Enhancements --- */
svg.lucide,
[data-lucide],
i[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 3%;
  padding-right: 3%;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* --- Google Style Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: 0 1px 6px rgba(60, 64, 67, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-tag {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border-subtle);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  border-bottom-color: var(--text-primary);
  color: var(--text-primary);
  font-weight: 600;
}

/* Header Search Bar */
.nav-search {
  flex: 1;
  max-width: 420px;
}

.nav-search-inner {
  position: relative;
  width: 100%;
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.nav-search-inner input {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--bg-light);
  border: 1px solid transparent;
  padding: 0 44px 0 42px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-search-inner input:focus {
  background: #FFFFFF;
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-orange);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #FFFFFF !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.nav-search-btn:hover {
  background: var(--brand-orange-dark);
  color: #FFFFFF !important;
}

.nav-search-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-btn-signin {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
}

.nav-btn-join {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: var(--brand-orange);
  color: #FFFFFF !important;
}

.btn-primary:hover {
  background: var(--brand-orange-dark);
  color: #FFFFFF !important;
}

.btn-outline {
  background: transparent;
  border-color: #000000;
  color: #000000;
}

.btn-outline:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.btn-pill {
  border-radius: var(--radius-sm);
}

/* Hero buttons (on dark backgrounds) */
.btn-hero {
  background: #FFFFFF;
  color: #000000;
}

.btn-hero:hover {
  background: #F2F2F2;
  color: #000000;
}

.btn-hero-outline {
  background: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-subtle);
}

.badge-light {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

/* --- Global Lucide Icons --- */
svg.lucide,
[data-lucide],
i[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge svg,
.badge [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
}

.btn svg,
.btn [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
}

.ms-card-link svg,
.card-link svg,
.ms-card-link [data-lucide],
.card-link [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
}

.ms-quicklink svg,
.ms-quicklink [data-lucide] {
  width: 28px;
  height: 28px;
  stroke-width: 2.2px;
  color: #000000;
}

.mobile-menu-btn svg,
.mobile-menu-btn [data-lucide] {
  width: 28px;
  height: 28px;
  stroke-width: 2.2px;
}

.detail-icon svg,
.detail-icon [data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 2.2px;
}

.contact-note-card svg,
.contact-note-card [data-lucide] {
  width: 28px;
  height: 28px;
  stroke-width: 2.2px;
}

.highlight-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2px;
  color: #000000;
}

.footer-follow svg {
  width: 20px;
  height: 20px;
}

.back-to-top svg,
.back-to-top [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
}

/* --- Microsoft Hero --- */
.ms-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
  overflow: hidden;
}

.ms-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ms-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.15) 100%);
}

.ms-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.ms-hero-content {
  max-width: 560px;
  color: #FFFFFF;
}

.hero-title {
  font-size: 2.9rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.hero-title .text-gradient {
  -webkit-text-fill-color: #FFFFFF;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #E8E8E8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Quick Links Row --- */
.ms-quicklinks {
  background: var(--bg-white);
  padding: 1.5rem 0;
}

.ms-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ms-quicklink {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.ms-quicklink i {
  font-size: 1.6rem;
  color: var(--accent-blue);
}

.ms-quicklink:hover {
  border-bottom-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* --- Microsoft Cards --- */
.ms-cards-section {
  background: var(--bg-light);
  padding: 4rem 0;
}

.ms-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ms-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.ms-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.ms-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}

.card-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.2px;
  z-index: 2;
}

.ms-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.ms-card:hover .ms-card-media img {
  transform: scale(1.04);
}

.ms-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ms-card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.ms-card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex: 1;
}

.ms-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.ms-card-link:hover {
  text-decoration: underline;
}

/* --- Inner Page Header --- */
.page-header {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 1rem;
  text-align: center;
}

.page-header .badge {
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* --- Section Formatting --- */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* --- Services (inner page) --- */
.services-section {
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.card-link:hover {
  text-decoration: underline;
}

/* --- How We Work --- */
.steps-section {
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

/* --- Microsoft Banner CTA --- */
.ms-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-primary);
}

.ms-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ms-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.ms-banner-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 680px;
  color: #FFFFFF;
}

.ms-banner-inner h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}

.ms-banner-inner p {
  font-size: 1rem;
  color: #E8E8E8;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* --- Legacy CTA Section (inner pages) --- */
.cta-section {
  background: var(--gradient-primary);
  padding: 4rem 0;
}

.cta-box {
  text-align: center;
  color: #FFFFFF;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1rem;
  color: #E8E8E8;
  margin-bottom: 2rem;
}

.cta-box .btn-outline {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.cta-box .btn-outline:hover {
  background: #F2F2F2;
  color: #000000;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--bg-white);
  color: #000000;
  padding-bottom: 5rem;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-intro {
  color: #000000;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 460px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-card {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #000000;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.detail-icon svg,
.detail-icon [data-lucide] {
  color: #000000;
  stroke: #000000;
}

.contact-detail-card strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
}

.contact-detail-card p {
  color: #000000;
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-note-card {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  text-align: center;
  color: #000000;
}

.contact-note-card i,
.contact-note-card svg,
.contact-note-card [data-lucide] {
  font-size: 1.4rem;
  color: #000000;
  stroke: #000000;
  margin-bottom: 0.75rem;
}

.contact-note-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.5rem;
}

.contact-note-card p {
  color: #000000;
  font-size: 0.85rem;
}

.about-section {
  background: var(--bg-white);
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-light);
  padding-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-follow {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #E6E6E6;
}

.footer-follow span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-follow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: color var(--transition-fast);
}

.footer-follow a:hover {
  color: var(--accent-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 2.5rem 0 2rem;
}

.footer-brand-col .brand-logo {
  filter: none;
}

.footer-brand-col p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 300px;
}

.footer-col h5 {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #E6E6E6;
  padding: 1.25rem 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--accent-blue);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition-fast);
}

/* --- Legal Pages (Privacy / Terms) --- */
.legal-section {
  padding-top: 2rem;
}

.legal-layout {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content {
  max-width: 860px;
}

.legal-content .legal-block {
  margin-bottom: 2.25rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-content p {
  margin-bottom: 0.85rem;
}

.legal-content ul {
  margin: 0 0 0.85rem 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.back-to-top:hover {
  background: var(--accent-blue-dark);
  color: #FFFFFF;
}

/* ==========================================================================
   LEARN PLATFORM (Google Skills partner.skills.google style)
   ========================================================================== */

.learn-hero {
  background: url('../img/page_bg_catalog.svg') no-repeat center / cover, #081424;
  padding: 4.5rem 0 3.5rem;
  color: #FFFFFF;
  margin-top: var(--header-height);
  border-bottom: 1px solid var(--border-subtle);
}

.learn-hero .learn-hero-title {
  color: #FFFFFF;
}

.learn-hero .learn-hero-subtitle {
  color: #DADCE0;
}

.learn-hero .suggestion-label {
  color: #BDC1C6;
}

.learn-hero .chip-suggestion {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.learn-hero .chip-suggestion:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.learn-hero .learn-stats {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.learn-hero .learn-stat strong {
  color: #FFFFFF;
}

.learn-hero .learn-stat span {
  color: #BDC1C6;
}

.learn-hero-inner {
  max-width: 860px;
}

.badge-light-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-chip);
  background: var(--google-blue-light);
  color: var(--google-blue-dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.learn-hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.learn-hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 760px;
}

/* Hero Main Search Box (Google Skills Style) */
.hero-search-box {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.hero-search-inner {
  position: relative;
  width: 100%;
}

.hero-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  pointer-events: none;
}

.hero-search-inner input {
  width: 100%;
  height: 54px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.1);
  padding: 0 54px 0 24px;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-search-inner input:focus {
  border-color: var(--google-blue);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.18);
}

.hero-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-orange);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #FFFFFF !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.hero-search-btn:hover {
  background: var(--brand-orange-dark);
  color: #FFFFFF !important;
}

.signin-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  background: var(--brand-orange);
  color: #FFFFFF !important;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.signin-submit-btn:hover {
  background: var(--brand-orange-dark);
  color: #FFFFFF !important;
}

.hero-suggestion-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.suggestion-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.25rem;
}

.chip-suggestion {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-chip);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E2E8F0;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: default;
  user-select: none;
}

.learn-stats {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.learn-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.learn-stat strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.learn-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* --- Category Filter Chips Section (Google Skills Style) --- */
.learn-filter-chips-section {
  background: #FFFFFF;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: var(--header-height);
  z-index: 90;
}

.chips-scroll-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chips-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.chips-carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.ql-chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 1.25rem;
  border-radius: var(--radius-chip);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ql-chip:hover:not(.active) {
  background: var(--bg-light);
  border-color: #BDC1C6;
  color: var(--text-primary);
}

.ql-chip.active {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
  font-weight: 600;
}

/* --- Browse grid (Google Skills ql-activity-card Style) --- */
.learn-browse {
  background: var(--bg-light);
  padding: 4rem 0;
}

.learn-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.learn-product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-google);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  color: var(--text-primary);
  text-decoration: none;
}

.learn-product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--text-primary);
}

.learn-product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.learn-product-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-product-icon svg,
.learn-product-icon [data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 2.2px;
}

.badge-chip-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--google-blue-light);
  color: var(--google-blue-dark);
}

.badge-chip-type.path {
  background: #E6F4EA;
  color: #137333;
}

.learn-product-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.35;
  color: var(--text-primary);
}

.learn-product-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.learn-card-foot {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F3F4;
}

.learn-card-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.learn-card-stat svg,
.learn-card-stat [data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2.2px;
  color: var(--text-primary);
}

/* --- Paths (Google Skills Style) --- */
.learn-paths-section {
  background: #FFFFFF;
  padding: 4rem 0;
}

.learn-paths-group {
  margin-bottom: 3rem;
}

.learn-paths-group-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.learn-paths-group-title svg,
.learn-paths-group-title [data-lucide] {
  width: 22px;
  height: 22px;
  stroke-width: 2.2px;
  color: var(--text-primary);
}

.learn-path-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.learn-path-cards-single {
  grid-template-columns: 1fr;
}

.learn-path-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-google);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
}

.learn-path-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--text-primary);
}

.learn-path-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.learn-path-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.learn-path-level {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.learn-path-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.35;
  color: var(--text-primary);
}

.learn-path-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.learn-path-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 1.75rem;
  border-top: 1px solid #F1F3F4;
  background: var(--bg-light);
  margin-top: auto;
}

.learn-path-card-foot span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.learn-path-card-foot svg,
.learn-path-card-foot [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-primary);
  stroke-width: 2.2px;
}

/* --- Enterprise Team Banner (Google Skills Style) --- */
.learn-team-banner {
  background: var(--bg-light);
  padding: 4rem 0;
}

.team-banner-card {
  background: url('../img/page_bg_enterprise.svg') no-repeat center right / cover, #081627;
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 3.75rem 3.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.team-banner-content {
  max-width: 720px;
}

.ql-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-chip);
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.team-banner-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.team-banner-content p {
  font-size: 1.05rem;
  color: #DADCE0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.learn-path-card-foot span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.learn-path-card-foot svg {
  width: 13px;
  height: 13px;
  color: var(--accent-blue);
}

/* --- Breadcrumbs --- */
.learn-breadcrumb {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  margin-top: var(--header-height);
}

.learn-breadcrumb .container,
.learn-lesson-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.learn-breadcrumb a,
.learn-lesson-breadcrumb a {
  color: var(--accent-blue);
  font-weight: 500;
}

.learn-breadcrumb a:hover,
.learn-lesson-breadcrumb a:hover {
  text-decoration: underline;
}

.learn-breadcrumb svg,
.learn-lesson-breadcrumb svg {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
}

/* --- Product header --- */
.learn-product-header {
  background: url('../img/page_bg_product.svg') no-repeat center / cover, #060e19;
  color: #FFFFFF;
  padding: 4.5rem 0;
}

.learn-product-header h1.learn-hero-title,
.learn-product-header .learn-hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.learn-product-header p.learn-hero-subtitle,
.learn-product-header .learn-hero-subtitle {
  color: #E2E8F0 !important;
}

.learn-product-header .learn-product-desc {
  color: #E2E8F0 !important;
}

.learn-product-header .learn-stats {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.learn-product-header .learn-stat strong {
  color: #FFFFFF !important;
}

.learn-product-header .learn-stat span {
  color: #CBD5E1 !important;
}

.learn-product-header-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.learn-product-header-media img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* --- Path header --- */
.learn-path-header {
  background: url('../img/page_bg_path.svg') no-repeat center / cover, #08101d;
  color: #FFFFFF;
  padding: 4.5rem 0;
}

.learn-path-header h1.learn-hero-title,
.learn-path-header .learn-hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.learn-path-header p.learn-hero-subtitle,
.learn-path-header .learn-hero-subtitle {
  color: #E2E8F0 !important;
}

.learn-path-header .learn-stats {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.learn-path-header .learn-stat strong {
  color: #FFFFFF !important;
}

.learn-path-header .learn-stat span {
  color: #CBD5E1 !important;
}

.learn-path-header-cta {
  margin-top: 2rem;
}

/* --- Modules (path page) --- */
.learn-modules-section {
  background: var(--bg-light);
  padding: 4rem 0;
}

.learn-modules {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.learn-module {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.learn-module-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.learn-module-index {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #F4F4F5;
  border: 1px solid #E4E4E7;
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.learn-module-title {
  flex: 1;
}

.learn-module-title h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.learn-module-title p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.learn-module-count {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.learn-module-lessons {
  padding: 0.25rem 0;
}

.learn-module-lessons li a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.learn-module-lessons li a:hover {
  background: var(--bg-light);
  color: #000000;
  font-weight: 500;
}

.learn-lesson-check {
  color: var(--border-subtle);
  display: inline-flex;
}

.learn-lesson-check svg,
.learn-lesson-check [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
}

.learn-lesson-name {
  flex: 1;
}

.learn-lesson-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Reading layout (lesson page) --- */
.learn-reading {
  background: #FFFFFF;
  padding: 0;
}

.learn-reading-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.learn-toc {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  max-height: calc(100vh - var(--header-height) - 2rem);
  overflow-y: auto;
  padding: 1rem 0;
  border-right: 1px solid var(--border-subtle);
}

.learn-toc-header,
.learn-toc-path {
  padding: 0.75rem 0.75rem 0.75rem 0;
}

.learn-toc-header a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.learn-toc-header svg,
.learn-toc-header [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
  color: #000000;
}

.learn-toc-path {
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

.learn-toc-path a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.learn-toc-path svg,
.learn-toc-path [data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2.2px;
  color: #000000;
}

.learn-toc-module {
  border-bottom: 1px solid var(--border-subtle);
}

.learn-toc-module-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0.7rem 0.25rem;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: left;
}

.learn-toc-module-toggle:hover {
  color: #000000;
}

.learn-toc-module-toggle svg,
.learn-toc-module-toggle [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
  transition: transform var(--transition-fast);
}

.learn-toc-module.open .learn-toc-module-toggle svg {
  transform: rotate(180deg);
}

.learn-toc-lessons {
  display: none;
  padding: 0 0 0.5rem 0.9rem;
}

.learn-toc-module.open .learn-toc-lessons {
  display: block;
}

.learn-toc-lessons li a {
  display: block;
  padding: 0.45rem 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
}

.learn-toc-lessons li a:hover {
  color: #000000;
  border-left-color: #000000;
}

.learn-toc-lessons li a.active {
  color: #000000;
  font-weight: 600;
  border-left-color: #000000;
}

.learn-lesson-mobile-toc {
  display: none;
  padding: 1rem 0;
}

.learn-lesson-mobile-toc button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.learn-lesson-mobile-toc svg,
.learn-lesson-mobile-toc [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
}

.learn-lesson {
  padding: 2rem 0 4rem;
  min-width: 0;
}

.learn-lesson-breadcrumb {
  margin-bottom: 1.5rem;
}

.learn-lesson-content {
  max-width: 820px;
}

.learn-lesson-header {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.learn-lesson-module-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 0.9rem;
}

.learn-lesson-header h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 0.9rem;
}

.learn-lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.learn-lesson-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.learn-lesson-meta svg,
.learn-lesson-meta [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
  color: #000000;
}

.learn-lesson-summary {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Lesson body typography --- */
.learn-lesson-body h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.learn-lesson-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
}

.learn-lesson-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.learn-lesson-body ul,
.learn-lesson-body ol {
  margin: 0 0 1.25rem 1.4rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.learn-lesson-body li {
  margin-bottom: 0.45rem;
}

.learn-lesson-body strong {
  color: var(--text-primary);
}

.learn-lesson-body em {
  color: var(--text-primary);
}

.learn-lesson-body code {
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.85em;
  background: #F4F4F5;
  color: #000000;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.learn-lesson-body pre {
  background: #0B0B0B;
  color: #E8E8E8;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.learn-lesson-body pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.learn-lesson-body blockquote {
  border-left: 4px solid #000000;
  background: var(--bg-light);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.learn-lesson-body a {
  color: #000000;
  text-decoration: underline;
}

/* --- Prev / Next nav --- */
.learn-lesson-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.learn-lesson-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 46%;
}

.learn-lesson-nav-item.next {
  align-items: flex-end;
  text-align: right;
}

.learn-lesson-nav-item.next .learn-lesson-nav-title {
  flex-direction: row-reverse;
}

.learn-lesson-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.learn-lesson-nav-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.learn-lesson-nav-title:hover {
  text-decoration: underline;
}

.learn-lesson-nav-title svg {
  width: 15px;
  height: 15px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .learn-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learn-product-header-grid {
    grid-template-columns: 1fr;
  }

  .learn-reading-layout {
    grid-template-columns: 1fr;
  }

  .learn-toc {
    display: none;
    position: static;
    max-height: none;
    overflow-y: visible;
    border-right: none;
    padding: 1rem;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .learn-toc.open {
    display: block;
  }

  .learn-lesson-mobile-toc {
    display: block;
  }
}

@media (max-width: 768px) {

  .learn-hero-title,
  .learn-product-header h1.learn-hero-title,
  .learn-path-header h1.learn-hero-title {
    font-size: 1.8rem;
  }

  .learn-products-grid,
  .learn-path-cards {
    grid-template-columns: 1fr;
  }

  .learn-stats {
    gap: 1.5rem;
  }

  .learn-lesson-nav {
    flex-direction: column;
  }

  .learn-lesson-nav-item {
    max-width: 100%;
  }

  .learn-lesson-nav-item.next {
    align-items: flex-start;
    text-align: left;
  }

  .learn-lesson-nav-item.next .learn-lesson-nav-title {
    flex-direction: row;
  }

  .learn-lesson-header h1 {
    font-size: 1.6rem;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .ms-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ms-quicklinks-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

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

  .nav-links {
    gap: 1.25rem;
    margin-left: 1.5rem;
  }
}

@media (max-width: 768px) {
  .desktop-only-inline {
    display: none !important;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-btn-join, .nav-dash-btn {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .ms-hero {
    min-height: 460px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    margin-left: 0;
  }

  .nav-signin-text {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .contact-card {
    padding: 1.5rem;
  }

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

  .ms-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Partners (main site) --- */
.partners-section {
  background: var(--bg-white);
  padding: 4rem 0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem 2rem;
  margin-top: 2rem;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  width: 140px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  overflow: hidden;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 16px;
}

.partner-logo svg {
  width: 44px;
  height: 44px;
  color: var(--text-muted);
}

.partner-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.partner-item:hover .partner-logo {
  border-color: #000000;
  box-shadow: var(--shadow-sm);
}

.partner-item:hover .partner-item-name {
  color: #000000;
}

.partner-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  color: var(--text-muted);
}

.partner-placeholder img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 16px;
}

.partner-placeholder svg,
.partner-placeholder [data-lucide] {
  width: 56px;
  height: 56px;
  color: var(--text-muted);
  stroke-width: 2.2px;
}

.partner-placeholder span {
  font-size: 1rem;
  font-weight: 600;
}

/* Footer partners strip (main site only) */
.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #E6E6E6;
}

.footer-partners-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.footer-partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #E6E6E6;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  overflow: hidden;
}

.footer-partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 6px;
}

.footer-partner-logo svg,
.footer-partner-logo [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  stroke-width: 2.2px;
}

.footer-partner:hover {
  color: #000000;
}

.footer-partner:hover .footer-partner-logo {
  border-color: #000000;
}

/* ==========================================================================
   RESPONSIVE & MOBILE NAVIGATION RULES
   ========================================================================== */

/* Hide mobile menu button by default on desktop screens */
.mobile-menu-btn {
  display: none !important;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

/* Desktop-only helper */
@media (min-width: 1025px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

/* Tablet & Mobile Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .desktop-only {
    display: none !important;
  }

  .google-sidenav {
    display: none !important;
  }

  main.has-sidenav {
    margin-left: 0 !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.25rem;
    margin-left: 0;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

  .learn-products-grid,
  .dark-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .learn-path-cards {
    grid-template-columns: 1fr !important;
  }

  .black-section-box {
    padding: 2.5rem 1.75rem !important;
    border-radius: 24px !important;
  }

  .black-section-title {
    font-size: 2rem !important;
  }
}

/* Small Mobile Screens (<= 640px) */
@media (max-width: 640px) {

  .learn-products-grid,
  .dark-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .learn-hero-title {
    font-size: 2.1rem !important;
  }

  .hero-search-box.centered {
    width: 100% !important;
  }

  .floating-capsule-bar {
    flex-wrap: wrap !important;
    justify-content: center !important;
    border-radius: 16px !important;
  }
}

/* ==========================================================================
   GOOGLE SIGN-IN CARD STYLES (Learner Portal - Human, Tech & Nature Garden)
   ========================================================================== */

.learn-signin-body {
  min-height: 100vh;
  background-color: #071527;
  background-image: url('../img/auth_bg_nature_tech.svg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  padding: 2.5rem 1rem;
  position: relative;
}

.learn-signin-container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.google-signin-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 20px 60px rgba(10, 25, 47, 0.35), 0 0 40px rgba(52, 168, 83, 0.15);
}

.admin-alert {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-alert-error {
  background: #FCE8E6;
  color: #D93025;
  border: 1px solid #FAD2CF;
}

.admin-alert-success {
  background: #E6F4EA;
  color: #137333;
  border: 1px solid #CEEAD6;
}

.signin-brand-row,
.signin-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.signin-brand a,
.signin-brand-row a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.signin-logo,
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}


.signin-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.signin-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.google-input-group {
  margin-bottom: 1.25rem;
}

.google-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.forgot-link {
  font-size: 0.82rem;
  color: var(--google-blue);
  font-weight: 500;
}

.google-input-group input[type="text"],
.google-input-group input[type="email"],
.google-input-group input[type="password"] {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  padding: 0 16px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.google-input-group input[type="text"]:focus,
.google-input-group input[type="email"]:focus,
.google-input-group input[type="password"]:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px rgba(226, 88, 42, 0.15);
}

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

@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LEARNER PROFILE DASHBOARD STYLES
   ========================================================================== */

.profile-hero {
  background: url('../img/page_bg_profile.svg') no-repeat center / cover, #081525;
  padding: 3.5rem 0 2.5rem;
  margin-top: var(--header-height);
  border-bottom: 1px solid var(--border-subtle);
}

.profile-header-card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-google);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-info h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.profile-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 14px;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.profile-dashboard {
  padding: 3.5rem 0;
  background: var(--bg-light);
}

.profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.profile-card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-google);
  margin-bottom: 2rem;
}

.profile-card-box h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.progress-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.progress-stat-card {
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}

.progress-stat-card strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.progress-stat-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.signin-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  background: var(--text-primary);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.signin-submit-btn:hover {
  background: #3C4043;
  color: #FFFFFF;
}

.signin-card-foot {
  border-top: 1px solid #F1F3F4;
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.signin-card-foot .join-link {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: underline;
}

.signin-card-foot .back-link-p {
  margin-top: 0.75rem;
}

.signin-card-foot .back-link-p a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.signin-card-foot .back-link-p a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   CUSTOM SELECT DROPDOWN CONTROLS DESIGN
   ========================================================================== */
select,
.custom-select,
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--border-medium, #D1D5DB);
  border-radius: 8px;
  padding: 0.7rem 2.6rem 0.7rem 0.95rem;
  font-family: var(--font-main, sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary, #111827);
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem 1.1rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
  line-height: 1.35;
}

select:hover,
.custom-select:hover,
.form-group select:hover {
  border-color: #9CA3AF;
  background-color: #FAFAFA;
}

select:focus,
.custom-select:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent, #E2582A);
  box-shadow: 0 0 0 3px rgba(226, 88, 42, 0.15);
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E2582A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

select option,
.custom-select option,
.form-group select option {
  padding: 0.6rem 0.9rem;
  background: #FFFFFF;
  color: #111827;
  font-size: 0.9rem;
}

select:disabled,
.custom-select:disabled,
.form-group select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #F3F4F6;
}