:root {
  --teal: #016368;
  --teal-deep: #01494D;
  --teal-light: #028A91;
  --teal-pale: #E8F5F5;
  --teal-mint: #4ECDC4;
  --accent-green: #2EB67D;
  --accent-gold: #ECB22E;
  --accent-red: #E01E5A;
  --white: #FFFFFF;
  --off-white: #F7F9F9;
  --warm-gray: #EDF1F0;
  --text: #1A2B2B;
  --text-muted: #4A6363;
  --text-light: #7A9191;
  --border: #D4DFDF;
  --font-display: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ==================== NAV ==================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 249, 249, 0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 1px 12px rgba(1,99,104,0.06); }

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--teal);
}
.nav-logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav-logo-text {
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 600; letter-spacing: -0.02em;
}

.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white) !important;
  padding: 8px 18px; border-radius: 8px;
  font-size: 0.875rem !important; font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover {
  background: var(--teal-light) !important;
  color: var(--white) !important; transform: translateY(-1px);
}
.nav-cta svg { width: 16px; height: 16px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0; border-radius: 2px; transition: all 0.3s;
}

/* ==================== HERO ==================== */
.hero {
  padding: 140px 2rem 100px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%;
  transform: translateX(-50%); width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(1,99,104,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-pale); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px 6px 8px;
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  margin-bottom: 2rem; animation: fadeUp 0.6s ease both;
}
.hero-badge-dot {
  width: 8px; height: 8px; background: var(--accent-green);
  border-radius: 50%; animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em; color: var(--teal-deep);
  max-width: 800px; margin: 0 auto 1.5rem;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.65;
  animation: fadeUp 0.6s ease 0.2s both;
}
.hero-cta-group {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--white);
  padding: 14px 28px; border-radius: 10px; text-decoration: none;
  font-size: 1rem; font-weight: 600; transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--teal-light); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,99,104,0.2);
}
.btn-primary svg { width: 20px; height: 20px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-muted);
  padding: 14px 24px; border-radius: 10px; text-decoration: none;
  font-size: 1rem; font-weight: 500; border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== DEMO ==================== */
.demo-section { padding: 0 2rem 80px; animation: fadeUp 0.6s ease 0.4s both; }
.demo-card {
  max-width: 680px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 12px 40px rgba(1,99,104,0.06);
}
.demo-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid var(--border); background: #F5F8F8;
}
.demo-header-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.demo-header-title { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }
.demo-body { padding: 24px; font-size: 0.875rem; line-height: 1.8; }
.demo-user { display: flex; gap: 12px; margin-bottom: 16px; }
.demo-avatar {
  width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem; color: var(--white);
}
.demo-avatar.user { background: #3F7EE8; }
.demo-avatar.bot { background: var(--teal); }
.demo-avatar.bot img { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.demo-msg-content { flex: 1; }
.demo-msg-name { font-weight: 700; font-size: 0.875rem; margin-bottom: 2px; }
.demo-msg-name span { font-weight: 400; font-size: 0.75rem; color: var(--text-light); margin-left: 6px; }
.demo-score { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.demo-score-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.demo-score-item .check { color: var(--accent-green); }
.demo-score-item .warn { color: var(--accent-gold); }
.demo-result-bar {
  margin-top: 16px; background: var(--teal-pale); border-radius: 8px;
  padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
}
.demo-result-score {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 700; color: var(--teal);
}
.demo-result-label { font-size: 0.8rem; color: var(--text-muted); }

/* ==================== HOW ==================== */
.how-section {
  padding: 80px 2rem; background: var(--white);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700;
  letter-spacing: -0.02em; color: var(--teal-deep); margin-bottom: 0.75rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem; max-width: 960px; margin: 0 auto;
}
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-number {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 700; margin-bottom: 1.25rem;
}
.step-card:nth-child(1) .step-number { background: var(--teal-pale); color: var(--teal); }
.step-card:nth-child(2) .step-number { background: rgba(78, 205, 196, 0.15); color: #1a8b84; }
.step-card:nth-child(3) .step-number { background: rgba(46, 182, 125, 0.12); color: #1e8c5a; }
.step-card h3 {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 600; margin-bottom: 0.6rem; color: var(--text);
}
.step-card p { color: var(--text-muted); font-size: 0.925rem; line-height: 1.6; }

/* ==================== SOURCES ==================== */
.sources-section { padding: 80px 2rem; }
.sources-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; max-width: 700px; margin: 0 auto;
}
.source-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  color: var(--text); transition: all 0.2s;
}
.source-pill:hover {
  border-color: var(--teal); transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1,99,104,0.08);
}
.source-pill .emoji { font-size: 1rem; }

/* ==================== PRICING ==================== */
.pricing-section {
  padding: 80px 2rem 100px; background: var(--white);
  border-top: 1px solid var(--border);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 960px; margin: 0 auto;
}
.pricing-card {
  border: 1px solid var(--border); border-radius: 16px;
  padding: 2.5rem 2rem; background: var(--off-white);
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 36px rgba(1,99,104,0.08);
}
.pricing-card.featured {
  border-color: var(--teal); background: var(--white);
  box-shadow: 0 4px 24px rgba(1,99,104,0.1);
}
.pricing-card.featured::before {
  content: 'Most popular'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: var(--teal); color: var(--white);
  padding: 4px 16px; border-radius: 100px; font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.pricing-tier {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 600; color: var(--teal-deep); margin-bottom: 0.5rem;
}
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 0.5rem; }
.pricing-amount {
  font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 700; color: var(--text); letter-spacing: -0.03em;
}
.pricing-period { font-size: 0.85rem; color: var(--text-light); }
.pricing-desc {
  font-size: 0.875rem; color: var(--text-muted);
  margin-bottom: 1.75rem; line-height: 1.5;
}
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--text); padding: 6px 0;
}
.pricing-features li::before {
  content: '\2713'; color: var(--teal-mint); font-weight: 700;
  font-size: 0.8rem; margin-top: 2px; flex-shrink: 0;
}
.pricing-btn {
  display: block; width: 100%; text-align: center;
  padding: 12px 20px; border-radius: 10px; font-size: 0.925rem;
  font-weight: 600; text-decoration: none; transition: all 0.2s;
  border: none; cursor: pointer;
}
.pricing-btn.primary { background: var(--teal); color: var(--white); }
.pricing-btn.primary:hover { background: var(--teal-light); transform: translateY(-1px); }
.pricing-btn.outline {
  background: transparent; color: var(--teal); border: 1px solid var(--border);
}
.pricing-btn.outline:hover { border-color: var(--teal); }
.pricing-note {
  text-align: center; margin-top: 2rem; font-size: 0.85rem; color: var(--text-light);
}

