/* =========================================================================
   Houzez Tools — marketing site
   Plain CSS design system. One accent + neutrals, lots of whitespace.
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* color */
  --accent:        #4f46e5;   /* indigo  */
  --accent-dark:   #4338ca;
  --accent-soft:   #eef2ff;
  --accent-2:      #10b981;   /* emerald (secondary / "free" ticks) */
  --ink:           #0f172a;   /* slate-900 headings */
  --body:          #475569;   /* slate-600 body text */
  --muted:         #94a3b8;   /* slate-400 */
  --line:          #e2e8f0;   /* borders */
  --bg:            #ffffff;
  --bg-soft:       #f8fafc;   /* section alt bg */
  --bg-ink:        #0b1020;   /* dark CTA band */
  --white:         #ffffff;

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  /* shape */
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 40px rgba(79,70,229,.18);

  /* layout */
  --maxw: 1120px;
}

/* ---- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.18rem; }
p  { color: var(--body); }
strong { color: var(--ink); }

/* ---- Layout helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section   { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section__head p { margin-top: 14px; font-size: 1.08rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.center { text-align: center; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer;
  padding: 13px 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow-lg); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn--light:hover { background: rgba(255,255,255,.2); color:#fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--body); font-weight: 600; font-size: .96rem; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--ink);
}
.nav__toggle svg { width: 26px; height: 26px; }

/* ---- Hero ------------------------------------------------------------- */
.hero { padding: 76px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 1.18rem; max-width: 540px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__art {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft);
  box-shadow: var(--shadow); overflow: hidden;
}
/* faux schema/browser mock */
.mock { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background:#fff; }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.mock__bar i:nth-child(1){ background:#fca5a5;} .mock__bar i:nth-child(2){ background:#fcd34d;} .mock__bar i:nth-child(3){ background:#86efac;}
.mock__body { padding: 18px 20px; color: #64748b; line-height: 1.75; }
.mock__body .k { color: var(--accent); }
.mock__body .s { color: #0f766e; }
.mock__pill {
  display:inline-block; margin-top:14px; padding:6px 12px; border-radius:999px;
  background: var(--accent-soft); color: var(--accent-dark); font-weight:700; font-size:.78rem;
  font-family: var(--font);
}

/* ---- Logo strip ------------------------------------------------------- */
.proof { padding: 30px 0; border-bottom: 1px solid var(--line); }
.proof p { text-align: center; color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.proof__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; color: var(--muted); font-weight: 800; font-size: 1.1rem; opacity: .8; }

/* ---- Cards (plugins / features) -------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .92rem; }
.card--muted { background: var(--bg-soft); }
.card--soon { opacity: .72; }
.tag-soon { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing:.06em; color: var(--muted); border:1px solid var(--line); padding:2px 8px; border-radius:999px; margin-left:8px; }

/* ---- Feature rows (alternating) -------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 26px 0; }
.feature:nth-child(even) .feature__media { order: -1; }
.feature h3 { font-size: 1.5rem; margin-bottom: 12px; }
.feature ul.checks { margin-top: 16px; }
.feature__media {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; min-height: 200px; display:grid; place-items:center;
}

/* checks list */
.checks li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--body); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---- Pricing ---------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; max-width: 980px; margin: 0 auto; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.plan--featured {
  border-color: var(--accent); box-shadow: var(--shadow-lg); position: relative;
}
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.plan__price { margin: 14px 0 4px; }
.plan__price b { font-size: 2.3rem; color: var(--ink); letter-spacing: -.03em; }
.plan__price span { color: var(--muted); font-weight: 600; font-size: .92rem; }
.plan__for { color: var(--body); font-size: .9rem; min-height: 40px; }
.plan__cta { margin: 18px 0; }
.plan ul.checks { margin-top: 4px; }
.plan ul.checks li { font-size: .92rem; margin-bottom: 9px; }
.note { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 26px; }

/* compare table */
.compare { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { color: var(--ink); font-weight: 700; }
.compare td.c, .compare th.c { text-align: center; }
.compare tbody tr:hover { background: var(--bg-soft); }
.yes { color: var(--accent-2); font-weight: 800; }
.no  { color: var(--muted); }

/* ---- FAQ -------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; font: inherit;
  font-weight: 700; color: var(--ink); font-size: 1.05rem; text-align: left;
  padding: 20px 40px 20px 0; position: relative;
}
.faq__q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .2s;
}
.faq__item.open .faq__q::after { content: "–"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a p { padding: 0 0 20px; font-size: .98rem; }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { background: var(--bg-ink); color: #cbd5e1; border-radius: 20px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #cbd5e1; max-width: 520px; margin: 0 auto 26px; }
.cta-band .btn--primary { box-shadow: 0 12px 40px rgba(79,70,229,.45); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand p { font-size: .92rem; margin-top: 12px; max-width: 280px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--body); font-size: .94rem; font-weight: 500; }
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .86rem;
}

/* ---- Legal / prose pages --------------------------------------------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h1 { margin-bottom: 10px; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.prose h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ul li { margin-bottom: 8px; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { order: -1; }
  .grid-3, .pricing { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 4px; align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 22px 20px;
  }
  .nav.open .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .grid-3, .grid-2, .pricing, .footer__grid { grid-template-columns: 1fr; }
  .compare { font-size: .85rem; }
  .compare th, .compare td { padding: 10px 8px; }
}

/* =========================================================================
   Easy Delivery Date — theme overrides (teal accent) + extras
   ========================================================================= */
:root {
  --accent:      #0d9488;   /* teal-600 */
  --accent-dark: #0f766e;   /* teal-700 */
  --accent-soft: #f0fdfa;   /* teal-50  */
  --shadow-lg:   0 12px 40px rgba(13,148,136,.18);
}

/* language toggle in header */
.lang-toggle { display:inline-flex; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.lang-toggle button {
  border:0; background:transparent; cursor:pointer; font:inherit; font-weight:700;
  padding:6px 12px; color:var(--muted); line-height:1;
}
.lang-toggle button.is-active { background:var(--accent); color:#fff; }

/* bilingual blocks (used on legal pages) */
html[data-lang="en"] [data-only="vi"],
html[data-lang="vi"] [data-only="en"] { display:none; }

/* screenshot frames */
.shot { border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; background:#fff; }
.shot img { width:100%; height:auto; }
.shot__cap { font-size:.9rem; color:var(--muted); padding:10px 14px; border-top:1px solid var(--line); }
.gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; }

/* hero screenshot */
.hero__shot { border-radius:var(--radius); box-shadow:var(--shadow-lg); border:1px solid var(--line); overflow:hidden; }
.hero__shot img { width:100%; height:auto; }

/* small helpers */
.badge { display:inline-block; background:var(--accent-soft); color:var(--accent-dark); font-weight:700; font-size:.8rem; padding:3px 10px; border-radius:999px; }
.center { text-align:center; }
