/* Font is loaded from <head> with preconnect for better render performance. */

:root {
  --primary: #e10600;
  --dark: #0a0a0a;
  --soft: #f5f5f7;
  --muted: #6b7280;
  --text: #111827;
  --border: #e5e7eb;
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1280px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.nav-shell {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-main {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #000;
}

.dot {
  color: var(--primary);
}

.brand-sub {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #6b7280;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #3f3f46;
  transition: 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: #09090b;
}
.site-nav .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav .nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav .has-sub > a::after {
  content: "▾";
  font-size: 11px;
  color: #71717a;
  margin-top: 1px;
}

.site-nav .has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 140;
}

.nav-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
  color: #374151;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  background: #f3f4f6;
  color: #111827;
}

.site-nav .has-sub:hover > .nav-submenu,
.site-nav .has-sub:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu .nav-item {
  display: block;
}

.nav-submenu .has-sub::after {
  display: none;
}

.nav-submenu .has-sub > a::after {
  content: "▸";
  margin-top: 0;
  margin-left: 10px;
}

.nav-submenu .nav-submenu {
  top: -8px;
  left: calc(100% - 2px);
}

.nav-submenu .has-sub:hover > .nav-submenu,
.nav-submenu .has-sub:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(225, 6, 0, 0.2);
  transition: 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
}

.mobile-nav-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-inner {
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-inner a {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #3f3f46;
  transition: 0.2s;
}

.mobile-nav-inner a:hover,
.mobile-nav-inner a.active {
  background: #f4f4f5;
  color: #09090b;
}
.mobile-nav-group {
  display: grid;
  gap: 6px;
}

.mobile-nav-group .mobile-parent {
  font-weight: 700;
}

.mobile-submenu {
  display: grid;
  gap: 6px;
  padding-left: 12px;
  border-left: 2px solid #e5e7eb;
  margin-left: 10px;
}

.mobile-submenu .mobile-submenu {
  margin-left: 8px;
  padding-left: 10px;
  border-left-color: #d1d5db;
}

.mobile-sub-link {
  font-size: 13px;
  color: #4b5563;
  padding: 10px 12px;
}

.mobile-sub-parent {
  font-weight: 700;
}

.mobile-nav-inner .mobile-cta {
  margin-top: 6px;
  justify-content: center;
  background: var(--primary);
  color: #fff;
}

.section {
  padding: 70px 0;
}

.section-soft {
  background: var(--soft);
}

.section-header {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.section-header h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(225, 6, 0, 0.1), transparent 26%),
    radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.06), transparent 32%);
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 44px;
  grid-template-columns: 1.08fr 0.92fr;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #fafafa;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #3f3f46;
}

.hero h1 {
  margin: 18px 0;
  font-size: clamp(34px, 4.8vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  border-color: #d4d4d8;
  background: #fff;
  color: #111827;
}

.stat-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.stat-card span {
  margin-top: 4px;
  display: block;
  font-size: 13px;
  color: #71717a;
}

.hero-visual {
  position: relative;
}

.hero-visual .blob-a,
.hero-visual .blob-b {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  filter: blur(40px);
}

.hero-visual .blob-a {
  right: -32px;
  top: -24px;
  background: rgba(225, 6, 0, 0.26);
}

.hero-visual .blob-b {
  left: -28px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.12);
}

.mock-wrap {
  position: relative;
  border-radius: 32px;
  border: 1px solid #e4e4e7;
  background: #09090b;
  padding: 10px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.22);
}

.mock-inner {
  border-radius: 24px;
  background: #fff;
  padding: 20px;
}

.dashboard-card {
  border-radius: 22px;
  background: #09090b;
  color: #fff;
  padding: 20px;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.live-chip {
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  background: var(--primary);
}

.metric-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.metric {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.metric small {
  display: block;
  color: #a1a1aa;
  font-size: 11px;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}

.mini-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  border-radius: 18px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  padding: 14px;
}

.trusted-strip {
  border-top: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
  background: #09090b;
  color: #e4e4e7;
}

.trusted-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
}

.trusted-row span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  margin-right: 8px;
  vertical-align: middle;
}

.grid-2,
.grid-3,
.grid-6 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: #63636f;
}

.chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #52525b;
}

.two-col {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.panel-dark {
  border-radius: 28px;
  background: #09090b;
  color: #fff;
  padding: 28px;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.24);
}

.panel-dark p {
  color: #d4d4d8;
}

.point-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.point-list li {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fafafa;
  color: #3f3f46;
}

.review-stars {
  color: var(--primary);
  letter-spacing: 1px;
}

.cta-block {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--primary);
  color: #fff;
  padding: 54px 24px;
  text-align: center;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 44%);
}

.cta-block > * {
  position: relative;
}

.cta-block p {
  max-width: 860px;
  margin: 12px auto 20px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.contact-panel {
  border-radius: 32px;
  background: #09090b;
  color: #fff;
  padding: 28px;
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.25);
}

.contact-item {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-item-icon {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  flex: 0 0 auto;
}

.contact-form {
  border-radius: 32px;
  border: 1px solid var(--border);
  background: #f9fafb;
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #27272a;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-card.featured {
  border-color: #111827;
  background: #09090b;
  color: #fff;
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.24);
}

.quote-card.featured p {
  color: #e4e4e7;
}

.quote-card.featured .point-list li,
.quote-card.featured .point-list li span {
  color: #111827;
}

.featured-tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary);
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 10px;
  margin-bottom: 12px;
}

.legal-box {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: #f9fafb;
  padding: 26px;
}

.site-footer {
  margin-top: 0;
  background: #09090b;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1fr;
  gap: 24px;
  padding: 56px 0 32px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #fff;
}

.footer-copy {
  color: #a1a1aa;
  font-size: 14px;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #a1a1aa;
  font-size: 14px;
}

.footer-list li {
  list-style: none;
}

.footer-sub-list {
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  list-style: none;
  display: grid;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-sub-item > a {
  font-size: 13px;
  color: #8f97a6;
}

.footer-list a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 22px;
}

.footer-bottom-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #71717a;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-social-top {
  padding: 4px 0 14px;
}

.footer-social {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 8px 13px;
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.footer-social-btn .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  stroke-width: 2.2;
  opacity: 0.96;
}

.footer-social-btn span {
  line-height: 1;
}

.alert {
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-weight: 700;
}

.ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.admin-wrap {
  --admin-sidebar-width: 272px;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  color: #0f172a;
}

.admin-shell {
  min-height: 100vh;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--admin-sidebar-width);
  background: #0b1220;
  color: #cbd5e1;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  z-index: 40;
  transition: transform 0.28s ease;
}

.admin-sidebar-head {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.admin-brand-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}

.admin-brand-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.03em;
}

