
:root {
  --cream: #F6F4EE;
  --cream-2: #EDE9DD;
  --ink: #12241F;
  --green: #1F6E5C;
  --green-dark: #1A332C;
  --sage: #E4E9CD;
  --sage-text: #3A5A32;
  --muted: #40534C;
  --muted-light: #B7C6BE;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Manrope", -apple-system, BlinkMacSystemFont, Arial, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.6; }
h1, h2, h3, .font-display { font-family: "Sora", "Manrope", sans-serif; }
a { color: inherit; }

.topnote { background: var(--ink); color: var(--cream); text-align: center; font-size: 14px; padding: 10px 20px; font-weight: 500; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 64px 10px; max-width: 1280px; margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Sora"; font-weight: 800; font-size: 18px; }
.nav-brand span { font-family: "Sora"; font-weight: 700; font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { text-decoration: none; font-size: 16px; font-weight: 500; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--green); color: var(--cream) !important; padding: 12px 24px; border-radius: 100px; font-weight: 600 !important; font-size: 15px !important; opacity: 1 !important; }

.hero { max-width: 1280px; margin: 0 auto; padding: 28px 64px 100px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-block; background: var(--sage); color: var(--sage-text); padding: 8px 18px; border-radius: 100px; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 28px; }
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 800; margin-bottom: 28px; text-wrap: balance; }
.hero h1 span { color: var(--green); }
.hero-sub { font-size: 19px; color: var(--muted); margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.btn-primary { background: var(--green); color: var(--cream); padding: 18px 32px; border-radius: 100px; text-decoration: none; font-size: 17px; font-weight: 700; display: inline-block; transition: transform .15s, box-shadow .2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(31,110,92,0.5); }
.btn-ghost { background: transparent; color: var(--ink); padding: 18px 32px; border-radius: 100px; text-decoration: none; font-size: 17px; font-weight: 700; border: 2px solid rgba(18,36,31,0.15); display: inline-block; }
.btn-ghost:hover { border-color: var(--ink); }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.chat-shell { background: var(--ink); border-radius: 28px; padding: 12px; box-shadow: 0 30px 70px -20px rgba(18,36,31,0.35); }
.chat-inner { background: var(--cream); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; height: 480px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(18,36,31,0.08); }
.chat-av { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.chat-nm { font-weight: 700; font-size: 15px; }
.chat-st { font-size: 13px; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
.chat-remaining { margin-left: auto; font-size: 12px; color: var(--muted); }
.chat-remaining b { color: var(--green); }

.chat-messages { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 16px 2px; }
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { background: #cbd3cd; border-radius: 3px; }
.msg { max-width: 84%; padding: 12px 16px; font-size: 15px; line-height: 1.5; }
.msg.a { align-self: flex-start; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; }
.msg.u { align-self: flex-end; background: var(--green); color: #fff; border-radius: 16px 16px 4px 16px; }
.msg.err { align-self: center; background: #fdeaea; color: #a03535; border-radius: 12px; font-size: 14px; }
.msg a.chip, .msg button.chip { display: inline-block; background: var(--green); color: #fff; padding: 5px 12px; border-radius: 7px; font-size: 13px; font-weight: 700; text-decoration: none; margin: 2px; border: none; cursor: pointer; font-family: inherit; }
.msg button.chip:hover, .msg a.chip:hover { filter: brightness(1.08); }
.msg button.chip-lock { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.msg button.chip-lock::before { content: "🔒 "; font-size: 11px; }
.chat-hello { margin: auto; text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 30ch; padding: 20px; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 18px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(18,36,31,0.35); animation: td 1.4s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes td { 0%,60%,100% { opacity:.3; transform:translateY(0);} 30%{opacity:1;transform:translateY(-3px);} }

.chat-input { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 100px; padding: 7px 7px 7px 20px; position: relative; }
.chat-input input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 15px; color: var(--ink); background: transparent; }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--green); color: #fff; font-size: 17px; cursor: pointer; flex-shrink: 0; transition: transform .15s; }
.chat-input button:hover { transform: scale(1.08); }
.chat-input button:disabled { opacity: .5; cursor: not-allowed; }

.chat-input.hint {
  animation: inputGlow 1.4s ease-in-out infinite;
  border: 2px solid var(--green);
}
.chat-input.hint input::placeholder { color: var(--green); font-weight: 700; }
.chat-input.hint button { animation: sendPulse 1.4s ease-in-out infinite; }
@keyframes inputGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,110,92,0.55), 0 0 14px rgba(31,110,92,0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(31,110,92,0), 0 0 26px rgba(31,110,92,0.55); }
}
@keyframes sendPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(31,110,92,0.6); }
  50%      { transform: scale(1.18); box-shadow: 0 0 0 16px rgba(31,110,92,0); }
}
@media (prefers-reduced-motion: reduce) {
  .chat-input.hint, .chat-input.hint button { animation: none; }
  .chat-input.hint { box-shadow: 0 0 0 5px rgba(31,110,92,0.28); }
}

a.feature { text-decoration: none; transition: transform .15s, box-shadow .2s; }
a.feature:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.4); }

.usage-note { max-width: 720px; margin: 0 auto; padding: 90px 64px 20px; text-align: center; }
.usage-note h2 { font-size: 36px; font-weight: 800; margin: 8px 0 16px; }
.usage-note p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 60ch; margin: 0 auto; }
@media (max-width: 640px) { .usage-note { padding: 60px 20px 10px; } .usage-note h2 { font-size: 28px; } }

.features { background: var(--ink); padding: 100px 64px; }
.features-inner { max-width: 1280px; margin: 0 auto; }
.features-head { text-align: center; margin-bottom: 64px; }
.eyebrow-light { color: #8FCB9E; font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.features h2 { font-size: 40px; font-weight: 800; color: var(--cream); }

.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature { background: var(--green-dark); border-radius: 16px; padding: 22px 16px; display: flex; flex-direction: column; text-align: center; }
.feature-ico { font-size: 26px; margin-bottom: 14px; color: #8FCB9E; text-align: center; }
.feature-t { font-family: "Sora"; font-weight: 700; font-size: 15.5px; color: var(--cream); margin-bottom: 8px; }
.feature-d { font-size: 13px; line-height: 1.55; color: var(--muted-light); }

.feature-go { margin-top: auto; padding-top: 14px; font-family: "Sora"; font-weight: 700; font-size: 12px; color: #8FCB9E; letter-spacing: .3px; }
a.feature:hover .feature-go { text-decoration: underline; }

.why-free { max-width: 1280px; margin: 0 auto; padding: 110px 64px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.free-num { font-family: "Sora"; font-size: 90px; font-weight: 800; color: var(--green); line-height: 1; }
.why-free h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.why-free p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 620px; }

.pricing { max-width: 1080px; margin: 0 auto; padding: 100px 64px 40px; }
.pricing-head { text-align: center; margin-bottom: 48px; }
.pricing-head h2 { font-size: 40px; font-weight: 800; margin-bottom: 14px; }
.pricing-head p { font-size: 17px; color: var(--muted); max-width: 60ch; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; }
.price-card.featured { border: 2px solid var(--green); box-shadow: 0 20px 50px -20px rgba(31,110,92,0.35); }
.price-tag { font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.price-amount { font-family: "Sora"; font-weight: 800; font-size: 32px; color: var(--ink); margin-bottom: 22px; line-height: 1.1; }
.price-amount span { display: block; font-family: "Manrope"; font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.price-list { list-style: none; margin-bottom: 18px; }
.price-list li { font-size: 15px; color: var(--ink); padding: 8px 0 8px 26px; position: relative; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price-note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.testimonials { background: var(--cream-2); padding: 100px 64px; }
.testimonials-inner { max-width: 1280px; margin: 0 auto; }
.testimonials h2 { font-size: 40px; font-weight: 800; margin-bottom: 56px; text-align: center; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial { background: var(--cream); border-radius: 20px; padding: 32px; }
.testimonial p { font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.t-name { font-weight: 700; font-size: 15px; }
.t-place { font-size: 14px; color: var(--muted); }
.testimonials-note { text-align: center; font-size: 14px; color: rgba(64,83,76,0.6); margin-top: 32px; }

.about { max-width: 1280px; margin: 0 auto; padding: 110px 64px; display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.about-photo { width: 320px; height: 320px; border-radius: 24px; background: var(--cream-2); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 110px; opacity: .85; }
.eyebrow { color: var(--green); font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.about h2 { font-size: 34px; font-weight: 800; margin-bottom: 20px; }
.about p { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 620px; margin-bottom: 16px; }

.faq { max-width: 900px; margin: 0 auto; padding: 20px 64px 120px; }
.faq h2 { font-size: 40px; font-weight: 800; margin-bottom: 48px; text-align: center; }
.faq-item { border-top: 1px solid rgba(18,36,31,0.1); padding: 28px 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(18,36,31,0.1); }
.faq-q { font-family: "Sora"; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.faq-a { font-size: 16px; line-height: 1.6; color: var(--muted); }

.footer { background: var(--ink); padding: 64px; color: var(--muted-light); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; }
.footer-about { max-width: 480px; }
.footer-brand { font-family: "Sora"; font-weight: 700; font-size: 20px; color: var(--cream); margin-bottom: 12px; }
.footer-about p { font-size: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-h { color: var(--cream); font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: var(--muted-light); text-decoration: none; }
.footer-col a:hover { color: var(--cream); }

.gate-overlay { position: fixed; inset: 0; background: rgba(18,36,31,0.6); backdrop-filter: blur(5px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gate-box { background: var(--cream); border-radius: 22px; max-width: 440px; width: 100%; padding: 36px 32px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.gate-box h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.gate-box p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.gate-box input { width: 100%; padding: 14px 16px; border: 1px solid #d5ddd6; border-radius: 12px; font-size: 15px; font-family: inherit; outline: none; margin-bottom: 14px; }
.gate-box input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,110,92,0.15); }
.gate-btn { width: 100%; padding: 15px; border: none; border-radius: 12px; background: var(--green); color: #fff; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; transition: transform .15s; }
.gate-btn:hover { transform: translateY(-1px); }
.gate-btn:disabled { opacity: .6; cursor: not-allowed; }
.gate-close { position: absolute; }
.gate-x { float: right; background: none; border: none; font-size: 22px; color: var(--muted); cursor: pointer; margin: -12px -8px 0 0; }
.gate-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.gate-msg.ok { background: #e4f0e9; color: var(--green); }
.gate-msg.err { background: #fdeaea; color: #a03535; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.plan { border: 2px solid #d5ddd6; border-radius: 14px; padding: 18px 12px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; text-align: center; }
.plan:hover { border-color: var(--green); background: #fff; transform: translateY(-2px); }
.plan-price { font-family: "Sora"; font-weight: 800; font-size: 22px; color: var(--green); }
.plan-name { font-weight: 700; font-size: 16px; }
.plan-desc { font-size: 13px; color: var(--muted); margin-top: 3px; }

.doc-overlay { position: fixed; inset: 0; background: rgba(18,36,31,0.6); backdrop-filter: blur(4px); z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; }
.doc-box { background: #fff; border-radius: 16px; max-width: 680px; width: 100%; max-height: 85vh; display: flex; flex-direction: column; }
.doc-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #eee; }
.doc-title { font-weight: 700; color: var(--green); }
.doc-body { overflow-y: auto; padding: 20px 22px; font-size: 14.5px; line-height: 1.7; color: #333; }
.doc-body h3 { color: var(--green); margin: 16px 0 8px; font-size: 16px; }

@media (max-width: 1024px) {
  .nav, .hero, .why-free, .about, .features, .testimonials { padding-left: 32px; padding-right: 32px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing { padding-left: 32px; padding-right: 32px; }
  .why-free { grid-template-columns: 1fr; gap: 20px; }
  .free-num { font-size: 64px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { width: 100%; max-width: 320px; }
}
@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 32px 20px 60px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 17px; }
  .features, .testimonials { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .features h2, .testimonials h2, .faq h2 { font-size: 30px; }
  .why-free, .about { padding: 60px 20px; }
  .pricing { padding: 60px 20px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-head h2 { font-size: 30px; }
  .faq { padding: 20px 20px 80px; }
  .footer { padding: 40px 20px; }
  .chat-inner { height: 420px; }
}
