/* ============================================
   UMAER.SYS — CLIENT ACQUISITION SYSTEM
   Premium Design System v2.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* === DESIGN TOKENS === */
:root {
  --p: #8B94F7;
  --p-rgb: 139, 148, 247;
  --ac: #9333EA;
  --ac-rgb: 147, 51, 234;
  --bg: #0A080A;
  --bg2: #0F0D12;
  --bg3: #151318;
  --card: rgba(139, 148, 247, 0.04);
  --glass: rgba(139, 148, 247, 0.06);
  --border: rgba(139, 148, 247, 0.12);
  --text: #E4E4F0;
  --muted: #7A7A95;
  --green: #22C55E;
  --green-rgb: 34, 197, 94;
  --fh: 'Space Grotesk', sans-serif;
  --fb: 'Inter', sans-serif;
  --fm: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
  --glow: 0 0 40px rgba(var(--p-rgb), 0.15);
}

[data-theme="light"] {
  --bg: #F4F4F8;
  --bg2: #FFFFFF;
  --bg3: #EEEEF2;
  --card: rgba(139, 148, 247, 0.06);
  --glass: rgba(139, 148, 247, 0.1);
  --border: rgba(139, 148, 247, 0.2);
  --text: #0A080A;
  --muted: #555566;
}

/* === RESET === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  transition: background .4s, color .4s;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: rgba(var(--p-rgb), 0.3);
  color: #fff;
}

/* === CURSOR === */
.cur-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--p);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .15s var(--ease), background .2s;
  mix-blend-mode: difference;
}

.cur-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(var(--p-rgb), 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}

.cur-dot.hover {
  transform: translate(-50%, -50%) scale(2.5);
  background: var(--green);
}

.cur-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--green);
  background: rgba(var(--green-rgb), 0.08);
}

@media(max-width:768px) {

  .cur-dot,
  .cur-ring {
    display: none;
  }
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
.font-head {
  font-family: var(--fh);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: var(--fm);
}

.text-grad {
  background: linear-gradient(135deg, var(--p), var(--ac), #E879F9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--muted);
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 3.5rem;
}

.section-label {
  font-family: var(--fm);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--p);
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--border);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s var(--ease);
  border: none;
  font-family: var(--fh);
  font-size: .9rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--p), var(--ac));
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--p-rgb), 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--p-rgb), 0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity .3s;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(var(--p-rgb), 0.12);
  border-color: var(--p);
}

.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* === NAVBAR === */
.nav-floating-wrap {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 1.5rem;
}

.nav-floating {
  background: rgba(10, 8, 10, 0.6);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(139, 148, 247, 0.15);
  border-radius: 100px;
  padding: 0.45rem 0.45rem 0.45rem 1.4rem;
  pointer-events: auto;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  width: 100%;
  max-width: 860px;
}

.nav-floating.scrolled {
  background: rgba(10, 8, 10, 0.88);
  border-color: rgba(139, 148, 247, 0.22);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 148, 247, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .nav-floating {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(139, 148, 247, 0.18);
  box-shadow: 0 8px 32px rgba(139, 148, 247, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .nav-floating.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 48px rgba(139, 148, 247, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.85rem;
  border-radius: 100px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--fb);
  letter-spacing: 0.01em;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: color 0.25s ease, transform 0.3s ease;
  line-height: 1;
}

.nav-link span {
  line-height: 1;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-link:hover i {
  transform: translateY(-1px);
  color: var(--p);
}

[data-theme="light"] .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--p-rgb), 0.22), rgba(var(--ac-rgb), 0.15));
  box-shadow: inset 0 0 0 1px rgba(var(--p-rgb), 0.25), 0 0 12px rgba(var(--p-rgb), 0.1);
}

.nav-link.active i {
  color: var(--p);
}

[data-theme="light"] .nav-link.active {
  color: var(--text);
  background: rgba(var(--p-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--p-rgb), 0.2);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

[data-theme="light"] .nav-divider {
  background: rgba(0, 0, 0, 0.1);
}

.theme-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: color 0.25s ease, background 0.25s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.theme-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(20deg);
}

[data-theme="light"] .theme-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--p), var(--ac));
  padding: 0.48rem 0.48rem 0.48rem 1rem;
  border-radius: 100px;
  color: #fff;
  font-family: var(--fh);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(var(--p-rgb), 0.3);
  white-space: nowrap;
}

.nav-start-btn i.ri-rocket-2-line {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.nav-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--p-rgb), 0.45);
}

.nav-start-btn:hover i.ri-rocket-2-line {
  transform: translateY(-2px) rotate(-5deg);
}

