/* 
  Theme: Material Soft Chrome 
  Description: A vibrant, airy, highly rounded aesthetic inspired by modern material design systems.
  Colors: Soft mint, peach, lavender, sky, with clean slate gray typography. 
*/

:root {
  --sys-bg: #f8fafc;
  --sys-surface: #ffffff;
  --sys-surface-dim: #f1f5f9;
  --sys-text: #1e293b;
  --sys-text-mut: #64748b;
  
  --clr-mint: #d1fae5;
  --clr-mint-dark: #059669;
  --clr-peach: #ffedd5;
  --clr-peach-dark: #ea580c;
  --clr-lavender: #f3e8ff;
  --clr-lavender-dark: #7e22ce;
  --clr-sky: #e0f2fe;
  --clr-sky-dark: #0284c7;
  --clr-primary: #3b82f6;
  --clr-primary-hover: #2563eb;
  
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--sys-bg);
  color: var(--sys-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
p { font-size: 1.05rem; }
a { text-decoration: none; color: inherit; }

/* Navigation */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; font-weight: 800; color: var(--sys-text); }
.brand svg { width: 36px; height: 36px; fill: var(--clr-primary); }
.nav-list { display: flex; gap: 0.5rem; }
.nav-item {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  color: var(--sys-text-mut);
  transition: all 0.2s;
}
.nav-item:hover { background: var(--sys-surface-dim); color: var(--sys-text); }
.nav-item.on { background: var(--clr-sky); color: var(--clr-sky-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.75rem; font-family: inherit; font-weight: 700;
  border-radius: var(--radius-pill); cursor: pointer; border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.875rem 2rem; font-size: 1.125rem;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--clr-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--clr-primary-hover); }
.btn-mint { background: var(--clr-mint); color: var(--clr-mint-dark); }
.btn-peach { background: var(--clr-peach); color: var(--clr-peach-dark); }
.btn-lavender { background: var(--clr-lavender); color: var(--clr-lavender-dark); }
.btn-outline { background: transparent; border: 2px solid var(--clr-primary); color: var(--clr-primary); }
.btn-outline:hover { background: var(--clr-primary); color: #fff; }
.btn-lg { padding: 1.25rem 3rem; font-size: 1.25rem; }

/* Common Sections */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.sec { padding: 6rem 0; position: relative; }
.sec-surface { background: var(--sys-surface); border-radius: var(--radius-lg); margin: 2rem auto; max-width: 1280px; padding: 6rem 1.5rem; box-shadow: var(--shadow-sm); }
.sec-head { text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.sec-tag {
  display: inline-block; padding: 0.4rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--clr-peach); color: var(--clr-peach-dark); margin-bottom: 1.5rem;
}
.sec-title { font-size: 3rem; margin-bottom: 1.5rem; }
.sec-sub { font-size: 1.25rem; color: var(--sys-text-mut); }

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  background: radial-gradient(circle at 80% -20%, var(--clr-sky) 0%, transparent 50%),
              radial-gradient(circle at 20% 120%, var(--clr-lavender) 0%, transparent 50%);
  text-align: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; padding: 0.5rem 1.25rem; border-radius: var(--radius-pill);
  font-weight: 600; color: var(--clr-primary); margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.hero-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clr-primary); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); } 70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); } 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); } }
