/* ===== Variables ===== */
:root {
  --color-bg: #0a0e17;
  --color-bg-alt: #111827;
  --color-bg-card: #1a2234;
  --color-bg-card-hover: #1f2a40;
  --color-surface: #151c2c;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-primary: #3b82f6;
  --color-primary-light: #60a5fa;
  --color-accent: #06b6d4;
  --color-accent-glow: rgba(6, 182, 212, 0.3);
  --color-aws: #ff9900;
  --color-azure: #0078d4;
  --color-gcp: #4285f4;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #2563eb);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(59, 130, 246, 0.1);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  color: var(--color-accent);
  font-size: 1.5rem;
}

.logo-accent {
  color: var(--color-primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(6, 182, 212, 0.1), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(99, 102, 241, 0.08), transparent);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 640px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--color-bg-alt);
}

.section-alt {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== Cloud ===== */
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.cloud-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.cloud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.cloud-card.aws::before { background: var(--color-aws); }
.cloud-card.azure::before { background: var(--color-azure); }
.cloud-card.gcp::before { background: var(--color-gcp); }

.cloud-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cloud-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cloud-card.aws .cloud-logo { color: var(--color-aws); }
.cloud-card.azure .cloud-logo { color: var(--color-azure); }
.cloud-card.gcp .cloud-logo { color: var(--color-gcp); }

.cloud-card h3 {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.cloud-card ul li {
  padding: 8px 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.cloud-card ul li:last-child {
  border-bottom: none;
}

.cloud-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.feature strong {
  font-size: 1rem;
}

.feature span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Platforms ===== */
.platforms-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.platforms-text h2 {
  margin-bottom: 16px;
}

.platforms-text > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.platform-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.platform-list li:last-child {
  border-bottom: none;
}

.platform-badge {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  height: fit-content;
}

.platform-badge.web {
  background: rgba(59, 130, 246, 0.2);
  color: var(--color-primary-light);
}

.platform-badge.mobile {
  background: rgba(6, 182, 212, 0.2);
  color: var(--color-accent);
}

.platform-badge.desktop {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.platform-list strong {
  display: block;
  margin-bottom: 4px;
}

.platform-list p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Device stack visual */
.platforms-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 360px;
}

.device {
  position: absolute;
  border-radius: 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.device-screen {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 8px;
  overflow: hidden;
  height: calc(100% - 16px);
  margin: 8px;
}

.screen-bar {
  height: 24px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.screen-bar::before,
.screen-bar::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.screen-content {
  height: calc(100% - 24px);
  background:
    linear-gradient(90deg, rgba(59,130,246,0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(6,182,212,0.05) 0%, transparent 60%);
}

.desktop-device {
  width: 320px;
  height: 200px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.tablet-device {
  width: 160px;
  height: 220px;
  bottom: 20px;
  left: 0;
  z-index: 2;
}

.phone-device {
  width: 90px;
  height: 160px;
  bottom: 40px;
  right: 20px;
  border-radius: 16px;
  z-index: 3;
}

.phone-device .device-screen {
  border-radius: 12px;
}

/* ===== Industries ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.industry-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.industry-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-3px);
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.industry-card h3 {
  margin-bottom: 8px;
}

.industry-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===== Why ===== */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-content > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.why-item:last-child {
  border-bottom: none;
}

.why-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.6;
}

.why-item h4 {
  margin-bottom: 4px;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.metrics-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-lg);
}

.cta-box h2 {
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.contact-item a {
  color: var(--color-primary-light);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  text-align: center;
  min-height: 20px;
}

.form-note.success {
  color: #34d399;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/ *=======IMAGENES======*/
img.manImg {
vertical-align: middle;
}
img.manImg {
width:90px;
height: 55px;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .platforms-layout,
  .why-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .platforms-visual {
    order: -1;
  }

  .device-stack {
    max-width: 300px;
    height: 280px;
    margin: 0 auto;
  }

  .desktop-device { width: 260px; height: 160px; }
  .tablet-device { width: 130px; height: 180px; }
  .phone-device { width: 75px; height: 130px; }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero-stats {
    gap: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .cards-grid,
  .cloud-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 40px 24px;
  }
}