.btn-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.nav-start-btn:hover .btn-icon-wrap {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .04;
  background-image: linear-gradient(rgba(var(--p-rgb), 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--p-rgb), 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .15;
  z-index: 0;
}

.hero-glow-1 {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ac);
}

.hero-glow-2 {
  bottom: -200px;
  right: -100px;
  background: var(--p);
  opacity: .1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.terminal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 700px;
  margin: 0 auto 3rem;
  overflow: hidden;
  box-shadow: var(--glow), 0 25px 60px rgba(0, 0, 0, 0.5);
}

.term-header {
  background: rgba(0, 0, 0, 0.3);
  padding: .7rem 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.term-dots {
  display: flex;
  gap: 7px;
}

.term-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.td-r {
  background: #FF5F56;
}

.td-y {
  background: #FFBD2E;
}

.td-g {
  background: #27C93F;
}

.term-title {
  margin-left: auto;
  font-family: var(--fm);
  color: var(--muted);
  font-size: .75rem;
}

.term-body {
  padding: 1.5rem 2rem;
  font-family: var(--fm);
  font-size: .88rem;
  min-height: 130px;
  color: var(--green);
  line-height: 1.8;
}

.term-line {
  opacity: 0;
  transform: translateX(-10px);
}

.term-line.visible {
  opacity: 1;
  transform: translateX(0);
  transition: all .4s var(--ease);
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--green);
  animation: blink 1s infinite;
  vertical-align: middle;
  margin-left: 2px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.1;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === TRUST METRICS === */
.metrics-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-item {
  text-align: center;
}

.metric-val {
  font-family: var(--fh);
  font-size: 2.5rem;
  font-weight: 700;
}

.metric-label {
  color: var(--muted);
  font-size: .85rem;
  margin-top: .25rem;
}

/* === GENERIC GRIDS === */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--p-rgb), 0.3), transparent);
  opacity: 0;
  transition: opacity .4s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--p-rgb), 0.3);
  box-shadow: var(--glow);
}

.card:hover::before {
  opacity: 1;
}

/* === SERVICES BENTO === */
.svc-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.svc-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all .5s var(--ease);
  cursor: default;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p), var(--ac));
  opacity: 0;
  transition: opacity .4s;
}

.svc-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(var(--p-rgb), 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}

.svc-card:hover {
  border-color: rgba(var(--p-rgb), 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-card:hover::after {
  opacity: 1;
}

.svc-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
}

.svc-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(var(--p-rgb), 0.15), rgba(var(--ac-rgb), 0.1));
  border: 1px solid rgba(var(--p-rgb), 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--p);
  margin-bottom: 1.5rem;
  transition: all .4s;
}

.svc-card:hover .svc-icon {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(var(--p-rgb), 0.2);
}

.svc-tag {
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--ac);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: .75rem;
  display: inline-block;
}

.svc-card h3 {
  font-family: var(--fh);
  font-size: 1.4rem;
  margin-bottom: .75rem;
}

.svc-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

.svc-features {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.svc-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--muted);
}

.svc-features li i {
  color: var(--green);
  font-size: .9rem;
  flex-shrink: 0;
}

.svc-price {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
  padding: .5rem 1.2rem;
  background: rgba(var(--green-rgb), 0.08);
  border: 1px solid rgba(var(--green-rgb), 0.15);
  border-radius: 8px;
  font-family: var(--fm);
  font-size: .8rem;
  color: var(--green);
}

.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
  margin-left: 1rem;
  color: var(--p);
  font-weight: 600;
  font-size: .85rem;
  transition: gap .3s;
  cursor: pointer;
}

.svc-cta:hover {
  gap: .8rem;
}

.svc-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.svc-mock {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  font-family: var(--fm);
  font-size: .78rem;
  color: var(--green);
}

.svc-mock-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}

.svc-mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.svc-mock-line {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin-top: .4rem;
}

.svc-mock-line.w60 {
  width: 60%;
}

.svc-mock-line.w80 {
  width: 80%;
}

.svc-mock-line.w45 {
  width: 45%;
}

/* === SYSTEM DASHBOARD v2 === */
.dash-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sys-wrap {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 2rem;
}

.sys-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.sys-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sys-topbar-dots {
  display: flex;
  gap: 6px;
}

.sys-topbar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sys-topbar-title {
  font-family: var(--fm);
  font-size: .75rem;
  color: var(--muted);
}

.sys-status-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--fm);
  font-size: .72rem;
  color: var(--green);
  padding: .3rem .8rem;
  background: rgba(var(--green-rgb), 0.08);
  border: 1px solid rgba(var(--green-rgb), 0.15);
  border-radius: 6px;
}

.sys-status-badge .sys-blink {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.sys-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}

