:root {
  --bg: #0b1120;
  --bg-elevated: #111a2e;
  --surface: #18233d;
  --surface-hover: #1e2c4b;
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.34);
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --muted: #94a3b8;
  --accent: #ff6b6b;
  --accent-hover: #ff5252;
  --accent-soft: rgba(255, 107, 107, 0.12);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --link: #7dd3fc;
  --radius: 14px;
  --shadow: 0 14px 36px rgba(2, 6, 23, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(900px 420px at 85% -5%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(700px 380px at 10% 0%, rgba(255, 107, 107, 0.1), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Navigation */
.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 24px;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.89rem;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 6px 11px;
  border-radius: 8px;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.nav-links a[aria-current='page'] {
  color: #fff;
  background: rgba(125, 211, 252, 0.14);
  font-weight: 600;
}

.nav-links a.nav-cta {
  background: var(--accent);
  color: #0b1120;
  font-weight: 600;
  margin-left: 4px;
}

.nav-links a.nav-cta:hover {
  background: var(--accent-hover);
  color: #0b1120;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--muted);
  margin: 26px 0 12px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 18px 0 42px;
  border-bottom: 1px solid var(--border);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 107, 107, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #a7f3d0;
  background: var(--green-soft);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 4px 12px;
  border-radius: 999px;
}

.status-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.13;
  letter-spacing: -0.028em;
  margin: 0 0 16px;
  color: #fff;
  max-width: 24ch;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 68ch;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(24, 35, 61, 0.75);
}

.btn:hover {
  text-decoration: none;
  border-color: var(--link);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1120;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0b1120;
}

.btn-whatsapp {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: #d1fae5;
}

.btn-whatsapp:hover {
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.trust-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(17, 26, 46, 0.72);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}

/* Sections */
section {
  padding: 42px 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.38rem, 2.5vw, 1.72rem);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 6px;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

h3 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 8px;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(24, 35, 61, 0.72) 0%, rgba(17, 26, 46, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.card-index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.card-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.proof-card {
  border-left: 3px solid var(--accent);
}

/* Tech stack tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.tag-list li {
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.22);
  color: #e0f2fe;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  vertical-align: top;
}

th {
  color: #fff;
  background: var(--surface);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.window-pill {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
}

/* FAQ Accordion */
details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

details[open] {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(24, 35, 61, 0.72);
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}

details[open] summary::after {
  content: '−';
}

details p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* CTA Box */
.cta-box {
  background:
    radial-gradient(500px 220px at 90% 10%, rgba(255, 107, 107, 0.18), transparent 65%),
    linear-gradient(135deg, var(--surface) 0%, #132145 100%);
  border: 1px solid rgba(255, 107, 107, 0.35);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.cta-box .cta-row {
  margin-bottom: 0;
}

/* Service Directory Pills */
.service-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.service-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.service-pill:hover {
  text-decoration: none;
  border-color: var(--link);
  background: var(--surface);
  transform: translateY(-1px);
}

.service-pill span {
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 12px;
}

.footer-grid a {
  color: var(--text-secondary);
}