.hero-title { font-size: 4.5rem; max-width: 900px; margin: 0 auto 1.5rem; line-height: 1.1; }
.hero-desc { font-size: 1.5rem; color: var(--sys-text-mut); max-width: 700px; margin: 0 auto 3rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; align-items: center; }
.hero-visual { margin-top: 5rem; position: relative; }
.hero-visual-box {
  background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg);
  max-width: 1000px; margin: 0 auto; border: 1px solid rgba(0,0,0,0.05);
}
.hero-mockup {
  background: var(--sys-surface-dim); border-radius: var(--radius-md); height: 400px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.mockup-blob {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: var(--clr-mint); filter: blur(60px); opacity: 0.6; animation: float 6s ease-in-out infinite;
}

/* Feature Grid */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.feat-card {
  background: var(--sys-surface); padding: 3rem 2rem; border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm); transition: transform 0.3s;
  text-align: center;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feat-icon-wrap {
  width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem;
}
.feat-icon-wrap svg { width: 32px; height: 32px; }
.c-mint { background: var(--clr-mint); color: var(--clr-mint-dark); }
.c-peach { background: var(--clr-peach); color: var(--clr-peach-dark); }
.c-lavender { background: var(--clr-lavender); color: var(--clr-lavender-dark); }
.c-sky { background: var(--clr-sky); color: var(--clr-sky-dark); }
.feat-title { font-size: 1.5rem; margin-bottom: 1rem; }
.feat-desc { color: var(--sys-text-mut); }

/* Platform Cards */
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.plat-card {
  background: var(--sys-bg); border-radius: var(--radius-md); padding: 2.5rem 2rem;
  text-align: center; border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s;
}
.plat-card:hover { background: #fff; box-shadow: var(--shadow-md); }
.plat-ico {
  width: 80px; height: 80px; background: #fff; border-radius: 24px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
}
.plat-ico svg { width: 40px; height: 40px; fill: var(--sys-text); }
.plat-name { font-size: 1.5rem; margin-bottom: 0.5rem; }
.plat-desc { color: var(--sys-text-mut); margin-bottom: 2rem; font-size: 0.95rem; }

/* Deep Section */
.deep-row { display: flex; align-items: center; gap: 6rem; margin-bottom: 8rem; max-width: 1280px; margin-left: auto; margin-right: auto; }
.deep-row:last-child { margin-bottom: 0; }
.deep-row.rev { flex-direction: row-reverse; }
.deep-info { flex: 1; }
.deep-media { flex: 1; position: relative; }
.deep-img {
  background: var(--sys-surface); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,0.05); position: relative; z-index: 2;
}
.deep-img-inner {
  background: var(--sys-surface-dim); border-radius: var(--radius-md); height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.deep-img-inner svg { width: 120px; height: 120px; opacity: 0.2; }
.deep-blob {
  position: absolute; top: -10%; right: -10%; width: 250px; height: 250px;
  background: var(--clr-sky); border-radius: 50%; filter: blur(50px); z-index: 1;
}

/* Stats */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 4rem auto; max-width: 1280px; }
.stat-box {
  background: var(--clr-primary); color: #fff; border-radius: var(--radius-md);
  padding: 3rem 2rem; text-align: center;
}
.stat-box.mint { background: var(--clr-mint); color: var(--clr-mint-dark); }
.stat-box.peach { background: var(--clr-peach); color: var(--clr-peach-dark); }
.stat-box.lavender { background: var(--clr-lavender); color: var(--clr-lavender-dark); }
.stat-num { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; line-height: 1; }
.stat-lbl { font-size: 1.125rem; font-weight: 600; opacity: 0.9; }

/* Reviews */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.rev-card {
  background: var(--sys-surface); border-radius: var(--radius-md); padding: 2.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05);
}
.rev-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.rev-ava {
  width: 56px; height: 56px; border-radius: 50%; background: var(--clr-lavender);
  color: var(--clr-lavender-dark); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700;
}
.rev-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.rev-stars { color: #f59e0b; display: flex; gap: 2px; }
.rev-stars svg { width: 16px; height: 16px; fill: currentColor; }
.rev-text { color: var(--sys-text-mut); font-style: italic; font-size: 1.05rem; }

/* Comparison Table */
.cmp-wrap { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
.cmp-table { width: 100%; border-collapse: collapse; text-align: left; }
.cmp-table th, .cmp-table td { padding: 1.5rem 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.cmp-table th { background: var(--sys-surface-dim); font-size: 1.125rem; font-weight: 700; }
.cmp-table .hl-col { background: var(--clr-sky); color: var(--clr-sky-dark); font-weight: 800; width: 25%; }
.cmp-table td.hl-col { background: rgba(224,242,254,0.3); }
.cmp-table tr:last-child td { border-bottom: none; }
.icon-yes { color: var(--clr-mint-dark); }
.icon-no { color: #cbd5e1; }
.icon-yes svg, .icon-no svg { width: 24px; height: 24px; stroke-width: 3; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--sys-surface); border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-q {
  padding: 1.5rem 2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-size: 1.25rem; font-weight: 700; background: transparent; border: none; width: 100%; text-align: left; color: inherit; font-family: inherit;
}
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--sys-surface-dim);
  display: flex; align-items: center; justify-content: center; transition: transform 0.3s;
}
.faq-icon svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 3; }
.open .faq-icon { transform: rotate(45deg); background: var(--clr-primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--sys-bg); }
.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 2rem 1.5rem; color: var(--sys-text-mut); line-height: 1.8; }

