/* style.css - COMPLETO */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --accent-color: #f59e0b;
  --shadow-color: rgba(0,0,0,0.6);
  --input-bg: #1f2937;
  --input-border: #374151;
  --input-focus: #3b82f6;
  --placeholder-color: #9ca3af;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0; 
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  padding: 2rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 2.4rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 12px var(--shadow-color);
  user-select: none;
}

main {
  flex: 1;
  max-width: 720px;
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
  text-align: center;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.05em;
}

p.lead {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 500;
}

/* El video con la clase corregida para que coincida con tu diseño */
.product-video {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  margin-bottom: 3rem;
  outline: none;
  background: black;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-video:hover {
  transform: scale(1.03);
}

.contact-form {
  background: #1e293b;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
  margin-bottom: 3rem;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text-color);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--placeholder-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 8px var(--input-focus);
  outline: none;
}

button {
  background: var(--primary-color);
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.3rem;
  color: white;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.5);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  user-select: none;
  margin-bottom: 1rem;
  display: inline-block; /* Asegura que el botón respete el padding */
}

button:hover {
  background: var(--primary-hover);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.8);
  transform: scale(1.05);
}

footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #222;
  user-select: none;
}

/* --- RESPONSIVE --- */

@media (max-width: 480px) {
  header {
    font-size: 1.6rem;
    padding: 2rem 1.5rem;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  p.lead {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    padding: 0 0.5rem;
  }
  .product-video {
    border-radius: 20px;
    margin-bottom: 3rem;
  }
  .contact-form {
    padding: 1.5rem 1rem;
    margin-bottom: 2.5rem;
  }
  button {
    width: 100%;
    padding: 1.3rem 0;
    font-size: 1.2rem;
    border-radius: 40px;
    margin-bottom: 2rem;
  }
  main {
    margin: 3rem 1.5rem 4rem;
    padding: 0 0.5rem;
  }
  footer {
    padding: 2rem 1rem;
    font-size: 1rem;
  }
}