/* Masteryo Premium Light Corporate Theme Stylesheet */
:root {
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --bg-color: #f8f9fa;
  --text-color: #202124;
  --text-secondary: #5f6368;
  --primary-color: #1a73e8;
  --primary-variant: #185abc;
  --accent-color: #34a853;
  --surface-color: #ffffff;
  --border-color: #dadce0;
  --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  
  /* Masteryo Branding Accents mapped to light mode */
  --masteryo-purple: #7c3aed;
  --masteryo-purple-light: #f5f3ff;
  --masteryo-cyan: #0891b2;
  --masteryo-cyan-light: #ecfeff;
  --masteryo-magenta: #db2777;
  --masteryo-magenta-light: #fdf2f8;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.masteryo-body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header overrides to match standard header exactly */
.masteryo-body header {
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid var(--border-color) !important;
  backdrop-filter: blur(8px) !important;
}

.masteryo-body nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
}

.masteryo-body nav .logo {
  color: var(--text-color) !important;
}

.masteryo-body nav .nav-links a {
  color: var(--text-secondary) !important;
}

.masteryo-body nav .nav-links a:hover,
.masteryo-body nav .nav-links a.active {
  color: var(--primary-color) !important;
  text-shadow: none !important;
}

/* Hero Section to match index.html style */
.masteryo-hero {
  padding: 140px 0 100px;
  background-image: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.98)), url('assets/images/hero_banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  position: relative;
}

.masteryo-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.badge-glow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--masteryo-purple-light);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--masteryo-purple);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: none;
}

.masteryo-hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-color);
  letter-spacing: -1px;
}

.masteryo-hero h1 span.gradient-cyan-purple {
  background: linear-gradient(90deg, var(--masteryo-purple) 0%, var(--masteryo-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.masteryo-hero .sub-headline {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-neon-cyan {
  background: var(--primary-color);
  color: white !important;
  border: 1px solid var(--primary-color);
  box-shadow: none;
}

.btn-neon-cyan:hover {
  background: var(--primary-variant);
  color: white !important;
  box-shadow: var(--shadow-sm);
}

.btn-neon-purple {
  background: transparent;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
}

.btn-neon-purple:hover {
  background: rgba(26, 115, 232, 0.04);
}

/* Mockup Showcase */
.mockup-showcase {
  margin: 60px auto 0;
  max-width: 900px;
  border-radius: 12px;
  padding: 12px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-smooth);
}

.mockup-showcase:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.mockup-showcase img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Section Common */
.masteryo-section {
  padding: 100px 0;
  background-color: var(--surface-color);
}

/* Alternating background color for sections */
.masteryo-section:nth-of-type(even) {
  background-color: var(--bg-color);
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header-center h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-color);
}

.section-header-center p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Value Props Grid */
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.prop-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.prop-card:hover {
  transform: translateY(-4px);
  border-color: var(--masteryo-purple);
  box-shadow: var(--shadow-md);
}

.prop-card.cyan-accent:hover {
  border-color: var(--masteryo-cyan);
}

.icon-wrapper-glow {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.icon-wrapper-glow.purple {
  background: var(--masteryo-purple-light);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--masteryo-purple);
  box-shadow: none;
}

.icon-wrapper-glow.cyan {
  background: var(--masteryo-cyan-light);
  border: 1px solid rgba(8, 145, 178, 0.2);
  color: var(--masteryo-cyan);
  box-shadow: none;
}

.prop-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-color);
}

.prop-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature Spotlight: The Family Prosperity Loop (Soft, light styling) */
.loop-banner {
  background: linear-gradient(135deg, var(--surface-color) 0%, var(--masteryo-magenta-light) 100%);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 48px;
}

@media (max-width: 992px) {
  .loop-banner {
    flex-direction: column;
    padding: 32px;
  }
}

.loop-content {
  flex: 1.2;
}

.loop-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-color);
}

.loop-content h3 span {
  color: var(--masteryo-magenta);
}

.loop-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.loop-features-list {
  list-style: none;
}

.loop-features-list li {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.loop-features-list li::before {
  content: "✓";
  color: var(--masteryo-magenta);
  font-weight: 800;
  font-size: 16px;
}

.loop-visual {
  flex: 0.8;
  width: 100%;
  text-align: center;
}

.loop-card-box {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: inline-block;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.loop-step {
  text-align: left;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.loop-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.loop-step-num {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--masteryo-magenta);
  letter-spacing: 1px;
}

.loop-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 4px;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--masteryo-cyan);
  box-shadow: var(--shadow-md);
}

.step-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 12px;
  color: var(--text-color);
}

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

/* Parent Features Grid */
.parent-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.parent-feature-item {
  display: flex;
  gap: 16px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
}

.parent-feature-item .icon {
  font-size: 22px;
  color: var(--primary-color);
}

.parent-feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
}

.parent-feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Area */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer overrides */
.masteryo-body footer {
  background-color: var(--surface-color) !important;
  border-top: 1px solid var(--border-color) !important;
  padding: 48px 0 24px !important;
}

.masteryo-body footer p {
  color: var(--text-secondary) !important;
}

.masteryo-body footer .footer-subtext {
  color: var(--text-secondary) !important;
  opacity: 0.7;
}

/* Avatars Showcase */
.avatars-showcase {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 16px;
  width: 140px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.avatar-item:hover {
  transform: translateY(-5px);
  border-color: var(--masteryo-purple);
  box-shadow: var(--shadow-md);
}

.avatar-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
}

.avatar-item span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
}

