/* Buukr — sivuston tyylit. Väripaletti sovelluksesta:
   tausta #0C0E12, kortit #16181D, brändivihreä #32D74B, teksti #F2F2F2 */

@font-face {
  font-family: "Nunito";
  src: url("assets/nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --bg: #0C0E12;
  --surface: #16181D;
  --surface2: #1D2027;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F2F2F2;
  --text2: #A7ADB8;
  --text3: #6A7180;
  --green: #32D74B;
  --green-dim: rgba(50, 215, 75, 0.14);
  --orange: #FF9F0A;
  --blue: #4CA1FF;
  --teal: #29A0AE;
  --red: #FF5B57;
  --radius: 18px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Navigaatio ---------- */

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
nav {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.logo img { width: 30px; height: 30px; }
.logo span {
  font-size: 24px; font-weight: 900; letter-spacing: -0.5px; color: var(--text);
}
.logo span b { color: var(--green); font-weight: 900; }
nav a.nav-link {
  color: var(--text2); text-decoration: none; font-size: 15px; font-weight: 700;
}
nav a.nav-link:hover { color: var(--text); }

/* ---------- Napit ja pillerit ---------- */

.btn {
  display: inline-block;
  background: var(--green); color: #08320F;
  font-weight: 900; font-size: 16px;
  padding: 13px 26px; border-radius: 14px; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.pill {
  display: inline-block;
  background: var(--green-dim); color: var(--green);
  font-size: 13px; font-weight: 800;
  padding: 5px 13px; border-radius: 999px;
}

/* ---------- Hero ---------- */

.hero { padding: 72px 0 30px; }
.hero-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: 48px; align-items: center;
}
h1 {
  font-size: clamp(34px, 5.2vw, 54px);
  line-height: 1.12; font-weight: 900; letter-spacing: -1px;
  margin: 18px 0 18px;
}
h1 em { color: var(--green); font-style: normal; }
.lead { font-size: 19px; color: var(--text2); max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--text3); margin-top: 12px; }

.phone {
  border-radius: 36px; border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  width: 100%; max-width: 340px; display: block; margin: 0 auto;
}

/* ---------- Laitekooste (läppäri + puhelin rinnakkain) ---------- */

.devices { position: relative; padding-bottom: 26px; }

.laptop { width: 100%; }
.laptop-screen {
  background: #060708;
  border: 2px solid #2A2E36;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 12px 12px 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.laptop-screen img {
  width: 100%; display: block;
  border-radius: 8px 8px 0 0;
}
.laptop-base {
  height: 15px;
  background: linear-gradient(#3A3F48, #23262D);
  border-radius: 0 0 14px 14px;
  position: relative;
}
.laptop-base::before {
  /* Kannen avauskolo */
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 6px;
  background: #16181D;
  border-radius: 0 0 8px 8px;
}

.devices .phone-overlay {
  position: absolute;
  right: -6px; bottom: 0;
  width: 26%; max-width: 190px;
  border-radius: 22px;
  border: 3px solid #2A2E36;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.65);
  margin: 0;
}

/* ---------- Logorivi / luottamus ---------- */

.trust {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; margin-top: 54px;
}
.trust .wrap {
  display: flex; gap: 12px 34px; flex-wrap: wrap;
  justify-content: center; color: var(--text3);
  font-size: 14.5px; font-weight: 700;
}
.trust b { color: var(--text2); }

/* ---------- Ominaisuudet ---------- */

section { padding: 74px 0 6px; }
.kicker {
  color: var(--green); font-weight: 900; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 900; letter-spacing: -0.6px; margin: 8px 0 12px;
}
.section-lead { color: var(--text2); font-size: 17px; max-width: 44em; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; margin-top: 46px;
}
.feature.flip .shot-col { order: -1; }
.feature h3 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.feature ul { list-style: none; margin-top: 14px; }
.feature li {
  color: var(--text2); padding-left: 28px; position: relative; margin-bottom: 10px;
}
.feature li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--green); font-weight: 900;
}

/* ---------- Korttiruudukko ---------- */

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 40px;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.card .ico { font-size: 26px; margin-bottom: 12px; display: block; }
.card h4 { font-size: 17.5px; font-weight: 900; margin-bottom: 7px; }
.card p { color: var(--text2); font-size: 15px; }

/* ---------- Mac ---------- */

.mac-shot {
  width: 100%; border-radius: 14px; border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  margin-top: 40px; display: block;
}

/* ---------- Hinta ---------- */

.price-card {
  background: linear-gradient(160deg, var(--surface2), var(--surface));
  border: 1px solid rgba(50, 215, 75, 0.35);
  border-radius: 26px; padding: 46px;
  margin-top: 44px; text-align: center;
}
.price {
  font-size: 54px; font-weight: 900; letter-spacing: -1.5px; margin: 12px 0 2px;
}
.price small { font-size: 20px; color: var(--text2); font-weight: 800; }
.price-sub { color: var(--text2); margin-bottom: 22px; }
.price-points {
  display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap;
  color: var(--text2); font-size: 15px; font-weight: 700; margin: 22px 0 28px;
}
.price-points span::before { content: "✓ "; color: var(--green); font-weight: 900; }

/* ---------- Alatunniste ---------- */

footer {
  border-top: 1px solid var(--border);
  margin-top: 84px; padding: 36px 0 48px;
  color: var(--text3); font-size: 14.5px;
}
footer .wrap { display: flex; gap: 14px 30px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--text2); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--text); }
footer .copy { margin-right: auto; }

/* ---------- Alasivut (tietosuoja, tuki) ---------- */

.doc { padding: 64px 0 10px; max-width: 760px; }
.doc h1 { font-size: 36px; }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: var(--text2); margin-bottom: 12px; }
.doc ul { margin-left: 22px; }
.doc .updated { color: var(--text3); font-size: 14px; }

/* ---------- Responsiivisuus ---------- */

@media (max-width: 860px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature.flip .shot-col { order: 0; }
  .cards { grid-template-columns: 1fr; }
  nav { gap: 16px; }
  nav a.nav-link { font-size: 14px; }
}
