/* 
  Theme: Prism Aurora
  Colors:
  - Base: #ffffff (White)
  - Surface: #fcfdfe (Ice Blue Tint)
  - Primary: #3b82f6 (Bright Blue)
  - Secondary: #a855f7 (Deep Purple)
  - Accent: #10b981 (Emerald)
  - Dark: #0f172a (Deep Slate)
  - Border: #e2e8f0
*/

:root {
  --prism-blue: #3b82f6;
  --prism-purple: #a855f7;
  --prism-emerald: #10b981;
  --prism-amber: #f59e0b;
  --prism-rose: #f43f5e;
  --prism-sky: #0ea5e9;
  --prism-dark: #0f172a;
  --prism-surface: #fcfdfe;
  --prism-border: #e2e8f0;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--prism-dark); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes aurora {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--prism-border); z-index: 1000; }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--prism-dark); }
.nav-brand svg { width: 32px; height: 32px; }
.nav-menu { display: flex; gap: 8px; }
.nav-link { padding: 8px 16px; border-radius: 99px; font-size: 0.95rem; font-weight: 500; transition: 0.2s; color: #64748b; }
.nav-link:hover { background: #f1f5f9; color: var(--prism-blue); }
.nav-link.on { background: var(--prism-blue); color: #fff; }

.nav-toggle { display: none; padding: 8px; }

/* Sections */
.sec { padding: 80px 0; overflow: hidden; }
.sec-ice { background: var(--prism-surface); }
.sec-dark { background: var(--prism-dark); color: #fff; }
.sec-head { text-align: center; max-width: 800px; margin: 0 auto 56px; }
.sec-tag { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.tag-blue { background: #dbeafe; color: #1e40af; }
.tag-purple { background: #f3e8ff; color: #6b21a8; }
.tag-emerald { background: #d1fae5; color: #065f46; }
.sec-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.sec-sub { font-size: 1.125rem; color: #64748b; }
.sec-dark .sec-sub { color: #94a3b8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 12px; font-weight: 600; font-size: 1rem; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); gap: 10px; }
.btn-blue { background: var(--prism-blue); color: #fff; box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4); }
.btn-blue:hover { transform: translateY(-2px); background: #2563eb; box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5); }
.btn-outline { border: 2px solid var(--prism-border); color: #475569; }
.btn-outline:hover { background: #f8fafc; border-color: #cbd5e1; }
.btn-white { background: #fff; color: var(--prism-dark); }
.btn-lg { padding: 16px 36px; font-size: 1.125rem; border-radius: 14px; }

/* Hero index */
.hero-idx { position: relative; padding: 140px 0 100px; background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 90%); }
.hero-idx-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 24px; color: var(--prism-dark); }
.hero-title span { background: linear-gradient(135deg, var(--prism-blue), var(--prism-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.25rem; color: #475569; margin-bottom: 40px; max-width: 560px; }
.hero-btns { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 32px; border-top: 1px solid var(--prism-border); padding-top: 32px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: #64748b; font-size: 0.9rem; font-weight: 500; }
.hero-trust-item svg { width: 20px; height: 20px; color: var(--prism-emerald); }

.hero-vis { flex: 1; position: relative; }
.prism-aura-box { position: relative; width: 100%; height: 400px; background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.6); border-radius: 24px; backdrop-filter: blur(4px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.aura-bg { position: absolute; width: 200%; height: 200%; background: linear-gradient(45deg, rgba(59,130,246,0.1), rgba(168,85,247,0.1), rgba(16,185,129,0.1)); animation: aurora 15s ease infinite; background-size: 400% 400%; }
.prism-float { position: relative; width: 120px; height: 120px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }

/* Stats Strip */
.stats-strip { background: var(--prism-dark); padding: 40px 0; color: #fff; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item h3 { font-size: 2.25rem; font-weight: 800; margin-bottom: 4px; background: linear-gradient(135deg, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item p { color: #94a3b8; font-size: 0.95rem; font-weight: 500; }

/* Features Grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card { background: #fff; padding: 32px; border-radius: 20px; border: 1px solid var(--prism-border); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.feat-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08); border-color: #cbd5e1; }
.feat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.ic-blue { background: #eff6ff; color: var(--prism-blue); }
.ic-purple { background: #faf5ff; color: var(--prism-purple); }
.ic-emerald { background: #ecfdf5; color: var(--prism-emerald); }
.ic-amber { background: #fffbeb; color: var(--prism-amber); }
.ic-rose { background: #fff1f2; color: var(--prism-rose); }
.ic-sky { background: #f0f9ff; color: var(--prism-sky); }
.feat-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.feat-card p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

/* Platforms */
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plat-card { background: #fff; padding: 32px; border-radius: 20px; border: 1px solid var(--prism-border); text-align: center; display: flex; flex-direction: column; align-items: center; }
.plat-card.main { border: 2px solid var(--prism-blue); background: linear-gradient(to bottom, #fff, var(--prism-surface)); }
.plat-ico { width: 56px; height: 56px; margin-bottom: 20px; color: #475569; }
.plat-card.main .plat-ico { color: var(--prism-blue); }
.plat-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.plat-ver { font-size: 0.85rem; color: #94a3b8; margin-bottom: 20px; }
.plat-btn { width: 100%; }

/* Deep Functions */
.deep-row { display: flex; align-items: center; gap: 80px; margin-bottom: 80px; }
.deep-row:last-child { margin-bottom: 0; }
.deep-row.rev { flex-direction: row-reverse; }
.deep-text { flex: 1; }
.deep-vis { flex: 1; background: #f8fafc; border-radius: 24px; padding: 40px; border: 1px solid var(--prism-border); }
.deep-text h3 { font-size: 2.25rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.deep-text p { font-size: 1.1rem; color: #64748b; margin-bottom: 24px; }
.deep-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 500; color: #334155; }
.deep-list svg { color: var(--prism-blue); }

/* Reviews */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev-card { background: #fff; padding: 32px; border-radius: 20px; border: 1px solid var(--prism-border); }
.rev-stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--prism-amber); }
.rev-text { color: #475569; font-size: 1rem; margin-bottom: 24px; font-style: italic; }
.rev-user { display: flex; align-items: center; gap: 12px; }
.rev-av { width: 44px; height: 44px; border-radius: 99px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: #fff; }
.av-1 { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.av-2 { background: linear-gradient(135deg, #a855f7, #c084fc); }
.av-3 { background: linear-gradient(135deg, #10b981, #34d399); }
.rev-name { font-weight: 600; font-size: 0.95rem; }

/* Comparison Table */
.cmp-wrap { border: 1px solid var(--prism-border); border-radius: 24px; overflow: hidden; background: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; text-align: left; }
.cmp-table th { background: #f8fafc; padding: 20px 24px; font-weight: 700; color: #475569; border-bottom: 1px solid var(--prism-border); }
.cmp-table td { padding: 20px 24px; border-bottom: 1px solid var(--prism-border); color: #64748b; }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-hl { color: var(--prism-blue); font-weight: 700; }
.cmp-check { color: var(--prism-emerald); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; border: 1px solid var(--prism-border); border-radius: 12px; overflow: hidden; transition: 0.3s; }
.faq-q { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; text-align: left; background: #fff; }
.faq-q:hover { background: #f8fafc; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fff; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-item.open .faq-q { border-bottom: 1px solid var(--prism-border); }
.faq-a-inner { padding: 20px 24px; color: #64748b; }

/* CTA Banner */
.cta-sec { background: linear-gradient(135deg, var(--prism-blue), var(--prism-purple)); color: #fff; text-align: center; border-radius: 32px; margin: 0 24px 80px; padding: 80px 24px; }
.cta-title { font-size: 3rem; font-weight: 900; margin-bottom: 24px; }
.cta-p { font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 40px; }

/* Footer */
.footer { background: #f8fafc; padding: 60px 0 40px; border-top: 1px solid var(--prism-border); color: #64748b; text-align: center; }
.footer-sec { margin-bottom: 20px; font-weight: 500; color: var(--prism-emerald); }
.footer-note { font-size: 0.85rem; line-height: 1.8; max-width: 800px; margin: 0 auto; }

/* Download Page Hero */
.dl-hero { padding: 160px 0 80px; text-align: center; background: radial-gradient(circle at top, rgba(59, 130, 246, 0.08) 0%, transparent 70%); }
.dl-main-card { max-width: 800px; margin: 0 auto; background: #fff; border-radius: 24px; border: 1px solid var(--prism-border); padding: 48px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.05); }
.dl-main-info { display: flex; align-items: center; justify-content: center; gap: 40px; margin-bottom: 40px; text-align: left; }
.dl-main-icon { width: 80px; height: 80px; color: var(--prism-blue); }
.dl-main-h2 { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.dl-main-meta { color: #94a3b8; font-size: 0.95rem; }

.dl-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; border-top: 1px solid var(--prism-border); padding-top: 32px; text-align: center; }
.spec-item label { display: block; font-size: 0.85rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 4px; }
.spec-item span { font-weight: 600; color: var(--prism-dark); }

/* Download Guide */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.guide-col h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 32px; display: flex; align-items: center; gap: 12px; }
.guide-step { display: flex; gap: 20px; margin-bottom: 24px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--prism-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.guide-col-purple .step-num { background: var(--prism-purple); }
.step-body h4 { font-weight: 700; margin-bottom: 4px; }
.step-body p { font-size: 0.95rem; color: #64748b; }

/* Req Grid */
.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.req-card { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid var(--prism-border); text-align: center; }
.req-ico { width: 32px; height: 32px; color: var(--prism-blue); margin: 0 auto 16px; }
.req-label { font-size: 0.85rem; color: #94a3b8; font-weight: 700; margin-bottom: 4px; display: block; }
.req-val { font-weight: 600; }

/* Updates */
.update-list { max-width: 800px; margin: 0 auto; }
.update-item { display: flex; gap: 32px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--prism-border); }
.update-item:last-child { border-bottom: none; }
.update-date { min-width: 120px; color: #94a3b8; font-weight: 600; }
.update-body h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.update-body ul { list-style: disc; padding-left: 20px; color: #64748b; font-size: 0.95rem; }

/* SEO Page */
.art-layout { display: flex; gap: 48px; }
.art-body { flex: 3; }
.art-body section { margin-bottom: 48px; }
.art-body h2 { font-size: 2rem; font-weight: 800; margin-bottom: 24px; border-left: 5px solid var(--prism-blue); padding-left: 20px; }
.art-body p { margin-bottom: 20px; font-size: 1.1rem; color: #334155; }
.art-body ul { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.art-body li { margin-bottom: 12px; font-size: 1.05rem; }

.art-side { flex: 1; }
.side-box { background: #f8fafc; border: 1px solid var(--prism-border); border-radius: 20px; padding: 24px; margin-bottom: 24px; position: sticky; top: 100px; }
.side-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid var(--prism-border); padding-bottom: 12px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item { background: #fff; border: 1px solid var(--prism-border); padding: 4px 12px; border-radius: 6px; font-size: 0.85rem; color: #64748b; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-idx-inner { flex-direction: column; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: 3rem; }
  .hero-trust { justify-content: center; }
  .feat-grid, .plat-grid, .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .art-layout { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.show { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 10px; border-bottom: 1px solid var(--prism-border); }
  .nav-toggle { display: block; }
  .feat-grid, .plat-grid, .rev-grid, .req-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .deep-row, .deep-row.rev { flex-direction: column; text-align: center; }
  .deep-list li { justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
