/* =========================================
   CYBERIVAS - MASTER CSS
   ========================================= */

:root {
  /* --- PALETA CYBER --- */
  --bg: #030305;
  --surface: rgba(12, 12, 17, 0.7);
  --accent: #6366f1; /* Azul Neón */
  --accent-glow: rgba(99, 102, 241, 0.5);
  --whatsapp: #25d366;
  --text: #ffffff;
  --text-dim: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.1);

  --font-main: "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(
      circle at 15% 50%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 25%
    );
  background-attachment: fixed;
}

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

/* --- HEADER --- */
header {
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--text);
  z-index: 1001;
}
.logo span {
  color: var(--accent);
}

/* Menú Desktop */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--accent);
}

.btn-nav {
  background: var(--accent);
  color: white !important;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: none;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero {
  padding: 140px 0 180px;
  display: flex;
  align-items: center;
  min-height: 85vh;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--accent);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
}
.italic-highlight {
  font-style: italic;
  color: white;
  position: relative;
  z-index: 10;
  display: inline-block;
  padding: 0 5px;
}
.italic-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--accent);
  opacity: 0.7;
  z-index: -1;
  transform: skewX(-15deg);
  box-shadow: 0 0 15px var(--accent-glow);
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}
.btn {
  padding: 1.1rem 2.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
}
.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 5px 20px var(--accent-glow);
}
.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.outline {
  background: transparent;
  border: 2px solid var(--glass-border);
  color: var(--text);
}
.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99, 102, 241, 0.05);
}

/* --- HERO VISUAL (System Card) --- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.architecture-card {
  background: rgba(15, 15, 25, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 2.5rem;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.7),
    inset 0 0 20px rgba(99, 102, 241, 0.05);
  backdrop-filter: blur(15px);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}
.card-header span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: blink 2s infinite;
}

.line-wrapper {
  margin-bottom: 1.2rem;
}
.line-wrapper .label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 5px;
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.line {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent-glow);
}

.icons-row {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}
.mini-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: 0.3s;
}
.mini-icon svg {
  width: 20px;
  height: 20px;
}
.mini-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-3px);
}

/* --- SECCIONES GENERALES --- */
.section-padding {
  padding: 160px 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.section-intro {
  text-align: center;
  margin-bottom: 6rem;
}
.section-intro h2 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}
.section-intro p {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 750px;
  margin: 0 auto;
}

/* --- BOUTIQUE --- */
.text-content h2 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 2rem;
}
.text-content p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

.value-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: 0.3s ease;
}
.value-list li:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateX(10px);
}
.icon-box {
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(99, 102, 241, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.icon-box svg,
.card-icon svg {
  width: 24px;
  height: 24px;
  color: #9ca3af; /* gris técnico */
}

.text-box {
  display: flex;
  flex-direction: column;
}
.text-box strong {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.text-box span {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.4;
}

.boutique-visual {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}
.code-window {
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(99, 102, 241, 0.05);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  width: 100%;
  max-width: 440px;
  transform: rotateY(5deg);
  transition: transform 0.4s ease;
}
.code-window:hover {
  transform: rotateY(0deg);
  border-color: var(--accent);
}
.window-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dots {
  display: flex;
  gap: 8px;
  margin-right: 15px;
}
.dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: none;
  animation: none;
}
.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}
.filename {
  font-size: 0.8rem;
  color: var(--text-dim);
  opacity: 0.7;
}
.code-body {
  padding: 25px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #d1d5db;
}
.kwd {
  color: #c678dd;
}
.cls {
  color: #e5c07b;
}
.func {
  color: #61afef;
}
.var {
  color: #e06c75;
}
.str {
  color: #98c379;
}
.bool {
  color: #d19a66;
}
.com {
  color: #5c6370;
  font-style: italic;
}
.indent {
  padding-left: 1.5rem;
}
.double-indent {
  padding-left: 3rem;
}

/* --- SOLUCIONES --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}
.card.glass {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card.glass:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px var(--accent-glow);
}
.card h3 {
  font-size: 1.6rem;
  margin: 1.5rem 0 1rem;
  font-weight: 800;
}
.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-dim);
  flex-grow: 1;
}
.card-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin-top: auto;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
  transition: 0.3s;
}

.star-product .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325D366' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.5));
}

.star-product {
  background: linear-gradient(
    180deg,
    rgba(37, 211, 102, 0.05) 0%,
    rgba(10, 10, 15, 0.6) 100%
  );
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.1);
  position: relative;
  z-index: 2;
  transform: scale(1.05);
  overflow: hidden;
}
.star-product:hover {
  border-color: #25d366;
  box-shadow: 0 0 50px rgba(37, 211, 102, 0.2);
  transform: scale(1.05) translateY(-5px);
}
.star-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(37, 211, 102, 0.15);
  border-bottom: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  padding: 0.5rem 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}
.whatsapp-icon {
  color: #25d366;
  filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.4));
  margin-top: 1.5rem;
}

/* --- DIAGNÓSTICO --- */
.diagnostic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  width: 100%;
}
@media (min-width: 992px) {
  .diagnostic-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: start;
  }
}

