/* ===========================================================
   Henno Studio — shared stylesheet
   Light, friendly, clean theme
   =========================================================== */

:root {
  --brand:        #6c5ce7;   /* purple  */
  --brand-2:      #00b8d4;   /* cyan    */
  --accent:       #ff7a59;   /* coral   */
  --accent-2:     #ffd166;   /* sunny   */
  --mint:         #2ecc9b;   /* green   */

  --ink:          #1f2440;   /* headings */
  --body:         #4a5170;   /* body text */
  --muted:        #7c8299;
  --line:         #e8ebf5;
  --bg:           #ffffff;
  --bg-soft:      #f6f8ff;
  --card:         #ffffff;

  --radius:       20px;
  --radius-sm:    12px;
  --shadow:       0 18px 40px -22px rgba(37, 44, 92, .35);
  --shadow-sm:    0 8px 24px -16px rgba(37, 44, 92, .40);
  --wrap:         1140px;
  --font:         'Poppins', -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(--body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(108, 92, 231, .10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.lead { font-size: 1.12rem; color: var(--body); max-width: 640px; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 26px -12px rgba(108, 92, 231, .7);
}
.btn--ghost {
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
}
.btn--ghost:hover { border-color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.15rem;
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--body);
  font-weight: 500;
  font-size: .97rem;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
  background:
    radial-gradient(1000px 480px at 80% -10%, rgba(0, 184, 212, .14), transparent 60%),
    radial-gradient(760px 420px at 5% 10%, rgba(255, 122, 89, .12), transparent 60%),
    var(--bg-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 span { color: var(--brand); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-badges { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.hero-badge b { color: var(--ink); }

.phone {
  margin: 0 auto;
  width: 260px;
  height: 520px;
  border-radius: 42px;
  background: #fff;
  border: 10px solid #101433;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.phone .screen {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--brand), var(--brand-2));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 24px;
}
.phone .app-icon {
  width: 92px; height: 92px; border-radius: 24px;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  font-size: 2.6rem; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.35);
}
.phone .notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; border-radius: 999px; background: #101433; z-index: 2;
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.6rem;
  margin-bottom: 18px; color: #fff;
}
.ico--a { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.ico--b { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.ico--c { background: linear-gradient(135deg, var(--mint), var(--brand-2)); }
.card h3 { margin-bottom: 8px; }
.card p  { margin: 0; font-size: .97rem; }

/* ---------- App showcase ---------- */
.app-card { display: flex; gap: 20px; align-items: flex-start; }
.app-card .thumb {
  flex: 0 0 auto;
  width: 72px; height: 72px; border-radius: 18px;
  display: grid; place-items: center; font-size: 2rem; color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ---------- Steps / store CTA ---------- */
.store-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 28px;
  padding: 56px 40px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.store-cta h2 { color: #fff; }
.store-cta p  { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #101433; color: #fff; padding: 14px 26px; border-radius: 14px;
  font-weight: 600;
}
.store-btn:hover { text-decoration: none; transform: translateY(-2px); }
.store-btn small { display: block; font-size: .68rem; opacity: .8; font-weight: 400; }
.store-btn b { font-size: 1.05rem; }

/* ---------- Legal / article pages ---------- */
.page-hero {
  padding: 60px 0 40px;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(108,92,231,.12), transparent 60%),
    var(--bg-soft);
}
.legal { padding: 48px 0 80px; }
.legal .doc { max-width: 820px; margin: 0 auto; }
.legal h2 { margin-top: 2.2em; font-size: 1.4rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .updated {
  display: inline-block; font-size: .9rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; margin-top: 10px;
}
.toc {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 24px; margin: 28px 0;
}
.toc strong { color: var(--ink); }
.toc ul { margin: 10px 0 0; padding-left: 1.1em; }
.toc a { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: #101433;
  color: #c7cbe6;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #c7cbe6; display: block; margin-bottom: 10px; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .desc { font-size: .95rem; color: #9aa0c9; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .88rem; color: #9aa0c9;
}
.footer-bottom a { display: inline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .cta-row, .hero-badges { justify-content: center; }
  .phone { margin-top: 20px; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 22px; width: 100%; }
  .nav-toggle { display: block; }
}
