/* General */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0e001a;
    color: #fff;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #1a0033;
    box-shadow: 0 0 15px #5a00ff;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    color: #d9c2ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.navbar a:hover {
    color: #9d4dff;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    animation: logoJump 4s infinite ease-in-out;
}

/* Animación del logo */
@keyframes logoJump {
    0% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(20deg) translateY(-10px); }
    50% { transform: rotate(-20deg) translateY(0); }
    75% { transform: rotate(10deg) translateY(-5px); }
    100% { transform: rotate(0deg) translateY(0); }
}

/* HERO */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(#1a0033, #0e001a);
}

.hero h1 {
    font-size: 45px;
    color: #d9a6ff;
}

.hero p {
    color: #c6a4ff;
    font-size: 20px;
}

.btn {
    background: #9d4dff;
    padding: 12px 25px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.btn:hover {
    background: #b97aff;
}

/* SERVICES */
.services {
    padding: 80px 20px;
    text-align: center;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #1a0033;
    padding: 20px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 0 15px #350080;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #6e00ff;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #1a0033;
    font-size: 14px;
}:root {
  --morado: #6D28D9;
  --morado-oscuro: #4C1D95;
  --gris-oscuro: #111827;
  --gris-claro: #E5E7EB;
  --blanco: #FFFFFF;
  --verde-wsp: #25D366;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(90deg, var(--morado), var(--morado-oscuro));
}

.header nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.header nav a:hover {
  text-decoration: underline;
}

.logo {
  height: 55px;
}

.hero {
  padding: 110px 20px;
  text-align: center;
  background: radial-gradient(circle, #7C3AED, #1F2933);
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 34px;
  background: var(--verde-wsp);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.container h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.container h2 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.container p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.container ul {
  margin-top: 20px;
  margin-bottom: 40px;
}

.container ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #6D28D9, #1F2937);
  color: white;
}

.hero h1 {
  font-size: 3.2rem;
  max-width: 900px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
}
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.features h2 {
  text-align: center;
  margin-bottom: 50px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

card {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  font-size: 1.1rem;
  color: #2b2b2b; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.card h3 {
  color: #5b2cff; /* morado elegante */
  margin-bottom: 12px;
}

.card p {
  color: #444;
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-6px);

/* =======================
   HERO (INDEX)
======================= */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #6D28D9, #1F2937);
  color: white;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 3rem;
  max-width: 900px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 30px;
}

/* =======================
   BOTÓN
======================= */
.btn {
  background: #7C3AED;
  color: white;
  padding: 15px 35px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* =======================
   FEATURES
======================= */
.features h2 {
  text-align: center;
  margin-bottom: 50px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}
/* =======================
   PORTAFOLIOS
======================= */
.portfolio {
  padding: 80px 20px;
  text-align: center;
}

.portfolio h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.portfolio p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #6b7280;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.portfolio-card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
}

.portfolio-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #1f2937;
}

.portfolio-card p {
  margin-bottom: 25px;
  color: #4b5563;
}
.page-header {
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.85;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1100px;
  margin: auto;
}
/* ===== PORTAFOLIO ANIMADO ===== */

.card {
  cursor: pointer;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* animación de entrada */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-grid .card {
  animation: fadeUp 0.8s ease forwards;
}

.portfolio-grid .card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-grid .card:nth-child(2) { animation-delay: 0.3s; }
.portfolio-grid .card:nth-child(3) { animation-delay: 0.5s; }
body {
  background: radial-gradient(circle at top, #120018, #050008);
}

h1, h2, h3 {
  letter-spacing: 0.5px;
}

.portfolio-grid {
  padding-bottom: 80px;
}

/* ===== FIX DEFINITIVO DE CENTRADO ===== */

section,
.section,
.page-header,
.card {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  text-align: center !important;
}
/* ===== CONTENEDOR CENTRAL ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 25px;
}

/* asegurar centrado del grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
* ===== BOTONES HERO ===== */

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-editor {
  background: linear-gradient(135deg, #7b2cff, #4b00b5);
  color: white;
}

.btn-cliente {
  background: white;
  color: #4b00b5;
  border: 2px solid #4b00b5;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
/* ====== LAYOUT GENERAL ====== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== HERO ====== */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* ====== BOTONES HERO ====== */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn-editor {
  background: #111;
  color: #fff;
}

.btn-cliente {
  background: #f5f5f5;
  color: #111;
  border: 2px solid #111;
}

/* ====== SECCIÓN FEATURES ====== */
.features {
  padding: 80px 20px;
}

.features h2 {
  text-align: center;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* ====== TARJETAS ====== */
.card {
  background: #ffffff;
  color: #111111;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  font-size: 1.05rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}
/* ===== PORTAFOLIO ===== */

.portfolio-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.portfolio-page h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 50px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.editor-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.editor-card:hover {
  transform: translateY(-8px);
}
.info-pago {
  max-width: 900px;
  margin: 60px auto;
  padding: 30px;
  background: #f8f9fb;
  border-radius: 18px;
  text-align: center;
}

.info-pago h2 {
  margin-bottom: 15px;
}

.info-pago p {
  color: #444;
  line-height: 1.6;
}
.legal-page {
  padding: 60px 20px;
}

.legal-page h1 {
  margin-bottom: 20px;
}

.legal-page h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-page p {
  color: #444;
  line-height: 1.7;
}
editor-profile {
  padding: 80px 20px;
  text-align: center;
}

.editor-profile h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.editor-role {
  color: #777;
  margin-bottom: 25px;
}

.editor-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.site-header {
  padding: 30px 20px;
  text-align: center;
}

.logo-container {
  display: inline-block;
  animation: logoFade 1.2s ease-out forwards;
}

/* LOGO VIDEOMATCH */
.logo {
  height: 120px;
  width: auto;
  opacity: 0;
  transform: translateY(-30px) scale(0.8);
  animation: logoIntro 1.2s ease-out forwards;
}

/* Animación de entrada */
@keyframes logoIntro {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Efecto elegante al pasar el mouse */
.logo:hover {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}
