/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
}
a { text-decoration: none; color: inherit; }

/* ===== Layout ===== */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ===== Header / Nav ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8f0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; }
.logo span { color: #4361ee; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: #555;
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #4361ee; }
.nav-links a.active { color: #4361ee; border-bottom-color: #4361ee; }

/* ===== Hero (Home) ===== */
.hero {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: #fff;
  padding: 80px 0;
}
.hero-grid { display: flex; align-items: center; gap: 48px; }
.hero-text { flex: 1; }
.hero-art { flex: 0 0 320px; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 320px; height: auto; }
.hero h1 { font-size: 2.6rem; margin-bottom: 16px; }
.hero p { font-size: 1.15rem; opacity: 0.92; margin-bottom: 32px; }

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { font-size: 1.1rem; opacity: 0.92; max-width: 600px; margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: #4361ee;
  color: #fff;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: #3a56d4; transform: translateY(-1px); }
.hero .btn, .page-hero .btn { background: #fff; color: #4361ee; }
.hero .btn:hover, .page-hero .btn:hover { background: #f0f0f8; }
.btn-outline {
  background: transparent;
  color: #4361ee;
  border: 2px solid #4361ee;
}
.btn-outline:hover { background: #4361ee; color: #fff; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: #f8f9fc; }
.section h2 { font-size: 2rem; text-align: center; margin-bottom: 16px; }
.lead {
  text-align: center; max-width: 680px; margin: 0 auto 32px;
  font-size: 1.1rem; color: #555;
}
.section > .container > p:first-of-type {
  text-align: center; max-width: 640px; margin: 0 auto 32px;
  font-size: 1.1rem; color: #555;
}

/* ===== Feature List (Home) ===== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 48px 0;
}
.feature { text-align: center; }
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: #eef1ff;
  color: #4361ee;
  border-radius: 16px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; color: #1a1a2e; }
.feature p { font-size: 0.98rem; color: #555; }

/* ===== Pitch Callout ===== */
.pitch {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, #eef1ff 0%, #f0e7ff 100%);
  border-radius: 12px;
  text-align: center;
}
.pitch p {
  font-size: 1.15rem;
  font-weight: 500;
  color: #1a1a2e;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Home CTA ===== */
.home-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ===== About Page ===== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.about-portrait svg { width: 100%; border-radius: 12px; }
.about-content h2 { font-size: 1.6rem; margin-bottom: 8px; text-align: left; }
.about-content h3 { font-size: 1.4rem; color: #4361ee; margin-bottom: 8px; }
.credentials {
  font-size: 0.95rem; color: #777; font-weight: 600;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid #e8e8f0;
}
.about-content p { margin-bottom: 18px; font-size: 1.05rem; color: #333; }
.quote-box {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, #eef1ff 0%, #f0e7ff 100%);
  border-radius: 12px;
  border-left: 4px solid #4361ee;
}
.quote-box p { font-size: 1.15rem; font-style: italic; color: #1a1a2e; margin-bottom: 12px; }
.quote-author { font-size: 0.95rem; font-weight: 600; color: #555; font-style: normal; }

/* ===== Cards / Packages ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: #fff;
  border: 1px solid #e8e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.package-card { display: flex; flex-direction: column; align-items: center; }
.package-featured {
  border: 2px solid #4361ee;
  box-shadow: 0 4px 20px rgba(67,97,238,0.12);
}
.package-badge {
  display: inline-block;
  background: #4361ee;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.package-featured .package-badge { background: #3a0ca3; }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; color: #1a1a2e; }
.card p { font-size: 0.98rem; text-align: center; color: #555; margin-bottom: 20px; }
.package-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  width: 100%;
}
.package-features li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.92rem;
  color: #444;
}
.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4361ee;
  font-weight: 700;
}
.package-card .btn { margin-top: auto; }

/* ===== Progression (Service page) ===== */
.progression { margin-top: 64px; }
.progression h2 { font-size: 1.6rem; margin-bottom: 32px; }
.progression-steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.progression-step {
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  background: #fff;
  border: 1px solid #e8e8f0;
  border-radius: 12px;
  padding: 28px;
  text-align: left;
}
.step-number {
  width: 40px; height: 40px;
  background: #4361ee;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 16px;
}
.progression-step h3 { font-size: 1.15rem; margin-bottom: 10px; color: #1a1a2e; }
.progression-step p { font-size: 0.95rem; color: #555; }
.progression-arrow {
  display: flex; align-items: center;
  font-size: 2rem; color: #4361ee;
  font-weight: 700;
}

/* ===== Contact Page ===== */
.contact-direct { text-align: center; margin-bottom: 24px; font-size: 1.1rem; }
.email-link { color: #4361ee; font-weight: 600; }
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0d0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: #4361ee; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: center; }
.form-row { display: flex; gap: 16px; }
.form-row input { flex: 1; }
.package-select { color: #555; }
.form-status {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 8px;
  min-height: 1.2em;
}
.form-success { color: #2d6a4f; font-weight: 600; }
.form-error { color: #d62828; font-weight: 600; }
.chat-hint {
  text-align: center;
  margin-top: 24px;
  font-size: 0.95rem;
  color: #777;
}

/* ===== Footer ===== */
.footer {
  background: #1a1a2e; color: #aaa;
  padding: 32px 0; text-align: center; font-size: 0.9rem;
}

/* ===== Live Chat ===== */
.chat-button {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #4361ee;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(67, 97, 238, 0.4);
  z-index: 999;
  transition: transform 0.2s;
}
.chat-button:hover { transform: scale(1.08); }
.chat-popup {
  display: none;
  position: fixed;
  bottom: 92px; right: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  height: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}
.chat-header {
  background: #4361ee;
  color: #fff;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600;
}
.chat-close {
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.chat-body {
  flex: 1; overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: #f8f9fc;
}
.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.chat-msg.bot { background: #e8e8f0; align-self: flex-start; }
.chat-msg.user { background: #4361ee; color: #fff; align-self: flex-end; }
.chat-input {
  display: flex;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid #e8e8f0;
}
.chat-input input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d0d0e0;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}
.chat-input input:focus { border-color: #4361ee; }
.chat-input button {
  background: #4361ee; color: #fff;
  border: none; border-radius: 6px;
  padding: 10px 16px;
  font-weight: 600; cursor: pointer;
  white-space: nowrap;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .hero-grid { flex-direction: column; text-align: center; }
  .hero-art { flex: none; order: -1; margin-bottom: 16px; }
  .hero-art svg { max-width: 220px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 240px; margin: 0 auto; }
  .progression-arrow { display: none; }
}
@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.85rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .feature-list { gap: 24px; }
  .chat-popup { bottom: 80px; right: 12px; width: calc(100vw - 24px); height: 380px; }
}