/* Download Hero */
.dl-hero { padding: 6rem 0; text-align: center; max-width: 1280px; margin: 0 auto; }
.dl-main-box {
  background: #fff; border-radius: var(--radius-lg); padding: 4rem; max-width: 800px; margin: 3rem auto;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden;
}
.dl-main-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-mint-dark));
}
.dl-main-ico { width: 96px; height: 96px; margin: 0 auto 2rem; }
.dl-main-ico svg { width: 100%; height: 100%; fill: var(--clr-primary); }
.dl-specs {
  display: flex; justify-content: center; gap: 3rem; margin: 2.5rem 0;
  padding: 2rem 0; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dl-spec-item { text-align: center; }
.dl-spec-val { font-size: 1.25rem; font-weight: 700; color: var(--sys-text); margin-bottom: 0.25rem; }
.dl-spec-lbl { font-size: 0.875rem; color: var(--sys-text-mut); text-transform: uppercase; letter-spacing: 0.05em; }

/* Steps */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step-card {
  background: var(--sys-bg); padding: 2.5rem 2rem; border-radius: var(--radius-md);
  text-align: center; border: 1px solid rgba(0,0,0,0.05); position: relative;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--clr-primary); color: #fff;
  font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(59,130,246,0.3); border: 4px solid #fff;
}
.step-title { font-size: 1.25rem; margin: 1.5rem 0 1rem; }
.step-desc { color: var(--sys-text-mut); }

/* Requirements & Versions */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1280px; margin: 0 auto; }
.req-list, .ver-list { background: #fff; border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); }
.req-item { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.req-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.req-icon { width: 48px; height: 48px; border-radius: 16px; background: var(--clr-lavender); color: var(--clr-lavender-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.req-icon svg { width: 24px; height: 24px; }
.req-title { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.req-desc { color: var(--sys-text-mut); }
.ver-item { position: relative; padding-left: 2.5rem; margin-bottom: 2.5rem; }
.ver-item:last-child { margin-bottom: 0; }
.ver-dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--clr-mint-dark); border: 3px solid var(--clr-mint); }
.ver-item::before { content: ''; position: absolute; left: 7px; top: 20px; bottom: -2.5rem; width: 2px; background: rgba(0,0,0,0.05); }
.ver-item:last-child::before { display: none; }
.ver-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.ver-tag { background: var(--sys-text); color: #fff; padding: 0.2rem 0.75rem; border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 700; }
.ver-date { color: var(--sys-text-mut); font-size: 0.875rem; font-weight: 600; }
.ver-body { color: var(--sys-text-mut); }

/* Article Layout */
.art-hero { padding: 6rem 0; text-align: center; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.05); max-width: 100%; }
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.tag { background: var(--sys-surface-dim); color: var(--sys-text-mut); padding: 0.5rem 1.25rem; border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 600; transition: all 0.2s; border: 1px solid rgba(0,0,0,0.05); }
.tag:hover { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }
.art-layout { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; padding: 4rem 0; max-width: 1280px; margin: 0 auto; }
.art-body section { margin-bottom: 4rem; }
.art-body h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--sys-text); position: relative; padding-left: 1.5rem; }
.art-body h2::before { content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 6px; background: var(--clr-primary); border-radius: var(--radius-pill); }
.art-body h3 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.art-body p { margin-bottom: 1.25rem; color: var(--sys-text-mut); }
.art-body ul { margin: 0 0 1.5rem 2rem; color: var(--sys-text-mut); }
.art-body li { margin-bottom: 0.75rem; padding-left: 0.5rem; }
.inline-cta { background: var(--clr-sky); border-radius: var(--radius-lg); padding: 3rem; text-align: center; margin: 3rem 0; }
.sidebar-box { background: #fff; border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); }
.sidebar-title { font-size: 1.25rem; margin-bottom: 1.5rem; font-weight: 800; }
.side-dl-list { display: flex; flex-direction: column; gap: 1rem; }

/* Security Banner & Footer */
.sec-banner { background: var(--clr-mint); border-radius: var(--radius-lg); padding: 2rem; text-align: center; margin: 4rem auto; max-width: 1280px; color: var(--clr-mint-dark); display: flex; align-items: center; justify-content: center; gap: 1rem; font-weight: 700; font-size: 1.125rem; }
.footer { background: #fff; padding: 4rem 0; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 6rem; text-align: center; max-width: 100%; }
.footer-sec { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--clr-mint); color: var(--clr-mint-dark); padding: 0.75rem 1.5rem; border-radius: var(--radius-pill); font-weight: 700; margin-bottom: 2rem; }
.footer-text { color: var(--sys-text-mut); font-size: 0.95rem; }

@media (max-width: 1024px) {
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-row { flex-direction: column !important; gap: 3rem; text-align: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .art-layout { grid-template-columns: 1fr; }
  .hero-title { font-size: 3.5rem; }
  .sec-title { font-size: 2.5rem; }
}
@media (max-width: 768px) {
  .plat-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cmp-wrap { overflow-x: auto; }
}
