:root{
  --bg:#f9fbfd; /* light background */
  --card:#ffffff;
  --accent:#1e88e5; /* blue */
  --muted:#4a5568;
  --glass: rgba(0,0,0,0.03);
  --radius:12px;
  --maxw:1100px;
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
html,body{height:100%; margin:0; background:var(--bg); color:#111827}
.container{max-width:var(--maxw); margin:36px auto; padding:28px;}

header {display: flex;align-items: center;gap: 20px;background: #f1f5f9;
        padding: 16px 28px;border-radius: 12px;box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* ligera sombra */}
.logo{display:flex; align-items:center; gap:14px}
.logo img{height:56px; width:auto; display:block}
.brand{display:flex; flex-direction:column;}
.brand h1{margin:0; font-size:20px; letter-spacing:0.6px; color:#111827}
.brand p{margin:0; color:var(--muted); font-size:13px}

nav{margin-left:auto}
.nav-list{display:flex; gap:14px; list-style:none; padding:0; margin:0}
.nav-list a{color:var(--muted); text-decoration:none; font-weight:600; padding:8px 12px; border-radius:10px}
.nav-list a:hover{color:#111827; background:rgba(0,0,0,0.04)}
.nav-list a.active {
  color: var(--accent);      /* el color de acento que ya usas */
  font-weight: bold;         /* opcional, para resaltar */
  border-bottom: 2px solid var(--accent); /* opcional: subrayado tipo pestaña */
}

p {line-height:1.5;color:var(--muted);}

footer{margin-top:30px; color:var(--muted); font-size:13px; text-align:center}

.announcement {
  background: #fff8e1;               /* amarillo pastel suave */
  border-left: 5px solid #f59e0b;    /* dorado intenso */
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.announcement-header {
  color: #b91c1c;                   /* rojo fuerte */
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.announcement-link {
  color: #b91c1c;           /* rojo para destacar el enlace */
  font-weight: bold;
  text-decoration: underline;
}

.announcement p {
  margin: 0;
  color: #92400e;                   /* marrón cálido */
  font-size: 15px;
  line-height: 1.6;
}

.announcement strong {
  color: #b45309;                   /* dorado más oscuro */
}

.zoomable {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.zoomable:hover {
  cursor: pointer;
  transform: scale(1.05);
}

/* Ampliacion de imagenes */

.modal {
  display: none;               /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
}

#caption {
  text-align: center;
  color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #bbb;
}

/* Hero */
.hero{display:grid; grid-template-columns:1fr 420px; gap:28px; align-items:center; margin-top:28px}
.hero-card{background:var(--card); padding:24px; border-radius:var(--radius); box-shadow:0 4px 8px rgba(0,0,0,0.05)}
.hero h2{margin:0 0 8px 0; font-size:28px}
.hero p{color:var(--muted); line-height:1.5}
.cta{margin-top:14px}
.btn{display:inline-block; padding:10px 16px; border-radius:10px; font-weight:700; text-decoration:none}
.btn-primary{background:linear-gradient(90deg,var(--accent), #67b1ff); color:white}
.btn-ghost{border:1px solid rgba(0,0,0,0.1); color:var(--muted); background:white}

/* Right column preview */
.preview{border-radius:10px; overflow:hidden; background:var(--card); border:1px solid rgba(0,0,0,0.05); padding:12px; box-shadow:0 2px 4px rgba(0,0,0,0.04)}
.preview img{width:100%; height:auto; display:block}

/* Gallery */
.gallery{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:22px}
.card{background:var(--card); padding:12px; border-radius:10px; text-align:center; box-shadow:0 2px 4px rgba(0,0,0,0.05)}
.card img{max-width:100%; height:300px; object-fit:cover; border-radius:8px}
.card p{margin:8px 0 0 0; font-size:13px; color:var(--muted)}

/* Features */
.features {
  list-style: disc inside;   /* puntos bonitos dentro del bloque */
  padding-left: 10px;
}
.features li {
  margin-bottom: 10px;       /* aire entre cada ítem */
  color:var(--muted);
}

.page-title {
  text-align: center;
  font-size: 2rem;     /* opcional: un poco más grande */
  margin: 20px 0;      /* espacio arriba y abajo */
}

.install-card {
  line-height:1.5;
  color:var(--muted);
}
.install-index {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.install-index h3 {
  margin-bottom: 10px;
  color: var(--accent);
}

.install-index ul {
  list-style: none;
  display:flex;
  justify-content: center;
  gap: 30px;
  padding-left: 0;
}

.install-index li {
  margin: 5px 0;
}

.install-index a {
  font-size: 20px;
  color: var(--accent);
  text-decoration: none;
}

.install-index a:hover {
  text-decoration: underline;
}

/*********
Downloads
*********/
.downloads{display:grid; grid-template-columns:1fr; gap:20px;}
@media(min-width:768px){.downloads{grid-template-columns:repeat(3,1fr)}}
.download-card{background:var(--card); border-radius:var(--radius); padding:24px; box-shadow:0 4px 12px rgba(0,0,0,0.08); transition:0.3s; text-align:center;}
.download-card:hover{transform:translateY(-6px); box-shadow:0 8px 20px rgba(0,0,0,0.12);}
.os-icon{font-size:50px; margin-bottom:12px}
.download-card h2{margin-bottom:20px; font-size:24px}
.download-btn{
  display:block;
  margin:10px auto;
  padding:12px 20px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  color:white;
  transition:0.3s;
}
.btn-win{background:linear-gradient(135deg,#1e88e5,#67b1ff);}
.btn-win:hover{transform:translateY(-3px); box-shadow:0 6px 12px rgba(30,136,229,0.4);}
.btn-linux{background:linear-gradient(135deg,#43a047,#80c784);}
.btn-linux:hover{transform:translateY(-3px); box-shadow:0 6px 12px rgba(67,160,71,0.4);}
.btn-mac{background:linear-gradient(135deg,#333333,#555555);}
.btn-mac:hover{transform:translateY(-3px); box-shadow:0 6px 12px rgba(51,51,51,0.4);}

/**********
 References
***********/

.ref-section {
  margin-bottom: 40px;
}

.ref-section h3 {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.3rem;
}

.ref-list {
  display: grid;
  gap: 16px;
}

.ref-card {
  background: var(--card);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.ref-card p {
  margin: 0;
}

/***********
 Tutorials 
***********/

.page-header {
  background: rgba(30, 136, 229, 0.1);  /* azul muy suave */
  padding: 10px 20px;
  border-radius: 12px;
  color: var(--accent);
  text-align: center;
  font-size: 2.2rem;
}

.tutorial-section {
  text-align: center;          /* centra el texto */
}

.tutorial-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  table-layout: fixed;  /* para respetar anchos */
}

.tutorial-table th:first-child,
.tutorial-table td:first-child {
  width: 200px;   /* títulos */
}

.tutorial-table th:nth-child(2),
.tutorial-table td:nth-child(2) {
  width: auto;    /* descripción ocupa lo que quede */
}

.tutorial-table th:last-child,
.tutorial-table td:last-child {
  width: 140px;   /* botones de descarga */
  text-align: center;
}

.tutorial-table th, 
.tutorial-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb; /* gris claro */
}

.tutorial-table th {
  background: #f1f5f9;
  color: #111827;
  font-weight: 600;
}

.tutorial-table tr:last-child td {
  border-bottom: none;
}

/* Primera columna destacada */
.tutorial-table td:first-child {
  font-weight: 600;       /* más énfasis */
  color: var(--accent);         /* azul medio */
  width: 220px;           /* ancho fijo opcional */
}

.tutorial-table td:nth-child(2) {
  color: var(--muted);
  line-height:1.4;
}

.btn-download {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(90deg,var(--accent), #67b1ff);
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.btn-download:hover {
  background: var(--accent);
}

.acknowledgements {
  background: rgba(30, 136, 229, 0.05); /* azul muy suave de fondo */
  padding: 16px 20px;
  border-left: 4px solid var(--accent); /* línea lateral de acento */
  border-radius: 8px;
  margin: 20px 0;
  font-style: italic;
  color: var(--muted);
}
.acknowledgements p {
  margin: 0;
  line-height: 1.6;
}

/********
 Contact 
*********/

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* dos columnas */
  gap: 24px; /* espacio entre tarjetas */
  margin-top: 30px;
  justify-items:stretch;
}

.contact-card {
  /*max-width: 400px;*/
  margin: 40px auto;
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width:100%;
}
.contact-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}
.contact-card h2 {
  margin: 8px 0;
  font-size: 24px;
  color: var(--accent);
}
.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.contact-card a:hover {
  text-decoration: underline;
}

/****************
FPSuite versions
****************/
.year-section {
  margin-bottom: 40px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.year-section h2 {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: 16px;
}
.version-list {
  list-style: none;
  padding: 0;
}
.version-list li {
  display: grid;
  grid-template-columns: 1fr auto; /* texto a la izquierda, botón a la derecha */
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.version-list span {
  color: var(--muted);

/* Responsive */
@media (max-width:980px){
  .hero{grid-template-columns:1fr;}
  .preview{order:-1}
  .logo img{height:48px}
  .nav-list{display:none}
}
@media(min-width:768px){
  .tutorials { grid-template-columns: repeat(2,1fr); }
}
