/* Winenti — site vitrine. Servi en statique par nginx (docker/landing). */
:root {
  --blue: #0d47a1;
  --blue-dark: #0a3578;
  --blue-700: #1565c0;
  --blue-light: #e8eef7;
  --blue-tint: #dbeafe;
  --accent: #26a69a;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --surface: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 24px 60px rgba(13, 71, 161, 0.14);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 10px; border: 0; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue); border: 1px solid var(--blue-tint); }
.btn-ghost:hover { background: var(--blue-light); color: var(--blue-dark); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(165deg, #f7faff 0%, #eaf1fb 55%, #e3edfb 100%); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  padding: 72px 0 80px;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; text-align: center; } }
.eyebrow {
  display: inline-block; background: var(--blue-light); color: var(--blue-dark);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; color: var(--blue-dark); }
.hero p.lead { font-size: 1.18rem; color: var(--muted); margin: 0 0 28px; max-width: 540px; }
@media (max-width: 880px) { .hero p.lead { margin-left: auto; margin-right: auto; } }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 880px) { .hero-cta { justify-content: center; } }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 880px) { .store-badges { justify-content: center; } }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #111827; color: #fff; border-radius: 12px; padding: 9px 16px; min-width: 150px;
}
.store-badge small { display: block; font-size: 0.65rem; opacity: 0.8; line-height: 1.1; }
.store-badge strong { display: block; font-size: 1rem; line-height: 1.2; }
.store-badge.soon { opacity: 0.55; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 270px; height: 540px; background: #0b1b33; border-radius: 40px;
  padding: 12px; box-shadow: var(--shadow-lg); position: relative;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #0b1b33; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 30px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.ps-top { background: var(--blue); color: #fff; padding: 46px 18px 18px; }
.ps-top .ps-hi { font-size: 0.8rem; opacity: 0.85; }
.ps-top .ps-title { font-size: 1.25rem; font-weight: 800; margin-top: 2px; }
.ps-search { background: rgba(255,255,255,0.18); border-radius: 9px; height: 34px; margin-top: 14px; display: flex; align-items: center; padding: 0 12px; color: rgba(255,255,255,0.85); font-size: 0.8rem; }
.ps-body { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--surface); flex: 1; }
.ps-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 12px; }
.ps-card .thumb { height: 56px; border-radius: 8px; background: linear-gradient(135deg, var(--blue-tint), var(--blue-light)); margin-bottom: 10px; }
.ps-card .l1 { height: 9px; width: 85%; border-radius: 4px; background: #e9edf3; }
.ps-card .l2 { height: 9px; width: 55%; border-radius: 4px; background: #eef1f6; margin-top: 7px; }
.ps-card .price { height: 11px; width: 42%; border-radius: 4px; background: var(--blue); margin-top: 12px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 14px; color: var(--ink); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.features { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-tint); }
.feature .ic {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-light);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--blue);
}
.feature h3 { margin: 0 0 8px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Categories */
.categories { background: var(--surface); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px; text-align: center;
  border: 1px solid var(--line);
}
.cat .emoji { font-size: 2rem; }
.cat h4 { margin: 12px 0 4px; font-size: 1.05rem; }
.cat p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* Pro */
.pro { background: linear-gradient(160deg, var(--blue-dark), var(--blue)); color: #fff; }
.pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .pro-grid { grid-template-columns: 1fr; } }
.pro h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 16px; letter-spacing: -0.02em; }
.pro p { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin: 0 0 22px; }
.pro ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.pro li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.95); }
.pro li svg { flex: none; margin-top: 3px; }
.pro .btn { background: #fff; color: var(--blue-dark); }
.pro .btn:hover { background: var(--blue-light); }
.pro-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-lg); padding: 30px; }
.pro-card .row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.pro-card .row:last-child { border-bottom: 0; }
.pro-card .row span { color: rgba(255,255,255,0.8); }
.pro-card .row strong { font-size: 1.05rem; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 880px) { .steps-grid { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 20px; }
.step .num { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* CTA */
.cta { background: var(--surface); }
.cta-box { background: linear-gradient(160deg, var(--blue), var(--blue-700)); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-box h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 12px; }
.cta-box p { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin: 0 0 26px; }

/* Contact */
.contact { background: var(--white); }
.contact-card { max-width: 640px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.contact-card .big-mail { font-size: 1.4rem; font-weight: 800; color: var(--blue); margin: 14px 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1b33; color: rgba(255,255,255,0.72); padding: 50px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-grid .brand { color: #fff; }
.footer-col h5 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.footer-col a { display: block; color: rgba(255,255,255,0.72); margin-bottom: 8px; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; font-size: 0.85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: 2.1rem; letter-spacing: -0.02em; color: var(--blue-dark); margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 0.92rem; margin: 0 0 36px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--ink); }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #374151; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; font-weight: 600; }