.admin-sidebar-close {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: transparent;
  color: #e2e8f0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.admin-menu {
  padding: 14px 12px;
  display: grid;
  gap: 6px;
  overflow-y: auto;
}

.admin-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-menu a:hover {
  color: #fff;
  background: rgba(148, 163, 184, 0.16);
  transform: translateX(2px);
}

.admin-menu a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.95), rgba(185, 28, 28, 0.95));
  box-shadow: 0 10px 20px rgba(185, 28, 28, 0.35);
}

.admin-sidebar-foot {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  display: grid;
  gap: 8px;
}

.admin-quick-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.55);
}

.admin-quick-link:hover {
  background: rgba(30, 41, 59, 0.9);
}

.admin-logout-link {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.4);
}

.admin-content {
  margin-left: var(--admin-sidebar-width);
  min-height: 100vh;
}

.admin-headerbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(14px, 2.5vw, 28px);
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-size: 18px;
}

.admin-page-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  color: #0f172a;
}

.admin-page-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: #64748b;
}

.admin-user-chip {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-main {
  padding: clamp(14px, 2.2vw, 26px);
}

.admin-main .card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  background: #fff;
}

.admin-main .btn {
  border-radius: 10px;
}

.admin-overlay {
  display: none;
}

@media (max-width: 980px) {
  .admin-content {
    margin-left: 0;
  }

  .admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    box-shadow: 18px 0 34px rgba(2, 6, 23, 0.38);
  }

  .admin-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 35;
  }

  .admin-wrap.admin-menu-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-wrap.admin-menu-open .admin-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-user-chip {
    display: none;
  }
}

@media (max-width: 640px) {
  .admin-page-sub {
    display: none;
  }

  .admin-main {
    padding: 12px;
  }
}
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 14px;
}

.table th {
  font-size: 12px;
  text-transform: uppercase;
  background: #f9fafb;
}

