@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@400;500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #f3f6fb;
  --bg-strong: #ffffff;
  --ink: #121a2f;
  --muted: #5a6478;
  --primary: #ff6a3d;
  --primary-dark: #d14d26;
  --secondary: #1f5ea8;
  --accent: #edb63a;
  --border: #d6dfec;
  --shadow: 0 18px 40px rgba(15, 35, 70, 0.12);
  --panel: #fdfefe;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 3% 0%, #e7f0fd 0%, transparent 35%),
    radial-gradient(circle at 98% 10%, #fff1d6 0%, transparent 35%),
    var(--bg);
  line-height: 1.45;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Chivo', sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 246, 251, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 14px;
}

.site-logo img {
  display: block;
  width: auto;
  max-width: 188px;
  height: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.86rem;
  text-decoration: none;
  padding: 5px 9px;
  border-radius: 999px;
  font-weight: 600;
}

.site-nav a:hover {
  background: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid #d8e2f0;
  border-radius: 14px;
  background: #f7faff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.currency-select {
  min-width: 86px;
}

.header-actions .currency-select,
.header-actions .ghost-btn,
.header-actions .primary-btn {
  height: 46px;
  border-radius: 12px;
  line-height: 1;
}

.header-actions .currency-select {
  min-width: 120px;
  padding: 0 12px;
  font-weight: 600;
  border: 1px solid #c2d0e5;
}

.header-actions .ghost-btn {
  padding: 0 16px;
  border: 1px solid #c2d0e5;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.header-actions .primary-btn {
  min-width: 132px;
  padding: 0 16px;
  white-space: nowrap;
}

.primary-btn,
.ghost-btn,
.icon-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 106, 61, 0.32);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn:hover,
.ghost-btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.ghost-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  width: 34px;
  height: 34px;
  padding: 0;
  align-self: flex-end;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.app-shell,
.content,
.topbar,
.topbar > div,
.topbar-actions,
.order-layout,
.panel,
.search-row,
.service-desc pre {
  min-width: 0;
  max-width: 100%;
}

textarea {
  resize: vertical;
}

.field-note {
  margin-top: -4px;
  font-size: 0.78rem;
  color: #6d7688;
}

.landing-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 18px 60px;
  display: grid;
  gap: 24px;
}

