:root {
      /* Sistema de color: Vetoxzyn */
      --bg: #ffffff;
      --bg-2: #f2f5f4;
      --ink: #222222;
      --muted: #666666;
      --panel: #f9fbfb;
      --orange: #e00041;
      --orange-dark: #b30034;
      --yellow: #ffecb3;
      --green: #4caf50;
      --blue: #e3f2fd;
      --purple: #f3e5f5;
      --line: rgba(34, 34, 34, 0.14);
      --shadow-soft: 0 28px 90px rgba(0, 0, 0, 0.08);
      --shadow-hard: 0 30px 80px rgba(0, 0, 0, 0.15);
      --radius: 34px;

      /* Section palette: default */
      --section-hero-bg: #ffffff;
      --section-marketplace-bg: #f9fbfb;
      --section-contact-bg: #f2f5f4;
      --section-blog-bg: #f2f5f4;
      --section-footer-bg: #222222;

      /* Alternate palette: coastal
      --section-hero-bg: #f3efe6;
      --section-marketplace-bg: #e7efe9;
      --section-contact-bg: #e8f1f4;
      --section-blog-bg: #fdf1e3;
      --section-footer-bg: #10212b;
      */

      /* Alternate palette: dusk
      --section-hero-bg: #f4e9e1;
      --section-marketplace-bg: #eadfd8;
      --section-contact-bg: #e2e7f2;
      --section-blog-bg: #f6e9dc;
      --section-footer-bg: #161722;
      */

      /* Alternate palette: moss
      --section-hero-bg: #f2efe5;
      --section-marketplace-bg: #e6ebdf;
      --section-contact-bg: #e6f0ea;
      --section-blog-bg: #f7efdf;
      --section-footer-bg: #162018;
      */
      
      /* Tipografía fluida */
      --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.88rem);
      --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1.06rem);
      --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.18rem);
      --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.48rem);
      --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.4rem);
      --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.3rem);
      --text-4xl: clamp(3rem, 2rem + 5vw, 6.4rem);
      --text-6xl: clamp(4rem, 2.5rem + 7.5vw, 8.6rem);
      
      /* Mejoras de accesibilidad */
      --outline-focus: 3px solid var(--orange);
      --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-size-adjust: 100%;
      overflow-x: hidden;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      background: var(--section-hero-bg);
      color: #000;
      line-height: 1.6;
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* Enfoque visible para accesibilidad */
    :focus-visible {
      outline: var(--outline-focus);
      outline-offset: 2px;
      border-radius: 4px;
    }

    /* Textura de grano optimizada */
    .grain {
      pointer-events: none;
      position: fixed;
      inset: 0;
      z-index: 100;
      opacity: 0.055;
      background-image: 
        radial-gradient(circle at 15% 25%, #000 0 1px, transparent 1px),
        radial-gradient(circle at 75% 65%, #000 0 1px, transparent 1px);
      background-size: 18px 18px;
      mix-blend-mode: multiply;
      will-change: transform;
    }

    .cursor-glow {
      pointer-events: none;
      position: fixed;
      width: 380px;
      height: 380px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 122, 26, 0.18), transparent 65%);
      transform: translate(-50%, -50%);
      z-index: 0;
      opacity: 0;
      transition: opacity 0.3s ease;
      will-change: transform, left, top;
    }

    body:hover .cursor-glow {
      opacity: 0.7;
    }

    /* Intro Window Animation */
    .intro-wrapper, .intro-content {
      position: relative;
      width: 100%;
      z-index: 1;
    }
    
    .intro-content {
      overflow-x: hidden;
    }
    
    .intro-image-container {
      width: 100%;
      height: 100vh;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 2;
      perspective: 500px;
      overflow: hidden;
      pointer-events: none; /* No bloquear clics cuando desaparezca */
    }
    
    .intro-image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      will-change: transform, opacity;
    }

