/* Zoom Automação Comercial - shared styles */
:root {
  --bg-deep: #2b3040;
  --bg-mid: #333847;
  --bg-card: #3a4155;
  --cyan: #00c4d8;
  --cyan-dark: #0097b2;
  --white: #ffffff;
  --gray: #a8b2c8;
  --border: rgba(0,196,216,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg-deep);
  color: var(--white);
  overflow-x: hidden;
}

body.site-page { overflow-x: hidden; }
body.legal-page { overflow-x: hidden; }

a { color: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--cyan-dark); border-radius: 3px; }

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(43,48,64,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: white;
  box-shadow: 0 0 20px rgba(0,196,216,0.4);
  flex-shrink: 0;
}

.nav-logo-text { line-height: 1; }
.nav-logo-text .brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 1px;
}
.nav-logo-text .sub {
  font-size: 9px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .3s;
  font-family: 'Rajdhani', sans-serif;
}

.nav-links a:hover,
.footer-links a:hover { color: var(--cyan); }

.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,196,216,0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,196,216,0.5);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 50%, rgba(0,151,178,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,196,216,0.06) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,196,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,196,216,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(0,196,216,0.08);
  right: 15%;
  top: 20%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(0,97,178,0.1);
  right: 25%;
  bottom: 30%;
  animation-delay: 3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,196,216,0.1);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: 'Rajdhani', sans-serif;
  animation: fadeInUp .8s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  animation: fadeInUp .8s .1s ease both;
}

.hero h1 .accent,
.section-title .accent,
.legal-title .accent { color: var(--cyan); }

.hero h1 .line2 {
  display: block;
  color: var(--gray);
  font-weight: 300;
}

.hero-desc {
  margin-top: 24px;
  margin-bottom: 40px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray);
  font-weight: 300;
  max-width: 560px;
  animation: fadeInUp .8s .2s ease both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp .8s .3s ease both;
}

.btn-primary,
.btn-ghost,
.location-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  font-family: 'Rajdhani', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(0,196,216,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,196,216,0.5);
}

.btn-ghost,
.location-link {
  color: var(--cyan);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: rgba(0,196,216,0.04);
}

.btn-ghost:hover,
.location-link:hover {
  background: rgba(0,196,216,0.1);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.hero-visual {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s .4s ease both;
}

.hero-3d-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin linear infinite;
}

.ring1 { inset: 0; border-color: rgba(0,196,216,0.2); animation-duration: 20s; }
.ring2 { inset: 30px; border-color: rgba(0,196,216,0.15); animation-duration: 15s; animation-direction: reverse; }
.ring3 { inset: 70px; border-color: rgba(0,196,216,0.1); animation-duration: 25s; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-center-orb {
  position: absolute;
  inset: 110px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.15), rgba(0,151,178,0.4) 50%, rgba(0,60,100,0.8));
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(0,196,216,0.3), inset 0 0 40px rgba(0,0,0,0.3);
}

.hero-z {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  font-weight: 900;
  color: rgba(0,196,216,0.6);
  text-shadow: 0 0 40px rgba(0,196,216,0.4);
  letter-spacing: -5px;
}

.stats-bar {
  display: flex;
  gap: 0;
  margin-top: 60px;
  animation: fadeInUp .8s .4s ease both;
}

.stat {
  flex: 1;
  padding: 0 30px;
  border-right: 1px solid var(--border);
}

.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }

.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  font-family: 'Rajdhani', sans-serif;
}

.stat-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 6px;
  letter-spacing: 1px;
  line-height: 1.5;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateY(-50%) translateX(40px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

section { padding: 100px 60px; }

.section-tag,
.legal-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: 'Rajdhani', sans-serif;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-sub {
  margin-top: 16px;
  font-size: 16px;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 300;
}

.services { background: var(--bg-mid); }

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-sub {
  margin: 16px auto 0;
}

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

.services-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
  max-width: calc(66.66% + 8px);
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,196,216,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,196,216,0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(0,196,216,0.1);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,196,216,0.1);
  border: 1px solid rgba(0,196,216,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  transition: background .3s;
}

.service-card:hover .service-icon { background: rgba(0,196,216,0.18); }

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
}

.service-card .service-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan);
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
}

