/* ==========================================================================
   SGB ERP CHILE - SISTEMA DE DISEÑO ULTRA-PREMIUM (2026 REVOLUTION)
   ========================================================================== */

:root {
  --bg-primary: #070a12;
  --bg-secondary: #0d1322;
  --bg-card: rgba(18, 26, 44, 0.7);
  --bg-card-hover: rgba(24, 35, 58, 0.85);
  --bg-glass: rgba(13, 19, 34, 0.75);
  
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.28);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.45);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -10px var(--primary-glow);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 30%;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, .brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-crm {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-crm:hover {
  border-color: #3b82f6;
  background: #1e293b;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 1.5rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.hero-badge i {
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.metric-item .metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-item .metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hero Visual Duo Showcase */
.hero-visual-card {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.15);
  transition: var(--transition);
}

.hero-image-wrapper:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.badge-float-chip {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(13, 19, 34, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.badge-float-chip i {
  font-size: 1.6rem;
  color: var(--gold);
}

.badge-chip-info strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.badge-chip-info span {
  font-size: 0.75rem;
  color: #fde68a;
}

/* ==========================================================================
   SII OFFICIAL CERTIFICATION BANNER
   ========================================================================== */
.sii-cert-banner {
  max-width: 1280px;
  margin: 1.5rem auto 4.5rem;
  padding: 0 1.5rem;
}

.sii-cert-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 30, 52, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(245, 158, 11, 0.08);
}

.sii-cert-card::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.sii-seal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.sii-seal-img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.sii-seal-img:hover {
  transform: scale(1.02);
}

.cert-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.cert-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cert-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.cert-grid-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.cert-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.cert-check-item i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 1rem;
}

.sii-doc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.doc-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ==========================================================================
   THE 3 MAIN PRODUCTS SECTION
   ========================================================================== */
.section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-size: 0.82rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.product-card.card-featured {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 35px -5px var(--purple-glow);
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.35) 0%, rgba(18, 26, 44, 0.85) 100%);
}

.card-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.4);
}

.product-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.icon-api {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-erp {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.icon-full {
  background: rgba(139, 92, 246, 0.18);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.product-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.badge-api { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-erp { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.badge-full { background: rgba(139, 92, 246, 0.2); color: #c084fc; }

.product-name {
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  min-height: 48px;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.product-features li i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.95rem;
}

.product-cta {
  margin-top: auto;
}

.product-cta .btn {
  width: 100%;
}

/* ==========================================================================
   CLIENTS INFINITE MARQUEE (TOP SOCIAL PROOF)
   ========================================================================== */
.clients-marquee-section {
  width: 100%;
  padding: 2.25rem 0 2.75rem;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.6) 0%, rgba(13, 19, 34, 0.8) 50%, rgba(7, 10, 18, 0.6) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
  margin-bottom: 3rem;
}

.marquee-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.marquee-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.marquee-label i {
  color: var(--primary);
  font-size: 0.85rem;
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  align-items: center;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(18, 26, 44, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.35rem;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.marquee-item:hover {
  background: rgba(24, 35, 58, 0.95);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.marquee-logo {
  height: 38px;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.1);
  transition: var(--transition);
}

.marquee-item:hover .marquee-logo {
  filter: brightness(1.1) contrast(1.15);
  transform: scale(1.06);
}

.marquee-info {
  display: flex;
  flex-direction: column;
}

.marquee-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.marquee-item:hover .marquee-name {
  color: #34d399;
}

.marquee-link-icon {
  font-size: 0.7rem;
  color: #10b981;
  opacity: 0.8;
  transition: var(--transition);
}

.marquee-item:hover .marquee-link-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

.marquee-sector {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ==========================================================================
   CLIENTS SHOWCASE (REAL CLIENTS DIRECTORY)
   ========================================================================== */
.clients-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(15, 23, 42, 0.6) 50%, var(--bg-primary) 100%);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.clients-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.client-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
  opacity: 0;
  transition: var(--transition);
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(20, 30, 52, 0.85);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.1);
}

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

.client-logo-wrapper {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 190px;
  margin-bottom: 1rem;
}

.client-logo-wrapper img {
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.1);
  transition: var(--transition);
}

.client-card:hover .client-logo-wrapper img {
  filter: brightness(1.15) contrast(1.2);
  transform: scale(1.06);
}

.client-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.25rem;
}

.client-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.client-sector {
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.client-solution-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-weight: 600;
}

.client-solution-badge i {
  color: #38bdf8;
  font-size: 0.8rem;
}

/* Branded Vector Badges for Clients without transparent SVG */
.brand-vector-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  user-select: none;
}

.brand-vector-badge.gys-badge {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(30, 58, 138, 0.45) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.18);
}

.brand-vector-badge.wara-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(180, 83, 9, 0.45) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.logo-clean-badge {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.client-card:hover .logo-clean-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.client-card-action {
  width: 100%;
}

.btn-visit-client {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-visit-client:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.badge-internal-client {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   COMPARISON TABLE SECTION
   ========================================================================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comp-table th, .comp-table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.comp-table th {
  background: rgba(13, 19, 34, 0.95);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.comp-table td {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.comp-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.check-yes {
  color: #34d399;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.check-yes i {
  color: #10b981;
  font-size: 0.92rem;
}

.check-no {
  color: #94a3b8;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.check-no i {
  color: #64748b;
  font-size: 0.85rem;
}

/* ==========================================================================
   LOGIN / CRM MODAL & BANNER
   ========================================================================== */
.crm-banner {
  max-width: 1280px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.crm-cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.crm-cta-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.crm-cta-info p {
  color: var(--text-muted);
  max-width: 580px;
}

.crm-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #04070e;
  border-top: 1px solid var(--border-light);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .sii-cert-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.35rem; }
  .clients-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .crm-cta-box { flex-direction: column; text-align: center; }
  .crm-cta-actions { width: 100%; justify-content: center; }
}