/* Secciones genéricas */
    .section {
      position: relative;
      min-height: 100vh;
    }

    .section-divider {
      position: relative;
      line-height: 0;
      margin-bottom: -1px;
      z-index: 1;
      background: var(--divider-base, transparent);
    }

    .section-divider svg {
      display: block;
      width: 100%;
      height: var(--divider-height, 132px);
    }

    .section-divider path {
      fill: var(--divider-fill, var(--ink));
    }

    .section-divider.section-divider-sm svg {
      height: var(--divider-height-sm, 82px);
    }

    .container {
      position: relative;
      z-index: 2;
      width: min(1160px, 100%);
      margin: 0 auto;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 13px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.56);
      color: var(--muted);
      font-size: var(--text-xs);
      font-weight: 820;
      margin-bottom: 22px;
    }

    .pulse {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--orange);
      box-shadow: 0 0 0 7px rgba(255, 122, 26, 0.16);
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.1); opacity: 0.8; }
    }

    .section-heading {
      max-width: 930px;
      font-size: var(--text-4xl);
      line-height: 0.9;
      letter-spacing: -0.083em;
    }

    .section-copy {
      max-width: 660px;
      margin-top: 24px;
      color: var(--muted);
      font-size: var(--text-base);
      line-height: 1.75;
      font-weight: 520;
    }

    /* Sistema de botones */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 0;
      border-radius: 999px;
      padding: 16px 23px;
      font-weight: 930;
      font-size: var(--text-sm);
      cursor: pointer;
      transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
      text-decoration: none;
      white-space: nowrap;
    }

    .btn:hover {
      transform: translateY(-3px);
    }

    .btn:active {
      transform: translateY(-1px);
    }

    .btn-primary {
      color: #fff;
      background: var(--orange);
      box-shadow: 0 18px 42px rgba(255, 122, 26, 0.28);
    }

    .btn-primary:hover {
      background: var(--orange-dark);
      box-shadow: 0 22px 48px rgba(199, 78, 13, 0.35);
    }

    .btn-ghost {
      background: #fff;
      border: 1px solid var(--line);
      color: var(--ink);
    }

    .btn-ghost:hover {
      border-color: rgba(18, 16, 13, 0.3);
      background: #fafaf5;
    }

/* Diseño responsivo */
    @media (max-width: 980px) {
      .nav {
        height: auto;
        padding: 14px 16px;
      }

      .nav-links {
        display: none;
      }

      .hero-grid,
      .portal-grid,
      .trust-grid,
      .pricing-card {
        grid-template-columns: 1fr;
      }

      .market-device {
        min-height: 590px;
      }

      .dashboard,
      .portal-window {
        position: relative;
        inset: auto;
        width: 100%;
        transform: none;
      }

      .market-scene {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        perspective: none;
      }

      .shelf-base {
        display: none;
      }

      .product-card,
      .product-card:nth-child(n) {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 340px;
        transform: none;
      }
    }

    @media (max-width: 620px) {
      .section-divider svg {
        height: 84px;
      }

      .section-divider.section-divider-sm svg {
        height: 58px;
      }

      .section {
        padding: 98px 18px;
      }

      .hero {
        min-height: 135vh;
      }

      .market-device {
        min-height: 530px;
      }

      .dashboard {
        height: 450px;
        border-radius: 34px;
      }

      .app-card {
        width: 178px;
        min-height: 130px;
        padding: 13px;
      }

      .app-card p {
        font-size: 0.72rem;
      }

      .card-a { top: 78px; left: 20px; }
      .card-b { top: 202px; right: 15px; }
      .card-c { left: 36px; bottom: 26px; }

      .floating-tag {
        font-size: var(--text-xs);
      }

      .tag-one { top: 18px; }
      .tag-two { right: 12px; bottom: 40px; }

      .market-scene {
        grid-template-columns: 1fr;
      }

      .portal-machine {
        min-height: 520px;
      }

      .portal-window {
        height: 480px;
      }

      .portal-row {
        grid-template-columns: 44px 1fr;
      }

      .portal-dot {
        width: 44px;
        height: 44px;
        border-radius: 15px;
      }

      .portal-status {
        grid-column: 2;
        justify-self: start;
      }

      .terminal {
        min-height: 560px;
      }

      .audit-card {
        right: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
      }
    }

    /* Preferencia de movimiento reducido */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      
      .cursor-glow {
        display: none;
      }
      
      html {
        scroll-behavior: auto;
      }
    }
