/* ============================================================
   EntrepreneurTraits — Global Stylesheet v1.0
   Brand: Coral (#D85A30) · Near-black (#2C2C2A) · Blush (#FAECE7)
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       background: #FFFFFF; color: #2C2C2A; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: #D85A30; text-decoration: none; transition: color 0.2s; }
a:hover { color: #993C1D; }
ul { list-style: none; }

/* ── CSS Variables ── */
:root {
  --coral-dark:   #993C1D;
  --coral:        #D85A30;
  --coral-mid:    #F0997B;
  --coral-light:  #F5C4B3;
  --blush:        #FAECE7;
  --near-black:   #2C2C2A;
  --mid-grey:     #888780;
  --light-grey:   #D3D1C7;
  --off-white:    #F1EFE8;
  --white:        #FFFFFF;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --nav-height:   68px;
  --max-width:    1140px;
  --transition:   0.2s ease;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: #444441; }
.lead { font-size: 1.2rem; color: #A0A1A5; line-height: 1.8; }
.label-sm { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid-grey); }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.text-center { text-align: center; }
.text-coral  { color: var(--coral); }
.fw-light { font-weight: 300; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--light-grey);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--near-black); }
.nav-logo-text span { color: var(--coral); font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 0.875rem; color: var(--near-black); padding: 6px 12px;
  border-radius: var(--radius-sm); transition: background var(--transition);
  font-weight: 500;
}
.nav-links a:hover { background: var(--off-white); color: var(--coral); }
.nav-links a.active { color: var(--coral); }
.nav-cta {
  background: var(--coral); color: white !important;
  padding: 8px 18px !important; border-radius: var(--radius-md) !important;
}
.nav-cta:hover { background: var(--coral-dark) !important; }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--near-black);
  margin: 4px 0; transition: var(--transition);
}
.nav-mobile { display: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-md);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--coral); color: white; }
.btn-primary:hover { background: var(--coral-dark); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--coral); border: 1.5px solid var(--coral); }
.btn-outline:hover { background: var(--blush); color: var(--coral); }
.btn-white { background: white; color: var(--coral); }
.btn-white:hover { background: var(--blush); color: var(--coral-dark); }
.btn-dark { background: var(--near-black); color: white; }
.btn-dark:hover { background: #444441; color: white; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ── Cards ── */
.card {
  background: white; border-radius: var(--radius-lg);
  border: 0.5px solid var(--light-grey);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-coral { background: var(--blush); border-color: var(--coral-light); }
.card-dark  { background: var(--near-black); border-color: #444441; color: white; }
.card-dark p { color: #B4B2A9; }
.card-dark h3, .card-dark h4 { color: white; }

/* ── Hero ── */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: linear-gradient(160deg, var(--blush) 0%, white 60%);
  min-height: 90vh; display: flex; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 0.5px solid var(--coral-light);
  border-radius: 20px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 600; color: var(--coral);
  margin-bottom: 24px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.hero h1 { margin-bottom: 20px; }
.hero p.lead { margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat-value { font-size: 1.6rem; font-weight: 700; color: var(--coral); }
.hero-stat-label { font-size: 0.8rem; color: var(--mid-grey); }

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label-sm { margin-bottom: 10px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; color: var(--mid-grey); }

/* ── Trait cards ── */
.trait-card { border-left: 4px solid var(--coral); padding-left: 20px; }
.trait-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--blush); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.5rem;
}

/* ── Price card ── */
.price-card {
  background: white; border-radius: var(--radius-xl);
  border: 2px solid var(--coral); padding: 48px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--coral-dark), var(--coral-mid));
}
.price-amount { font-size: 4rem; font-weight: 700; color: var(--coral); line-height: 1; }
.price-amount sup { font-size: 1.5rem; vertical-align: top; margin-top: 12px; }
.price-period { font-size: 0.9rem; color: var(--mid-grey); margin-top: 4px; }
.price-features { text-align: left; margin: 32px 0; display: flex; flex-direction: column; gap: 12px; }
.price-feature { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.price-feature::before { content: '✓'; color: var(--coral); font-weight: 700; font-size: 1rem; }

/* ── FAQ Accordion ── */
.faq-item { border-bottom: 0.5px solid var(--light-grey); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; font-size: 1rem; font-weight: 600; color: var(--near-black);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; transition: color var(--transition);
}
.faq-question:hover { color: var(--coral); }
.faq-question .faq-icon { font-size: 1.2rem; color: var(--coral); flex-shrink: 0; transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding-bottom: 20px; color: var(--mid-grey); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Testimonial journey ── */
.journey-step {
  display: flex; gap: 24px; align-items: flex-start; position: relative;
}
.journey-step::before {
  content: ''; position: absolute; left: 23px; top: 56px;
  width: 2px; height: calc(100% + 24px); background: var(--coral-light);
}
.journey-step:last-child::before { display: none; }
.journey-dot {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--blush); border: 2px solid var(--coral);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; position: relative; z-index: 1; background: white;
}
.journey-dot.active { background: var(--coral); }
.journey-content { padding-bottom: 40px; flex: 1; }

/* ── Language switcher ── */
.lang-switcher {
  position: relative;
  display: inline-block;
  z-index: 1000;
}

.lang-btn {
  background: var(--off-white);
  border: 0.5px solid var(--light-grey);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--near-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  user-select: none;
}

.lang-btn:hover, .lang-btn.active {
  background: white;
  border-color: var(--coral);
  color: var(--coral);
}

/* Dropdown */
.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: white;
  border: 0.5px solid var(--light-grey);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  padding: 8px 0;
  z-index: 1100;
  overflow: hidden;
}

.lang-dropdown.show {
  display: block;
}

/* Invisible bridge for desktop hover */
.lang-switcher::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
  background: transparent;
}

