/* ===== GoLifeKit — landing page styles ===== */

:root {
  --bg: #f7f9fc;
  --bg-soft: #eef2f9;
  --surface: #ffffff;
  --text: #1a2233;
  --text-muted: #5b6577;
  --brand: #4f7cff;
  --brand-dark: #3a63e0;
  --brand-soft: #e8efff;
  --accent: #14c8a6;
  --border: #e4e9f2;
  --shadow: 0 10px 30px rgba(26, 34, 51, 0.08);
  --shadow-sm: 0 4px 14px rgba(26, 34, 51, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

section { padding: 88px 0; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: 2rem; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 124, 255, 0.35);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 17px 40px; font-size: 1.08rem; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand .logo {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center;
  color: #fff; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 10px 22px; font-size: 0.92rem; }

/* ===== Hero ===== */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(700px 320px at 80% -5%, var(--brand-soft), transparent 70%),
    radial-gradient(600px 300px at 0% 10%, #e6faf5, transparent 70%);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 20px;
  background: linear-gradient(120deg, var(--text) 40%, var(--brand));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 34px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.hero-note strong { color: var(--text); }

/* ===== Pain points ===== */
.pain { background: var(--surface); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.pain-card .emoji { font-size: 1.8rem; margin-bottom: 14px; }
.pain-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pain-card p { color: var(--text-muted); font-size: 0.98rem; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--brand-soft);
  display: grid; place-items: center;
  color: var(--brand);
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--text-muted); font-size: 0.97rem; }

/* ===== Kit contents (product list) ===== */
.kit { background: var(--bg-soft); }
.kit-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.kit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kit-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kit-item .kit-icon {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-soft), #e6faf5);
  display: grid; place-items: center;
  font-size: 1.6rem;
}
.kit-body { flex: 1; min-width: 0; }
.kit-head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.kit-head h3 { font-size: 1.15rem; }
.kit-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 999px;
}
.kit-body > p { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 12px; }
.kit-includes {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.kit-includes li {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.9rem; color: var(--text);
}
.kit-includes li::before {
  content: "✓"; color: var(--accent); font-weight: 800; font-size: 0.85rem;
}
.kit-total {
  max-width: 820px;
  margin: 26px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  background: var(--surface);
  border: 1px dashed var(--brand);
  border-radius: var(--radius);
  padding: 20px 26px;
}
.kit-total .kit-total-text { font-size: 1.02rem; }
.kit-total .kit-total-text strong { color: var(--brand); }
.kit-total .kit-total-price { font-size: 0.95rem; color: var(--text-muted); }
.kit-total .kit-total-price s { margin-right: 8px; }
.kit-total .kit-total-price b { color: var(--text); font-size: 1.15rem; }

/* ===== Preview ===== */
.preview { background: var(--surface); }
.preview-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.preview-bar {
  display: flex; gap: 7px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.preview-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d7dee9; }
.preview-bar span:nth-child(1){ background:#ff6058; }
.preview-bar span:nth-child(2){ background:#ffbd2e; }
.preview-bar span:nth-child(3){ background:#28c840; }
.preview-img {
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, #eef2f9 0 22px, #e7edf6 22px 44px);
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.preview-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 22px auto 0;
}
.thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(45deg, #eef2f9 0 16px, #e7edf6 16px 32px);
  display: grid; place-items: center;
  color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
}

/* ===== Pricing ===== */
.pricing { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.price-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 6px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .sub { color: var(--text-muted); margin-bottom: 24px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 6px; }
.price-amount .cur { font-size: 1.5rem; font-weight: 700; color: var(--text-muted); }
.price-amount .num { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.03em; }
.price-old { color: var(--text-muted); text-decoration: line-through; margin-bottom: 26px; font-size: 0.95rem; }
.price-list { list-style: none; text-align: left; margin: 0 auto 30px; max-width: 300px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 0.98rem; }
.price-list li::before {
  content: "✓";
  color: var(--accent); font-weight: 800;
  flex: none;
}
.price-card .btn { width: 100%; }
.price-guarantee { margin-top: 16px; font-size: 0.86rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq { background: var(--surface); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: var(--bg-soft);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 1.05rem; font-weight: 600; color: var(--text);
  text-align: left;
}
.faq-q .chev { flex: none; transition: transform 0.25s ease; color: var(--brand); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
}
.faq-item.open .faq-a { max-height: 320px; padding: 0 24px 22px; }

/* ===== Footer ===== */
.footer {
  background: #131a29;
  color: #aab4c6;
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .brand { color: #fff; margin-bottom: 10px; }
.footer-about { max-width: 320px; font-size: 0.92rem; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; color: #aab4c6; font-size: 0.94rem; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.86rem; color: #7d879a;
}

/* ===== Legal pages ===== */
.legal { padding: 60px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--brand); }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--brand); font-weight: 600; }

/* ===== Shop / product list page ===== */
.shop-hero {
  padding: 70px 0 10px;
  text-align: center;
  background: radial-gradient(700px 300px at 50% -10%, var(--brand-soft), transparent 70%);
}
.shop-hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 14px; }
.shop-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.shop { padding: 48px 0 88px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: inherit;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand); }
.product-card.featured { grid-column: 1 / -1; flex-direction: row; border-color: var(--brand); }
.pc-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--pc) 18%, #fff), color-mix(in srgb, var(--pc) 6%, #fff));
}
.product-card.featured .pc-thumb { aspect-ratio: auto; flex: 1 1 44%; min-height: 240px; }
.pc-emoji { font-size: 3rem; }
.pc-thumb-label {
  position: absolute; bottom: 12px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
}
.pc-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card.featured .pc-body { justify-content: center; flex: 1 1 56%; }
.pc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pc-head h3 { font-size: 1.18rem; }
.pc-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: var(--accent);
  padding: 3px 10px; border-radius: 999px;
}
.pc-tagline { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 18px; flex: 1; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-price { font-size: 1.05rem; }
.pc-price s { color: var(--text-muted); margin-right: 6px; font-size: 0.9rem; }
.pc-price b { color: var(--text); font-size: 1.3rem; }
.pc-link { color: var(--brand); font-weight: 600; font-size: 0.92rem; }

/* ===== Product detail page ===== */
.pd { padding: 40px 0 80px; }
.pd .back-link { margin-bottom: 24px; }
.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 60px;
}
.pd-media .pc-thumb {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.pd-media .pc-emoji { font-size: 4.5rem; }
.pd-info h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 6px 0 10px; }
.pd-tagline { color: var(--text-muted); font-size: 1.12rem; margin-bottom: 22px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.pd-price-row s { color: var(--text-muted); font-size: 1.1rem; }
.pd-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.pd-once { color: var(--text-muted); font-size: 0.95rem; }
.pd-buy { margin-bottom: 14px; }
.pd-guarantee { font-size: 0.86rem; color: var(--text-muted); }

.pd-detail {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 64px;
}
.pd-main h2 { font-size: 1.5rem; margin-bottom: 14px; }
.pd-desc { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 28px; }
.pd-features { display: grid; gap: 18px; }
.pd-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.pd-feature h4 { font-size: 1.02rem; margin-bottom: 4px; }
.pd-feature p { color: var(--text-muted); font-size: 0.95rem; }
.pd-side {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  position: sticky; top: 90px;
}
.pd-side h3 { font-size: 1.1rem; margin-bottom: 16px; }
.pd-includes { list-style: none; display: grid; gap: 12px; }
.pd-includes li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 0.97rem; }
.pd-includes li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: none; }

.pd-more h2 { font-size: 1.5rem; margin-bottom: 22px; text-align: center; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini-emoji {
  width: 44px; height: 44px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 18%, #fff), color-mix(in srgb, var(--pc) 6%, #fff));
}
.mini-name { flex: 1; font-weight: 600; font-size: 0.98rem; }
.mini-price { color: var(--text-muted); font-weight: 600; }
.pd-missing { text-align: center; padding: 70px 0; }
.pd-missing h1 { font-size: 2rem; margin-bottom: 12px; }
.pd-missing p { color: var(--text-muted); margin-bottom: 24px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-top { flex-direction: column; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.featured { flex-direction: column; }
  .product-card.featured .pc-thumb { min-height: 180px; }
  .pd-hero { grid-template-columns: 1fr; gap: 28px; }
  .pd-detail { grid-template-columns: 1fr; gap: 30px; }
  .pd-side { position: static; }
  .mini-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .preview-thumbs { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .shop-grid { grid-template-columns: 1fr; }
}
