/* ================================================================
   assets/css/style.css  —  Public site + auth pages
================================================================ */

:root {
  --green:      #1a7a4a;
  --green-dark: #0f4f2e;
  --green-lt:   #25a863;
  --accent:     #f59e0b;
  --surface:    #f8fafb;
  --border:     #e2e8f0;
  --text:       #1a202c;
  --muted:      #64748b;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
}

/* ── Fonts ──────────────────────────────────────────────────── */
body { font-family: 'DM Sans', sans-serif; color: var(--text); }
h1,h2,h3,h4,h5,.dvc-logo { font-family: 'Syne', sans-serif; }

/* ── Navbar ─────────────────────────────────────────────────── */
.dvc-navbar  { background: var(--green-dark) !important; }
.dvc-navbar .nav-link        { color: #9ecfb5 !important; border-radius: 8px; transition: .2s; }
.dvc-navbar .nav-link:hover,
.dvc-navbar .nav-link.active { color: #fff !important; background: rgba(255,255,255,.12); }
.dvc-logo    { color: #fff !important; font-weight: 800; font-size: 20px; letter-spacing: -.5px; text-decoration: none; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero-section { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, #2ecc71 100%); }
.hero-badge   { display: inline-block; background: rgba(255,255,255,.15); color: #fff;
                border-radius: 20px; padding: 5px 16px; font-size: 13px; font-weight: 500; }
.hero-title   { font-size: clamp(30px,5vw,56px); color: #fff; line-height: 1.15; }
.hero-sub     { font-size: 17px; color: rgba(255,255,255,.85); max-width: 560px; margin-top: 12px; }

/* Mini preview cards */
.hero-cards-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-mini-card { background: #fff; border-radius: 16px; overflow: hidden; width: 190px;
                  box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.mini-card-head { padding: 16px 12px 12px; text-align: center; }
.mini-avatar    { width: 42px; height: 42px; border-radius: 50%; background: #fff;
                  margin: 0 auto 8px; display: flex; align-items: center; justify-content: center;
                  font-weight: 700; font-size: 16px; font-family: 'Syne',sans-serif; }
.mini-name      { color: #fff; font-size: 13px; font-weight: 700; font-family: 'Syne',sans-serif; }
.mini-role      { color: rgba(255,255,255,.75); font-size: 11px; }
.mini-btns      { display: flex; gap: 6px; justify-content: center; padding: 10px; }
.mini-btn       { width: 28px; height: 28px; border-radius: 50%; display: flex;
                  align-items: center; justify-content: center; font-size: 12px; color: #fff; cursor: pointer; }

/* ── Section styles ─────────────────────────────────────────── */
.section-badge  { display: inline-block; font-size: 13px; font-weight: 600; color: var(--green);
                  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-title  { font-size: clamp(22px,3vw,36px); font-weight: 800; }

/* Feature cards */
.feature-card   { background: var(--surface); border-radius: var(--radius); padding: 24px;
                  border: 1px solid var(--border); transition: .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon   { width: 48px; height: 48px; border-radius: 12px; background: var(--green);
                  display: flex; align-items: center; justify-content: center;
                  color: #fff; font-size: 20px; }

/* Testimonial cards */
.testi-card     { background: var(--surface); border-radius: var(--radius); padding: 28px;
                  border: 1px solid var(--border); }
.testi-text     { font-style: italic; color: var(--text); line-height: 1.7; font-size: 15px; }
.testi-avatar   { width: 40px; height: 40px; border-radius: 50%;
                  display: flex; align-items: center; justify-content: center;
                  color: #fff; font-weight: 700; font-size: 15px; font-family: 'Syne',sans-serif; }

/* Pricing */
.pricing-card   { background: #fff; border-radius: 16px; border: 1.5px solid var(--border);
                  padding: 36px; position: relative; transition: .2s; }
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.popular { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,122,74,.12); }
.popular-badge  { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
                  background: var(--green); color: #fff; font-size: 12px; font-weight: 600;
                  padding: 5px 18px; border-radius: 20px; white-space: nowrap; }
.plan-name      { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.plan-price     { font-family: 'Syne',sans-serif; font-size: 42px; font-weight: 800; line-height: 1; }
.plan-price sup { font-size: 20px; vertical-align: super; }
.plan-period    { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan-features li { font-size: 14px; padding: 5px 0; border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border: none; }

/* CTA banner */
.cta-section  { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.inner-hero   { background: linear-gradient(135deg, var(--green-dark), var(--green)); }

/* Contact page */
.contact-icon-box { width: 46px; height: 46px; border-radius: 10px;
                    display: flex; align-items: center; justify-content: center;
                    font-size: 18px; flex-shrink: 0; }
.map-placeholder  { background: linear-gradient(135deg,#e8f5e9,#c8e6c9);
                    height: 200px; border-radius: var(--radius); }
.contact-form-box { background: var(--surface); border-radius: 16px; border: 1px solid var(--border); }

/* ── Auth pages ─────────────────────────────────────────────── */
.auth-bg    { background: linear-gradient(135deg,#f0faf4,#e8f5e9); }
.auth-card  { background: #fff; border-radius: 20px; padding: 40px;
              max-width: 440px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.1); }

/* Password strength */
.strength-seg { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: .3s; }

/* ── Footer ─────────────────────────────────────────────────── */
.dvc-footer { background: var(--green-dark); color: #cfe8d6; padding: 48px 0 0; }
.dvc-footer a.text-muted:hover { color: #fff !important; }

/* ── Utilities ──────────────────────────────────────────────── */
.toast-dvc { position: fixed; bottom: 20px; right: 20px; background: #1a202c; color: #fff;
             padding: 12px 22px; border-radius: 10px; font-size: 14px; z-index: 9999;
             opacity: 0; transform: translateY(20px); transition: .3s; pointer-events: none; }
.toast-dvc.show { opacity: 1; transform: translateY(0); }
