/* ============================================
   Planna+ Marketing Website — styles.css
   Apple-inspired design · 2025
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-teal: #1D9E75;
  --color-teal-dark: #0F6E56;
  --color-purple: #7F77DD;
  --color-coral: #D85A30;
  --color-pink: #D4537E;
  --color-gray: #a0a098;
  --color-blue: #378ADD;
  --color-green: #7ab82e;
  --color-amber: #EF9F27;
  --color-red: #E24B4A;
  --color-mint: #5DCAA5;
  --color-salmon: #F0997B;
  --color-sky: #85B7EB;
  --color-text: #f5f5f5;
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-glass: rgba(255, 255, 255, 0.04);
  --color-glass-border: rgba(255, 255, 255, 0.08);
  --radius-card: 20px;
  --radius-pill: 100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

html {
  background: #fff;
  color: #1d1d1f;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--color-teal); color: #fff;
  padding: 12px 24px; border-radius: 8px;
  z-index: 9999; font-weight: 600; font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- Shared Containers ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Support Hero ---------- */
.support-hero {
  padding: 120px 24px 40px; text-align: center;
  background: linear-gradient(180deg, rgba(29, 158, 117, 0.08) 0%, #fff 100%);
}
.support-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 12px; }
.support-hero-subtitle { font-size: 1.15rem; color: #6e6e73; }

/* ---------- Gradient Text Utility ---------- */
.gradient-text {
  background: linear-gradient(135deg, #1D9E75, #5DCAA5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; color: #6e6e73; transition: color 0.25s; }
.nav-links a:hover { color: #1d1d1f; }

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--color-teal); color: #fff !important;
  padding: 10px 24px; border-radius: 100px; font-weight: 600;
  font-size: 0.9rem; transition: all 0.25s;
}
.btn-primary:hover { background: var(--color-teal-dark); transform: scale(1.03); }
.btn-small { padding: 8px 20px; font-size: 0.85rem; }

.app-store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1d1d1f; color: #fff; padding: 14px 28px;
  border-radius: 14px; font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
}
.app-store-btn:hover { transform: scale(1.03); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); }
.app-store-btn svg { width: 24px; height: 24px; }
.btn-text-group { display: flex; flex-direction: column; line-height: 1.2; }
.btn-text-small { font-size: 0.65rem; font-weight: 400; }
.btn-text-large { font-size: 1.1rem; font-weight: 700; }

/* ---------- Section Defaults ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 120px 24px; }
.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900;
  text-align: center; margin-bottom: 1rem; letter-spacing: -0.02em;
  line-height: 1.1; color: #1d1d1f;
}
.section-subtitle {
  text-align: center; color: #6e6e73;
  max-width: 500px; margin: 0 auto 4rem; font-size: 1.1rem;
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(30px) scale(0.97);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0) scale(1); }

/* ============================================
   HERO
   ============================================ */
