/* CSS Reset e Variáveis */
    :root {
      --primary: #1e3a8a;
      --secondary: #059669;
      --accent: #f59e0b;
      --neutral: #475569;
      --light-bg: #f8fafc;
      --dark-bg: #0f172a;
      --text-dark: #1e293b;
      --text-light: #f1f5f9;
      --success: #10b981;
      --danger: #ef4444;
    }

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

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-dark);
      line-height: 1.6;
      background-color: #ffffff;
      overflow-x: hidden;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      line-height: 1.2;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .btn {
      display: inline-block;
      padding: 12px 24px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background-color: var(--secondary);
      color: white;
    }

    .btn-primary:hover {
      background-color: #047857;
      transform: translateY(-2px);
    }

    .btn-outline {
      background-color: transparent;
      border: 2px solid white;
      color: white;
    }

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

    .section {
      padding: 80px 0;
    }

    /* 1. HERO SECTION */
    .hero {
      background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
      color: white;
      padding: 120px 0 80px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 70% 20%, rgba(5, 150, 105, 0.2) 0%, transparent 60%);
      pointer-events: none;
    }

    .hero-content {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
      position: relative;
      z-index: 10;
    }

    .hero h1 {
      font-size: 3.5rem;
      margin-bottom: 20px;
      background: linear-gradient(to right, #ffffff, #a5f3fc);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: fadeUp 0.8s ease-out;
    }

    .hero p {
      font-size: 1.25rem;
      color: #cbd5e1;
      margin-bottom: 40px;
      animation: fadeUp 0.8s ease-out 0.2s backwards;
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      margin-bottom: 60px;
      animation: fadeUp 0.8s ease-out 0.4s backwards;
    }

    .hero-metrics {
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
      animation: fadeUp 0.8s ease-out 0.6s backwards;
    }

    .metric-card {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      padding: 20px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      min-width: 200px;
    }

    .metric-value {
      font-family: 'Roboto Mono', monospace;
      font-size: 1.5rem;
      color: var(--success);
      font-weight: 700;
      display: block;
      margin-bottom: 5px;
    }

    .metric-label {
      font-size: 0.9rem;
      color: #94a3b8;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* 2. PROBLEMA & SOLUÇÃO */
    .prob-sol {
      background-color: var(--light-bg);
    }

    .prob-sol-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .problem-card {
      background: white;
      padding: 40px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      border-left: 5px solid var(--danger);
    }

    .solution-card {
      background: var(--primary);
      color: white;
      padding: 40px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
      border-left: 5px solid var(--success);
    }

    .card-icon {
      font-size: 2rem;
      margin-bottom: 20px;
      display: inline-block;
    }

    .stat-highlight {
      font-size: 2.5rem;
      font-weight: 700;
      margin: 15px 0;
    }

    .stat-sub {
      font-size: 0.9rem;
      opacity: 0.8;
    }

    /* 3. DEMONSTRAÇÃO INTERATIVA */
    .demo-section {
      background-color: #0f172a;
      color: white;
      padding: 60px 0;
    }

    .demo-container {
      background: #1e293b;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
      border: 1px solid #334155;
      display: grid;
      grid-template-columns: 3fr 1fr;
    }

    .demo-main {
      padding: 20px;
      border-right: 1px solid #334155;
      position: relative;
    }

    .demo-sidebar {
      padding: 20px;
      background: #0f172a;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .canvas-container {
      width: 100%;
      height: 600px;
      background: linear-gradient(180deg, #000814 0%, #001d3d 100%);
      border-radius: 12px;
      position: relative;
      overflow: hidden;
      box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    }

    #datacenter-3d {
      width: 100%;
      height: 100%;
      cursor: grab;
    }

    #datacenter-3d:active {
      cursor: grabbing;
    }

    .overlay-metrics {
      position: absolute;
      top: 15px;
      left: 15px;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(10px);
      padding: 15px;
      border-radius: 8px;
      font-family: 'Roboto Mono', monospace;
      font-size: 0.85rem;
      pointer-events: none;
      border: 1px solid rgba(255, 255, 255, 0.1);
      z-index: 10;
    }

    .controls-hint {
      position: absolute;
      bottom: 15px;
      right: 15px;
      background: rgba(0, 0, 0, 0.7);
      padding: 10px 15px;
      border-radius: 8px;
      font-size: 0.75rem;
      color: #94a3b8;
      pointer-events: none;
      z-index: 10;
    }

    .alert-banner {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(239, 68, 68, 0.95);
      color: white;
      padding: 12px 20px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.85rem;
      display: none;
      animation: slideIn 0.5s ease-out;
      z-index: 10;
    }

    .alert-banner.show {
      display: block;
    }

    @keyframes slideIn {
      from {
        transform: translateX(400px);
        opacity: 0;
      }

      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.6;
      }
    }

    .control-panel {
      margin-top: 20px;
      display: flex;
      gap: 20px;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      padding: 15px;
      border-radius: 12px;
    }

    .toggle-switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 26px;
    }

    .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: 0.4s;
      border-radius: 34px;
    }

    .slider:before {
      position: absolute;
      content: '';
      height: 18px;
      width: 18px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: 0.4s;
      border-radius: 50%;
    }

    input:checked+.slider {
      background-color: var(--success);
    }

    input:checked+.slider:before {
      transform: translateX(24px);
    }

    .chart-wrapper {
      background: rgba(255, 255, 255, 0.03);
      border-radius: 12px;
      padding: 15px;
      height: 200px;
    }

    .chart-title {
      font-size: 0.8rem;
      color: #94a3b8;
      margin-bottom: 10px;
      display: block;
    }

    .metric-box {
      background: rgba(255, 255, 255, 0.05);
      padding: 15px;
      border-radius: 8px;
      text-align: center;
    }

    .metric-box-val {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--accent);
      display: block;
    }

    /* 4. TECNOLOGIAS */
    .tech-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .tech-card {
      background: white;
      padding: 30px;
      border-radius: 16px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
      border: 1px solid #e2e8f0;
    }

    .tech-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .tech-card h3 {
      color: #1e293b;
    }

    .tech-icon {
      width: 60px;
      height: 60px;
      background: var(--light-bg);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: var(--primary);
      margin-bottom: 20px;
    }

    /* 5. IMPACTO MENSURÁVEL */
    .impact-section {
      background: var(--dark-bg);
      color: white;
      text-align: center;
    }

    .impact-table {
      width: 100%;
      max-width: 800px;
      margin: 40px auto;
      border-collapse: collapse;
    }

    .impact-table th,
    .impact-table td {
      padding: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      text-align: left;
    }

    .impact-table th {
      color: #94a3b8;
      font-weight: 400;
    }

    .impact-val {
      font-size: 1.25rem;
      font-weight: 700;
    }

    .val-before {
      color: #ef4444;
    }

    .val-after {
      color: var(--success);
    }

    /* 7. DIFERENCIAIS */
    .comparison-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      margin-top: 40px;
    }

    .comparison-table th,
    .comparison-table td {
      padding: 20px;
      text-align: center;
      border-bottom: 1px solid #e2e8f0;
    }

    .comparison-table th {
      background: var(--light-bg);
      color: var(--neutral);
    }

    .col-highlight {
      background: rgba(5, 150, 105, 0.05);
      border-left: 2px solid var(--secondary);
      border-right: 2px solid var(--secondary);
    }

    .col-highlight.top {
      border-top: 2px solid var(--secondary);
      border-radius: 12px 12px 0 0;
      background: var(--secondary);
      color: white;
    }

    .col-highlight.bottom {
      border-bottom: 2px solid var(--secondary);
      border-radius: 0 0 12px 12px;
    }

    /* 12. CTA FINAL */
    .cta-section {
      background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
      color: white;
      text-align: center;
    }

    .contact-form {
      max-width: 600px;
      margin: 40px auto 0;
      background: white;
      padding: 40px;
      border-radius: 16px;
      color: var(--text-dark);
    }

    .form-group {
      margin-bottom: 20px;
      text-align: left;
    }

    .form-input {
      width: 100%;
      padding: 12px;
      border: 1px solid #cbd5e1;
      border-radius: 8px;
      font-family: inherit;
      margin-top: 8px;
    }

    /* Footer */
    footer {
      background: linear-gradient(180deg, #0c1222 0%, #0f172a 30%, #111827 100%);
      color: #94a3b8;
      padding: 0;
      position: relative;
    }

    .footer-accent {
      height: 3px;
      background: linear-gradient(90deg, var(--secondary), var(--primary), #8b5cf6, var(--secondary));
      background-size: 200% 100%;
      animation: gradientShift 4s ease-in-out infinite;
    }

    @keyframes gradientShift {

      0%,
      100% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }
    }

    .footer-inner {
      padding: 60px 0 0;
    }

    .footer-content {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
      gap: 50px;
      margin-bottom: 50px;
    }

    .footer-brand p {
      font-size: 0.9rem;
      line-height: 1.7;
      margin-top: 12px;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }

    .footer-logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--secondary), var(--primary));
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: white;
    }

    .footer-logo-text {
      font-family: 'Poppins', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: white;
    }

    .footer-social {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }

    .footer-social a {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #94a3b8;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 1.1rem;
      margin-bottom: 0;
    }

    .footer-social a:hover {
      background: var(--secondary);
      border-color: var(--secondary);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
    }

    footer h4 {
      color: white;
      margin-bottom: 20px;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      position: relative;
      padding-bottom: 12px;
    }

    footer h4::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 30px;
      height: 2px;
      background: var(--secondary);
      border-radius: 2px;
    }

    footer .footer-links a {
      color: #94a3b8;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
      font-size: 0.9rem;
      transition: all 0.25s ease;
      padding: 4px 0;
    }

    footer .footer-links a:hover {
      color: white;
      transform: translateX(5px);
    }

    footer .footer-links a::before {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: #475569;
      transition: all 0.25s ease;
      flex-shrink: 0;
    }

    footer .footer-links a:hover::before {
      background: var(--secondary);
      box-shadow: 0 0 6px var(--secondary);
    }

    .footer-newsletter {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 14px;
      padding: 24px;
      backdrop-filter: blur(10px);
    }

    .footer-newsletter p {
      font-size: 0.85rem;
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .newsletter-form {
      display: flex;
      gap: 8px;
    }

    .newsletter-form input {
      flex: 1;
      padding: 10px 14px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.05);
      color: white;
      font-family: inherit;
      font-size: 0.85rem;
      outline: none;
      transition: border-color 0.3s;
    }

    .newsletter-form input::placeholder {
      color: #64748b;
    }

    .newsletter-form input:focus {
      border-color: var(--secondary);
    }

    .newsletter-form button {
      padding: 10px 18px;
      border-radius: 8px;
      border: none;
      background: var(--secondary);
      color: white;
      font-weight: 600;
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.3s;
      white-space: nowrap;
    }

    .newsletter-form button:hover {
      background: #047857;
      transform: translateY(-1px);
    }

    .footer-badges {
      display: flex;
      gap: 10px;
      margin-top: 16px;
      flex-wrap: wrap;
    }

    .footer-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 5px 10px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.06);
      font-size: 0.7rem;
      color: #64748b;
    }

    .footer-badge i {
      color: var(--secondary);
      font-size: 0.85rem;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding: 24px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .footer-bottom p {
      font-size: 0.8rem;
      color: #475569;
    }

    .footer-bottom-right {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .footer-legal-links {
      display: flex;
      gap: 20px;
    }

    .footer-legal-links a {
      color: #475569;
      text-decoration: none;
      font-size: 0.8rem;
      transition: color 0.25s;
    }

    .footer-legal-links a:hover {
      color: #94a3b8;
    }

    .footer-supporter-badges {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .supporter-badge {
      background: rgba(255, 255, 255, 0.08);
      padding: 4px 12px;
      border-radius: 4px;
      font-weight: 700;
      color: #60a5fa;
      font-size: 0.75rem;
      letter-spacing: 0.5px;
      transition: all 0.3s;
    }

    .supporter-badge:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateY(-1px);
    }

    /* Responsivo */
    @media (max-width: 992px) {
      .hero h1 {
        font-size: 2.5rem;
      }

      .prob-sol-grid {
        grid-template-columns: 1fr;
      }

      .demo-container {
        grid-template-columns: 1fr;
      }

      .demo-sidebar {
        border-top: 1px solid #334155;
      }

      .footer-content {
        grid-template-columns: 1fr 1fr;
      }

      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }

      .footer-bottom-right {
        flex-direction: column;
      }
    }

    @media (max-width: 768px) {
      .hero-metrics {
        flex-direction: column;
        gap: 20px;
      }

      .control-panel {
        flex-direction: column;
        align-items: stretch;
      }

      .footer-content {
        grid-template-columns: 1fr;
      }
    }