
:root{
  --bg:#f4f7fb;
  --surface:#ffffff;
  --surface-2:#f8fafc;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --primary:#4f46e5;
  --primary-2:#7c3aed;
  --accent:#06b6d4;
  --success:#10b981;
  --warning:#f59e0b;
  --shadow:0 14px 40px rgba(15,23,42,.08);
  --shadow-soft:0 8px 22px rgba(15,23,42,.06);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(79,70,229,.09), transparent 30%),
    radial-gradient(circle at top right, rgba(6,182,212,.08), transparent 24%),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height:1.6;
}
a{color:inherit}
img{max-width:100%; display:block}
.wrap{
  width:min(1120px, calc(100% - 24px));
  margin:0 auto;
}
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.82);
  border-bottom:1px solid rgba(229,231,235,.9);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand-mark{
  width:42px; height:42px;
  border-radius:14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.3px;
  box-shadow: var(--shadow-soft);
}
.brand-title{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.brand-title strong{
  font-size:1rem;
  line-height:1.1;
}
.brand-title span{
  font-size:.78rem;
  color:var(--muted);
}
.nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  text-decoration:none;
  font-size:.92rem;
  color:var(--text);
  padding:9px 13px;
  border-radius:999px;
  border:1px solid transparent;
  transition: .2s ease;
  white-space:nowrap;
}
.nav a:hover,.nav a.active{
  background:#fff;
  border-color:var(--border);
  box-shadow: var(--shadow-soft);
}
.menu-btn{
  display:none;
  border:none;
  background:#fff;
  border:1px solid var(--border);
  width:44px; height:44px;
  border-radius:14px;
  box-shadow: var(--shadow-soft);
}
.hero{
  padding:26px 0 8px;
}
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.92), #fff);
  border:1px solid rgba(229,231,235,.9);
  border-radius:32px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:0;
  align-items:stretch;
}
.hero-copy{
  padding:34px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(6,182,212,.1));
  color:var(--primary);
  border-radius:999px;
  font-size:.82rem;
  font-weight:700;
  margin-bottom:18px;
}
h1,h2,h3,h4{line-height:1.2; margin:0}
.hero h1{
  font-size:clamp(2rem, 4vw, 3.5rem);
  letter-spacing:-.03em;
  margin-bottom:14px;
}
.hero p{
  color:var(--muted);
  font-size:1.05rem;
  margin:0 0 22px;
  max-width:62ch;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border:none;
  cursor:pointer;
  border-radius:16px;
  padding:13px 18px;
  font-weight:700;
  transition:.2s ease;
}
.btn-primary{
  color:#fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 30px rgba(79,70,229,.18);
}
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{
  color:var(--text);
  background:#fff;
  border:1px solid var(--border);
}
.btn-ghost:hover{box-shadow: var(--shadow-soft)}
.hero-preview{
  padding:24px;
  background:
    radial-gradient(circle at 25% 25%, rgba(79,70,229,.12), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(6,182,212,.14), transparent 26%),
    linear-gradient(160deg, #f8fbff, #eef2ff);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100%;
}
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pill{
  font-size:.78rem;
  font-weight:700;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.8);
  border:1px solid rgba(255,255,255,.9);
}
.preview-panel{
  margin-top:14px;
  background:rgba(255,255,255,.8);
  border:1px solid rgba(255,255,255,.95);
  border-radius:24px;
  padding:18px;
  box-shadow: var(--shadow-soft);
}
.preview-panel h3{
  font-size:1.05rem;
  margin-bottom:12px;
}
.preview-stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.stat{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
}
.stat strong{
  display:block;
  font-size:1.05rem;
}
.stat span{
  color:var(--muted);
  font-size:.84rem;
}
.section{
  padding:22px 0;
}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.section-head h2{
  font-size:clamp(1.3rem, 2.3vw, 2rem);
  letter-spacing:-.02em;
}
.section-head p{
  margin:0;
  color:var(--muted);
  font-size:.95rem;
  max-width:60ch;
}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow: var(--shadow-soft);
}
.category-card{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:180px;
}
.category-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:1.4rem;
  background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(6,182,212,.12));
}
.category-card h3{font-size:1.1rem}
.category-card p{margin:0;color:var(--muted);font-size:.93rem}
.category-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.tag{
  display:inline-flex;
  align-items:center;
  font-size:.76rem;
  font-weight:700;
  color:#3730a3;
  background:#eef2ff;
  border-radius:999px;
  padding:6px 10px;
}
.card-link{
  margin-top:auto;
  text-decoration:none;
  font-weight:700;
  color:var(--primary);
}
.ad-slot{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.92));
  border:1px dashed #c7d2fe;
  border-radius:24px;
  padding:16px;
  min-height:110px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  box-shadow: var(--shadow-soft);
}
.ad-label{
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800;
}
.ad-placeholder{
  display:grid;
  place-items:center;
  min-height:72px;
  border-radius:18px;
  background: repeating-linear-gradient(
    45deg,
    rgba(79,70,229,.07),
    rgba(79,70,229,.07) 12px,
    rgba(255,255,255,.55) 12px,
    rgba(255,255,255,.55) 24px
  );
  color:var(--muted);
  text-align:center;
  padding:14px;
  font-size:.92rem;
}
.promo-strip{
  display:flex;
  gap:10px;
  overflow:auto;
  padding-bottom:4px;
  scroll-snap-type:x mandatory;
}
.promo{
  scroll-snap-align:start;
  min-width: 230px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow: var(--shadow-soft);
  padding:16px;
}
.promo strong{display:block;font-size:1rem;margin-bottom:6px}
.promo p{margin:0;color:var(--muted);font-size:.9rem}
.app-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.app-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:26px;
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.app-visual{
  position:relative;
  aspect-ratio: 16/9;
  background:#eef2ff;
  overflow:hidden;
}
.app-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.app-badge{
  position:absolute;
  left:14px;
  top:14px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.9);
  padding:6px 10px;
  border-radius:999px;
  font-size:.76rem;
  font-weight:800;
  color:var(--primary);
  backdrop-filter:blur(8px);
}
.app-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.app-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.app-head h3{
  font-size:1.1rem;
}
.rating{
  white-space:nowrap;
  font-size:.84rem;
  color:#b45309;
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:999px;
  padding:6px 10px;
  font-weight:800;
}
.app-body p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}
.mini-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}
.mini-list li{margin:6px 0}
.app-actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn-small{
  padding:11px 14px;
  border-radius:14px;
  font-size:.92rem;
}
.btn-outline{
  background:#fff;
  border:1px solid var(--border);
  color:var(--text);
}
.compare{
  overflow:auto;
  border-radius:22px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow-soft);
}
table{
  border-collapse:collapse;
  min-width:700px;
  width:100%;
}
th,td{
  text-align:left;
  padding:14px 14px;
  border-bottom:1px solid #eef2f7;
  font-size:.95rem;
  vertical-align:top;
}
th{
  background:#f8fafc;
  font-size:.86rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.faq{
  display:grid;
  gap:12px;
}
.faq-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:16px 18px;
  box-shadow: var(--shadow-soft);
}
.faq-item h3{
  font-size:1rem;
  margin-bottom:8px;
}
.faq-item p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
}
.article{
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  padding:22px;
  box-shadow: var(--shadow-soft);
}
.article h2,.article h3{margin-top:20px}
.article p{
  color:#334155;
  margin:12px 0;
}
.article ul{
  color:#334155;
  padding-left:18px;
}
.swipe-wrap{
  display:flex;
  gap:14px;
  overflow:auto;
  padding-bottom:8px;
  scroll-snap-type:x mandatory;
}
.swipe-card{
  min-width: 280px;
  scroll-snap-align:start;
  border-radius:24px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, #fff, #fafbff);
  padding:16px;
  box-shadow: var(--shadow-soft);
}
.swipe-card strong{
  display:block;
  margin-bottom:6px;
}
.swipe-card p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}
.related{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.related a{
  text-decoration:none;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:6px;
  box-shadow: var(--shadow-soft);
}
.related a span{color:var(--muted);font-size:.88rem}
.footer{
  padding:26px 0 34px;
  color:var(--muted);
}
.footer-inner{
  background: #0f172a;
  color:#e2e8f0;
  border-radius:30px;
  padding:24px;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:18px;
}
.footer a{
  color:#c7d2fe;
  text-decoration:none;
}
.footer p{margin:10px 0 0}
.small{
  font-size:.84rem;
  color:inherit;
  opacity:.82;
}
.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:.88rem;
  margin: 0 0 12px;
}
.breadcrumb a{
  text-decoration:none;
  color:var(--primary);
}
.subsection{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:14px;
  align-items:start;
}
.callout{
  background: linear-gradient(135deg, rgba(79,70,229,.08), rgba(6,182,212,.08));
  border:1px solid rgba(79,70,229,.1);
  border-radius:24px;
  padding:18px;
}
.callout h3{margin-bottom:8px}
.callout p{margin:0;color:var(--muted)}
.floating-anchor{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:12px;
  z-index:999;
  width:min(1120px, calc(100% - 20px));
  display:none;
}
.anchor-box{
  margin:0 auto;
  max-width:420px;
  background:rgba(15,23,42,.94);
  color:#fff;
  border-radius:999px;
  padding:12px 16px;
  text-align:center;
  box-shadow: 0 16px 30px rgba(15,23,42,.2);
}
.fade-up{opacity:0; transform:translateY(16px); transition:.5s ease}
.fade-up.in{opacity:1; transform:none}
@media (max-width: 980px){
  .hero-grid,.subsection,.footer-grid,.grid-4,.grid-2,.app-grid,.related{grid-template-columns:1fr 1fr}
}
@media (max-width: 720px){
  .menu-btn{display:inline-grid;place-items:center}
  .nav{
    display:none;
    width:100%;
    padding:0 0 12px;
  }
  .nav.open{display:flex; justify-content:flex-start}
  .topbar-inner{flex-wrap:wrap}
  .hero-copy{padding:22px}
  .hero-grid{grid-template-columns:1fr}
  .hero-preview{padding:18px}
  .grid-4,.grid-2,.app-grid,.related,.subsection,.footer-grid{grid-template-columns:1fr}
  .section{padding:18px 0}
  .hero{padding-top:18px}
  .floating-anchor{display:block}
}