.sys-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.sys-panel {
  background: var(--bg3);
  padding: 1.75rem;
  position: relative;
  transition: background .3s;
}

.sys-panel:hover {
  background: rgba(var(--p-rgb), 0.03);
}

.sys-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sys-panel-label {
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.sys-panel-badge {
  font-family: var(--fm);
  font-size: .62rem;
  padding: .15rem .5rem;
  border-radius: 4px;
}

.sys-panel-badge.live {
  background: rgba(var(--green-rgb), 0.1);
  color: var(--green);
}

.sys-panel-badge.building {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.sys-panel-val {
  font-family: var(--fh);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .25rem;
}

.sys-panel-sub {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.sys-panel-sub .up {
  color: var(--green);
}

.sys-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 1rem;
  overflow: hidden;
}

.sys-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--p), var(--ac));
  transition: width 1.5s var(--ease);
}

.sys-sidebar {
  border-left: 1px solid var(--border);
  background: var(--bg3);
  padding: 1.5rem;
}

.sys-sidebar h4 {
  font-family: var(--fm);
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.sys-log {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.sys-log-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .8rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.sys-log-item:last-child {
  border-bottom: none;
}

.sys-log-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.sys-log-dot.green {
  background: var(--green);
  box-shadow: 0 0 8px rgba(var(--green-rgb), 0.4);
}

.sys-log-dot.purple {
  background: var(--p);
  box-shadow: 0 0 8px rgba(var(--p-rgb), 0.4);
}

.sys-log-dot.yellow {
  background: #F59E0B;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.sys-log-text {
  color: var(--muted);
  line-height: 1.4;
}

.sys-log-text strong {
  color: var(--text);
  font-weight: 500;
}

.sys-log-time {
  font-family: var(--fm);
  font-size: .65rem;
  color: var(--muted);
  opacity: .6;
  margin-top: .15rem;
  display: block;
}

/* === PROJECTS SHOWCASE v2 === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pj-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all .5s var(--ease);
  position: relative;
}

.pj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--p-rgb), 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.pj-header {
  padding: 2rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.pj-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .08;
  z-index: 0;
}

.pj-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.pj-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pj-status {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--fm);
  font-size: .65rem;
  padding: .3rem .7rem;
  border-radius: 6px;
  background: rgba(var(--green-rgb), 0.1);
  color: var(--green);
  border: 1px solid rgba(var(--green-rgb), 0.15);
}

.pj-status .pj-blink {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.pj-body {
  padding: 0 2rem 2rem;
}

.pj-cat {
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--p);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: .4rem;
}

.pj-card h3 {
  font-family: var(--fh);
  font-size: 1.25rem;
  margin-bottom: .6rem;
}

.pj-desc {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.pj-tag {
  font-family: var(--fm);
  font-size: .62rem;
  padding: .25rem .6rem;
  border-radius: 5px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.pj-metric {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .8rem;
  background: rgba(var(--green-rgb), 0.08);
  border: 1px solid rgba(var(--green-rgb), 0.12);
  border-radius: 6px;
  font-family: var(--fm);
  font-size: .72rem;
  color: var(--green);
  margin-right: .5rem;
  margin-bottom: .5rem;
}

.pj-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.pj-cta {
  color: var(--p);
  font-weight: 600;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: gap .3s var(--ease);
}

.pj-card:hover .pj-cta {
  gap: .8rem;
}

.pj-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p);
  font-size: 1rem;
  transition: all .3s;
}

.pj-card:hover .pj-arrow {
  background: rgba(var(--p-rgb), 0.15);
  border-color: var(--p);
}

/* === GLOBAL SECTION === */
.globe-visual {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.globe-ring:nth-child(1) {
  width: 200px;
  height: 200px;
}

.globe-ring:nth-child(2) {
  width: 300px;
  height: 300px;
  animation-duration: 30s;
  animation-direction: reverse;
}

.globe-ring:nth-child(3) {
  width: 400px;
  height: 400px;
  animation-duration: 40s;
}

.globe-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--p);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(var(--p-rgb), 0.5);
}

.globe-center {
  font-size: 3rem;
  color: var(--p);
  opacity: .3;
  position: relative;
  z-index: 2;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--p), var(--ac), transparent);
}

.tl-item {
  position: relative;
  padding-left: 4.5rem;
  margin-bottom: 2.5rem;
}

.tl-dot {
  position: absolute;
  left: 15px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--p);
  box-shadow: 0 0 15px rgba(var(--p-rgb), 0.3);
  transition: all .3s;
}

.tl-item:hover .tl-dot {
  background: var(--p);
  transform: scale(1.2);
}