/* Dropdown items */
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--near-black);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.lang-dropdown a:hover, .lang-dropdown a:focus {
  background: var(--off-white);
  color: var(--coral);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .lang-dropdown {
    position: static;
    margin-top: 8px;
    box-shadow: var(--shadow-lg);
    border: 0.5px solid var(--light-grey);
  }
}

/* ── Mobile language bar ── */
#mobile-lang-bar { display: none; }
@media (max-width: 768px) {
  #mobile-lang-bar { display: block !important; }
  /* Active language in the grid */
  #mlb-grid a.mlb-active { background: var(--blush); }
  #mlb-grid a.mlb-active span:last-child { color: var(--coral); }
}

/* ── Footer ── */
.footer {
  background: var(--near-black); color: #B4B2A9;
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 260px; line-height: 1.6; }
.footer h4 { color: white; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { font-size: 0.9rem; color: #888780; transition: color var(--transition); }
.footer ul li a:hover { color: var(--coral); }
.footer-bottom { border-top: 0.5px solid #444441; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: #5F5E5A; }

/* ── Stripe badge ── */
.stripe-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--off-white); border: 0.5px solid var(--light-grey);
  border-radius: var(--radius-sm); padding: 6px 12px;
  font-size: 0.78rem; color: var(--mid-grey); font-weight: 500;
}

/* ── Demo quiz ── */
.quiz-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius-md);
  border: 1.5px solid var(--light-grey); cursor: pointer;
  transition: all var(--transition); margin-bottom: 10px;
  background: white; font-size: 0.95rem; color: var(--near-black);
}
.quiz-option:hover { border-color: var(--coral); background: var(--blush); }
.quiz-option.selected { border-color: var(--coral); background: var(--blush); font-weight: 600; }
.quiz-option .dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--light-grey);
  flex-shrink: 0; transition: var(--transition);
}
.quiz-option.selected .dot { background: var(--coral); border-color: var(--coral); }
.quiz-progress { height: 4px; background: var(--light-grey); border-radius: 2px; margin-bottom: 24px; }
.quiz-progress-fill { height: 100%; background: var(--coral); border-radius: 2px; transition: width 0.4s ease; }

/* ── Radar illustration ── */
.radar-wrap { position: relative; }

/* ── Tags / Badges ── */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
}
.badge-coral { background: var(--blush); color: var(--coral-dark); }
.badge-dark  { background: #3d3d3a; color: #D3D1C7; }
.badge-green { background: #EAF3DE; color: #27500A; }

/* ── Divider ── */
.divider { height: 0.5px; background: var(--light-grey); margin: 0; }

/* ── Highlight box ── */
.highlight-box {
  background: var(--blush); border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
}
.highlight-box p { color: var(--coral-dark); font-weight: 500; }

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th { background: var(--near-black); color: white; padding: 12px 16px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.data-table td { padding: 12px 16px; border-bottom: 0.5px solid var(--light-grey); color: #444441; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--off-white); }

/* ── Cookie / notice bar ── */
.notice-bar {
  background: var(--near-black); color: white;
  padding: 10px 24px; font-size: 0.82rem; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
}
.notice-bar a { color: var(--coral-mid); }

/* ── Input / Form ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--near-black); }
.form-input {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-md);
  border: 1.5px solid var(--light-grey); font-size: 0.95rem;
  background: white; color: var(--near-black);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--coral); }
.form-hint { font-size: 0.78rem; color: var(--mid-grey); margin-top: 4px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile {
    display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: white; border-bottom: 0.5px solid var(--light-grey);
    padding: 16px 24px; z-index: 999; flex-direction: column; gap: 4px;
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    padding: 12px 8px; font-size: 1rem; font-weight: 500; color: var(--near-black);
    border-bottom: 0.5px solid var(--off-white);
  }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 48px); padding-bottom: 48px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .price-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── Print ── */
@media print {
  .nav, .footer, .nav-mobile { display: none; }
  body { padding: 0; }
}

/* ── Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.5s ease forwards; }

/* ── Scroll indicator ── */
.scroll-indicator {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.25rem; color: var(--mid-grey); margin-top: 24px;
}
.scroll-indicator span { display: block; width: 24px; height: 1px; background: var(--mid-grey); }
