/* Mockups SVG-libres dibujados en HTML/CSS — paginawebzaragoza.es */

/* ========================================================
   MOCKUP 1: Dashboard SaaS (hero principal)
   ======================================================== */
.mock-dashboard {
  --bg: #0c0e1f;
  --card: #161834;
  --line: rgba(255,255,255,0.07);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.5);
  background: var(--bg);
  color: var(--text);
  border-radius: 16px;
  overflow: hidden;
  font-family: 'Geist', sans-serif;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
  border: 1px solid var(--line);
}
.mock-dashboard .sidebar {
  background: #0a0c1a;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.mock-dashboard .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px;
  margin-bottom: 18px;
}
.mock-dashboard .brand .logo-dot {
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg, var(--z-blue), var(--z-magenta));
}
.mock-dashboard .brand b { font-size: 13px; letter-spacing: -0.02em; }
.mock-dashboard .nav-item {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.mock-dashboard .nav-item.active {
  background: rgba(31, 143, 255, 0.12);
  color: white;
}
.mock-dashboard .nav-item .ico {
  width: 14px; height: 14px; border-radius: 4px;
  background: currentColor; opacity: 0.5;
}
.mock-dashboard .main {
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
  min-width: 0;
}
.mock-dashboard .topbar {
  display: flex; justify-content: space-between; align-items: center;
}
.mock-dashboard .topbar h3 {
  margin: 0; font-size: 18px; letter-spacing: -0.02em; font-weight: 600;
}
.mock-dashboard .stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.mock-dashboard .stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.mock-dashboard .stat .label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}
.mock-dashboard .stat .value {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
}
.mock-dashboard .stat .delta {
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
}
.mock-dashboard .stat .delta.up { color: var(--z-green); }
.mock-dashboard .stat .delta.down { color: var(--z-magenta); }

.mock-dashboard .chart {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  flex: 1;
  position: relative;
  min-height: 180px;
}
.mock-dashboard .chart .chart-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px;
}
.mock-dashboard .chart svg { width: 100%; height: 160px; }

/* ========================================================
   MOCKUP 2: Web corporativa (hero variant)
   ======================================================== */
.mock-corp {
  background: #fff;
  color: #111;
  border-radius: 16px;
  overflow: hidden;
  font-family: 'Geist', sans-serif;
  display: flex; flex-direction: column;
  min-height: 520px;
}
.mock-corp .nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 12px;
}
.mock-corp .nav .brand { font-weight: 700; letter-spacing: -0.02em; font-size: 14px; }
.mock-corp .nav ul { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; color: rgba(0,0,0,0.6); }
.mock-corp .nav .cta {
  background: #0E1230; color: white; padding: 6px 12px; border-radius: 999px; font-size: 11px;
}
.mock-corp .hero {
  padding: 48px 32px 32px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.mock-corp .hero h2 {
  font-size: 44px; line-height: 0.96; letter-spacing: -0.04em; margin: 0 0 16px;
  font-weight: 600;
}
.mock-corp .hero p {
  font-size: 13px; color: rgba(0,0,0,0.6); line-height: 1.5; margin: 0 0 18px;
}
.mock-corp .hero .ctas { display: flex; gap: 8px; }
.mock-corp .hero .ctas .b1 {
  background: #0E1230; color: white; padding: 8px 16px; border-radius: 999px; font-size: 11px;
}
.mock-corp .hero .ctas .b2 {
  border: 1px solid rgba(0,0,0,0.15); padding: 8px 16px; border-radius: 999px; font-size: 11px;
}
.mock-corp .hero-visual {
  background: linear-gradient(135deg, var(--z-blue), var(--z-magenta) 60%, var(--z-yellow));
  border-radius: 12px;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.mock-corp .hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(31,211,122,0.5), transparent 50%);
}
.mock-corp .logos {
  display: flex; justify-content: space-around; align-items: center;
  padding: 20px 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #FAFAF7;
}
.mock-corp .logos span {
  height: 14px; width: 60px; background: rgba(0,0,0,0.2); border-radius: 3px;
}

/* ========================================================
   MOCKUP 3: Ecommerce
   ======================================================== */
.mock-shop {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  font-family: 'Geist', sans-serif;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.mock-shop .top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 12px;
}
.mock-shop .top .brand { font-weight: 700; }
.mock-shop .top .cart {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
}
.mock-shop .top .cart .dot { width: 6px; height: 6px; background: var(--z-magenta); border-radius: 50%; }
.mock-shop .grid {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
}
.mock-shop .product {
  background: #f5f5f1;
  border-radius: 10px;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}
