/* QuestNest landing — mobile-first marketing page */
:root {
  --teal: #14b8a6; --teal-d: #0e8d80; --coral: #ff6b5e; --gold: #ffc93c;
  --indigo: #2d2a5e; --ink: #33305e; --bg: #f4f7fb; --line: #e5e9f2;
  --r: 20px; --shadow: 0 6px 20px rgba(45, 42, 94, .10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Baloo 2", "Nunito", "Trebuchet MS", ui-rounded, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; }
section, header.hero { max-width: 1060px; margin: 0 auto; padding: 48px 20px; }
h2 { font-size: 1.7rem; color: var(--indigo); text-align: center; margin-bottom: 8px; }

/* nav */
nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background: rgba(244, 247, 251, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--indigo); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.navlinks { display: flex; align-items: center; gap: 16px; }
.navlinks a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; }
.navlinks a.cta { background: var(--indigo); color: #fff; padding: 8px 16px; border-radius: 999px; }
#lang-sel { font: inherit; font-weight: 700; font-size: .85rem; padding: 6px 8px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
@media (max-width: 640px) { .navlinks a:not(.cta) { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding-top: 56px; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; text-align: center; } .hero-btns { justify-content: center; } }
.pill { display: inline-block; background: #e6f7f5; color: var(--teal-d); font-weight: 800; font-size: .78rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; color: var(--indigo); }
.hero h1 em { font-style: normal; color: var(--teal-d); }
.hero p { margin: 16px 0 20px; font-size: 1.05rem; line-height: 1.55; max-width: 480px; }
@media (max-width: 800px) { .hero p { margin-inline: auto; } }
.hero-btns { display: flex; gap: 12px; margin-bottom: 10px; }
.hero small { opacity: .7; font-weight: 700; }
.hero-art { border-radius: var(--r); box-shadow: var(--shadow); }
.btn { display: inline-block; background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; font-weight: 800; text-decoration: none; padding: 13px 26px; border-radius: 999px; box-shadow: var(--shadow); font-size: 1rem; }
.btn.ghost { background: #fff; color: var(--teal-d); border: 2px solid var(--teal); box-shadow: none; }

/* strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 0; }
@media (max-width: 800px) { .strip { grid-template-columns: repeat(2, 1fr); } }
.strip div { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px; }
.strip b { font-size: .95rem; } .strip span { font-size: .78rem; opacity: .75; }

/* how */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); position: relative; }
.step i { position: absolute; top: -14px; left: 20px; font-style: normal; background: var(--coral); color: #fff; font-weight: 800; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step img { height: 110px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.step h3 { color: var(--indigo); margin-bottom: 6px; }
.step p { font-size: .9rem; line-height: 1.5; opacity: .85; }

/* features */
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
@media (max-width: 800px) { .features .grid { grid-template-columns: 1fr; } }
.feat { background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.feat b { display: block; margin-bottom: 6px; font-size: 1rem; color: var(--indigo); }
.feat p { font-size: .88rem; line-height: 1.5; opacity: .85; }

/* pricing */
.pricing { text-align: center; }
.pricing .sub { opacity: .75; font-weight: 700; margin-bottom: 20px; }
.controls { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.toggle { display: inline-flex; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 4px; }
.toggle button { border: 0; background: none; font: inherit; font-weight: 800; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.toggle button.on { background: var(--indigo); color: #fff; }
.toggle .save { font-size: .68rem; background: var(--gold); color: #4a3800; border-radius: 999px; padding: 2px 7px; margin-left: 4px; }
.curr { font-weight: 800; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; }
.curr select { font: inherit; font-weight: 700; padding: 8px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 18px; justify-content: center; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border-radius: 24px; padding: 26px 22px; box-shadow: var(--shadow); text-align: left; position: relative; display: flex; flex-direction: column; gap: 8px; }
.plan.best { border: 3px solid var(--teal); }
.plan .flag { position: absolute; top: -14px; right: 18px; background: var(--coral); color: #fff; font-weight: 800; font-size: .72rem; padding: 5px 12px; border-radius: 999px; }
.plan h3 { color: var(--indigo); font-size: 1.15rem; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--teal-d); }
.per { opacity: .7; font-weight: 700; font-size: .85rem; margin-top: -6px; }
.plan ul { list-style: none; margin: 8px 0 14px; display: flex; flex-direction: column; gap: 7px; font-size: .92rem; }
.plan .btn { text-align: center; }
.fine { font-size: .74rem; opacity: .65; }
.fine.center { text-align: center; display: block; margin-top: 16px; }

/* faq */
.faq { max-width: 720px; }
.faq details { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); margin-top: 12px; }
.faq summary { font-weight: 800; cursor: pointer; color: var(--indigo); }
.faq p { margin-top: 10px; font-size: .92rem; line-height: 1.55; opacity: .85; }

/* footer */
footer { text-align: center; padding: 40px 20px 60px; }
footer img { width: 74px; }
footer a { color: var(--teal-d); }