.hero {
  display: grid; grid-template-columns: 55% 45%;
  align-items: center; padding: 120px 24px 60px;
  background: #fff; gap: 0; max-width: 1160px; margin: 0 auto;
}
.hero-content { text-align: left; padding-right: 40px; }
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem); font-weight: 900;
  line-height: 1.08; letter-spacing: -0.03em; color: #1d1d1f;
}
.rotating-text-wrapper { display: block; overflow: hidden; height: 1.2em; position: relative; }
.rotating-word {
  position: absolute; left: 0; top: 0; width: 100%;
  transform: translateY(100%); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 900; white-space: nowrap;
}
.rotating-word.active { transform: translateY(0); opacity: 1; }
.rotating-word.exit { transform: translateY(-100%); opacity: 0; }

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: #6e6e73;
  margin-top: 1.2rem; letter-spacing: 0.02em; font-weight: 500;
}
.hero-subtitle { font-size: 0.95rem; color: #86868b; margin-top: 0.4rem; }
.hero-actions { margin-top: 2rem; display: flex; justify-content: flex-start; }

.hero-phone-wrapper {
  display: flex; justify-content: center; align-items: center;
  transition: transform 0.05s linear, opacity 0.05s linear;
  will-change: transform, opacity;
}

/* ---------- Phone Mockup (shared) ---------- */
.phone-mockup {
  width: 300px; height: 620px; border-radius: 48px;
  border: 3px solid #d2d2d7; background: #1c1c1e;
  position: relative; overflow: hidden; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
}
.phone-notch {
  width: 120px; height: 30px; border-radius: 20px;
  background: #000; position: absolute; top: 12px;
  left: 50%; transform: translateX(-50%); z-index: 10;
}
.phone-screen {
  border-radius: 44px; overflow: hidden; background: #1c1c1e;
  height: 100%; padding: 52px 14px 14px;
}
.phone-header {
  font-size: 0.85rem; font-weight: 700; padding: 8px 4px 12px;
  color: #fff;
}
.phone-plan-card {
  background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 10px;
  border-left: 3px solid var(--card-color);
}
.phone-plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.phone-plan-type {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  color: var(--card-color); background: rgba(255,255,255,0.06);
  padding: 2px 8px; border-radius: 6px; letter-spacing: 0.04em;
}
.phone-plan-cost { font-size: 0.75rem; font-weight: 700; color: #fff; }
.phone-plan-name { font-size: 0.8rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.phone-progress-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; }
.phone-progress-fill { height: 100%; background: var(--card-color); border-radius: 2px; }

/* Screen detail mockup */
.screen-total-card {
  background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 14px; margin-bottom: 14px;
}
.screen-total-amount { font-size: 1.1rem; font-weight: 800; color: #fff; }
.screen-total-budget { font-size: 0.65rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.screen-total-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 10px; }
.screen-total-fill { height: 100%; background: var(--color-teal); border-radius: 2px; }
.screen-category { margin-bottom: 12px; }
.screen-category-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.screen-category-name { font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; }
.screen-cat-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.screen-category-total { font-size: 0.7rem; font-weight: 700; color: #fff; }
.screen-item { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.65rem; color: rgba(255,255,255,0.6); }
.screen-item-name { display: flex; align-items: center; gap: 6px; }
.screen-item-check { color: var(--color-teal); font-weight: 700; }
.screen-item-pending { color: rgba(255,255,255,0.25); }

/* Compare mockup */
.compare-header { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.compare-col-header { font-size: 0.7rem; font-weight: 700; text-align: center; color: #fff; background: rgba(255,255,255,0.06); padding: 6px; border-radius: 6px; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; padding: 5px 0; font-size: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.compare-row.total { font-weight: 800; color: #fff; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: none; padding-top: 8px; }
.compare-label { color: rgba(255,255,255,0.5); }
.compare-value { text-align: center; color: rgba(255,255,255,0.7); }
.compare-value.cheaper { color: var(--color-teal); font-weight: 700; }
.compare-banner {
  background: var(--color-teal); color: #fff; text-align: center;
  font-size: 0.65rem; font-weight: 700; padding: 8px; border-radius: 8px; margin-top: 10px;
}

/* ============================================
   HOW IT WORKS — Full-width rows
   ============================================ */
.steps-section {
  background: #f5f5f7; padding: 120px 24px;
}
.steps-section .section-title { margin-bottom: 48px; }
.steps-container { max-width: 800px; margin: 0 auto; }

.step-row {
  display: flex; align-items: flex-start; gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.step-row:last-child { border-bottom: none; }

.step-number-large {
  font-size: clamp(3.5rem, 8vw, 5rem); font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #1D9E75, #5DCAA5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; flex-shrink: 0; min-width: 70px;
}
.step-content h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; color: #1d1d1f; }
.step-content p { font-size: 1.05rem; color: #6e6e73; line-height: 1.7; max-width: 500px; }

/* ============================================
   PLAN TYPES — Horizontal scroll
   ============================================ */
.types-section { background: #fff; padding: 120px 24px; }

.types-scroll {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; max-width: 1000px; margin: 0 auto;
}

.type-card {
  height: 200px; border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; cursor: pointer; transition: transform 0.35s, box-shadow 0.35s;
  background: linear-gradient(135deg, color-mix(in srgb, var(--chip-color) 60%, white), color-mix(in srgb, var(--chip-color) 85%, transparent));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 24px rgba(0, 0, 0, 0.06);
}
.type-card:hover { transform: scale(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 48px rgba(0,0,0,0.15); }
.type-card .type-icon { width: 72px; height: 72px; color: #fff; }
.type-card .type-icon svg { width: 100%; height: 100%; }
.type-card .type-name { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: 0.01em; }

/* ============================================
   SCREENSHOTS — Sticky text + scrolling phones
   ============================================ */
.screenshots-section { background: #f5f5f7; padding: 120px 24px; }

.screenshots-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; max-width: 1000px; margin: 0 auto;
}

.screenshot-item { text-align: center; }

.screenshot-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 12px;
  background: #1d1d1f;
  border-radius: 44px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.08);
}
.screenshot-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #1d1d1f;
  border-radius: 14px;
  z-index: 10;
}
.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}
.hero-frame {
  max-width: 280px;
  padding: 14px;
  border-radius: 48px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 16px 32px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06);
  transform: scale(1.02);
}
.hero-frame::before {
  top: 16px;
  width: 100px;
  height: 28px;
  border-radius: 16px;
}

.screenshot-label {
  font-size: 1.1rem; font-weight: 700; color: #1d1d1f;
  margin-top: 20px;
}
.screenshot-desc {
  font-size: 0.9rem; color: #6e6e73; margin-top: 6px;
  max-width: 260px; margin-left: auto; margin-right: auto;
}

/* ============================================
   FEATURES — Big statement + rows
   ============================================ */
.features-section { background: #fff; padding: 120px 24px; }
.features-section .section-title { margin-bottom: 16px; }
.features-section .section-subtitle { margin-bottom: 80px; }

.features-list { max-width: 700px; margin: 0 auto; }

.feature-row {
  display: flex; align-items: center; gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.feature-row:last-child { border-bottom: none; }

.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--color-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; flex-shrink: 0;
}
.feature-info h3 { font-size: 1.1rem; font-weight: 700; color: #1d1d1f; }
.feature-info p { font-size: 0.95rem; color: #6e6e73; margin-top: 4px; }

/* ============================================
   PRICING — Single centered
   ============================================ */
.pricing-section { background: #f5f5f7; padding: 120px 24px; }

.pricing-row {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 800px; margin: 0 auto; align-items: stretch;
}

.pricing-card {
  background: #fff; border-radius: 24px; padding: 48px 40px;
  text-align: center; position: relative;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.pricing-card.featured {
  border: 2px solid var(--color-teal);
  box-shadow: 0 8px 32px rgba(29,158,117,0.12);
}

.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-teal); color: #fff;
  padding: 6px 20px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
}

.pricing-plan-name { font-size: 1.1rem; font-weight: 700; color: #6e6e73; margin-bottom: 16px; }

.pricing-amount {
  font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 900;
  background: linear-gradient(135deg, #1D9E75, #5DCAA5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-amount.secondary {
  background: none; -webkit-text-fill-color: #1d1d1f; color: #1d1d1f;
}

.pricing-period { font-size: 1rem; color: #86868b; margin-top: 4px; }

.pricing-cta {
  margin-top: 32px; width: 100%; padding: 16px;
  font-size: 1rem; font-weight: 700; font-family: var(--font);
  background: var(--color-teal); color: #fff; border: none;
  border-radius: 14px; cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.pricing-cta:hover {
  background: var(--color-teal-dark); transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(29,158,117,0.25);
}
.pricing-cta.secondary {
  background: transparent; color: #1d1d1f;
  border: 2px solid rgba(0,0,0,0.12);
}
.pricing-cta.secondary:hover {
  background: rgba(0,0,0,0.04); box-shadow: none; transform: scale(1.02);
}

.pricing-features { margin-top: 32px; text-align: left; }
.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem; color: #1d1d1f;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: "✓"; color: var(--color-teal); margin-right: 12px; font-weight: 700;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #1D9E75, #0F6E56); padding: 80px 24px;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 32px;
}
.cta-banner .section-title { color: #fff; }
.cta-banner .gradient-text { background: none; -webkit-background-clip: unset; -webkit-text-fill-color: #fff; background-clip: unset; opacity: 0.7; }
.cta-banner .app-store-btn { background: #fff; color: #1d1d1f; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #f5f5f7; border-top: 1px solid rgba(0,0,0,0.08); padding: 48px 24px; }
.footer-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 24px; text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.footer-logo img { width: 32px; height: 32px; border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-links a { font-size: 0.875rem; color: #6e6e73; transition: color 0.25s; }
.footer-links a:hover { color: #1d1d1f; }
.footer-copy { font-size: 0.8rem; color: #86868b; }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Desktop */
@media (min-width: 1024px) {
}

@media (min-width: 768px) {
  .footer-container { flex-direction: row; justify-content: space-between; text-align: left; }
  .step-row { gap: 48px; }
  .pricing-row { flex-direction: row; }
  .pricing-card { flex: 1; }
}

@media (max-width: 767px) {
  .hero { padding: 120px 24px 60px; grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { text-align: center; padding-right: 0; }
  .hero-actions { justify-content: center; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero-phone-wrapper { margin-top: 48px; }
  .phone-mockup { width: 260px; height: 540px; border-radius: 40px; }
  .phone-screen { border-radius: 36px; padding: 44px 12px 12px; }

  .steps-section, .types-section, .screenshots-section, .features-section, .pricing-section { padding: 120px 24px; }
  .steps-section .section-title { margin-bottom: 48px; }
  .step-row { flex-direction: column; gap: 16px; }
  .step-number-large { font-size: 3rem; }

  .nav-links a:not(.btn-primary) { display: none; }

  .types-scroll { grid-template-columns: repeat(2, 1fr); }
  .type-card { height: 160px; }
  .screenshots-row { grid-template-columns: 1fr; max-width: 300px; }
  .cta-banner { padding: 60px 24px; }
}

/* ============================================
   SUPPORT PAGE STYLES
   ============================================ */

/* ---------- Legal Pages ---------- */
.legal-section { padding-top: 40px; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 0.75rem; color: #1d1d1f; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: #6e6e73; font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }
.legal-content a { color: var(--color-teal); text-decoration: underline; }
.legal-content a:hover { color: #5DCAA5; }
.legal-content strong { color: #1d1d1f; font-weight: 600; }

.chat-fallback { text-align: center; margin-top: 24px; font-size: 0.9rem; color: #86868b; }
.chat-fallback a { color: var(--color-teal); text-decoration: underline; }

/* ---------- Contact Form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.9rem; font-weight: 600; color: #1d1d1f; }
.form-input {
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px; padding: 14px 18px; font-size: 1rem;
  font-family: var(--font); color: #1d1d1f;
  transition: border-color 0.25s, box-shadow 0.25s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus { border-color: var(--color-teal); box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.15); }
.form-input::placeholder { color: #86868b; }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-select option { background: #fff; color: #1d1d1f; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--color-teal); color: #fff; border: none; border-radius: 14px;
  padding: 16px 32px; font-size: 1rem; font-weight: 700; font-family: var(--font);
  cursor: pointer; transition: background 0.25s, transform 0.2s, box-shadow 0.25s; align-self: flex-start;
}
.form-submit:hover { background: var(--color-teal-dark); transform: scale(1.02); box-shadow: 0 8px 24px rgba(29, 158, 117, 0.25); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 60px 24px; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--color-teal); color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.form-success-title { font-size: 1.5rem; font-weight: 700; }
.form-success-desc { color: #6e6e73; }
.form-error { background: rgba(226, 75, 74, 0.1); border: 1px solid rgba(226, 75, 74, 0.3); border-radius: 12px; padding: 16px 20px; color: #E24B4A; font-size: 0.9rem; }
.form-error a { color: var(--color-teal); text-decoration: underline; }

/* ---------- FAQ Accordion ---------- */
.faq-section { max-width: 800px; margin: 0 auto; padding-top: 40px; }
.faq-item { background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.active { border-left: 3px solid var(--color-teal); }
.faq-question {
  background: transparent; color: #1d1d1f; border: none; font-family: var(--font);
  width: 100%; text-align: left; padding: 24px 32px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 1rem; transition: background 0.2s; user-select: none;
}
.faq-question:hover { background: rgba(0, 0, 0, 0.03); }
.faq-chevron { transition: transform 0.3s ease; color: #86868b; flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 32px; color: #6e6e73; font-size: 0.95rem; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 24px; }
.faq-answer a { color: var(--color-teal); text-decoration: underline; }
.faq-answer a:hover { color: #5DCAA5; }

/* ---------- Chat Widget ---------- */
.chat-section { padding: 60px 24px 120px; }
.chat-container { max-width: 700px; margin: 0 auto; }
.chat-messages { height: 400px; overflow-y: auto; padding: 24px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 20px 20px 0 0; }
.chat-bubble { max-width: 80%; padding: 14px 18px; border-radius: 18px; margin-bottom: 12px; font-size: 0.95rem; line-height: 1.5; }
.chat-bubble.user { margin-left: auto; background: var(--color-teal); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.assistant { margin-right: auto; background: #f5f5f7; color: #1d1d1f; border-bottom-left-radius: 4px; }
.chat-input-area { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0 0 20px 20px; padding: 16px; }
.chat-input { flex: 1; background: transparent; border: none; color: #1d1d1f; font-size: 1rem; font-family: var(--font); outline: none; }
.chat-input:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-teal); }
.chat-input::placeholder { color: #86868b; }
.chat-send-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--color-teal); border: none; color: #fff; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; flex-shrink: 0; }
.chat-send-btn:hover { transform: scale(1.05); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chat-chip { background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 0.85rem; color: #6e6e73; cursor: pointer; transition: border-color 0.25s, color 0.25s; font-family: var(--font); }
.chat-chip:hover { border-color: var(--color-teal); color: var(--color-teal); }
.typing-indicator { display: flex; align-items: center; gap: 4px; padding: 14px 18px; max-width: 60px; }
.typing-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-text-muted); animation: pulse 1.4s infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
