/* ==========================================================================
   XSISTEMAS — DESIGN SYSTEM & STYLESHEET
   Anti-slop, high-converting B2B Dark Tech Aesthetic
   ========================================================================== */

:root {
  /* Surface & Base Colors */
  --bg-main: #070a12;
  --bg-surface: #0e1424;
  --bg-surface-elevated: #141d33;
  --bg-surface-highlight: #1c2744;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(0, 210, 255, 0.4);
  --border-card: rgba(255, 255, 255, 0.1);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070a12;

  /* Brand Accents */
  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.25);
  --accent-emerald: #10b981;
  
  /* WhatsApp Brand Color */
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #20bd5a;
  --whatsapp-green-dark: #128c7e;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 25px rgba(0, 210, 255, 0.2);
  --shadow-glow-whatsapp: 0 0 25px rgba(37, 211, 102, 0.3);

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Text Utilities */
.text-center { text-align: center; }
.w-full { width: 100%; }

.text-highlight {
  background: linear-gradient(135deg, #00d2ff 0%, #38bdf8 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background-color: rgba(14, 20, 36, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 60;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  box-shadow: 0 0 8px var(--whatsapp-green);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.status-text {
  color: var(--text-secondary);
  font-weight: 500;
}

.top-bar-link {
  color: var(--accent-cyan);
  font-weight: 600;
  transition: var(--transition-fast);
}

.top-bar-link:hover {
  text-decoration: underline;
  color: #fff;
}

@media (max-width: 640px) {
  .top-bar-link {
    display: none;
  }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 4.25rem;
  display: flex;
  align-items: center;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #00d2ff, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.35);
}

.logo-icon i {
  width: 1.35rem;
  height: 1.35rem;
}

.logo-img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
  transition: var(--transition-fast);
  background-color: #000;
}

.logo:hover .logo-img {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.45);
  transform: scale(1.05);
}


.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.desktop-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.desktop-nav a:hover {
  color: var(--accent-cyan);
}

.nav-systems-link {
  color: var(--accent-cyan) !important;
  background-color: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
}

.nav-systems-link i {
  width: 0.9rem;
  height: 0.9rem;
}

.nav-systems-link:hover {
  background-color: rgba(0, 210, 255, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

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

.mobile-menu-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-card);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.hidden {
  display: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-link-highlight {
  color: var(--accent-cyan);
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ==========================================================================
   BUTTONS (Rigid contrast & single line compliance)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-whatsapp-nav {
  background-color: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #34d399;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-whatsapp-nav:hover {
  background-color: var(--whatsapp-green);
  color: #052e16;
  border-color: var(--whatsapp-green);
  box-shadow: var(--shadow-glow-whatsapp);
}

.btn-whatsapp, .btn-whatsapp-lg, .btn-whatsapp-cta {
  background-color: var(--whatsapp-green);
  color: #042411;
  font-weight: 700;
  border: 1px solid #2ae06e;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover, .btn-whatsapp-lg:hover, .btn-whatsapp-cta:hover {
  background-color: var(--whatsapp-green-hover);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  transform: translateY(-1px);
}

.btn-whatsapp-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-whatsapp-cta {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.btn-whatsapp-sm {
  background-color: var(--whatsapp-green);
  color: #042411;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-secondary-lg {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

.btn-secondary-lg:hover {
  background-color: var(--bg-surface-highlight);
  border-color: var(--accent-cyan);
  color: #fff;
}

.btn-secondary-sm {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-secondary-sm:hover {
  color: #fff;
  border-color: var(--text-secondary);
}

/* Service Direct CTA Button */
.btn-service-cta {
  background-color: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.btn-service-cta:hover {
  background-color: var(--whatsapp-green);
  color: #042411;
  border-color: var(--whatsapp-green);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

/* Platform Lovable Button */
.btn-platform {
  background: linear-gradient(135deg, #00d2ff, #0284c7);
  color: #04121d;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.35);
  border: none;
}

.btn-platform:hover {
  box-shadow: 0 6px 24px rgba(0, 210, 255, 0.5);
  transform: translateY(-2px);
  color: #000;
}

/* ==========================================================================
   HERO SECTION (Strict Viewport & Content Discipline)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 210, 255, 0.15) 0%, rgba(16, 185, 129, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--accent-cyan);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.tag-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 35rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-badge-item i {
  width: 1rem;
  height: 1rem;
  color: var(--whatsapp-green);
}

@media (min-width: 640px) {
  .hero-badges {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

/* Machine Card Visual */
.machine-card {
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow-cyan);
  position: relative;
}

.machine-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.machine-dots {
  display: flex;
  gap: 0.35rem;
}

.machine-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
  opacity: 0.5;
}

.machine-badge {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-cyan);
  background-color: rgba(0, 210, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.machine-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background-color: rgba(7, 10, 18, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: var(--transition-fast);
}

.flow-node:hover {
  border-color: rgba(0, 210, 255, 0.4);
  background-color: rgba(7, 10, 18, 0.9);
}

.node-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.node-icon i {
  width: 1.15rem;
  height: 1.15rem;
}

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

.node-info strong {
  font-size: 0.875rem;
  color: var(--text-primary);
}

.node-info span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.flow-connector {
  display: flex;
  justify-content: center;
  color: var(--accent-cyan);
  opacity: 0.7;
}

.flow-connector i {
  width: 1rem;
  height: 1rem;
}

.machine-footer {
  margin-top: 1.25rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.machine-status-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--whatsapp-green);
}

.machine-status-text i {
  width: 0.875rem;
  height: 0.875rem;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.375rem;
  }
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 40rem;
}

.text-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FLOW SECTION (Como Funciona)
   ========================================================================== */
.flow-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .flow-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.flow-step {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition-normal);
}

.flow-step:hover {
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--border-card);
}

.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-icon i {
  width: 1.5rem;
  height: 1.5rem;
}

.flow-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.flow-step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SERVICES SECTION (The 5 Core Blocks — Strict Copy)
   ========================================================================== */
.services-section {
  background-color: var(--bg-main);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  background: linear-gradient(90deg, var(--bg-surface) 0%, rgba(14, 20, 36, 0.5) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: var(--transition-normal);
}

.service-row:hover {
  border-color: rgba(0, 210, 255, 0.35);
  background: linear-gradient(90deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 3.5rem 1fr auto;
    padding: 1.75rem 2rem;
    gap: 2rem;
  }
}

.service-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-muted);
  display: none;
}

@media (min-width: 768px) {
  .service-index {
    display: block;
  }
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.service-badge i {
  width: 0.875rem;
  height: 0.875rem;
}

.service-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .service-name {
    font-size: 1.35rem;
  }
}

.service-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-action {
  width: 100%;
}

@media (min-width: 768px) {
  .service-action {
    width: auto;
  }
}

.service-action .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .service-action .btn {
    width: auto;
  }
}

/* ==========================================================================
   SYSTEMS PLATFORM BANNER (Lovable Central Access)
   ========================================================================== */
.systems-platform-banner {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.08) 0%, rgba(14, 20, 36, 0.9) 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.12);
  transition: var(--transition-normal);
}