/* ==================== TRUST ==================== */
.trust-section { padding: 60px 2rem; border-top: 1px solid var(--border); }
.trust-inner {
  max-width: 800px; margin: 0 auto; display: flex;
  align-items: center; justify-content: center; flex-wrap: wrap; gap: 2.5rem;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
}
.trust-item svg { width: 20px; height: 20px; color: var(--teal); opacity: 0.6; }

/* ==================== FOOTER ==================== */
footer {
  padding: 48px 2rem; border-top: 1px solid var(--border); background: var(--off-white);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; display: flex;
  align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .nav-logo { margin-bottom: 4px; }
.footer-tagline {
  font-size: 0.8rem; color: var(--text-light); max-width: 260px; line-height: 1.5;
}
.footer-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--text-light); margin-top: 4px;
}
.footer-location svg { width: 14px; height: 14px; opacity: 0.5; }
.footer-links { display: flex; gap: 3rem; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  text-decoration: none; color: var(--text-light); font-size: 0.85rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--border); display: flex;
  align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-light);
}

/* ==================== SUPPORT PAGE ==================== */
.page-header { padding: 120px 2rem 60px; text-align: center; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.02em; color: var(--teal-deep); margin-bottom: 0.75rem;
}
.page-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

.faq-section { padding: 0 2rem 80px; max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px;
  background: var(--white); overflow: hidden; transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: 0 2px 8px rgba(1,99,104,0.05); }
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 24px;
  text-align: left; font-family: var(--font-body); font-size: 0.95rem;
  font-weight: 600; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-question::after {
  content: '+'; font-size: 1.2rem; color: var(--text-light);
  transition: transform 0.2s; flex-shrink: 0;
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer {
  display: none; padding: 0 24px 20px;
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.65;
}
.faq-item.open .faq-answer { display: block; }

.contact-card { max-width: 720px; margin: 0 auto 80px; padding: 0 2rem; }
.contact-card-inner {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 3rem; text-align: center;
}
.contact-card-inner h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 600; margin-bottom: 0.75rem; color: var(--text);
}
.contact-card-inner p {
  color: var(--text-muted); font-size: 0.925rem;
  margin-bottom: 1.5rem; line-height: 1.6;
}
.contact-email-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  padding: 12px 24px; border-radius: 10px; text-decoration: none;
  font-size: 0.925rem; font-weight: 600; transition: all 0.2s;
}
.contact-email-btn:hover { background: var(--teal-light); transform: translateY(-1px); }
.contact-email-btn svg { width: 18px; height: 18px; }

/* ==================== PRIVACY PAGE ==================== */
.privacy-content { padding: 0 2rem 80px; max-width: 720px; margin: 0 auto; }
.privacy-content h2 {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 600; color: var(--text); margin: 2.5rem 0 0.75rem;
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p {
  color: var(--text-muted); font-size: 0.925rem; line-height: 1.7; margin-bottom: 1rem;
}
.privacy-content ul {
  margin: 0.5rem 0 1rem 1.5rem; color: var(--text-muted);
  font-size: 0.925rem; line-height: 1.7;
}
.privacy-content li { margin-bottom: 0.4rem; }
.privacy-updated { font-size: 0.8rem; color: var(--text-light); margin-bottom: 2rem; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--off-white);
    border-bottom: 1px solid var(--border); padding: 1rem 2rem 1.5rem; gap: 0.75rem;
  }
  .hamburger { display: block; }
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .trust-inner { gap: 1.5rem; }
  .demo-score { flex-direction: column; }
}
