/* ===== eFatura.online — /new · blue + white brand (Manrope / Cormorant) ===== */

:root {
  --bg: #ffffff;
  --bg-2: #F5F8FF;
  --ink: #0A1B33;
  --muted: #4B5B74;
  --line: #E2E8F0;
  --accent: #2563EB;
  --accent-deep: #1D4ED8;
  --sky: #EAF1FE;
  --sky-2: #DBEAFE;
  --violet: #7C3AED;
  --violet-2: #A855F7;
  --success: #16A34A;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --radius: 16px;
  --pad: clamp(1rem, 3vw, 2rem);
  --section: clamp(4.5rem, 8vw, 7rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.center { text-align: center; max-width: 720px; margin-inline: auto; }

.kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
.sub { color: var(--muted); margin-top: 0.8rem; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 50px;
  padding: 0 1.7em;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 10px 24px -12px rgba(37, 99, 235, 0.5);
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: #fff; }

.link-btn {
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: color 0.16s ease;
}
.link-btn:hover { color: var(--accent); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px var(--pad);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.wordmark .logo-img { height: 44px; width: auto; display: block; }
.wordmark .dot { color: var(--accent); }
.nav-links { display: flex; gap: 1.6rem; font-weight: 600; font-size: 0.95rem; }
.nav-links a { color: var(--muted); transition: color 0.16s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* ===== HERO ===== */
.hero {
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 3rem;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--sky), transparent 60%),
    var(--bg);
}
.hero-grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero-copy h1 .hl {
  position: relative;
  white-space: nowrap;
  color: var(--accent);
}
.hero-copy .lead {
  margin-top: 1.2rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
}
.hero-copy .actions { margin-top: 1.8rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero-copy .micro { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.hero-copy .micro span { font-size: 0.9rem; font-weight: 600; color: var(--muted); }

.hero-visual { position: relative; }
.frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(37, 99, 235, 0.35);
}
.frame .browser {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.frame .browser span { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.frame .browser span:nth-child(1) { background: #FCA5A5; }
.frame .browser span:nth-child(2) { background: #FCD34D; }
.frame .browser span:nth-child(3) { background: #86EFAC; }
.frame .browser em { margin-left: auto; font-style: normal; font-size: 0.72rem; color: var(--muted); }
.frame img { width: 100%; height: auto; }

.float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  box-shadow: 0 20px 40px -20px rgba(10, 27, 51, 0.18);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.float b { font-size: 1rem; font-weight: 800; }
.float span { font-size: 0.74rem; color: var(--muted); }
.float.f1 { top: -16px; left: -18px; }
.float.f2 { bottom: 22px; right: -18px; }

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 var(--pad);
}
.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.2rem;
  text-align: center;
}
.stat b {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat b span { font-size: inherit; }
.stat > span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

/* ===== SECTIONS ===== */
section { padding-block: var(--section); }
.features { background: var(--bg); }
.shots { background: var(--bg-2); border-block: 1px solid var(--line); }
.how { background: var(--bg); }
.roles { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ===== FEATURES ===== */
.feat-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.feat .icon { font-size: 1.6rem; color: var(--accent); }
.feat h3 { font-size: 1.15rem; font-weight: 800; margin: 0.7rem 0 0.4rem; }
.feat p { font-size: 0.94rem; color: var(--muted); flex: 1; }
.feat img {
  margin-top: 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  width: 100%;
  object-fit: cover;
  object-position: top;
  aspect-ratio: 16 / 11;
}

/* ===== SHOTS ===== */
.shot-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.shot { margin: 0; }
.shot img {
  border-radius: 12px;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  background: #fff;
}
.shot figcaption { padding: 0.8rem 0.2rem 0; }
.shot h3 { font-size: 1.02rem; font-weight: 800; }
.shot p { font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }

/* ===== HOW ===== */
.steps {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  position: relative;
}
.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.35rem; }
.step p { font-size: 0.94rem; color: var(--muted); }

/* ===== ROLES ===== */
.roles-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.role {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.role .icon { font-size: 1.5rem; color: var(--accent); }
.role h3 { font-size: 1.12rem; font-weight: 800; margin: 0.6rem 0 0.3rem; }
.role p { font-size: 0.92rem; color: var(--muted); }
.logos {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}
.logos span {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== QUOTE ===== */
.quote { background: var(--bg); }
.quote blockquote { max-width: 860px; margin-inline: auto; text-align: center; }
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 600;
  line-height: 1.25;
  font-style: italic;
  color: var(--ink);
}
.quote cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: 0.95rem; color: var(--muted); font-weight: 600; }

/* ===== PRICING ===== */
.plans {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan h3 { font-size: 1.3rem; font-weight: 800; }
.plan .desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; }
.plan .amount { margin-top: 1.2rem; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.plan .amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .tvsh { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.1rem; }
.plan ul { list-style: none; margin: 1.4rem 0 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; }
.plan ul li { font-size: 0.95rem; font-weight: 600; padding-left: 1.5rem; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.plan ul li.off { color: var(--muted); text-decoration: line-through; }
.plan ul li.off::before { content: "—"; color: #CBD5E1; }
.plan .btn { margin-top: auto; width: 100%; }

.plan.hot { border: 2px solid var(--accent); }
.plan .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
}
.plan.premium { border: 2px solid var(--violet); background: linear-gradient(180deg, #FBF8FF, #fff); }
.plan.premium .badge { background: var(--violet); }
.plan.premium .btn { background: var(--violet); box-shadow: 0 10px 24px -12px rgba(124, 58, 237, 0.5); }
.plan.premium .btn:hover { background: #6d28d9; }
.buy-note { margin-top: 1.6rem; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* ===== FAQ ===== */
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line); /* taste-skill-ignore: faq list rows */
  max-width: 980px;
  margin-inline: auto;
}
.frow h3 { font-size: 1.15rem; font-weight: 800; }
.frow p { color: var(--muted); font-size: 1rem; }

/* ===== CTA ===== */
.cta { background: var(--accent); color: #fff; text-align: center; }
.cta .wrap { max-width: 640px; }
.cta h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
.cta p { margin-top: 0.8rem; font-size: 1.1rem; color: #E8F0FE; }
.cta .btn { margin-top: 1.8rem; background: #fff; color: var(--accent); box-shadow: none; }
.cta .btn:hover { background: var(--bg-2); }

/* ===== FOOTER ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 4rem; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.foot-grid > div { display: flex; flex-direction: column; gap: 0.5rem; }
.foot-grid b { font-size: 0.9rem; margin-bottom: 0.4rem; }
.foot-grid p { color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; }
.foot-grid a { color: var(--muted); font-size: 0.92rem; transition: color 0.16s ease; }
.foot-grid a:hover { color: var(--accent); }
.footer .legal {
  border-top: 1px solid var(--line);
  padding: 1.2rem var(--pad);
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 1200px;
  text-align: center;
}

/* ===== LIGHTBOX ===== */
img[src*="/assets/img/shots/"] { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 27, 51, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 94%;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.lb-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.lb-close:hover { background: var(--sky); }

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: #15803D;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(22, 163, 74, 0.6);
  transition: transform 0.16s ease;
}
.wa-float:hover { transform: translateY(-2px); }

/* ===== MOTION (disabled — content is always visible) ===== */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feat-grid, .shot-grid, .steps, .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .frow { grid-template-columns: 1fr; gap: 0.6rem; }
}
@media (max-width: 620px) {
  .quote p { font-size: clamp(1.5rem, 6vw, 1.7rem); }
  .nav-links { display: none; }
  .nav-cta .link-btn { display: none; }
  .feat-grid, .shot-grid, .steps, .roles-grid, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .float.f1 { left: 8px; top: -12px; }
  .float.f2 { right: 8px; }
}

/* ---- New features grid + gallery (self-contained) ---- */
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; margin-top:2rem; }
@media (max-width:900px){ .grid-3 { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-3 { grid-template-columns:1fr; } }
.card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.4rem 1.4rem 1.6rem; transition:transform .18s ease, box-shadow .18s ease; }
.card:hover { transform:translateY(-3px); box-shadow:0 12px 30px -14px rgba(37,99,235,.25); }
.card-icon { width:44px; height:44px; border-radius:10px; background:var(--sky); color:var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom:.9rem; }
.card-icon .material-icons { font-size:24px; }
.card h3 { font-size:1.05rem; font-weight:800; margin-bottom:.4rem; }
.card p { font-size:.9rem; color:var(--muted); line-height:1.55; }
.shot-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:2rem; }
@media (max-width:900px){ .shot-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .shot-grid { grid-template-columns:1fr; } }
.shot { margin:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff; transition:transform .18s ease, box-shadow .18s ease; }
.shot:hover { transform:translateY(-4px); box-shadow:0 16px 32px -14px rgba(10,27,51,.18); }
.shot img { width:100%; height:auto; display:block; }
.shot figcaption { padding:.8rem 1rem .95rem; }
.shot figcaption h3 { font-size:.95rem; font-weight:800; margin-bottom:.2rem; }
.shot figcaption p { font-size:.82rem; color:var(--muted); }
