@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #060b16;
  --bg-surface: #0f172a;
  --bg-card: #131d33;
  --border-subtle: #1e293b;
  --border-accent: #38bdf8;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --green: #22c55e;
  --green-hover: #4ade80;
  --whatsapp: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', 'Segoe UI', Arial, sans-serif; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 50% -10%, rgba(56, 189, 248, 0.14), transparent 45%);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Sticky Glass Header */
header {
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #060b16;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}
nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
nav a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
nav a:hover, nav a.active { color: var(--accent); text-decoration: none; }
nav a.nav-cta {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 7px;
  font-weight: 600;
}
nav a.nav-cta:hover { background: var(--accent); color: #060b16; }

/* Containers */
.container { max-width: 1040px; margin: 0 auto; padding: 48px 20px; }
.doc-container { max-width: 880px; margin: 0 auto; padding: 44px 20px; }

/* Hero */
.hero {
  text-align: center;
  padding: 72px 20px 48px;
  max-width: 840px;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-secondary); font-size: 17px; max-width: 680px; margin: 0 auto 30px; }

/* Buttons */
.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #060b16;
  padding: 12px 22px;
  border-radius: 9px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.2);
}
.btn-green { background: var(--green); color: #052e16; }
.btn-green:hover { background: var(--green-hover); box-shadow: 0 8px 20px rgba(34, 197, 94, 0.22); }
.btn-whatsapp { background: var(--whatsapp); color: #052e16; }
.btn-whatsapp:hover { background: #4ade80; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25); }
.btn-outline { background: transparent; border: 1px solid #334155; color: var(--text-primary); }
.btn-outline:hover { background: #1e293b; border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* Trust Stats Strip */
.stats-bar { max-width: 1000px; margin: 0 auto 12px; padding: 0 20px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
}
.stat-item { text-align: center; padding: 6px; }
.stat-item strong { display: block; font-size: 16px; color: var(--text-primary); margin-bottom: 3px; }
.stat-item span { font-size: 12px; color: var(--text-muted); }

/* Headings */
.section-header { margin-bottom: 28px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
}
.section-title { font-size: 28px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 26px; }

/* STACKED SOFTWARE POST FEED */
.post-feed { display: flex; flex-direction: column; gap: 28px; }
.post-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.post-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}
.post-visual {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-subtle);
  gap: 16px;
}
.post-visual.blue-theme { background: linear-gradient(155deg, #0c2340 0%, #0f172a 100%); }
.post-visual.emerald-theme { background: linear-gradient(155deg, #0a2e28 0%, #0f172a 100%); }

/* UI Screenshot Preview Frame */
.preview-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #070d19;
  position: relative;
}
.preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ui-fallback {
  width: 100%;
  height: 100%;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #0d182d, #070c17);
}
.ui-dots { display: flex; gap: 5px; margin-bottom: 8px; }
.ui-dots i { width: 7px; height: 7px; border-radius: 50%; background: #334155; display: block; }
.ui-dots i:first-child { background: #ef4444; }
.ui-dots i:nth-child(2) { background: #f59e0b; }
.ui-dots i:nth-child(3) { background: #22c55e; }
.ui-mock-bar { height: 9px; border-radius: 4px; background: rgba(56, 189, 248, 0.25); width: 65%; margin-bottom: 8px; }
.ui-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; flex: 1; }
.ui-mock-tile { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; padding: 8px; font-size: 10px; color: #94a3b8; display: flex; flex-direction: column; justify-content: center; }
.ui-mock-tile strong { color: #e2e8f0; font-size: 11px; margin-bottom: 2px; }

.post-visual-title { font-size: 19px; font-weight: 800; color: #ffffff; margin-bottom: 2px; }
.post-visual-sub { font-size: 13px; color: var(--text-muted); }
.post-specs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.tag.green-tag {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.28);
}
.post-date { font-size: 12px; color: var(--text-muted); }
.post-body h3 { font-size: 23px; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; letter-spacing: -0.3px; }
.post-desc { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 18px; }

.post-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  list-style: none;
  margin-bottom: 24px;
}
.post-features li { font-size: 13.5px; color: #e2e8f0; padding-left: 20px; position: relative; }
.post-features li::before { content: "\2713"; color: var(--green-hover); position: absolute; left: 0; font-weight: 800; }

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.post-price-box .price { margin: 0; font-size: 24px; line-height: 1.2; }
.post-price-box .tax-note { margin: 3px 0 0; }
.post-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* FAQ Accordion Block */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.45);
  background: #15213a;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "\2212";
  color: var(--green-hover);
}
.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-answer strong { color: var(--text-primary); }

/* Screenshot Gallery on Detail Pages */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 18px 0 24px;
}

/* Standard Grids & Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card.featured { border: 1.5px solid var(--accent); box-shadow: 0 0 24px rgba(56, 189, 248, 0.08); }
.card h3 { font-size: 19px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 14px; margin-bottom: 14px; }
.price { font-size: 26px; font-weight: 800; color: var(--green-hover); margin: 10px 0 4px; }
.price span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.tax-note { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }

.features { list-style: none; margin: 14px 0 22px; }
.features li { font-size: 14px; color: #e2e8f0; margin-bottom: 8px; padding-left: 20px; position: relative; }
.features li::before { content: "\2713"; color: var(--green-hover); position: absolute; left: 0; font-weight: bold; }

/* Document / Policy / Detail Boxes */
.doc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 24px;
}
.doc-box h1 { color: var(--text-primary); font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.doc-box h2 { color: var(--accent); font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.doc-box p, .doc-box li { color: var(--text-secondary); font-size: 15px; margin-bottom: 10px; }
.doc-box ul { padding-left: 20px; }

.meta-bar {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--bg-surface);
  padding: 14px 18px;
  border-radius: 10px;
  margin: 18px 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.meta-bar span strong { color: var(--accent); }

/* Checkout Layout */
.checkout-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 14px;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); margin: 16px 0; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 15px; color: var(--text-secondary); }
.summary-total { border-top: 1px solid var(--border-subtle); padding-top: 12px; margin-top: 12px; font-size: 20px; font-weight: 800; color: var(--green-hover); }
.status-msg { margin-top: 14px; padding: 12px; border-radius: 8px; font-size: 14px; display: none; background: #064e3b; color: #a7f3d0; border: 1px solid #10b981; }

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #052e16;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.wa-float:hover { background: #4ade80; color: #052e16; text-decoration: none; transform: translateY(-2px); }

/* Footer */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  padding: 36px 20px 80px;
  margin-top: 64px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links { margin: 14px 0; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { margin-top: 10px; color: var(--text-secondary); line-height: 1.8; }

@media (max-width: 860px) {
  .post-card { grid-template-columns: 1fr; }
  .post-visual { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .post-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  header { padding: 12px 16px; }
  .hero h1 { font-size: 29px; }
  .post-body { padding: 22px 20px; }
  .post-actions { width: 100%; }
  .post-actions .btn { flex: 1; }
  .faq-item { padding: 16px; }
  .faq-item summary { font-size: 15px; }
}