.service-num {
  position: absolute;
  right: 28px;
  top: 28px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(0,196,216,0.06);
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
}

.zoom-erp,
.digital-service {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.erp-bg,
.digital-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.erp-bg {
  background:
    radial-gradient(ellipse 55% 70% at 100% 50%, rgba(0,151,178,0.10), transparent 65%),
    radial-gradient(ellipse 30% 40% at 0% 80%, rgba(0,196,216,0.05), transparent 60%);
}

.digital-bg {
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(0,151,178,0.10), transparent 65%),
    radial-gradient(ellipse 30% 40% at 100% 20%, rgba(0,196,216,0.05), transparent 60%);
}

.erp-layout,
.digital-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.erp-hero-card,
.digital-hero-card {
  background: linear-gradient(135deg, rgba(0,196,216,0.10) 0%, rgba(0,97,178,0.08) 100%);
  border: 1px solid rgba(0,196,216,0.35);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 60px rgba(0,196,216,0.08);
  position: relative;
  overflow: hidden;
}

.erp-hero-card::before,
.digital-hero-card::before {
  position: absolute;
  right: -10px;
  top: -20px;
  font-size: 110px;
  font-weight: 900;
  color: rgba(0,196,216,0.04);
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -4px;
}

.erp-hero-card::before { content: 'ERP'; }
.digital-hero-card::before { content: 'CRM'; }

.erp-logo-line,
.digital-logo-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.erp-logo-icon,
.digital-logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: white;
  box-shadow: 0 0 24px rgba(0,196,216,0.4);
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: -1px;
}

.erp-logo-text .erp-name,
.digital-logo-text .digital-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
}

.erp-logo-text .erp-name span,
.digital-logo-text .digital-name span {
  color: var(--cyan);
}

.erp-logo-text .erp-sub,
.digital-logo-text .digital-sub {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  margin-top: 2px;
}

.erp-desc,
.digital-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.erp-segments,
.digital-badges,
.nfe-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.erp-segments,
.digital-badges { margin-bottom: 28px; }

.seg-pill,
.digital-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,196,216,0.07);
  border: 1px solid rgba(0,196,216,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  transition: background .2s, border-color .2s;
}

.seg-pill:hover,
.digital-pill:hover {
  background: rgba(0,196,216,0.15);
  border-color: rgba(0,196,216,0.45);
}

.seg-pill span,
.digital-pill span { font-size: 16px; }

.nfe-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(0,196,216,0.18), rgba(0,97,178,0.15));
  border: 1px solid rgba(0,196,216,0.4);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
}

.nfe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.erp-features,
.digital-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.erp-feat,
.digital-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(0,196,216,0.04);
  border: 1px solid rgba(0,196,216,0.08);
  transition: border-color .3s, background .3s, transform .3s;
}

.erp-feat:hover,
.digital-feat:hover {
  border-color: rgba(0,196,216,0.28);
  background: rgba(0,196,216,0.08);
  transform: translateX(4px);
}

.erp-feat-icon,
.digital-feat-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(0,196,216,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.erp-feat h4,
.digital-feat h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}

.erp-feat p,
.digital-feat p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  font-weight: 300;
}

.erp-cta,
.digital-cta { margin-top: 28px; }

.why { background: var(--bg-mid); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  transition: transform .3s;
}

.why-card:hover { transform: translateY(-4px); }
.why-card:first-child { grid-column: span 2; }

.why-card-num {
  font-size: 38px;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  font-family: 'Rajdhani', sans-serif;
}

.why-card-label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 8px;
  line-height: 1.6;
}

.why-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: rgba(0,196,216,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--cyan);
  margin-top: 2px;
}

.why-item p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

.why-item p strong {
  color: var(--white);
  font-weight: 600;
}

.contact { background: var(--bg-deep); }

.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform .3s, border-color .3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,196,216,0.4);
}

.contact-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.contact-card h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-card a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover { color: var(--cyan); }

footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  color: white;
  box-shadow: 0 0 16px rgba(0,196,216,0.35);
}

.footer-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--cyan);
}

.footer-name span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
  margin-top: 1px;
}

.footer-copy {
  font-size: 13px;
  color: var(--gray);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 13px;
  transition: color .3s;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.2;
  margin: 0 60px;
}

