/* Indigo Ink / Paper Texture Theme */
:root {
  --bg: #fdfbf7;
  --primary: #2e3192;
  --primary-light: #4f46e5;
  --secondary: #b45309;
  --text: #1f2937;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --wrap: 1200px;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Navbar */
.nav { position: sticky; top: 0; background: rgba(253, 251, 247, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 1000; height: 70px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; color: var(--primary); }
.nav-brand svg { width: 32px; height: 32px; }
.nav-menu { display: flex; gap: 30px; }
.nav-link { font-weight: 500; font-size: 1rem; color: var(--text-muted); position: relative; padding: 5px 0; }
.nav-link:hover { color: var(--primary); }
.nav-link.on { color: var(--primary); font-weight: 700; }
.nav-link.on::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--primary); border-radius: 2px; }
.nav-cta .btn { padding: 8px 20px; font-size: 0.9rem; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; transition: 0.3s; gap: 8px; }
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-light); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: rgba(46, 49, 146, 0.05); }

/* Hero */
.hero { padding: 100px 0; background: radial-gradient(circle at 80% 20%, rgba(46, 49, 146, 0.05) 0%, transparent 50%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(180, 83, 9, 0.1); color: var(--secondary); border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; border: 1px solid rgba(180, 83, 9, 0.2); }
.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; color: var(--primary); }
.hero-title span { color: var(--secondary); }
.hero-desc { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; }
.hero-btns { display: flex; gap: 20px; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 24px; opacity: 0.7; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; }
.hero-visual { position: relative; }
.hero-paper-stack { position: relative; width: 100%; aspect-ratio: 1/1; }
.paper { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: 4px; box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: 0.5s ease; }
.paper-p1 { width: 80%; height: 80%; left: 0; top: 0; transform: rotate(-5deg); z-index: 4; border-left: 4px solid #ef4444; } /* Writer */
.paper-p2 { width: 80%; height: 80%; left: 10%; top: 5%; transform: rotate(2deg); z-index: 3; border-left: 4px solid #22c55e; } /* Sheets */
.paper-p3 { width: 80%; height: 80%; left: 20%; top: 10%; transform: rotate(-3deg); z-index: 2; border-left: 4px solid #f97316; } /* Slides */
.paper-p4 { width: 80%; height: 80%; left: 15%; top: 15%; transform: rotate(5deg); z-index: 1; border-left: 4px solid #3b82f6; } /* PDF */
.paper-h { height: 12px; background: #f3f4f6; border-radius: 2px; width: 60%; }
.paper-l { height: 8px; background: #f3f4f6; border-radius: 2px; width: 100%; }

/* Sections */
.sec { padding: 100px 0; }
.sec-alt { background-color: var(--white); }
.sec-head { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.sec-label { font-weight: 800; color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 15px; display: block; }
.sec-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.sec-desc { color: var(--text-muted); font-size: 1.1rem; }

/* Pillar Grid */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.pillar-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); border: 1px solid var(--border); transition: 0.3s; text-align: center; position: relative; overflow: hidden; }
.pillar-card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: var(--primary); }
.pillar-icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--white); }
.pi-w { background: #ef4444; }
.pi-s { background: #22c55e; }
.pi-p { background: #f97316; }
.pi-f { background: #3b82f6; }
.pillar-name { font-size: 1.5rem; margin-bottom: 12px; color: var(--primary); }
.pillar-desc { font-size: 0.95rem; color: var(--text-muted); }

/* Feature Grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feat-card { display: flex; gap: 20px; padding: 30px; border-radius: var(--radius); border: 1px solid transparent; transition: 0.3s; }
.feat-card:hover { background: var(--white); border-color: var(--border); box-shadow: var(--shadow); }
.feat-icon-wrap { flex-shrink: 0; width: 48px; height: 48px; background: rgba(46, 49, 146, 0.05); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.feat-name { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary); font-weight: 700; }
.feat-desc { font-size: 0.95rem; color: var(--text-muted); }

/* Reviews */
.rev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.rev-card { background: var(--white); padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); }
.rev-text { font-style: italic; font-size: 1.1rem; margin-bottom: 24px; color: var(--text); position: relative; }
.rev-text::before { content: "“"; font-size: 4rem; position: absolute; left: -20px; top: -30px; opacity: 0.1; color: var(--primary); }
.rev-user { display: flex; align-items: center; gap: 15px; }
.rev-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.rev-name { font-weight: 700; color: var(--primary); display: block; }
.rev-role { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; font-size: 1.1rem; color: var(--primary); }
.faq-chevron { transition: 0.3s; width: 20px; height: 20px; }
.faq-a { max-height: 0; overflow: hidden; transition: 0.3s ease-out; }
.faq-a-inner { padding-bottom: 24px; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-a { max-height: 200px; }

/* Footer */
.footer { background: var(--primary); color: var(--white); padding: 80px 0 40px; }
.footer-inner { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; margin-bottom: 20px; }
.footer-note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); max-width: 600px; margin-bottom: 20px; }
.footer-security { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: #4ade80; }
.footer-copy { text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); }

/* Download Page Specifics */
.dl-hero { padding: 80px 0; text-align: center; }
.dl-main { max-width: 900px; margin: -100px auto 100px; background: var(--white); padding: 60px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); position: relative; z-index: 10; }
.dl-main-head { display: flex; align-items: center; gap: 40px; margin-bottom: 40px; text-align: left; }
.dl-main-icon { width: 120px; height: 120px; background: var(--primary); border-radius: 24px; display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.dl-main-info h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 10px; }
.dl-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; background: var(--bg); padding: 30px; border-radius: var(--radius); }
.dl-spec-lbl { font-size: 0.85rem; color: var(--text-muted); display: block; }
.dl-spec-val { font-weight: 700; color: var(--primary); }
.dl-platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-plat-card { background: var(--white); padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }

/* SEO Page Specifics */
.art-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 60px; }
.art-body { background: var(--white); padding: 50px; border-radius: var(--radius); border: 1px solid var(--border); }
.art-body h2 { font-size: 1.8rem; color: var(--primary); margin: 40px 0 20px; }
.art-body p { margin-bottom: 20px; color: var(--text); font-size: 1.1rem; }
.sidebar-box { background: var(--white); padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 30px; position: sticky; top: 100px; }
.sidebar-title { font-weight: 700; margin-bottom: 20px; color: var(--primary); display: flex; align-items: center; gap: 10px; }

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: 1fr; }
  .art-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nav-menu { display: none; }
  .nav-menu.show { display: flex; position: absolute; top: 70px; left: 0; width: 100%; background: var(--bg); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-toggle { display: block; font-size: 1.5rem; cursor: pointer; color: var(--primary); }
  .hero-title { font-size: 2.5rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .dl-main-head { flex-direction: column; text-align: center; }
  .dl-specs { grid-template-columns: 1fr; }
  .dl-platforms { grid-template-columns: 1fr; }
}