.tl-title {
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

.tl-num {
  font-family: var(--fm);
  font-size: .7rem;
  color: var(--p);
  margin-bottom: .25rem;
}

/* === TOOLS === */
.tools-marquee {
  overflow: hidden;
  padding: 2rem 0;
}

.tools-track {
  display: flex;
  gap: 3rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  opacity: .5;
  transition: all .4s var(--ease);
  min-width: 90px;
}

.tool-item:hover {
  opacity: 1;
  transform: translateY(-5px);
}

.tool-item i {
  font-size: 2.5rem;
}

.tool-item span {
  font-size: .75rem;
  font-family: var(--fm);
  color: var(--muted);
}

/* === ESTIMATOR === */
.est-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 550px;
  margin: 0 auto;
  padding: 2.5rem;
  box-shadow: var(--glow);
}

.est-step {
  margin-bottom: 1.75rem;
}

.est-step label {
  display: block;
  margin-bottom: .6rem;
  font-weight: 500;
  font-size: .9rem;
}

.est-select {
  width: 100%;
  padding: .9rem 1rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  outline: none;
  font-family: var(--fb);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7A95' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.est-select:focus {
  border-color: var(--p);
}

.est-result {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.est-price {
  font-size: 2.5rem;
  font-family: var(--fh);
  font-weight: 700;
  color: var(--green);
  margin: 1rem 0 1.5rem;
}

.est-note {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--fm);
}

/* === CONTACT FORM === */
.contact-form {
  max-width: 550px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .4rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--fb);
  font-size: .9rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}

.form-control:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(var(--p-rgb), 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  text-align: center;
  padding: 2rem;
  color: var(--green);
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--ac);
  filter: blur(150px);
  opacity: .06;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* === FOOTER === */
.footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-text {
  color: var(--muted);
  font-size: .85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 1.3rem;
  transition: color .3s;
}

.footer-links a:hover {
  color: var(--p);
}

/* === FLOATING WHATSAPP === */
.float-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all .3s var(--ease);
}

.float-wa:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.float-wa .wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite;
}

/* === MODAL === */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.modal-bg.active {
  display: flex;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 700px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: modalIn .4s var(--ease);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all .3s;
}

.modal-close:hover {
  background: rgba(239, 68, 68, .15);
  border-color: rgba(239, 68, 68, .3);
  color: #EF4444;
}

.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  padding-right: 3rem;
}

.modal-field {
  margin-bottom: 1.5rem;
}

.modal-field strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .5rem;
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial-card .tc-stars {
  color: #F59E0B;
  margin-bottom: 1rem;
}

.testimonial-card .tc-msg {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-card .tc-author {
  font-weight: 600;
}

.testimonial-card .tc-company {
  font-size: .85rem;
  color: var(--muted);
}

/* === KEYFRAMES === */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--green-rgb), 0.7)
  }

  70% {
    box-shadow: 0 0 0 10px rgba(var(--green-rgb), 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--green-rgb), 0)
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: .6
  }

  100% {
    transform: scale(1.5);
    opacity: 0
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}



/* === RESPONSIVE === */

/* Tablet — compress links to icon-only */
@media(max-width:900px) {
  .nav-link span {
    display: none;
  }
  .nav-link {
    padding: 0.42rem 0.7rem;
    gap: 0;
  }
  .nav-floating {
    max-width: 700px;
  }
}

@media(max-width:992px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-card.featured {
    grid-template-columns: 1fr;
  }

  .sys-body {
    grid-template-columns: 1fr;
  }

  .sys-sidebar {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

@media(max-width:768px) {
  .nav-floating {
    padding: 0.45rem;
    max-width: 100%;
  }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  /* Mobile open drawer */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    background: rgba(10, 8, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 148, 247, 0.15);
    border-radius: 20px;
    padding: 0.6rem;
    gap: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    z-index: 200;
  }

  [data-theme="light"] .nav-links.open {
    background: rgba(255, 255, 255, 0.97);
  }

  /* Restore text in mobile drawer */
  .nav-links.open .nav-link span {
    display: block;
  }

  .nav-links.open .nav-link {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .nav-links.open .nav-link i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
  }

  /* Collapse "Start Project" to just the arrow icon on tiny screens */
  .nav-start-btn .btn-text {
    display: none;
  }
  .nav-start-btn i.ri-rocket-2-line {
    display: none;
  }
  .nav-start-btn {
    padding: 0.48rem;
  }

  .grid-2,
  .projects-grid,
  .svc-bento {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .modal {
    padding: 2rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .globe-visual {
    height: 200px;
  }

  .globe-ring:nth-child(3) {
    display: none;
  }
}

@media(max-width:480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}