.diagnostic-checks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-item {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  padding: 1.8rem;
  border-radius: 8px;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.check-item:hover,
.check-item.active {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.08);
  transform: translateX(5px);
}

.check-item input[type="checkbox"] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--glass-border);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: 0.2s;
}

.check-item input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.check-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
}

.check-item label {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
  flex-grow: 1;
  line-height: 1.4;
}

.diagnostic-result {
  background-color: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.3);
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  border-radius: 16px;
  min-height: 400px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5) inset;
  text-align: center;
  transition: border-color 0.3s ease;
}

.scanner-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.scanner-icon {
  position: relative;
  z-index: 2;
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 3s infinite linear;
}
.radar-ring.delay {
  animation-delay: 1.5s;
}

.status-text {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.blink-dot {
  color: #10b981;
  animation: blink 1s infinite;
}

.result-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.priority-tag {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 800;
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
}

/* --- FAQ SECTION --- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-toggle {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle .icon {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 300;
  transition: 0.3s;
}

.faq-toggle[aria-expanded="true"] .icon {
  transform: rotate(45deg);
  color: #ff4757;
}

.faq-content {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-content p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CONTACTO --- */
.contact-form-container {
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}
.form-header {
  padding: 2.5rem 2.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.form-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.form-header p {
  color: var(--text-dim);
}
#cyber-form {
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.field label {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 0.8rem;
  display: block;
  text-transform: uppercase;
}
.input-wrapper {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}
input,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  color: white;
  font-family: var(--font-main);
  font-size: 1rem;
}

textarea {
  resize: none;
  overflow: hidden;
  min-height: 60px;
  display: block;
}

input:focus,
textarea:focus {
  outline: none;
}
.focus-line {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.4s ease;
  box-shadow: 0 0 10px var(--accent);
}
.input-wrapper:focus-within {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.05);
}
.input-wrapper:focus-within .focus-line {
  width: 100%;
}
.btn-pro {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(90deg, var(--accent) 0%, #4f46e5 100%);
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 1rem;
}
.btn-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}
.security-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0.7;
}

/* --- FOOTER --- */
footer {
  padding: 6rem 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  background: rgba(3, 3, 5, 0.98);
  margin-top: 100px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* --- UTILS --- */
.hidden {
  display: none !important;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes ripple {
  0% {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    border-width: 2px;
  }
  100% {
    width: 120px;
    height: 120px;
    opacity: 0;
    border-width: 0px;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 3.8rem;
  }
  .grid-2 {
    gap: 4rem;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }
  .hero-grid,
  .grid-2,
  .diagnostic-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    padding: 100px 0 60px;
    text-align: center;
    height: auto;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 3rem;
  }
  .architecture-card,
  .code-window {
    margin: 0 auto;
    transform: none;
  }
  .boutique-visual {
    order: -1;
    margin-bottom: 2rem;
  }
  .code-window:hover {
    transform: none;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .star-product {
    transform: none;
    margin: 1rem 0;
  }
  .star-product:hover {
    transform: translateY(-5px);
  }
  .contact-form-container {
    padding: 0;
  }
  .diagnostic-result {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(3, 3, 5, 0.98);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s ease;
    backdrop-filter: blur(10px);
    gap: 3rem;
    z-index: 999;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
  }
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* COOKIES */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transform: translateY(0);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  max-width: 900px;
  margin: 0 auto;
}
.cookie-banner.hidden {
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cookie-icon {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
  padding: 10px;
  border-radius: 50%;
  display: flex;
}
.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}
.cookie-banner a {
  color: var(--text);
  text-decoration: underline;
  transition: 0.3s;
}
.cookie-banner a:hover {
  color: var(--accent);
}
.btn-cookie {
  background: var(--text);
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
}
.btn-cookie:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
  }
  .btn-cookie {
    width: 100%;
  }
}
