/* arova.ro — the presentation site (RO + EN share this file) */
:root {
  --navy: #0e2f50;
  --navy-2: #163c63;
  --green: #128c7e;
  --green-dark: #0d6d62;
  --gold: #d4a13a;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --text: #1a1d23;
  --muted: #5f6673;
  --border: #e2e5ea;
  --accent: #eef7f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 12px; }
.section { padding: 76px 0; }
.section--white { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--green-dark); margin: 0 0 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; white-space: nowrap; }
.btn--main { background: var(--gold); color: var(--navy); }
.btn--main:hover { background: #e2b24d; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--line { border-color: var(--green); color: var(--green-dark); background: #fff; }
.btn--line:hover { background: var(--accent); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--navy); text-decoration: none; letter-spacing: 0.02em; }
.brand img { width: 32px; height: 32px; }
.bar nav { display: flex; gap: 18px; align-items: center; font-size: 0.94rem; }
.bar nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.bar nav a:hover { color: var(--navy); }
.bar nav .btn { padding: 8px 14px; font-size: 0.9rem; }
.bar nav .btn--green { color: #fff; }
.bar nav .login { color: var(--navy); font-weight: 600; }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; font-size: 0.8rem; font-weight: 700; }
.lang a, .lang span { padding: 5px 9px; }
.lang span { background: var(--navy); color: #fff; }
.lang a:hover { background: var(--bg); }
@media (max-width: 960px) { .bar nav .link { display: none; } }
@media (max-width: 520px) { .bar nav .login { display: none; } .bar nav { gap: 10px; } .brand span { display: none; } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy) url("img/villa.jpg") center 40% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 47, 80, 0.86) 0%, rgba(14, 47, 80, 0.94) 100%); }
.hero .wrap { position: relative; padding-top: 76px; padding-bottom: 64px; text-align: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin: 0 auto 18px; max-width: 860px; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 740px; margin: 0 auto 30px; color: rgba(255, 255, 255, 0.9); }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.hero__note { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; margin: 0 0 44px; }
.video { max-width: 980px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(8, 25, 43, 0.4); background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; }
.video-note { color: rgba(255, 255, 255, 0.7); font-size: 0.86rem; margin: 14px 0 0; }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.highlight { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.highlight .icon { font-size: 1.5rem; margin-bottom: 6px; }
.highlight b { display: block; font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.highlight span { color: var(--muted); font-size: 0.93rem; }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.stat b { display: block; font-size: 2rem; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.stat--win b { color: var(--green-dark); }
.stat span { color: var(--muted); font-size: 0.92rem; }
.stats-note { text-align: center; color: var(--muted); margin: 24px auto 0; max-width: 760px; font-size: 0.95rem; }

/* Features */
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; margin: 7px 0; color: #333a45; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* Everything else */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; background: var(--bg); }
.card h4 { margin: 0 0 6px; font-size: 1rem; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.more-link { text-align: center; margin: 30px 0 0; font-weight: 700; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.plan { background: var(--panel); border: 2px solid var(--green); border-radius: 18px; padding: 30px; box-shadow: 0 18px 48px rgba(14, 47, 80, 0.12); position: relative; }
.plan__badge { position: absolute; top: -14px; left: 30px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 6px 0 4px; font-size: 1.3rem; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; color: var(--navy); }
.plan__price b { font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--muted); font-size: 1rem; }
.plan__vat { color: var(--muted); font-size: 0.88rem; margin: 0 0 18px; }
.plan__trial { background: var(--accent); color: var(--green-dark); font-weight: 700; border-radius: 10px; padding: 10px 14px; margin: 0 0 20px; }
.plan .btn { width: 100%; }
.plan__small { color: var(--muted); font-size: 0.86rem; margin: 12px 0 0; text-align: center; }
.included { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 26px 30px; }
.included h3 { margin: 0 0 12px; font-size: 1.15rem; }
.included .ticks { columns: 2 220px; column-gap: 24px; }
.included .ticks li { break-inside: avoid; margin: 0 0 8px; }
.extras { margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); }
.extras p { margin: 0 0 8px; color: #333a45; font-size: 0.95rem; }

/* Demo */
.demo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.demo a.card { text-decoration: none; display: block; background: var(--panel); transition: box-shadow 0.15s; }
.demo a.card:hover { box-shadow: 0 10px 30px rgba(14, 47, 80, 0.12); }
.demo .card .icon { font-size: 1.6rem; margin-bottom: 6px; }
.demo .card span.go { display: inline-block; margin-top: 10px; color: var(--green-dark); font-weight: 700; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.4rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: #333a45; }

/* Closing call */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.82); margin: 0 auto 24px; max-width: 640px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__contact { margin: 26px 0 0; font-size: 0.95rem; }
.cta__contact a { color: #fff; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 0.86rem; text-align: center; }
footer .brand { justify-content: center; margin-bottom: 10px; }
footer p { margin: 4px 0; }
footer nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }

@media (max-width: 960px) {
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights, .cards, .demo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .section { padding: 54px 0; }
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 52px; }
  .highlights, .cards, .demo, .stats { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px 20px; }
  .included { padding: 22px 20px; }
  .btn { white-space: normal; }
}

/* Comparison */
.legend { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 0.88rem; margin: 0 0 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.d { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; }
.d.y { background: var(--green); }
.d.p { background: linear-gradient(90deg, #d99a1e 50%, #f3dfb4 50%); }
.d.n { background: #fff; border: 1.5px solid #c9ced6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 14px; }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.93rem; background: var(--panel); }
.matrix th, .matrix td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.matrix th { background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 600; line-height: 1.25; }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix th.arova { background: var(--green); font-size: 0.95rem; }
.matrix td.arova { background: var(--accent); }
.matrix tr.group td { background: var(--bg); font-weight: 700; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.matrix tbody tr:last-child td { border-bottom: none; }
.compare-note { color: var(--muted); font-size: 0.86rem; margin: 14px 0 0; }
.cost-h { text-align: center; margin: 56px 0 6px; font-size: 1.35rem; }
.cost-lead { text-align: center; color: var(--muted); margin: 0 0 22px; }
.costs { max-width: 900px; margin: 0 auto; }
.cost { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) 130px; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cost__label b { display: block; color: var(--navy); font-size: 0.95rem; }
.cost__label small { color: var(--muted); }
.cost__track { background: #eef0f3; height: 16px; border-radius: 4px; position: relative; overflow: hidden; }
.cost__fill { position: absolute; inset: 0 auto 0 0; background: var(--navy); opacity: 0.75; border-radius: 4px; }
.cost__price { font-weight: 700; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.cost--arova .cost__fill { background: var(--green); opacity: 1; }
.cost--arova .cost__label b, .cost--arova .cost__price { color: var(--green-dark); }
.cost--arova { border-bottom: none; background: var(--accent); border-radius: 10px; padding: 12px; margin-top: 6px; }
@media (max-width: 700px) {
  .cost { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .cost__track { grid-column: 1 / -1; grid-row: 2; }
}

/* Demo call */
.demo-call { max-width: 720px; margin: 28px auto 0; background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 14px; padding: 18px 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.demo-call p { margin: 0; color: #333a45; flex: 1 1 300px; }
@media (max-width: 600px) {
  .matrix { min-width: 0; font-size: 0.8rem; }
  .matrix th, .matrix td { padding: 7px 5px; }
  .matrix th { font-size: 0.7rem; hyphens: auto; }
  .matrix th:first-child, .matrix td:first-child { padding-left: 8px; }
  .d { width: 12px; height: 12px; }
}
.plan__extra { color: var(--navy); font-weight: 600; margin: 6px 0 2px; }

/* Shop */
.bar .count:not(:empty) { background: #fff; color: var(--green-dark); border-radius: 999px; padding: 0 7px; font-size: 0.8rem; margin-left: 4px; }
.shop-head { background: var(--navy); color: #fff; }
.shop-head .wrap { padding-top: 56px; padding-bottom: 44px; }
.shop-head .eyebrow { color: var(--gold); }
.shop-head h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 12px; }
.shop-head .lead { color: rgba(255, 255, 255, 0.88); max-width: 720px; margin: 0 0 18px; font-size: 1.08rem; }
.shop-facts { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.shop-facts li { color: rgba(255, 255, 255, 0.9); margin: 0; }
.shop-facts li::before { color: var(--gold); }
.shop-main { padding-top: 40px; }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 12px; border-bottom: 1px solid var(--border); }
.product__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product h3 { margin: 0 0 4px; font-size: 1.05rem; }
.product__price { font-size: 1.35rem; font-weight: 700; color: var(--green-dark); margin: 0 0 8px; }
.product p { margin: 0 0 10px; color: #333a45; font-size: 0.92rem; }
.product .product__needs { color: var(--muted); font-size: 0.85rem; background: var(--bg); border-radius: 8px; padding: 6px 10px; }
.product__out { color: #b42318 !important; font-weight: 600; }
.product .add, .product .qty { margin-top: auto; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--green); border-radius: 10px; overflow: hidden; align-self: flex-start; }
.qty button { background: var(--accent); border: none; width: 40px; height: 40px; font-size: 1.2rem; color: var(--green-dark); cursor: pointer; }
.qty span { min-width: 44px; text-align: center; font-weight: 700; }
.order { position: sticky; top: 78px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 14px 40px rgba(14, 47, 80, 0.1); max-height: calc(100vh - 96px); overflow: auto; }
.order h2 { font-size: 1.25rem; margin: 0 0 12px; }
.order h3 { font-size: 1.05rem; margin: 18px 0 10px; }
.muted { color: var(--muted); }
.for-property { background: var(--accent); color: var(--green-dark); border-radius: 8px; padding: 8px 12px; font-size: 0.9rem; font-weight: 600; }
.cart__lines { list-style: none; margin: 0; padding: 0; }
.cart__lines li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.cart__lines b { white-space: nowrap; }
.auto { font-style: normal; font-size: 0.72rem; background: var(--bg); color: var(--muted); border-radius: 999px; padding: 1px 7px; }
.cart__ship, .cart__vat { color: var(--muted); font-size: 0.85rem; margin: 6px 0 0; }
.cart__total { display: flex; justify-content: space-between; font-size: 1.15rem; color: var(--navy); margin-top: 10px; }
.cart__have { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; margin-top: 10px; color: #333a45; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; font-weight: 600; color: #4a5361; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea { padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-weight: 400; min-width: 0; }
.order-form .btn { width: 100%; margin-top: 14px; border: none; cursor: pointer; font: inherit; font-weight: 700; }
.form__small { color: var(--muted); font-size: 0.82rem; margin: 8px 0 0; text-align: center; }
.form__msg { font-weight: 600; margin: 8px 0 0; }
.form__error { color: #b42318; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.done { background: var(--accent); border-radius: 12px; padding: 14px 16px; margin: 10px 0; }
.done h3 { margin: 0 0 6px; color: var(--green-dark); }
.done p { margin: 0; }
@media (max-width: 1000px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
  .order { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .products, .form-grid { grid-template-columns: minmax(0, 1fr); }
}
/* The order form stays inside its panel */
.order { overflow-x: hidden; }
.form-grid > * { min-width: 0; }
.form-grid input, .form-grid textarea { width: 100%; box-sizing: border-box; }
.form-grid .full { grid-column: 1 / -1; }
.cui-row { display: flex; gap: 8px; align-items: flex-end; }
.cui-row label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; font-weight: 600; color: #4a5361; }
.anaf-btn { padding: 8px 12px; font-size: 0.85rem; flex: none; cursor: pointer; font-family: inherit; }
.anaf-msg { margin: -4px 0 0; font-size: 0.82rem; min-height: 0; }
.anaf-msg:empty { display: none; }
.anaf-msg.ok { color: var(--green-dark); }
.anaf-msg.bad { color: #b42318; }
.order-form .anaf-btn { width: auto; margin-top: 0; border: 2px solid var(--green); padding: 9px 12px; white-space: nowrap; }

/* Everything Arova does (the list from /demo) */
.all__grid { columns: 3 300px; column-gap: 20px; }
.all__group { break-inside: avoid; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px 10px; margin: 0 0 20px; }
.all__group h3 { margin: 0 0 8px; font-size: 1rem; color: var(--green-dark); }
.all__group ol { margin: 0; padding-left: 2.2em; }
.all__group li { margin: 0 0 6px; font-size: 0.92rem; line-height: 1.4; color: #333a45; }
.all__group li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.all__group summary { list-style: none; cursor: pointer; }
.all__group summary::-webkit-details-marker { display: none; }
@media (max-width: 700px) {
  .all__group { padding-bottom: 12px; margin-bottom: 10px; }
  .all__group h3 { margin: 0; position: relative; padding-right: 24px; }
  .all__group summary h3::after { content: "+"; position: absolute; right: 0; top: -3px; font-size: 1.3rem; color: var(--green); font-weight: 400; }
  .all__group[open] summary h3::after { content: "−"; }
  .all__group[open] h3 { margin-bottom: 8px; }
}

/* The demo login form (was on /demo) */
.demo-form { max-width: 720px; margin: 22px auto 0; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.demo-form h3 { margin: 0 0 4px; }
.demo-form > p { margin: 0 0 14px; color: var(--muted); }
.demo-form .btn { margin-top: 14px; width: 100%; border: none; cursor: pointer; font: inherit; font-weight: 700; }
.form__ok { color: var(--green-dark); font-weight: 600; }

/* "Ce face Arova" runs straight into the first feature section (from /demo) */
#features { padding-bottom: 0; }
#features .section__head { margin-bottom: 0; }
.dm > .feature:first-child { padding-top: 40px; }
/* Jumps to a section (#try, #pricing…) land below the sticky top bar */
html { scroll-padding-top: 84px; }