@media (max-width: 1200px) {
  .site-nav {
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .site-nav,
  .nav-right .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner,
  .contact-layout,
  .two-col,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-6,
  .form-grid,
  .stat-grid,
  .mini-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero Upgrade + Custom Page Builder */
.hero-premium .hero-inner {
  gap: 56px;
}

.hero-chip-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  padding: 7px 11px;
}

.hero-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-trust-note {
  margin-top: 14px;
  font-size: 14px;
  color: #52525b;
  font-weight: 600;
}

.hero-premium .mock-wrap {
  border-color: #d4d4d8;
  background: linear-gradient(180deg, #0b0b0f, #171717);
}

.hero-premium .dashboard-card {
  background: linear-gradient(145deg, #09090b 0%, #18181b 100%);
}

.custom-block.theme-soft {
  background: #f8fafc;
}

.custom-block.theme-dark {
  background: #0b1020;
  color: #fff;
}

.custom-block.theme-dark .section-header h2,
.custom-block.theme-dark .custom-text-block h2,
.custom-block.theme-dark .custom-hero h1,
.custom-block.theme-dark .feature-card h3 {
  color: #fff;
}

.custom-block.theme-dark p,
.custom-block.theme-dark .section-header p,
.custom-block.theme-dark .custom-text-block p {
  color: #d1d5db;
}

.custom-hero {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.custom-hero h1 {
  margin: 10px 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
}

.custom-hero p {
  margin: 0;
  font-size: 18px;
  color: #52525b;
}

.custom-text-block h2 {
  margin-top: 0;
}

.custom-html {
  overflow: auto;
}

.custom-html > *:first-child {
  margin-top: 0;
}

.custom-html-full-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden;
}

.custom-html-full-wrap:first-child,
main > .custom-html-full-wrap:first-child {
  margin-top: 0 !important;
}

.custom-html-full-wrap:last-child,
main > .custom-html-full-wrap:last-child {
  margin-bottom: 0 !important;
}

.custom-html-full {
  width: 100%;
  display: flow-root;
  overflow: auto;
}

.custom-html-full > *:first-child {
  margin-top: 0 !important;
}

.custom-html-full > *:last-child {
  margin-bottom: 0 !important;
}

.feature-card {
  border-style: dashed;
}

.builder-list {
  display: grid;
  gap: 10px;
}

.builder-item {
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: grab;
}

.builder-item.dragging {
  opacity: 0.45;
  cursor: grabbing;
}

select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}

.client-slider {
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.client-slider.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.client-slider-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.client-slider-group {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  padding: 4px 14px;
}

.client-slide-item {
  width: 196px;
  min-width: 196px;
  flex: 0 0 196px;
}

.client-logo-card {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.client-logo-img {
  max-width: 100%;
  width: 128px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.client-logo-name {
  font-size: 13px;
  font-weight: 700;
  color: #52525b;
}

@media (max-width: 700px) {
  .client-slide-item {
    width: 170px;
    min-width: 170px;
    flex-basis: 170px;
  }

  .client-logo-img {
    width: 108px;
    height: 42px;
  }
}

.brand-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-logo-img {
  height: 54px;
  max-width: 260px;
}

/* Responsive Brand Logo Fix */
.brand-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.header-logo-img {
  width: clamp(130px, 15vw, 188px);
  max-height: 46px;
}

.footer-logo-img {
  width: clamp(170px, 22vw, 250px);
  max-height: 62px;
}

@media (max-width: 1024px) {
  .header-logo-img {
    width: 150px;
    max-height: 40px;
  }

  .footer-logo-img {
    width: 190px;
    max-height: 54px;
  }
}

@media (max-width: 640px) {
  .brand-link {
    max-width: 68vw;
  }

  .header-logo-img {
    width: 132px;
    max-height: 38px;
  }

  .footer-logo-img {
    width: 160px;
    max-height: 46px;
  }
}

/* Force Smaller Header Logo */
.site-header .brand-link {
  max-width: 170px !important;
  overflow: hidden !important;
}

.site-header .brand-logo-img,
.site-header .header-logo-img {
  width: 150px !important;
  max-width: 150px !important;
  height: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

.site-footer .footer-logo-img {
  width: 170px !important;
  max-width: 170px !important;
  height: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .site-header .brand-link {
    max-width: 130px !important;
  }

  .site-header .brand-logo-img,
  .site-header .header-logo-img {
    width: 120px !important;
    max-width: 120px !important;
    height: 28px !important;
    max-height: 28px !important;
  }

  .site-footer .footer-logo-img {
    width: 145px !important;
    max-width: 145px !important;
    height: 34px !important;
    max-height: 34px !important;
  }
}

/* React-style Icon + Home Section Upgrade */
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.icon-xs {
  width: 16px;
  height: 16px;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-star {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  stroke: var(--primary);
}

.section-header.left {
  margin: 0 0 24px;
  text-align: left;
}

.section-header.left p {
  max-width: 700px;
}

.mini-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
}

.service-card {
  border-radius: 32px;
  background: #fafafa;
  transition: .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid #e4e4e7;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-content h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.solutions-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.webtype-card {
  border-radius: 28px;
  transition: .2s ease;
}

.webtype-card:hover {
  box-shadow: 0 14px 26px rgba(0, 0, 0, .08);
}

.webtype-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.webtype-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(225, 6, 0, .08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.webtype-content h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.why-layout {
  align-items: start;
}

.why-left-panel {
  border-radius: 32px;
}

.why-feature-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.why-feature {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  padding: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.why-feature span {
  color: #fff;
  display: inline-flex;
}

.why-feature strong {
  font-size: 13px;
  line-height: 1.3;
}

.point-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.point-icon {
  color: var(--primary);
  margin-top: 1px;
}

.testimonial-card {
  border-radius: 30px;
  background: #fafafa;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--primary);
}

.cta-btn-white {
  background: #fff;
  color: #111827;
  border-color: #fff;
}

.cta-btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, .12);
}

@media (max-width: 1024px) {
  .solutions-layout,
  .two-col {
    grid-template-columns: 1fr;
  }

  .service-content h3 {
    font-size: 24px;
  }
}

@media (max-width: 700px) {
  .solutions-grid,
  .why-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-row,
  .webtype-row {
    flex-direction: column;
  }
}

/* Home Motion System (Framer-like Reveal) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .62s cubic-bezier(.22, .61, .36, 1), transform .62s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.reveal-scale {
  transform: translate3d(0, 10px, 0) scale(.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* polish hover for interactive cards */
.webtype-card,
.service-card,
.testimonial-card,
.stat-card,
.why-feature {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.testimonial-card:hover,
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-scale,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* React Size Match: Why Section + Home Cards */
.why-layout {
  gap: clamp(32px, 5vw, 64px);
}

.why-layout .why-left-panel {
  padding: 32px;
  border-radius: 32px;
}

.why-layout .why-left-panel h2 {
  margin: 24px 0 12px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.why-layout .why-left-panel p {
  margin: 0;
  color: #d4d4d8;
  font-size: 16px;
  line-height: 1.9;
}

.why-layout .why-feature-grid {
  margin-top: 24px;
  gap: 14px;
}

.why-layout .why-feature {
  padding: 16px;
  border-radius: 16px;
  display: block;
  min-height: 110px;
}

.why-layout .why-feature span {
  display: inline-flex;
  margin-bottom: 10px;
}

.why-layout .why-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.why-layout .section-header.left {
  margin-bottom: 28px;
}

.why-layout .point-list {
  gap: 12px;
}

.why-layout .point-list li {
  padding: 16px;
  border-radius: 16px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
}

.why-layout .point-list li span:last-child {
  font-size: 15px;
  line-height: 1.75;
}

.why-layout .point-icon {
  margin-top: 3px;
}

/* Card size tune to React scale */
.service-card {
  padding: 24px;
}

.service-content h3 {
  font-size: clamp(20px, 2.1vw, 24px);
}

.webtype-card {
  padding: 24px;
  border-radius: 28px;
}

.webtype-content h3 {
  font-size: 18px;
}

.testimonial-card {
  padding: 24px;
  border-radius: 32px;
}

@media (min-width: 640px) {
  .why-layout .why-left-panel {
    padding: 40px;
  }

  .service-card {
    padding: 32px;
  }
}

/* Home React Final Match (scoped) */
.home-react .section {
  padding: 64px 0;
}

.home-react .hero {
  padding-top: 56px;
  padding-bottom: 72px;
}

.home-react .hero-inner {
  gap: 64px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.home-react .badge {
  padding: 8px 16px;
  font-size: 14px;
}

.home-react .hero h1 {
  margin-top: 22px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.1vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 900px;
}

.home-react .hero p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.8;
  color: #52525b;
}

.home-react .hero-actions {
  margin-top: 30px;
  gap: 14px;
}

.home-react .btn {
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 700;
}

.home-react .stat-grid {
  margin-top: 34px;
  gap: 14px;
}

.home-react .stat-card {
  border-radius: 24px;
  padding: 18px;
}

.home-react .stat-card strong {
  font-size: 32px;
  font-weight: 900;
}

.home-react .stat-card span {
  font-size: 13px;
  line-height: 1.5;
}

.home-react .mock-wrap {
  border-radius: 34px;
  padding: 10px;
}

.home-react .mock-inner {
  border-radius: 26px;
  padding: 20px;
}

.home-react .dashboard-card {
  border-radius: 24px;
  padding: 24px;
}

.home-react .metric {
  border-radius: 16px;
  padding: 14px;
}

.home-react .metric strong {
  font-size: 20px;
}

.home-react .mini-grid {
  margin-top: 16px;
  gap: 12px;
}

.home-react .mini-card {
  border-radius: 24px;
  padding: 18px;
  background: #fafafa;
}

.home-react .trusted-row {
  gap: 12px 32px;
  padding: 14px 0;
  font-size: 15px;
}

.home-react .section-header {
  margin-bottom: 46px;
}

.home-react .section-header h2 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-react .section-header p {
  font-size: 18px;
  line-height: 1.8;
  color: #52525b;
}

.home-react .client-logo-card {
  min-height: 96px;
  border-radius: 24px;
  background: #fafafa;
}

.home-react .service-card {
  border-radius: 32px;
  background: #fafafa;
  padding: 32px;
}

.home-react .service-content h3 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-react .service-content p {
  font-size: 16px;
  line-height: 1.8;
}

.home-react .chip {
  padding: 8px 12px;
  font-size: 13px;
}

.home-react .solutions-layout {
  gap: 50px;
  grid-template-columns: 0.85fr 1.15fr;
}

.home-react .webtype-card {
  border-radius: 28px;
  padding: 24px;
}

.home-react .webtype-content h3 {
  font-size: 20px;
  line-height: 1.3;
}

.home-react .webtype-content p {
  font-size: 15px;
  line-height: 1.75;
}

.home-react .why-layout {
  gap: 56px;
  align-items: start;
}

.home-react .why-left-panel {
  border-radius: 32px;
  padding: 40px;
}

.home-react .home-why-title {
  margin: 24px 0 12px;
  font-size: clamp(34px, 3.8vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.home-react .home-why-lead {
  font-size: 17px;
  line-height: 1.85;
  color: #d4d4d8;
}

.home-react .why-feature-grid {
  margin-top: 24px;
  gap: 12px;
}

.home-react .why-feature {
  border-radius: 16px;
  padding: 16px;
  display: block;
}

.home-react .why-feature span {
  display: inline-flex;
  margin-bottom: 10px;
}

.home-react .why-feature strong {
  font-size: 14px;
}

.home-react .point-list {
  gap: 12px;
}

.home-react .point-list li {
  border-radius: 16px;
  padding: 16px;
}

.home-react .point-list li span:last-child {
  font-size: 16px;
  line-height: 1.75;
}

.home-react .testimonial-card {
  border-radius: 32px;
  padding: 24px;
  background: #fafafa;
}

.home-react .cta-block {
  border-radius: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(24px, calc((100vw - min(1280px, 92vw)) / 2));
  padding-right: max(24px, calc((100vw - min(1280px, 92vw)) / 2));
  padding-top: 84px;
  padding-bottom: 84px;
}

.home-react .cta-block h2 {
  font-size: clamp(36px, 5vw, 58px) !important;
  letter-spacing: -0.02em;
}

.home-react .cta-block p {
  font-size: 19px;
  line-height: 1.75;
  max-width: 900px;
}

@media (max-width: 1024px) {
  .home-react .hero {
    padding-top: 40px;
    padding-bottom: 54px;
  }

  .home-react .hero-inner,
  .home-react .solutions-layout,
  .home-react .why-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-react .service-content h3 {
    font-size: 26px;
  }

  .home-react .why-left-panel {
    padding: 32px;
  }

  .home-react .cta-block {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}

@media (max-width: 700px) {
  .home-react .section {
    padding: 52px 0;
  }

  .home-react .hero h1 {
    font-size: clamp(34px, 10.8vw, 46px);
  }

  .home-react .hero p,
  .home-react .section-header p,
  .home-react .home-why-lead {
    font-size: 16px;
  }

  .home-react .service-row,
  .home-react .webtype-row {
    flex-direction: column;
  }

  .home-react .solutions-grid,
  .home-react .why-feature-grid,
  .home-react .grid-3,
  .home-react .grid-6,
  .home-react .grid-2,
  .home-react .stat-grid {
    grid-template-columns: 1fr;
  }

  .home-react .why-left-panel {
    padding: 24px;
  }
}

/* Why Right Header Font Match (React-like) */
.home-react .why-right-header {
  margin-bottom: 30px;
}

.home-react .why-right-header h2 {
  margin-top: 12px;
  margin-bottom: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #09090b;
}

.home-react .why-right-header p {
  font-size: 18px;
  line-height: 1.82;
  color: #52525b;
}

@media (max-width: 700px) {
  .home-react .why-right-header h2 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .home-react .why-right-header p {
    font-size: 16px;
    line-height: 1.72;
  }
}


.home-react .home-final-cta {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}






/* About Page React-like Icon List */
.about-dark-panel .about-check-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.about-dark-panel .about-check-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-dark-panel .about-check-item .icon {
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-dark-panel .about-check-item > div {
  color: #d4d4d8;
  font-size: 15px;
  line-height: 1.75;
}


/* About React Match */
.about-react .about-react-top {
  padding-top: 70px;
  padding-bottom: 84px;
}

.about-react .about-intro-grid {
  margin-top: 48px;
}

.about-react .about-intro-card {
  border-radius: 28px;
  padding: 26px;
}

.about-react .about-intro-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 6, 0, 0.08);
  color: var(--primary);
  margin-bottom: 14px;
}

.about-react .about-intro-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-react .about-intro-card p {
  font-size: 15px;
  line-height: 1.8;
}

.about-react .about-react-bottom {
  padding-top: 72px;
  padding-bottom: 92px;
}

.about-react .about-two-col {
  gap: 56px;
  align-items: start;
}

.about-react .about-dark-panel {
  border-radius: 32px;
  padding: 40px;
}

.about-react .about-dark-panel h3 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about-react .about-dark-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-react .about-dark-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px;
  color: #d4d4d8;
  font-size: 15px;
  line-height: 1.75;
}

.about-react .about-check-icon {
  color: #fff;
  margin-top: 2px;
  flex: 0 0 auto;
}

.about-react .about-right-title {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #09090b;
  font-weight: 900;
}

.about-react .about-right-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.82;
  color: #52525b;
}

.about-react .about-right-grid {
  margin-top: 24px;
  gap: 14px;
}

.about-react .about-right-card {
  border-radius: 24px;
  padding: 20px;
}

.about-react .about-right-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-react .about-right-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 6, 0, 0.08);
  color: var(--primary);
  flex: 0 0 auto;
}

.about-react .about-right-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #09090b;
  letter-spacing: -0.01em;
}

.about-react .about-right-card-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: #52525b;
}

@media (max-width: 1024px) {
  .about-react .about-two-col,
  .about-react .about-intro-grid,
  .about-react .about-right-grid {
    grid-template-columns: 1fr;
  }

  .about-react .about-dark-panel {
    padding: 32px;
  }

  .about-react .about-intro-card h3 {
    font-size: 26px;
  }
}

@media (max-width: 700px) {
  .about-react .about-react-top,
  .about-react .about-react-bottom {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .about-react .about-dark-panel,
  .about-react .about-intro-card,
  .about-react .about-right-card {
    padding: 20px;
  }

  .about-react .about-dark-panel h3,
  .about-react .about-right-title {
    font-size: clamp(28px, 8.6vw, 36px);
  }

  .about-react .about-right-lead,
  .about-react .about-dark-list li,
  .about-react .about-right-card-desc,
  .about-react .about-intro-card p {
    font-size: 15px;
  }
}

.careers-jobs-grid {
  margin-bottom: 20px;
}

.careers-job-card.is-selected {
  border-color: #111827;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.1);
}

.careers-job-meta {
  color: #52525b;
}

.career-apply-wrap {
  margin-top: 10px;
}

.career-apply-intro {
  margin: 0 0 12px;
  color: #71717a;
}

.career-cover-row,
.career-file-row {
  margin-top: 12px;
}

.careers-job-deadline {
  margin-top: 8px;
  color: #3f3f46;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}


/* Careers/User requested: equal height for Why section columns */
.why-layout {
  align-items: stretch;
}

.why-layout > .reveal {
  height: 100%;
}

.why-layout .why-left-panel {
  height: 100%;
}

.home-react .why-layout {
  align-items: stretch;
}

/* About page: equal height for left dark panel and right column */
.about-react .about-two-col {
  align-items: stretch;
}

.about-react .about-two-col > .reveal {
  height: 100%;
}

.about-react .about-dark-panel,
.about-react .about-right-copy {
  height: 100%;
}




/* Footer logo + description alignment */
.footer-grid {
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.footer-brand .footer-logo-img {
  margin: 0;
}

.footer-brand .footer-copy {
  margin: 0;
  max-width: 340px;
  line-height: 1.8;
}

/* Blog images */
.blog-card {
  overflow: hidden;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
  display: block;
}

.blog-post-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  margin: 0 0 16px;
  display: block;
}

.admin-blog-preview {
  margin-top: 8px;
}

.admin-blog-preview img {
  width: 180px;
  max-width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

/* Elementor-like Builder Workspace */
.builder-workspace {
  display: grid;
  gap: 14px;
  grid-template-columns: 240px minmax(0, 1fr) 360px;
  align-items: start;
}

.builder-panel {
  padding: 16px;
}

.builder-panel h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.builder-panel-note {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
}

.builder-widget-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.builder-widget {
  width: 100%;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.builder-widget strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.builder-widget span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #64748b;
}

.builder-widget:hover {
  border-color: #fca5a5;
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.1);
  transform: translateY(-1px);
}

.builder-clear-btn {
  margin-top: 12px;
  width: 100%;
}

.builder-canvas-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.builder-order-form {
  margin: 0;
}

.builder-canvas-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 250px);
  overflow: auto;
  padding-right: 4px;
}

.builder-empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.builder-canvas-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  cursor: grab;
}

.builder-canvas-item.dragging {
  opacity: 0.45;
  cursor: grabbing;
}

.builder-canvas-item.is-editing {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.12);
}

.builder-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.builder-type-badge {
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 4px 8px;
}

.builder-order {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.builder-item-title {
  margin: 8px 0 4px;
  font-size: 15px;
  line-height: 1.35;
}

.builder-item-preview {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.builder-item-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-item-actions form {
  margin: 0;
}

.builder-inspector-form {
  margin-top: 10px;
}

.builder-inspector-help {
  margin-top: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px;
}

.builder-inspector-help strong {
  display: block;
  margin-bottom: 6px;
}

.builder-inspector-help p {
  margin: 4px 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1320px) {
  .builder-workspace {
    grid-template-columns: 220px minmax(0, 1fr) 340px;
  }
}

@media (max-width: 1120px) {
  .builder-workspace {
    grid-template-columns: 1fr;
  }

  .builder-canvas-list {
    max-height: none;
  }
}

/* Builder Pro Enhancements */
.builder-panel-left,
.builder-panel-right {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 108px);
  overflow: auto;
}

.builder-search-wrap {
  margin-top: 12px;
  display: block;
}

.builder-search-wrap span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.builder-search-wrap input {
  border-radius: 10px;
}

.builder-json-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.builder-theme-presets {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-theme-btn {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.builder-theme-btn:hover {
  border-color: #fca5a5;
}

.builder-dirty {
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.builder-dirty.is-dirty {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.builder-preview-shell {
  margin-top: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px;
}

.builder-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.builder-preview-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-device-btn {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.builder-device-btn.is-active,
.builder-device-btn:hover {
  border-color: #ef4444;
  color: #991b1b;
  background: #fee2e2;
}

.builder-preview-frame-wrap {
  margin-top: 10px;
  border-radius: 12px;
  background: #0f172a;
  padding: 14px;
  overflow: auto;
  display: flex;
  justify-content: center;
}

.builder-preview-frame-wrap iframe {
  border: 0;
  border-radius: 10px;
  background: #fff;
  height: 620px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}

.builder-preview-frame-wrap.is-desktop iframe {
  width: min(1100px, 100%);
}

.builder-preview-frame-wrap.is-tablet iframe {
  width: 820px;
}

.builder-preview-frame-wrap.is-mobile iframe {
  width: 420px;
}

@media (max-width: 1120px) {
  .builder-panel-left,
  .builder-panel-right {
    position: static;
    max-height: none;
  }

  .builder-preview-frame-wrap iframe,
  .builder-preview-frame-wrap.is-tablet iframe,
  .builder-preview-frame-wrap.is-mobile iframe {
    width: 100%;
  }
}

/* Builder Details Enhancements */
.builder-header-stats {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-stat-chip {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.builder-shortcuts {
  margin-top: 12px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 10px;
  background: #f8fafc;
}

.builder-shortcuts strong {
  display: block;
  margin-bottom: 4px;
}

.builder-shortcuts p {
  margin: 4px 0;
  font-size: 12px;
  color: #475569;
}

.builder-shortcuts kbd {
  border: 1px solid #cbd5e1;
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11px;
  background: #fff;
}

.builder-canvas-tools {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-filter-btn {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.builder-filter-btn:hover,
.builder-filter-btn.is-active {
  border-color: #ef4444;
  background: #fee2e2;
  color: #991b1b;
}

.builder-item-meta {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.builder-item-meta span {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  color: #475569;
  background: #f8fafc;
}

.builder-json-status {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.builder-json-status.is-valid {
  color: #047857;
}

.builder-json-status.is-invalid {
  color: #b91c1c;
}

/* Admin Settings Page */
.admin-settings-card {
  padding: 24px;
}

.admin-settings-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.admin-settings-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.admin-settings-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.admin-settings-group:first-of-type {
  margin-top: 14px;
}

.admin-settings-group-head h3 {
  margin: 0;
  font-size: 18px;
  color: #0f172a;
}

.admin-settings-group-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #64748b;
}

.admin-settings-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-settings-field.is-wide {
  grid-column: 1 / -1;
}

.admin-settings-field input,
.admin-settings-field textarea {
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
}

.admin-settings-field input:focus,
.admin-settings-field textarea:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-settings-logo-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-logo-box {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.admin-logo-box h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #0f172a;
}

.admin-logo-preview {
  min-height: 68px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  margin-bottom: 10px;
}

.admin-logo-preview.is-dark {
  background: #0f172a;
  border-color: #334155;
}

.admin-logo-preview img {
  max-width: 100%;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.admin-check-inline {
  margin-top: 10px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.admin-check-inline input {
  width: auto;
  margin: 0;
}

.admin-settings-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .admin-settings-grid,
  .admin-settings-logo-grid {
    grid-template-columns: 1fr;
  }

  .admin-settings-actions {
    justify-content: stretch;
  }

  .admin-settings-actions .btn {
    width: 100%;
  }
}

.admin-settings-shortcuts {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-settings-shortcut {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background: #fff;
}

.admin-settings-shortcut:hover {
  border-color: #fca5a5;
  color: #991b1b;
  background: #fff1f2;
}


.admin-settings-field select {
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
}

.admin-settings-field select:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-settings-stacked-form {
  display: grid;
  gap: 12px;
}

.admin-settings-layout {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
}

.admin-settings-form-card,
.admin-settings-side-card {
  padding: 20px;
}


.admin-settings-layout-single {
  grid-template-columns: 1fr;
}

.admin-manage-layout.admin-settings-layout-single {
  grid-template-columns: 1fr;
}
.admin-settings-side-stack {
  display: grid;
  gap: 10px;
}

.admin-settings-tip-tight {
  margin: 0;
}

.admin-settings-token-box p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 13px;
}

.admin-settings-token-box code {
  display: block;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #334155;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 1200px) {
  .admin-settings-layout {
    grid-template-columns: 1fr;
  }
}
/* Admin Manage Data Page */
.admin-manage-shell {
  padding: 22px;
}

.admin-manage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-manage-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.admin-manage-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.admin-manage-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-manage-meta span {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.admin-resource-tabs {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-resource-tab {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.admin-resource-tab strong {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.3;
}

.admin-resource-tab span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.admin-resource-tab:hover {
  border-color: #fca5a5;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.12);
}

.admin-resource-tab.is-active {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fff1f2, #fee2e2);
}

.admin-manage-layout {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  align-items: start;
}

.admin-manage-form-card,
.admin-manage-list-card {
  padding: 20px;
}

.admin-manage-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.admin-manage-card-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.admin-manage-counter {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.admin-manage-tip {
  margin: 0 0 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  color: #475569;
  font-size: 13px;
}

.admin-manage-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-manage-field.is-wide {
  grid-column: 1 / -1;
}

.admin-manage-field input,
.admin-manage-field textarea {
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
}

.admin-manage-field input:focus,
.admin-manage-field textarea:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-logo-upload-wrap {
  margin-top: 10px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.admin-logo-current {
  margin-top: 8px;
}

.admin-logo-current img {
  width: 120px;
  height: 72px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.admin-manage-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.admin-manage-table-wrap {
  overflow: auto;
}

.admin-manage-table th,
.admin-manage-table td {
  vertical-align: top;
}

.admin-item-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.admin-item-main strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.admin-item-main small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.admin-item-thumb {
  width: 72px;
  height: 44px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  flex: 0 0 auto;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
}

.admin-status-chip.is-featured {
  color: #991b1b;
  border-color: #fecaca;
  background: #fee2e2;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-row-actions form {
  margin: 0;
}

.admin-btn-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.admin-btn-danger:hover {
  background: #fecaca;
}

.admin-empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 18px;
  text-align: center;
}

.admin-empty-state p {
  margin: 0;
  color: #64748b;
}

@media (max-width: 1200px) {
  .admin-manage-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-manage-shell,
  .admin-manage-form-card,
  .admin-manage-list-card {
    padding: 16px;
  }

  .admin-row-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-row-actions .btn,
  .admin-row-actions form,
  .admin-row-actions form button {
    width: 100%;
  }
}

/* Admin Dashboard (Professional) */
.admin-dashboard-shell {
  padding: 22px;
}

.admin-dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-dashboard-hero h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  color: #0f172a;
}

.admin-dashboard-hero p {
  margin: 8px 0 0;
  max-width: 720px;
  color: #64748b;
  font-size: 14px;
}

.admin-dashboard-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-kpi-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.admin-kpi-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: block;
  transition: all 0.2s ease;
}

.admin-kpi-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
}

.admin-kpi-card:hover {
  border-color: #fca5a5;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(185, 28, 28, 0.12);
}

.admin-dashboard-layout {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.admin-dashboard-panel {
  padding: 20px;
}

.admin-dashboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.admin-dashboard-panel-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.admin-dashboard-panel-head a {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.admin-dashboard-panel-head a:hover {
  text-decoration: underline;
}

.admin-shortcut-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-shortcut-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: block;
  transition: all 0.2s ease;
}

.admin-shortcut-item strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.admin-shortcut-item span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.admin-shortcut-item:hover {
  border-color: #fca5a5;
  background: #fff7ed;
}

.admin-health-list {
  display: grid;
  gap: 10px;
}

.admin-health-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-health-item span {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.admin-health-item strong {
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
}

.admin-dashboard-table-wrap {
  overflow: auto;
}

.admin-dashboard-table td,
.admin-dashboard-table th {
  vertical-align: middle;
}

.admin-status-chip.is-good {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.admin-activity-stack h4 {
  margin: 10px 0 8px;
  color: #334155;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-activity-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.admin-activity-item strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.admin-activity-item span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.admin-activity-meta {
  text-align: right;
}

.admin-activity-meta small {
  display: block;
  margin-top: 5px;
  color: #94a3b8;
  font-size: 11px;
}

.admin-activity-empty {
  margin: 0;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  padding: 12px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .admin-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .admin-shortcut-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-dashboard-shell,
  .admin-dashboard-panel {
    padding: 16px;
  }

  .admin-dashboard-hero h2 {
    font-size: 24px;
  }

  .admin-dashboard-hero-actions {
    width: 100%;
  }

  .admin-dashboard-hero-actions .btn {
    width: 100%;
  }

  .admin-activity-item {
    flex-direction: column;
  }

  .admin-activity-meta {
    text-align: left;
  }
}

/* Admin Content Manager */
.admin-content-shell {
  padding: 22px;
}

.admin-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-content-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  color: #0f172a;
}

.admin-content-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  max-width: 760px;
}

.admin-content-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-content-meta span {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.admin-content-links {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-content-links a {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.admin-content-links a:hover {
  border-color: #fca5a5;
  background: #fff1f2;
  color: #991b1b;
}

.admin-content-nav {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.admin-content-nav a {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 8px 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.admin-content-nav a:hover {
  border-color: #fca5a5;
  background: #fff1f2;
  color: #991b1b;
}

.admin-content-form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.admin-content-group {
  padding: 20px;
}

.admin-content-group-head {
  margin-bottom: 10px;
}

.admin-content-group-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.admin-content-group-head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-content-field.is-wide {
  grid-column: 1 / -1;
}

.admin-content-field input,
.admin-content-field textarea {
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
}

.admin-content-field input:focus,
.admin-content-field textarea:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-content-actions {
  padding: 14px;
  position: sticky;
  bottom: 12px;
  z-index: 12;
  border-color: #fecaca;
  background: #fff7ed;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .admin-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-content-shell,
  .admin-content-group,
  .admin-content-actions {
    padding: 16px;
  }

  .admin-content-head h2 {
    font-size: 24px;
  }

  .admin-content-actions .btn {
    width: 100%;
  }
}

.admin-manage-tip-soft {
  background: #fef9c3;
  border-color: #fde68a;
  color: #854d0e;
}




/* Admin menu manager table responsive */
.admin-menu-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-menu-table {
  min-width: 940px;
}

.admin-menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-menu-actions form {
  margin: 0;
}

@media (max-width: 760px) {
  .admin-menu-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .admin-menu-table thead {
    display: none;
  }

  .admin-menu-table tbody {
    display: block;
  }

  .admin-menu-table tr {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  .admin-menu-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dashed #eef2f7;
    padding: 8px 0;
    font-size: 13px;
  }

  .admin-menu-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .admin-menu-table td::before {
    content: attr(data-label);
    flex: 0 0 88px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: .04em;
  }

  .admin-menu-table td[data-label="Action"] {
    display: block;
  }

  .admin-menu-table td[data-label="Action"]::before {
    display: block;
    margin-bottom: 8px;
  }

  .admin-menu-actions {
    gap: 8px;
  }

  .admin-menu-actions .btn {
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* Admin Nav Menu Polish */
.admin-nav-shell {
  padding: 20px;
}

.admin-nav-head {
  gap: 14px;
  align-items: stretch;
}

.admin-nav-summary {
  flex: 1;
  min-width: 320px;
}

.admin-nav-shell .admin-manage-head .admin-nav-summary p {
  margin: 0;
  max-width: none;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.admin-nav-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: auto;
}

.admin-nav-stat {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 10px;
  padding: 7px 8px;
  min-width: 110px;
  display: grid;
  gap: 2px;
}

.admin-nav-stat small {
  font-size: 10px;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-nav-stat strong {
  font-size: 14px;
  line-height: 1.12;
  color: #0f172a;
  font-weight: 800;
}

.admin-nav-filter {
  margin-top: 12px;
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.admin-nav-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-nav-filter label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-nav-filter-help {
  font-size: 12px;
  color: #64748b;
}

.admin-nav-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.admin-nav-view-select {
  width: 100%;
  max-width: none;
  min-height: 40px;
  padding: 8px 38px 8px 12px;
  border: 1px solid #cfd9e6;
  border-radius: 10px;
  background-color: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.admin-nav-view-select:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-nav-reset {
  white-space: nowrap;
  padding: 9px 12px;
  font-size: 12px;
  border-radius: 10px;
}

.admin-nav-layout {
  margin-top: 12px;
}

.admin-nav-list-table td[data-label="Label"] strong {
  color: #0f172a;
  line-height: 1.35;
}

@media (max-width: 1080px) {
  .admin-nav-stat {
    min-width: 102px;
  }
}

@media (max-width: 700px) {
  .admin-nav-shell {
    padding: 16px;
  }

  .admin-nav-summary {
    min-width: 0;
  }

  .admin-nav-meta {
    width: 100%;
  }

  .admin-nav-stat {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .admin-nav-filter-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-nav-filter-row {
    grid-template-columns: 1fr;
  }

  .admin-nav-reset {
    width: 100%;
    text-align: center;
  }
}



/* Floating WhatsApp quick action (site-wide) */
.floating-whatsapp-btn {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 250;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 11px 15px;
  border-radius: 18px 18px 18px 8px;
  background: #ffffff;
  border: 0.5px solid rgba(225, 6, 0, 0.24);
  color: #111827;
  box-shadow:
    0 0 0 1px rgba(225, 6, 0, 0.14),
    0 14px 30px rgba(2, 6, 23, 0.16),
    0 0 24px rgba(225, 6, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp-btn::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 0.5px solid rgba(225, 6, 0, 0.24);
  border-bottom: 0.5px solid rgba(225, 6, 0, 0.24);
  transform: rotate(45deg);
  box-shadow: 4px 4px 10px rgba(225, 6, 0, 0.12);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(225, 6, 0, 0.2),
    0 18px 36px rgba(2, 6, 23, 0.22),
    0 0 34px rgba(225, 6, 0, 0.3);
}

.floating-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #28d569 0%, #129e47 100%);
  color: #ffffff;
  border: 0.5px solid rgba(10, 120, 52, 0.55);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 4px 12px rgba(18, 158, 71, 0.36);
}

.whatsapp-fab-icon {
  width: 23px;
  height: 23px;
  stroke-width: 2.25;
}

.floating-whatsapp-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.floating-whatsapp-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #111827;
}

.floating-whatsapp-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
}

@media (max-width: 700px) {
  .floating-whatsapp-btn {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 54px;
    padding: 8px 11px;
    gap: 8px;
    border-radius: 14px 14px 14px 7px;
    box-shadow:
      0 0 0 1px rgba(225, 6, 0, 0.16),
      0 12px 24px rgba(2, 6, 23, 0.18),
      0 0 20px rgba(225, 6, 0, 0.24);
  }

  .floating-whatsapp-btn::after {
    right: 10px;
    bottom: -5px;
    width: 10px;
    height: 10px;
  }

  .floating-whatsapp-icon {
    width: 34px;
    height: 34px;
  }

  .whatsapp-fab-icon {
    width: 20px;
    height: 20px;
  }

  .floating-whatsapp-title {
    font-size: 12px;
  }

  .floating-whatsapp-subtitle {
    font-size: 10px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* Improve initial render by skipping deep offscreen layout work. */
main > section.section,
main .home-react > section.section,
main .about-react > section.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 850px;
}
main .home-react > section.hero {
  content-visibility: visible;
}




/* Core Services cards: refined professional style */
.service-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #e4e7ec;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e10600, rgba(225, 6, 0, 0.35));
}

.service-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(225, 6, 0, 0.14), rgba(225, 6, 0, 0));
  pointer-events: none;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, 0.28);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.12);
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 16px;
  border: 1px solid #fee2e2;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-icon-wrap .icon {
  width: 23px;
  height: 23px;
  stroke-width: 2.1;
}

.service-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
}

.service-content h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 1.65vw, 26px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.service-content p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
  font-size: 15px;
}

.service-card .chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card .chip {
  position: relative;
  border-color: #dbe3ea;
  background: #fff;
  color: #1f2937;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.01em;
  padding: 7px 12px;
}

.home-react .service-card {
  padding: 30px;
}

.home-react .service-content h3 {
  font-size: clamp(22px, 1.8vw, 28px);
}

@media (max-width: 900px) {
  .service-card {
    padding: 22px;
    border-radius: 24px;
  }

  .home-react .service-card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .service-row {
    gap: 12px;
  }

  .service-icon-wrap {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
  }

  .service-icon-wrap .icon {
    width: 20px;
    height: 20px;
  }

  .service-content h3 {
    font-size: 20px;
  }
}
/* Global Custom Cursor (safe + layout-independent) */
:root {
  --cursor-default: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M6%204L6%2024L11.5%2018.5L15.2%2027L18.4%2025.6L14.8%2017.2L22%2017.2Z%27%20fill%3D%27%230f172a%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271.1%27%2F%3E%3C%2Fsvg%3E") 6 4, auto;
  --cursor-pointer: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M6%204L6%2024L11.7%2018.3L15.7%2027.4L19%2025.9L15%2016.9L22.4%2016.9Z%27%20fill%3D%27%230b1220%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271.15%27%2F%3E%3C%2Fsvg%3E") 6 4, pointer;
  --cursor-grab: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M9%203.5c-.9%200-1.6.7-1.6%201.6V11h-.9V8.1c0-.9-.7-1.6-1.6-1.6S3.3%207.2%203.3%208.1V13.2c0%201%20.4%202%201.2%202.6l3.7%203v5.7h10v-7l1.5-3.3c.4-.9%200-1.9-.8-2.3s-1.9%200-2.3.8l-.6%201.2V6.3c0-.9-.7-1.6-1.6-1.6s-1.6.7-1.6%201.6V11h-.8V5.1c0-.9-.7-1.6-1.6-1.6z%27%20fill%3D%27%23111827%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%2F%3E%3C%2Fsvg%3E") 9 5, grab;
  --cursor-grabbing: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M7.8%204.2c-.9%200-1.6.7-1.6%201.6v3.6H5.3c-.9%200-1.6.7-1.6%201.6v2.7c0%201%20.4%201.9%201.1%202.5l3.6%203.1v5.1h10.4v-6.6l1.4-2.9c.4-.8.1-1.8-.7-2.3s-1.8-.2-2.3.6l-.8%201.2V8.1c0-.9-.7-1.6-1.6-1.6s-1.6.7-1.6%201.6v3H12V7.2c0-.9-.7-1.6-1.6-1.6s-1.6.7-1.6%201.6V11h-.9V5.8c0-.9-.7-1.6-1.6-1.6z%27%20fill%3D%27%230b1220%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%2F%3E%3C%2Fsvg%3E") 9 5, grabbing;
}

@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: var(--cursor-default);
  }

  a,
  button,
  .btn,
  .chip,
  .footer-social-btn,
  .nav-cta,
  .nav-toggle,
  .admin-menu a,
  .admin-quick-link,
  input[type="submit"],
  input[type="button"],
  input[type="checkbox"],
  input[type="radio"],
  select,
  summary,
  [role="button"],
  [tabindex]:not([tabindex="-1"]) {
    cursor: var(--cursor-pointer) !important;
  }

  .client-slider,
  .builder-item,
  .builder-canvas-item,
  .admin-manage-sortable tbody tr,
  [draggable="true"] {
    cursor: var(--cursor-grab) !important;
  }

  .client-slider.is-dragging,
  .builder-item.dragging,
  .builder-canvas-item.dragging,
  .is-dragging,
  [aria-grabbed="true"] {
    cursor: var(--cursor-grabbing) !important;
  }

  input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
  textarea,
  [contenteditable="true"] {
    cursor: text !important;
  }
}
/* Animated red-dot cursor trail (professional micro-motion) */
.cursor-dot-follow {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e10600;
  opacity: 0;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate3d(-120px, -120px, 0);
  box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.16), 0 7px 18px rgba(225, 6, 0, 0.34);
  transition: opacity .18s ease, box-shadow .18s ease, background-color .18s ease, filter .18s ease;
  will-change: transform;
}

.cursor-dot-follow.is-visible {
  opacity: 1;
}

.cursor-dot-follow.is-pointer {
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.22), 0 10px 24px rgba(225, 6, 0, 0.42);
}

.cursor-dot-follow.is-drag {
  background: #cf0500;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.26), 0 12px 26px rgba(225, 6, 0, 0.48);
}

.cursor-dot-follow.is-pressed {
  filter: saturate(1.08) brightness(0.95);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot-follow {
    display: none !important;
  }
}


.admin-smtp-section {
  border: 1px solid #fecaca;
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.admin-smtp-head {
  align-items: center;
  margin-bottom: 8px;
}

.admin-smtp-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.admin-smtp-status.is-enabled {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.admin-smtp-status.is-disabled {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.admin-smtp-tools {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.admin-smtp-readiness,
.admin-smtp-test {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.admin-smtp-readiness h4,
.admin-smtp-test h4 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
  color: #0f172a;
}

.admin-smtp-test p {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 13px;
}

.admin-smtp-readiness ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.admin-smtp-readiness li {
  display: grid;
  grid-template-columns: auto minmax(120px, 150px) 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 8px 10px;
}

.admin-smtp-readiness .state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #334155;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.admin-smtp-readiness li.is-ok .state {
  color: #166534;
  border-color: #bbf7d0;
  background: #dcfce7;
}

.admin-smtp-readiness li.is-bad .state {
  color: #991b1b;
  border-color: #fecaca;
  background: #fee2e2;
}

.admin-smtp-readiness .name {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.admin-smtp-readiness .detail {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  word-break: break-word;
}

.admin-smtp-last-error {
  margin-top: 10px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
  padding: 10px;
  font-size: 12px;
  color: #991b1b;
  line-height: 1.5;
}

.admin-smtp-last-error.is-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.admin-smtp-test label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #334155;
  font-size: 12px;
}

.admin-smtp-test input {
  margin-bottom: 10px;
  border-radius: 12px;
}

@media (max-width: 980px) {
  .admin-smtp-tools {
    grid-template-columns: 1fr;
  }

  .admin-smtp-readiness li {
    grid-template-columns: auto 1fr;
  }

  .admin-smtp-readiness .detail {
    grid-column: 1 / -1;
  }
}

/* Dedicated 404 page styling */
.notfound-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
.notfound-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.notfound-card {
  text-align: center;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.notfound-code {
  font-size: clamp(56px, 10vw, 110px);
  line-height: 1;
  font-weight: 900;
  color: #e10600;
  letter-spacing: -0.03em;
}
.notfound-card h1 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.1;
}
.notfound-card p {
  max-width: 620px;
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

/* SMTP Professional Polish */
.admin-smtp-section {
  position: relative;
  overflow: hidden;
  border: 1px solid #fbcaca;
  background: linear-gradient(180deg, #fff 0%, #fff6f6 100%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.admin-smtp-section::before {
  content: "";
  position: absolute;
  top: -56px;
  right: -56px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.14) 0%, rgba(225, 6, 0, 0) 70%);
  pointer-events: none;
}

.admin-smtp-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-smtp-head h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e10600;
  box-shadow: 0 0 0 5px rgba(225, 6, 0, 0.16);
}

.admin-smtp-tools {
  gap: 16px;
}

.admin-smtp-readiness,
.admin-smtp-test {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.admin-smtp-help {
  margin-top: 10px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
}

.admin-smtp-help-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.admin-smtp-help ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.admin-smtp-help li {
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.admin-smtp-help.is-critical {
  border-color: #fecaca;
  background: #fff5f5;
}

.admin-smtp-help.is-critical .admin-smtp-help-title {
  color: #991b1b;
}

.admin-smtp-provider-note {
  margin: 0 0 10px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
}

.admin-smtp-test .btn {
  width: 100%;
  justify-content: center;
}