.systems-platform-banner:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.2);
}

@media (min-width: 768px) {
  .systems-platform-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.25rem;
  }
}

.platform-banner-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.platform-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(2, 132, 199, 0.3));
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-icon i {
  width: 1.65rem;
  height: 1.65rem;
}

.platform-text h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.platform-text p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 38rem;
}

/* ==========================================================================
   CASES / PORTFOLIO SECTION (5 Balanced Responsive Cards)
   ========================================================================== */
.cases-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 580px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.case-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-surface-elevated);
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-thumb img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.case-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-content h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.case-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.case-link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.case-link-text i {
  width: 0.875rem;
  height: 0.875rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  background-color: var(--bg-main);
}

.about-card {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-card {
    grid-template-columns: 240px 1fr;
    padding: 3rem;
    gap: 3rem;
  }
}

.about-img-wrap {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.about-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.about-role {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.about-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.cta-final-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 6rem 0;
}

.cta-banner {
  background: linear-gradient(135deg, #0b1329 0%, #061826 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 210, 255, 0.15);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 4.5rem 3rem;
  }
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
}

.cta-banner-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-banner-title {
    font-size: 2.75rem;
  }
}

.cta-banner-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.cta-banner-btn-wrap {
  margin-bottom: 1.25rem;
}

.cta-banner-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cta-banner-note i {
  width: 0.875rem;
  height: 0.875rem;
}

/* ==========================================================================
   STICKY FLOATING WHATSAPP BUTTON (Mandatory & high converting)
   ========================================================================== */
.sticky-whatsapp-wrapper {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
}

.sticky-whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--whatsapp-green);
  color: #042411;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 1px solid #28e26e;
  transition: var(--transition-normal);
  position: relative;
}

.sticky-whatsapp-btn:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.sticky-whatsapp-btn i {
  width: 1.35rem;
  height: 1.35rem;
}

.whatsapp-btn-pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--whatsapp-green);
  opacity: 0.6;
  animation: pulse-ring 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  60%, 100% { transform: scale(1.25); opacity: 0; }
}

@media (max-width: 480px) {
  .whatsapp-btn-label {
    display: none;
  }
  .sticky-whatsapp-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.logo-icon-sm {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #00d2ff, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
}

.logo-icon-sm i {
  width: 1rem;
  height: 1rem;
}

.footer-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #000;
}


.footer-brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-contact-info {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links-col h4,
.footer-services-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links-col ul,
.footer-services-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links-col a,
.footer-services-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   CONTACT SECTION & EMAIL FORM
   ========================================================================== */
.contact-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1.35fr;
    gap: 2.5rem;
  }
}

.contact-info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-info-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.contact-channel-item:not(.static-channel):hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15);
}

.contact-channel-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon.email-icon {
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.contact-channel-icon.whatsapp-icon {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-channel-icon.location-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.contact-channel-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-channel-value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: rgba(0, 210, 255, 0.05);
  border: 1px dashed rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  line-height: 1.5;
}

.contact-tip-box i {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 210, 255, 0.07);
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-group .required {
  color: #f43f5e;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap i {
  position: absolute;
  left: 1rem;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  outline: none;
  transition: var(--transition-fast);
}

.input-wrap textarea {
  padding-left: 1rem;
  resize: vertical;
  min-height: 110px;
}

.input-wrap select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.input-wrap select option {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.18);
  background-color: var(--bg-surface-highlight);
}

.input-wrap input:focus + i,
.input-wrap:focus-within i {
  color: var(--accent-cyan);
}

.btn-submit-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, #00d2ff 0%, #0284c7 100%);
  color: #070a12;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
  transition: var(--transition-normal);
  width: 100%;
  margin-top: 0.5rem;
}

.btn-submit-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
  filter: brightness(1.08);
}

.btn-submit-form:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit-form i {
  width: 1.2rem;
  height: 1.2rem;
}

.form-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.25rem;
}

.form-privacy-note i {
  width: 0.85rem;
  height: 0.85rem;
}

.form-status {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-status.hidden {
  display: none;
}

.form-status-info {
  background-color: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--accent-cyan);
}

.form-status-success {
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-status-success i {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: #34d399;
}

.form-status-error {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.spin {
  animation: spin 1s linear infinite;
}

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