/* ============================================================
   Parama Technologies — Main Stylesheet
   Brand Guide v1.0 | paramatech.com
   ============================================================ */

/* ── Brand Tokens ─────────────────────────────────────────── */
:root {
  --navy-900: #000000;
  --navy-800: #0A1628;
  --navy-700: #101c2e;
  --navy-600: #1a2d47;
  --blue-primary: #005fac;
  --blue-hover: #004884;
  --blue-light: #5fa6fd;
  --blue-muted: #a4c9ff;
  --blue-faint: #d4e3ff;
  --surface: #f7f9fc;
  --surface-low: #f2f4f7;
  --surface-container: #eceef1;
  --surface-highest: #e0e3e6;
  --white: #ffffff;
  --text-primary: #191c1e;
  --text-secondary: #45474c;
  --text-muted: #75777d;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #94a3b8;
  --success: #1a7a4a;
  --error: #ba1a1a;
  --outline: #c5c6cd;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1100px;
  --gutter: clamp(24px, 5vw, 48px);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.15; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.section-padding { padding: 96px 0; }
.section-padding-sm { padding: 64px 0; }

/* ── Section Backgrounds ─────────────────────────────────── */
.hero-gradient { background: linear-gradient(135deg, #000000 0%, #101c2e 100%); }
.hero-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}
.section-dark { background: var(--navy-700); color: var(--text-on-dark); }
.section-light { background: var(--surface); color: var(--text-primary); }
.section-container { background: var(--surface-container); }
.section-accent { background: linear-gradient(135deg, #005fac 0%, #004884 100%); color: white; }

/* ── Section Labels ──────────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 8px;
}
.section-label--light { color: var(--blue-light); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue-primary); color: white; }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 4px 20px rgba(0,95,172,0.25); }
.btn-ghost { background: rgba(255,255,255,0.05); color: white; border: 1.5px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { background: transparent; color: var(--blue-primary); border: 1.5px solid var(--blue-primary); }
.btn-outline:hover { background: var(--blue-faint); }
.btn-secondary { background: var(--surface-container); color: var(--text-primary); }
.btn-secondary:hover { background: var(--surface-highest); }
.btn-white { background: white; color: var(--blue-primary); font-weight: 700; }
.btn-white:hover { background: var(--surface-low); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 12px; }

/* ── Material Symbols ────────────────────────────────────── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ── Navigation ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  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.06);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(10,22,40,0.08); }
.site-nav { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); max-width: 1280px; margin: 0 auto; }
.site-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
}
.site-logo span { color: var(--blue-primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { margin-left: 8px; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); }
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px var(--gutter) 24px;
  border-top: 1px solid var(--surface-highest);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--surface-highest);
  text-decoration: none;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu .btn { margin-top: 16px; text-align: center; justify-content: center; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding: 64px var(--gutter) 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; }
.footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 12px;
  display: block;
}
.footer-logo span { color: var(--blue-light); }
.footer-tagline { font-size: 13px; line-height: 1.6; max-width: 240px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: var(--text-muted); transition: color 0.15s; font-size: 13px; }
.footer-social a:hover { color: var(--blue-light); }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 13px; color: var(--text-on-dark-muted); text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(10,22,40,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(10,22,40,0.1); }
.card-featured { border: 2px solid var(--blue-primary); position: relative; }
.card-dark { background: var(--navy-700); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 28px; color: white; }

/* ── Pills & Tags ────────────────────────────────────────── */
.pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.pill-accent { background: rgba(0,95,172,0.1); color: var(--blue-primary); border: 1px solid rgba(0,95,172,0.2); }
.pill-dark { background: rgba(255,255,255,0.1); color: var(--blue-muted); }
.pill-stack { background: rgba(255,255,255,0.08); color: var(--blue-muted); font-size: 10px; padding: 3px 10px; }
.pill-category { background: var(--blue-faint); color: var(--blue-hover); }
.pill-new { background: var(--blue-primary); color: white; }
.pill-featured { background: var(--blue-primary); color: white; font-size: 10px; padding: 3px 10px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Stat / Metric blocks ────────────────────────────────── */
.stat-block { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
  display: block;
}
.stat-label { font-size: 12px; color: var(--text-on-dark-muted); margin-top: 4px; display: block; }

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-item--light { border-bottom-color: var(--surface-highest); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--blue-light); }
.faq-question--light { color: var(--text-primary); }
.faq-question--light:hover { color: var(--blue-primary); }
.faq-chevron { transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 20px; font-size: 15px; line-height: 1.7; color: var(--text-on-dark-muted); }
.faq-answer--light { color: var(--text-secondary); }
.faq-item.open .faq-answer { display: block; }

/* ── Count-up animation ──────────────────────────────────── */
.count-up { transition: all 0.3s; }

/* ── Animate on scroll ───────────────────────────────────── */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ── Pulse animation (availability dot) ─────────────────── */
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,122,74,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(26,122,74,0); }
}
.pulse-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  animation: pulse-green 2s infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-field {
  width: 100%;
  background: var(--surface-container);
  border: 1.5px solid transparent;
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.15s, background 0.15s;
  outline: none;
}
.form-field:focus { border-color: var(--blue-primary); background: white; }
.form-field::placeholder { color: var(--text-muted); }
.form-label { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text-primary); display: block; margin-bottom: 6px; }

/* ── Timeline ────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: rgba(0,95,172,0.2); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot { position: absolute; left: -38px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-primary); border: 2px solid var(--surface); }
.timeline-title { font-family: var(--font-heading); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.timeline-body { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── Process steps (numbered circles) ───────────────────── */
.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Comparison table ────────────────────────────────────── */
.comparison-col { border-radius: 12px; padding: 28px; }
.comparison-col--featured { background: white; border: 2px solid var(--blue-primary); }
.comparison-col--muted { background: var(--surface-container); opacity: 0.7; }
.check-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.check-item .icon-yes { color: var(--success); }
.check-item .icon-no { color: var(--error); }

/* ── Browser chrome mockup ───────────────────────────────── */
.browser-mockup { border-radius: 10px; overflow: hidden; box-shadow: 0 8px 32px rgba(10,22,40,0.12); }
.browser-bar { background: #e8eaed; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot--red { background: #ff5f57; }
.browser-dot--yellow { background: #febc2e; }
.browser-dot--green { background: #28c840; }
.browser-url { background: white; border-radius: 4px; padding: 3px 12px; font-size: 11px; color: var(--text-muted); font-family: 'Courier New', monospace; margin-left: 8px; flex: 1; }
.browser-content { background: var(--navy-700); }

/* ── Hover effects ───────────────────────────────────────── */
.hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,95,172,0.15); }

/* ── WP Core overrides ───────────────────────────────────── */
.wp-block-image img { border-radius: 8px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Utility ─────────────────────────────────────────────── */
.text-accent { color: var(--blue-primary); }
.text-accent-light { color: var(--blue-light); }
.text-muted-dark { color: var(--text-on-dark-muted); }
.bg-accent { background: var(--blue-primary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