.hero {
  border: 1px solid #cfdae9;
  border-radius: 24px;
  background: linear-gradient(120deg, #fbfdff 0%, #f6f8fc 48%, #fffaf3 100%);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
}

.hero h1 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.hero-lead {
  margin-top: 12px;
  max-width: 58ch;
}

.promo-bonus {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #f5c880;
  background: #fff5df;
  color: #8a4d16;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.install-wide-btn {
  margin-top: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #1a4d89;
  background: linear-gradient(90deg, #143867 0%, #1f5ea8 50%, #2a7fd4 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(22, 64, 114, 0.28);
  animation: install-glow 1.8s ease-in-out infinite;
}

@keyframes install-glow {
  0% {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(22, 64, 114, 0.22);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(36, 94, 168, 0.34);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(22, 64, 114, 0.22);
  }
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero-metrics article {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
}

.metric-label {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}

.hero-metrics strong {
  font-size: 1.15rem;
}

.hero-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #d3deef;
  display: block;
}

.section {
  background: var(--bg-strong);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 16px;
}

.section-alt {
  background: linear-gradient(120deg, #f8fbff 0%, #fff7ea 100%);
}

.section-head h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.section-head p {
  margin-top: 6px;
}

.category-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.category-pill.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.filters-row {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 10px;
}

.services-loading {
  display: grid;
  gap: 6px;
}

.services-loading span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.services-loading-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #ebf1fb;
  border: 1px solid #d6e2f3;
  overflow: hidden;
}

.services-loading-bar {
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--secondary), #57a5f0);
  animation: loading-slide 1.15s ease-in-out infinite;
}

@keyframes loading-slide {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.service-category {
  font-size: 0.74rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
}

.service-name {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
}

.service-meta-line {
  font-size: 0.82rem;
  color: #4e586c;
}

.service-buy-btn {
  margin-top: 2px;
  width: 100%;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.price-buy-btn {
  border: none;
  background: none;
  color: #1f5ea8;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-family: inherit;
}

.price-buy-btn:hover {
  text-decoration: underline;
}

.price-chip {
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff4e2;
  color: #8a4d16;
  font-size: 0.78rem;
  font-weight: 700;
}

.center-row {
  text-align: center;
}

.empty-note {
  font-size: 0.92rem;
}

.landing-table-wrap {
  border: 1px solid var(--border);
  border-radius: 14px;
}

.landing-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.landing-table th,
.landing-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.why-grid article {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 14px;
}

.why-grid h3 {
  font-size: 0.95rem;
}

.why-grid p {
  margin-top: 8px;
  font-size: 0.88rem;
}

.doodle-section {
  background:
    radial-gradient(circle at 8% 14%, rgba(56, 119, 203, 0.08) 0 6px, transparent 7px),
    radial-gradient(circle at 93% 22%, rgba(237, 182, 58, 0.11) 0 5px, transparent 6px),
    radial-gradient(circle at 18% 88%, rgba(255, 106, 61, 0.09) 0 4px, transparent 5px),
    var(--bg-strong);
}

.doodle-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.doodle-stat-card {
  border: 2px solid #3f85cf;
  border-radius: 10px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(63, 133, 207, 0.16);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tilt-left {
  transform: rotate(-0.8deg);
}

.tilt-none {
  transform: rotate(0.2deg);
}

.tilt-right {
  transform: rotate(0.9deg);
}

.doodle-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.doodle-stat-card strong {
  display: block;
  font-size: 1.9rem;
  color: #1f5ea8;
  line-height: 1.1;
}

.doodle-stat-card p {
  margin-top: 3px;
  font-size: 0.9rem;
}

.doodle-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.doodle-note {
  border: 2px solid #3f85cf;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 4px 4px 0 rgba(63, 133, 207, 0.14);
}

.doodle-note-icon {
  font-size: 2rem;
  line-height: 1;
}

.doodle-note h3 {
  margin-top: 10px;
  font-size: 1.05rem;
}

.doodle-note p {
  margin-top: 8px;
  font-size: 0.86rem;
}

.doodle-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.doodle-step {
  border: 2px solid #3f85cf;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 4px 4px 0 rgba(63, 133, 207, 0.14);
  position: relative;
}

.step-badge {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2d76c2;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.doodle-step h3 {
  margin-top: 10px;
  font-size: 1.04rem;
}

.doodle-step p {
  margin-top: 6px;
  font-size: 0.84rem;
}

.blog-status {
  font-size: 0.9rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.blog-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.blog-card h3 {
  font-size: 1rem;
}

.blog-date {
  font-size: 0.76rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
}

.blog-content {
  font-size: 0.88rem;
  color: #475165;
}

.blog-content h2,
.blog-content h3 {
  font-size: 0.9rem;
  margin-top: 8px;
}

.blog-content ul {
  padding-left: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-top: 8px;
}

.lead-form {
  display: grid;
  gap: 10px;
  width: min(100%, 920px);
  max-width: 920px;
  border: 1px solid #dbe5f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 18px;
}

.lead-form label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f1d35;
}

.lead-form input,
.lead-form textarea {
  border-color: #c9d7ea;
  border-radius: 13px;
  background: #fff;
  padding: 12px 13px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: #5a94d6;
  box-shadow: 0 0 0 3px rgba(90, 148, 214, 0.14);
}

.lead-form textarea {
  min-height: 130px;
}

.lead-form .field-note {
  margin-top: -2px;
  font-size: 0.8rem;
}

.lead-form .primary-btn {
  margin-top: 4px;
  justify-self: start;
  min-width: 240px;
  padding: 12px 18px;
}

.site-footer {
  background: linear-gradient(120deg, #121f38 0%, #1c345a 100%);
  color: #eaf1ff;
  border-color: #2f466f;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-col h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #ffffff;
}

.footer-col a {
  color: #d6e7ff;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-note {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #b8cdee;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  display: grid;
  place-items: center;
  padding: 14px;
  z-index: 60;
}

.auth-card {
  width: min(500px, 100%);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  gap: 14px;
}

.popup-card {
  width: min(460px, 100%);
}

.popup-kv {
  display: grid;
  gap: 10px;
}

.popup-kv > div {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #f7fbff;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.popup-kv span {
  color: var(--muted);
  font-size: 0.82rem;
}

.popup-kv strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.popup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.popup-actions .primary-btn,
.popup-actions .ghost-btn {
  min-width: 130px;
}

.is-processing {
  opacity: 0.85;
  cursor: wait;
}

.brand-block {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.auth-tabs {
  display: flex;
  gap: 10px;
}

.tab-btn {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 9px 10px;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--ink);
  color: #fff;
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-actions {
  display: grid;
  gap: 8px;
}

.google-auth-shell {
  display: grid;
  gap: 8px;
}

.google-rendered-btn {
  min-height: 42px;
}

.google-rendered-btn > div {
  width: 100%;
}

.link-btn {
  border: none;
  padding: 0;
  background: none;
  color: var(--secondary);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.link-btn:hover {
  text-decoration: underline;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: rgba(253, 254, 255, 0.96);
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tagline {
  font-size: 0.82rem;
}

.sidebar-nav {
  display: grid;
  gap: 9px;
}

.nav-btn {
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.nav-btn.active {
  background: #fff;
  border-color: var(--border);
}

.nav-btn.danger {
  color: #b42318;
}

.wallet-mini {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.content {
  padding: 24px 28px 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.subtitle {
  margin-top: 4px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.balance-chip,
.user-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 11px;
  background: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  background: var(--secondary);
}

.whatsapp-link {
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: #25d366;
  padding: 7px 12px;
  font-weight: 700;
}

.install-btn {
  border: none;
  border-radius: 999px;
  background: #1f2937;
  color: #fff;
  padding: 7px 12px;
  font-weight: 700;
  cursor: pointer;
}

.notify-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.notify-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notifications-card {
  width: min(620px, 100%);
  max-height: min(78vh, 760px);
}

.notifications-list {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  max-height: min(58vh, 520px);
  padding-right: 2px;
}

.notification-item {
  border: 1px solid #d8e3f2;
  border-radius: 12px;
  background: #fbfdff;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
}

.notification-item.unread {
  border-color: #80a9df;
  background: #f3f8ff;
}

.notification-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.notification-title {
  font-weight: 700;
  color: #1a2742;
}

.notification-meta {
  font-size: 0.75rem;
  color: #5e6a81;
}

.notification-message {
  font-size: 0.88rem;
  color: #4b5972;
}

.notification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.muted-note {
  font-size: 0.9rem;
  color: #5d6880;
}

.view {
  display: block;
}

.banner {
  border: 1px dashed var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.banner-track {
  white-space: nowrap;
  display: inline-block;
  padding: 10px 0;
  padding-left: 100%;
  color: var(--secondary);
  font-weight: 700;
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.order-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.search-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-row input {
  flex: 1 1 220px;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
}

.category-tabs button {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 7px 9px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-tabs button.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.tab-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
}

.tab-icon-all { background: #64748b; }
.tab-icon-instagram { background: #e1306c; }
.tab-icon-facebook { background: #2563eb; }
.tab-icon-youtube { background: #dc2626; }
.tab-icon-spotify { background: #16a34a; }
.tab-icon-tiktok { background: #111827; }
.tab-icon-traffic { background: #0ea5e9; }
.tab-icon-whatsapp { background: #22c55e; }
.tab-icon-twitter { background: #0ea5e9; }
.tab-icon-twitch { background: #7c3aed; }
.tab-icon-threads { background: #111827; }
.tab-icon-other { background: #f59e0b; }

.service-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.service-meta span {
  font-size: 0.78rem;
  color: var(--muted);
}

.service-desc pre {
  margin: 6px 0 0;
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #f9fbff;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  color: #4a5568;
  max-height: 200px;
  overflow-y: auto;
}

.order-form {
  display: grid;
  gap: 8px;
}

.inline-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-row > * {
  flex: 1 1 160px;
}

.charge-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fbff;
  padding: 10px 12px;
}

.wallet-balance {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.wallet-balance strong {
  font-size: 1.45rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.orders-link {
  max-width: 230px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: #fff;
  border-top: 1px solid var(--border);
  justify-content: space-around;
  z-index: 20;
}

.bottom-nav .nav-btn {
  text-align: center;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  border-radius: 12px;
  padding: 11px 14px;
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
  max-width: min(420px, calc(100vw - 32px));
}

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

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

  .doodle-benefit-grid,
  .doodle-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .content {
    width: 100%;
    max-width: 100vw;
    padding: 14px 10px 90px;
  }

  .bottom-nav {
    display: flex;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .topbar-actions::-webkit-scrollbar {
    display: none;
  }

  .topbar-actions > * {
    flex: 0 0 auto;
  }

  .category-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tabs button {
    flex: 0 0 auto;
    min-width: max-content;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px 10px;
  }

  .site-logo {
    min-width: 0;
  }

  .site-logo img {
    max-width: 126px;
    height: 31px;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    width: auto;
    min-width: 0;
    max-width: 100%;
    justify-self: end;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px;
    padding: 3px;
  }

  .header-actions::-webkit-scrollbar {
    display: none;
  }

  .header-actions .primary-btn,
  .header-actions .ghost-btn {
    flex: 0 0 auto;
    height: 40px;
    min-width: 0;
    padding: 0 10px;
    font-size: 0.78rem;
    border-radius: 10px;
    white-space: nowrap;
  }

  .header-actions .currency-select {
    flex: 0 0 auto;
    min-width: 76px;
    height: 40px;
    padding: 0 7px;
    font-size: 0.78rem;
  }

  .lead-form {
    padding: 14px;
  }

  .lead-form .primary-btn {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .services-grid,
  .blog-grid,
  .why-grid,
  .hero-metrics,
  .footer-grid,
  .doodle-stats-grid,
  .doodle-benefit-grid,
  .doodle-steps-grid {
    grid-template-columns: 1fr;
  }

  .filters-row {
    grid-template-columns: 1fr;
  }

  .landing-page {
    padding: 16px 12px 55px;
  }

  .section,
  .hero {
    padding: 16px;
  }

  .topbar-actions {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    gap: 8px;
    max-width: 100%;
    scrollbar-width: none;
  }

  .topbar-actions::-webkit-scrollbar {
    display: none;
  }

  .topbar-actions > * {
    flex: 0 0 auto;
  }

  .balance-chip,
  .user-chip,
  .whatsapp-link,
  .install-btn {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .content {
    padding: 14px 10px 88px;
  }

  .topbar {
    margin-bottom: 12px;
    gap: 8px;
  }

  .panel {
    padding: 14px;
    border-radius: 14px;
  }

  .category-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tabs button {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .service-meta {
    grid-template-columns: 1fr;
  }

  .table-wrap .data-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .table-wrap .data-table thead {
    display: none;
  }

  .table-wrap .data-table,
  .table-wrap .data-table tbody,
  .table-wrap .data-table tr,
  .table-wrap .data-table td {
    display: block;
    width: 100%;
  }

  .table-wrap .data-table tr {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 8px 10px;
  }

  .table-wrap .data-table td {
    padding: 7px 0;
    border-bottom: 1px dashed #e2e8f3;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    text-align: right;
  }

  .table-wrap .data-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .table-wrap .data-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #5a6478;
    text-align: left;
  }

  .table-wrap .data-table td[data-label="Link"] {
    align-items: flex-start;
  }

  .table-wrap .data-table td[data-label="Link"] .orders-link,
  .table-wrap .data-table .orders-link {
    max-width: 60%;
    text-align: right;
  }

  .table-wrap .data-table td[data-label="Action"] .refresh-order {
    width: 100%;
  }

  .table-wrap .data-table td[colspan] {
    display: block;
    text-align: left;
    border-bottom: none;
    padding: 2px 0;
  }

  .table-wrap .data-table td[colspan]::before {
    content: none;
  }

  #refresh-orders-all,
  #refresh-orders,
  #refresh-wallet {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-logo img {
    max-width: 112px;
    height: 28px;
  }

  .header-actions .primary-btn,
  .header-actions .ghost-btn,
  .header-actions .currency-select {
    height: 36px;
  }
}
