/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a2a4a;
  --primary-light: #2d4a7a;
  --accent: #e8a838;
  --accent-hover: #d4922e;
  --bg: #fafbfd;
  --bg-card: #ffffff;
  --bg-dark: #0f1b33;
  --text: #2c3e50;
  --text-light: #6b7c93;
  --text-on-dark: #e0e6ed;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-icon {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 0.25rem 0;
}

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

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

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  background: var(--bg);
  border-radius: 100px;
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  transition: all var(--transition);
  font-family: var(--font);
}

.lang-btn.active {
  background: var(--primary);
  color: white;
}

.lang-btn:hover:not(.active) {
  background: var(--border);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232, 168, 56, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-on-dark);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg-dark);
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 168, 56, 0.3);
}

/* ===== CARDS GRID ===== */
.tools-section {
  background: var(--bg);
}

.tools-section h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-icon.coach { background: rgba(232, 168, 56, 0.12); color: var(--accent); }
.card-icon.model { background: rgba(45, 74, 122, 0.1); color: var(--primary-light); }
.card-icon.worksheet { background: rgba(56, 178, 132, 0.1); color: #38b284; }

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-link:hover {
  color: var(--accent);
  gap: 0.7rem;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--bg-card);
}

.about-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.about-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-text .name-highlight {
  color: var(--primary);
  font-weight: 700;
}

/* ===== SFGAL MODEL ===== */
.model-section {
  background: var(--bg);
}

.model-section h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.model-intro {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 3rem;
}

/* Two Questions */
.questions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.question-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
}

.question-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.question-card p {
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

/* Styles Grid */
.styles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.style-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.style-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.style-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.style-card.win-win .style-badge { background: #d4f5e5; color: #1a7a4c; }
.style-card.self-oriented .style-badge { background: #ffecd2; color: #b8730a; }
.style-card.self-neglecting .style-badge { background: #dbeafe; color: #2563eb; }
.style-card.lose-lose .style-badge { background: #fee2e2; color: #dc2626; }

.style-indicators {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.indicator {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--bg);
}

.indicator.high { color: #1a7a4c; }
.indicator.low { color: #dc2626; }

.style-card p {
  color: var(--text-light);
  font-size: 0.93rem;
  margin: 0;
}

/* Motivation Routes */
.motivation-section {
  margin-bottom: 2rem;
}

.motivation-section > h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

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

.motivation-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
}

.motivation-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.motivation-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.motivation-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Values & Vision */
.values-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.vv-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  padding: 2.5rem;
  color: white;
}

.vv-card h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.vv-card p {
  color: var(--text-on-dark);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== WORKSHEET ===== */
.worksheet-section {
  background: var(--bg-card);
  text-align: center;
}

.worksheet-section h2 {
  margin-bottom: 1rem;
}

.download-card {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem 3rem;
  margin-top: 1rem;
  transition: all var(--transition);
}

.download-card:hover {
  border-color: var(--accent);
  background: rgba(232, 168, 56, 0.04);
}

.download-icon {
  font-size: 2.5rem;
}

.download-info {
  text-align: left;
}

.download-info h3 {
  margin-bottom: 0.25rem;
}

.download-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== AI COACH ===== */
.coach-section {
  background: linear-gradient(160deg, var(--bg-dark), var(--primary));
  color: white;
  text-align: center;
}

.coach-section h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.coach-section .section-subtitle {
  color: var(--text-on-dark);
}

.chatbot-container {
  max-width: 700px;
  margin: 2rem auto 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  padding: 2rem;
}

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

.chatbot-placeholder .chat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--bg);
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.submit-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 3rem 0 2rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-copy {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .questions-grid,
  .styles-grid,
  .values-vision {
    grid-template-columns: 1fr;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .download-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

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

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    padding: 3.5rem 0;
  }
}
