/* ============================================
   simple-dash.com — shared stylesheet
   ============================================ */

:root {
  --bg-primary:    #08091a;
  --bg-secondary:  #0b0e1f;
  --bg-card:       #0f1525;
  --bg-card-hover: #131a2d;
  --accent:        #185FA5;
  --accent-light:  #2478c5;
  --accent-bright: #4a9eff;
  --accent-glow:   rgba(24, 95, 165, 0.40);
  --accent-subtle: rgba(24, 95, 165, 0.12);
  --text-primary:  #eef1fa;
  --text-secondary:#7a8bae;
  --text-muted:    #3a4560;
  --border:        rgba(24, 95, 165, 0.30);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --nav-h:         68px;
  --r:             12px;
  --r-lg:          18px;
  --max-w:         1180px;
}

/* ---- Reset & base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Helvetica, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  background: rgba(8, 9, 26, 0.70);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 72px);
  z-index: 1000;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(8, 9, 26, 0.96);
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo svg { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 7px 15px;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--accent-subtle); }
.nav-links a.active { color: var(--accent-bright); background: var(--accent-subtle); }

.nav-cta {
  margin-left: 8px;
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: var(--r) !important;
  font-weight: 600 !important;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent-light) !important;
  box-shadow: 0 0 22px var(--accent-glow) !important;
  transform: translateY(-1px) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8, 9, 26, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 16px;
  gap: 4px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--r);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--text-primary);
  background: var(--accent-subtle);
}

/* ---- Page wrapper ---- */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.22s;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px clamp(16px, 4vw, 72px);
}

/* radial gradient blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(24,95,165,0.22) 0%, transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24,95,165,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,95,165,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 95, 165, 0.12);
  border: 1px solid rgba(24, 95, 165, 0.35);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #4a9eff 10%, #185FA5 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* Dashboard mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dashboard-mockup {
  width: 100%;
  max-width: 540px;
  filter: drop-shadow(0 0 60px rgba(24, 95, 165, 0.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- Shared section layout ---- */
.section {
  padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 72px);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.0rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 52px;
}

/* ---- Feature cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
  background: var(--bg-card-hover);
}
.card:hover::after { opacity: 1; }

.card-icon {
  width: 46px; height: 46px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-bright);
}
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px clamp(16px, 4vw, 72px);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ---- How it works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-bright);
  flex-shrink: 0;
}
.step h3 { font-size: 1.02rem; font-weight: 600; }
.step p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ---- Packages ---- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  align-items: start;
}
.pkg {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 32px 28px 36px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pkg:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pkg.featured {
  background: linear-gradient(150deg, #101e38 0%, #0b1526 100%);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(24,95,165,0.18);
}
.pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pkg h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.pkg-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; }
.pkg-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.pkg-price sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  vertical-align: baseline;
}
.pkg-billing {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pkg-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pkg-features li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--accent-bright);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 3.5l-7 7-3-3' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/cover;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 3.5l-7 7-3-3' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/cover;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, #0e1b32 0%, #0a1224 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.0rem;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ---- Footer ---- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 52px clamp(16px, 4vw, 72px) 28px;
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  padding: 72px clamp(16px, 4vw, 72px) 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.75;
}

/* ---- Samples ---- */
.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.sample-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.sample-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}
.sample-preview {
  height: 180px;
  background: linear-gradient(135deg, #0b1424, #0f1c34);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sample-chart-icon {
  opacity: 0.3;
  font-size: 3rem;
}
.sample-info { padding: 18px 20px 22px; }
.sample-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 6px;
}
.sample-info h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 7px; }
.sample-info p  { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.6; }
.sample-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-subtle);
  color: var(--accent-bright);
  border: 1px solid var(--border);
}

/* ---- FAQ ---- */
.faq-wrap { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-bright); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent-bright); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-body-inner {
  padding: 0 22px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 860px;
}
.contact-aside h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  margin-top: 2px;
}
.contact-detail strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.contact-detail p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.6; }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  padding: 11px 15px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(24,95,165,0.15);
  background: var(--bg-card-hover);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8bae' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
select option { background: var(--bg-card); color: var(--text-primary); }
textarea { resize: vertical; min-height: 120px; }

/* ---- Divider ---- */
.hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0 clamp(16px, 4vw, 72px);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 52px 16px 60px; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
}