/* Legal pages */
.legal-shell {
  min-height: 100vh;
  padding-top: 82px;
}

.legal-hero {
  padding: 72px 60px 32px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(0,151,178,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(0,196,216,0.06) 0%, transparent 60%);
}

.legal-inner,
.legal-content {
  max-width: 1100px;
  margin: 0 auto;
}

.legal-title {
  margin-top: 22px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
}

.legal-lead {
  max-width: 760px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 17px;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.legal-meta-box,
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.legal-meta-box {
  padding: 18px;
}

.legal-meta-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.legal-content {
  padding: 32px 60px 72px;
}

.legal-card {
  padding: 32px;
  margin-bottom: 22px;
}

.legal-card h2 {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--white);
}

.legal-card h3 {
  font-size: 18px;
  margin: 22px 0 10px;
  color: var(--white);
}

.legal-card p,
.legal-card li,
.legal-card td {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-card strong,
.legal-card b {
  color: var(--white);
}

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

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(0,196,216,0.14);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--white);
  background: rgba(0,196,216,0.06);
  font-size: 14px;
}

.legal-links-inline a {
  color: var(--cyan);
  text-decoration: none;
}

.legal-links-inline a:hover {
  color: var(--white);
}

/* Cookies */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: none;
  background: rgba(43,48,64,0.98);
  border: 1px solid rgba(0,196,216,0.22);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(14px);
}

.cookie-banner.show { display: block; animation: cookieFadeUp .25s ease; }

.cookie-banner-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px;
}

.cookie-banner-text { max-width: 760px; }
.cookie-banner-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cookie-banner-text p,
.cookie-modal-header p,
.cookie-cat-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.cookie-banner-text a,
.cookie-modal a,
.cookie-manage-link { color: var(--cyan); text-decoration: none; }

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 320px;
  justify-content: flex-end;
}

.cookie-btn {
  border: 1px solid var(--border);
  background: rgba(0,196,216,0.05);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  transition: .2s ease;
}

.cookie-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0,196,216,0.4);
}

.cookie-btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,196,216,0.26);
}

.cookie-btn.secondary { background: rgba(255,255,255,0.04); }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,10,16,0.72);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-modal-overlay.show { display: flex; }

.cookie-modal {
  width: 100%;
  max-width: 720px;
  background: #2f3546;
  border: 1px solid rgba(0,196,216,0.2);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}

.cookie-modal-header {
  padding: 24px 24px 12px;
  border-bottom: 1px solid rgba(0,196,216,0.12);
}

.cookie-modal-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.cookie-modal-body { padding: 18px 24px 8px; }

.cookie-cat {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,196,216,0.08);
}

.cookie-cat:last-child { border-bottom: none; }

.cookie-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-cat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.cookie-switch {
  position: relative;
  width: 54px;
  height: 30px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #4a5166;
  transition: .2s ease;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}

.cookie-slider:before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: .2s ease;
}

.cookie-switch input:checked + .cookie-slider {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
  opacity: .6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 18px 24px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid rgba(0,196,216,0.12);
}

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

@keyframes cookieFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .erp-layout,
  .digital-layout,
  .why-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  .hero { padding: 100px 24px 60px; }
  .legal-hero { padding: 120px 24px 24px; }
  .legal-content { padding: 24px 24px 64px; }
  .services-grid,
  .services-row2,
  .contact-grid,
  .why-visual,
  .legal-meta { grid-template-columns: 1fr; max-width: 100%; }
  .why-card:first-child { grid-column: span 1; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .divider { margin: 0 24px; }
  .stats-bar { gap: 0; flex-wrap: wrap; }
  .stat { min-width: 50%; margin-bottom: 20px; }
  .cookie-banner-inner { flex-direction: column; }
  .cookie-banner-actions { min-width: 0; width: 100%; justify-content: flex-start; }
  .cookie-modal-footer { flex-direction: column; align-items: flex-start; }
  .cookie-footer-actions { width: 100%; }
  .cookie-footer-actions .cookie-btn { width: 100%; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; }
}

@media (max-width: 640px) {
  .stat {
    min-width: 100%;
    padding: 0;
    border-right: none;
  }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-primary,
  .btn-ghost,
  .location-link,
  .nav-cta { width: 100%; text-align: center; }
}
