:root {
      --navy-deep: #0B1A2F;
      --navy-card: #102A43;
      --copper: #C87A4F;
      --copper-dim: #a05a3a;
      --cream: #F5F0E8;
      --white-soft: #EAE4D9;
      --text-muted: #8A9CAF;
      --shadow-copper: 0 8px 32px rgba(200, 122, 79, 0.08);
      --compliance-color: #5A6A7A;
      --legal-bg: #0A1625;
      --success: #4caf50;
      --danger: #b54a4a;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      background-color: var(--navy-deep);
      color: var(--cream);
      font-family: 'Inter', sans-serif;
      font-weight: 300;
      line-height: 1.6;
      scroll-behavior: smooth;
      position: relative;
      overflow-x: hidden;
    }

    h1, h2, h3, .serif { font-family: 'Playfair Display', serif; font-weight: 400; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

    /* Brilho descendente global */
    body::after {
      content: "";
      position: fixed;
      top: -10%;
      left: 0;
      width: 100%;
      height: 120%;
      background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(200, 122, 79, 0.02) 45%,
        rgba(200, 122, 79, 0.04) 50%,
        rgba(200, 122, 79, 0.02) 55%,
        transparent 100%
      );
      z-index: 0;
      pointer-events: none;
      animation: descerBrilho 8s linear infinite;
    }

    @keyframes descerBrilho {
      0% { transform: translateY(-10%); }
      100% { transform: translateY(10%); }
    }

    /* Linha fina descendente */
    body::before {
      content: "";
      position: fixed;
      top: -2px;
      left: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(200, 122, 79, 0.15) 20%,
        rgba(200, 122, 79, 0.15) 80%,
        transparent 100%
      );
      box-shadow: 0 0 4px 1px rgba(200, 122, 79, 0.08);
      z-index: 9999;
      pointer-events: none;
      animation: descerLinha 8s linear infinite;
    }

    @keyframes descerLinha {
      0%   { top: -2px; }
      100% { top: 100vh; }
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      background: radial-gradient(circle at 50% 40%, rgba(200,122,79,0.05) 0%, transparent 70%);
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

    .hero-content { position: relative; z-index: 2; max-width: 800px; }

    .hero h1 {
      font-size: 4rem;
      font-weight: 400;
      letter-spacing: -0.01em;
      margin-bottom: 1.5rem;
      color: var(--cream);
      text-shadow: 0 0 20px rgba(200,122,79,0.2);
    }

    .hero .subtitle {
      font-family: 'Inter', sans-serif;
      font-weight: 300;
      font-size: 1.35rem;
      color: var(--copper);
      margin-bottom: 1rem;
      letter-spacing: 0.02em;
    }

    .hero .pioneer-note {
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      font-size: 0.9rem;
      color: var(--text-muted);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 2.5rem;
      border-top: 1px solid rgba(200,122,79,0.2);
      border-bottom: 1px solid rgba(200,122,79,0.2);
      display: inline-block;
      padding: 0.5rem 1.2rem;
    }

 /* Imagem do robô no Hero - Posição superior direita */
.hero-image {
  position: absolute;
  right: 0;
  top: 12%;
  transform: translateY(0);
  height: 70vh;
  max-height: 600px;
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;
  mask-image: linear-gradient(to left, black 65%, transparent 100%), 
              linear-gradient(to bottom, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 65%, transparent 100%), 
                      linear-gradient(to bottom, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  /* Estas 2 linhas SOMEM com o texto alt: */
  color: transparent;
  font-size: 0;
}

@media (max-width: 1024px) {
  .hero-image {
    height: 50vh;
    right: -5%;
    top: 15%;
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-image { display: none; }
}
    .cta-group {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin-top: 1rem;
    }

    .cta-group .btn {
      flex: 1 1 0px;
      min-width: 200px;
      max-width: 280px;
      text-align: center;
      white-space: nowrap;
      padding: 1.1rem 1.5rem;
      font-size: 0.95rem;
      letter-spacing: 0.06em;
      border-radius: 2px;
      transition: all 0.3s ease;
      text-decoration: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      backdrop-filter: blur(4px);
    }

    .btn {
      padding: 1.1rem 1.5rem;
      font-size: 0.95rem;
      letter-spacing: 0.06em;
      border-radius: 2px;
      transition: all 0.3s ease;
      text-decoration: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      backdrop-filter: blur(4px);
      font-family: 'Inter', sans-serif;
      font-weight: 500;
      border: 1px solid transparent;
    }

    .btn-primary { background: var(--copper); color: white; border: 1px solid var(--copper); }
    .btn-primary:hover { background: var(--copper-dim); border-color: var(--copper-dim); box-shadow: 0 8px 24px rgba(200, 122, 79, 0.25); }
    .btn-outline { background: transparent; color: var(--copper); border: 1px solid var(--copper); }
    .btn-outline:hover { background: rgba(200,122,79,0.08); box-shadow: 0 8px 24px rgba(200, 122, 79, 0.15); }

    .scroll-indicator {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      width: 28px;
      height: 28px;
      border: 1px solid var(--copper);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: pulse 2s infinite;
    }

    .scroll-indicator::after {
      content: "";
      width: 6px;
      height: 6px;
      background: var(--copper);
      border-radius: 50%;
    }

    @keyframes pulse {
      0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
      50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
    }

    .section { padding: 6rem 0; position: relative; z-index: 1; }

    .section-title {
      font-size: 2.8rem;
      text-align: center;
      margin-bottom: 1rem;
      color: var(--cream);
      position: relative;
    }

    .section-title::after {
      content: "";
      display: block;
      width: 60px;
      height: 2px;
      background: var(--copper);
      margin: 1.5rem auto 0;
    }

    .section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1.1rem; }

    .value-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2.5rem;
      margin-top: 4rem;
    }

    .value-card {
      background: var(--navy-card);
      padding: 2.5rem 2rem;
      border-radius: 2px;
      border-top: 1px solid var(--copper);
      transition: transform 0.3s, box-shadow 0.3s;
      position: relative;
      z-index: 1;
    }

    .value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-copper); }

    .value-icon {
      width: 40px;
      height: 40px;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .value-icon svg { width: 24px; height: 24px; stroke: var(--copper); fill: none; stroke-width: 1.5; }

    .value-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--white-soft); }
    .value-card p { color: var(--text-muted); font-weight: 300; }

    .playground-section { background: var(--navy-card); padding: 5rem 2rem; text-align: center; position: relative; z-index: 1; }

    .terminal {
      max-width: 720px;
      margin: 3rem auto 0;
      background: #0A1522;
      border: 1px solid rgba(200,122,79,0.2);
      border-radius: 6px;
      padding: 2rem;
      text-align: left;
      font-family: 'Courier New', monospace;
    }

    .terminal-header { display: flex; gap: 8px; margin-bottom: 1.5rem; opacity: 0.5; }
    .terminal-header span { width: 12px; height: 12px; border-radius: 50%; background: var(--copper); }

    .conversation { min-height: 120px; margin-bottom: 1.5rem; color: var(--cream); }

    .user-msg { color: var(--copper); margin-bottom: 0.5rem; }
    .ai-msg { color: var(--cream); margin-bottom: 0.5rem; }

    .cursor {
      display: inline-block;
      width: 8px;
      height: 1.2em;
      background: var(--copper);
      margin-left: 2px;
      animation: blink 1s step-end infinite;
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    .input-line { display: flex; align-items: center; color: var(--copper); }
    .input-line .prompt { margin-right: 0.5rem; }

    #playground-input {
      background: transparent;
      border: none;
      color: var(--cream);
      font-family: inherit;
      font-size: 1rem;
      flex: 1;
      outline: none;
      caret-color: var(--copper);
    }

    .latency { text-align: right; font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 4rem;
    }

    .price-card {
      background: var(--navy-card);
      padding: 3rem 2rem;
      border: 1px solid transparent;
      border-radius: 2px;
      text-align: center;
      transition: all 0.3s;
      position: relative;
      z-index: 1;
    }

    .price-card.featured { border-color: var(--copper); box-shadow: var(--shadow-copper); transform: scale(1.02); }

    .price-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--white-soft); }

    .price { font-size: 3rem; font-weight: 400; margin: 1.5rem 0; color: var(--copper); font-family: 'Playfair Display', serif; }
    .price span { font-size: 1rem; color: var(--text-muted); }

    .features { list-style: none; margin: 2rem 0; color: var(--text-muted); text-align: left; }
    .features li { padding: 0.5rem 0; border-bottom: 1px solid rgba(200,122,79,0.1); }
    .feature-highlight { color: var(--copper); font-weight: 400; }

    .badge {
      position: absolute;
      top: -12px;
      right: 20px;
      background: var(--copper);
      color: white;
      padding: 0.2rem 1.2rem;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .modal-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.7);
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .modal-overlay.active { display: flex; }
    .modal {
      background: var(--navy-card);
      padding: 2.5rem;
      border-radius: 2px;
      max-width: 500px;
      width: 90%;
      border: 1px solid var(--copper);
      max-height: 85vh;
      overflow-y: auto;
    }
    .modal h3 { font-family: 'Playfair Display', serif; color: var(--copper); margin-bottom: 1.5rem; }
    .form-group { margin-bottom: 1.2rem; }
    .form-group label {
      display: block;
      color: var(--text-muted);
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.4rem;
    }
    .form-group input {
      width: 100%;
      padding: 0.8rem;
      background: var(--navy-deep);
      border: 1px solid rgba(200,122,79,0.2);
      color: var(--cream);
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
    }
    .form-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 1.5rem; }

    footer { background: #060F1C; padding: 2.5rem 2rem 1rem; text-align: center; position: relative; z-index: 1; }
    .footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; flex-wrap: wrap; }
    .footer-links a {
      color: var(--text-muted); text-decoration: none; font-size: 0.85rem;
      letter-spacing: 0.02em; transition: color 0.3s; cursor: pointer;
      border-bottom: 1px solid transparent;
    }
    .footer-links a:hover { color: var(--copper); border-bottom: 1px solid var(--copper); }
    .footer-copy { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.5rem; }
    .footer-copy strong { color: var(--copper); font-weight: 400; }
    .footer-legal-toggle {
      background: transparent;
      border: 1px solid rgba(200,122,79,0.3);
      color: var(--text-muted);
      font-size: 0.8rem;
      padding: 0.5rem 1.2rem;
      cursor: pointer;
      letter-spacing: 0.04em;
      transition: all 0.3s;
      margin-top: 0.8rem;
    }
    .footer-legal-toggle:hover { border-color: var(--copper); color: var(--copper); }
    .footer-legal-panel {
      max-width: 800px;
      margin: 1.5rem auto 0;
      text-align: left;
      display: none;
      background: rgba(10, 22, 37, 0.8);
      border: 1px solid rgba(200,122,79,0.2);
      padding: 1.5rem 2rem;
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.7;
    }
    .footer-legal-panel.active { display: block; }
    .footer-legal-panel p { margin-bottom: 0.7rem; }
    .footer-legal-panel strong { color: var(--copper); font-weight: 500; }
    .footer-legal-panel a { color: var(--copper); text-decoration: none; border-bottom: 1px dotted; }
    .compliance { font-size: 0.7rem; color: var(--compliance-color); letter-spacing: 0.02em; margin-top: 1.5rem; padding-bottom: 0.5rem; }

    .legal-container {
      background: var(--legal-bg);
      border-top: 1px solid rgba(200,122,79,0.15);
      padding: 2rem 2rem 3rem;
      text-align: left;
      max-width: 900px;
      margin: 0 auto;
      color: var(--text-muted);
      font-weight: 300;
      font-size: 0.9rem;
      line-height: 1.8;
      display: none;
    }
    .legal-container.active { display: block; }

    .forgot-password-link {
      display: block;
      margin-top: 1rem;
      font-size: 0.8rem;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.3s;
    }
    .forgot-password-link:hover { color: var(--copper); }