.mock-shop .product::after {
  content: ''; position: absolute; inset: 20%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--z-blue), var(--z-green));
  opacity: 0.85;
}
.mock-shop .product:nth-child(2)::after { background: linear-gradient(135deg, var(--z-magenta), var(--z-yellow)); border-radius: 30%; }
.mock-shop .product:nth-child(3)::after { background: linear-gradient(135deg, var(--z-yellow), var(--z-green)); border-radius: 12px; }
.mock-shop .product:nth-child(4)::after { background: linear-gradient(135deg, var(--z-green), var(--z-blue)); border-radius: 30%; }
.mock-shop .product:nth-child(5)::after { background: linear-gradient(135deg, var(--z-magenta), var(--z-blue)); border-radius: 50%; }
.mock-shop .product:nth-child(6)::after { background: linear-gradient(135deg, var(--z-yellow), var(--z-magenta)); border-radius: 12px; }
.mock-shop .product .tag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 9px; font-family: 'Geist Mono', monospace;
  background: white; padding: 3px 7px; border-radius: 4px;
  letter-spacing: 0.05em;
}

/* ========================================================
   MOCKUP 4: Mobile (phone)
   ======================================================== */
.mock-phone {
  width: 280px;
  height: 580px;
  border-radius: 38px;
  background: #0a0a14;
  padding: 8px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}
.mock-phone .screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #FAFAF7;
  position: relative;
  display: flex; flex-direction: column;
}
.mock-phone .notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 14px;
  background: #0a0a14;
  z-index: 10;
}
.mock-phone .status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: #0a0a14;
}
.mock-phone .content {
  flex: 1;
  padding: 38px 18px 18px;
  display: flex; flex-direction: column; gap: 14px;
  overflow: hidden;
}
.mock-phone .hero-card {
  background: linear-gradient(135deg, var(--z-blue), var(--z-magenta));
  border-radius: 18px;
  padding: 18px;
  color: white;
  position: relative;
  min-height: 140px;
}
.mock-phone .hero-card h4 {
  font-size: 22px; line-height: 0.95; letter-spacing: -0.02em; margin: 0;
  font-weight: 600;
}
.mock-phone .hero-card .pill {
  position: absolute; bottom: 14px; right: 14px;
  background: white; color: #0a0a14;
  padding: 6px 12px; border-radius: 999px;
  font-size: 10px; font-weight: 600;
}
.mock-phone .row-card {
  background: white; border-radius: 14px; padding: 14px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(0,0,0,0.05);
}
.mock-phone .row-card .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--z-yellow), var(--z-green));
  flex-shrink: 0;
}
.mock-phone .row-card .lines {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.mock-phone .row-card .lines .l1 { height: 8px; background: rgba(0,0,0,0.85); border-radius: 3px; width: 70%; }
.mock-phone .row-card .lines .l2 { height: 6px; background: rgba(0,0,0,0.2); border-radius: 3px; width: 90%; }

/* ========================================================
   MOCKUP 5: Code editor / IDE
   ======================================================== */
.mock-code {
  background: #0a0c1a;
  border-radius: 14px;
  overflow: hidden;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.mock-code .tabs {
  display: flex; align-items: center;
  background: #06070f;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 12px;
}
.mock-code .tabs .tab {
  padding: 10px 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  border-right: 1px solid rgba(255,255,255,0.04);
}
.mock-code .tabs .tab.active {
  background: #0a0c1a;
  color: white;
  border-bottom: 1px solid var(--z-blue);
}
.mock-code pre {
  margin: 0; padding: 18px 22px;
  color: rgba(255,255,255,0.85);
  white-space: pre;
  overflow-x: auto;
}
.mock-code .k { color: #ff8fb1; }       /* keyword */
.mock-code .s { color: var(--z-green); } /* string */
.mock-code .c { color: rgba(255,255,255,0.35); font-style: italic; } /* comment */
.mock-code .n { color: var(--z-yellow); } /* number */
.mock-code .f { color: var(--z-blue); }   /* function */
.mock-code .p { color: rgba(255,255,255,0.5); } /* punct */

/* ========================================================
   PERFORMANCE METER (gauge)
   ======================================================== */
.perf-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 22px;
  display: flex; align-items: center; gap: 18px;
}
.perf-meter {
  --val: 98;
  --color: var(--z-green);
  width: 84px; height: 84px;
  border-radius: 50%;
  background:
    conic-gradient(var(--color) calc(var(--val) * 1%), rgba(255,255,255,0.08) 0);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.perf-meter::before {
  content: ''; position: absolute; inset: 8px;
  background: var(--ink);
  border-radius: 50%;
}
.perf-meter span {
  position: relative; z-index: 1;
  font-family: 'Geist', sans-serif;
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
}
.perf-card .info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.perf-card .info b { font-size: 14px; letter-spacing: -0.01em; }
.perf-card .info span.label { font-size: 11px; color: var(--muted-dark); font-family: 'Geist Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; }
