/* Mufatech Studio — High-End Shopify Partner Design System */
:root {
  --bg-dark: #091a17;
  --bg-card: #0f2521;
  --bg-card-light: #163630;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  
  --emerald-deep: #0a2420;
  --emerald-accent: #2de2a6;
  --emerald-glow: rgba(45, 226, 166, 0.15);
  --gold-accent: #e5c07b;
  
  --text-main: #f8faf9;
  --text-muted: #95a5a1;
  --text-dim: #60736f;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; font-size: 16px; }

body.studio-body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

.skip-nav {
  position: absolute; top: -100px; left: 20px;
  background: var(--emerald-accent); color: #000;
  padding: 10px 18px; font-weight: 600; z-index: 1000;
}
.skip-nav:focus { top: 20px; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Top Announcement Bar */
.top-bar {
  background: #061311;
  border-bottom: 1px solid var(--border-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--emerald-accent);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald-accent);
  box-shadow: 0 0 8px var(--emerald-accent);
}
.top-meta {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-meta .mono { font-family: var(--font-mono); }
.top-meta .divider { opacity: 0.3; }

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 26, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  padding: 18px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-symbol {
  width: 38px; height: 38px;
  border-radius: 8px;
}
.brand-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}
.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--emerald-accent);
  border-left: 1px solid var(--border-light);
  padding-left: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-item:hover {
  color: var(--emerald-accent);
}

.btn-partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 226, 166, 0.1);
  color: var(--emerald-accent);
  border: 1px solid rgba(45, 226, 166, 0.25);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.btn-partner:hover {
  background: var(--emerald-accent);
  color: #041411;
  box-shadow: 0 0 20px rgba(45, 226, 166, 0.4);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(circle, rgba(45, 226, 166, 0.12) 0%, rgba(9, 26, 23, 0) 70%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 100px;
}
.hero-status {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse {
  width: 8px; height: 8px;
  background: var(--emerald-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-accent);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.95); opacity: 1; }
}

.hero-title {
  font-size: clamp(44px, 5.8vw, 82px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 24px;
}
.serif-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--emerald-accent);
}

.hero-lead {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 80px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald-accent);
  color: #041411;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
}
.btn-primary:hover {
  background: #4ef5bd;
  box-shadow: 0 0 25px rgba(45, 226, 166, 0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-light);
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.stat-card {
  background: rgba(15, 37, 33, 0.6);
  border: 1px solid var(--border-dark);
  padding: 24px 20px;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.stat-val {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Flagship Themes Section */
.section-flagships {
  padding: 100px 0;
  border-top: 1px solid var(--border-dark);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--emerald-accent);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.serif-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.flagship-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.flagship-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 226, 166, 0.3);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.meta-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.meta-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-accent);
}

.card-preview {
  background: #071513;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #091a17;
  border-bottom: 1px solid var(--border-dark);
}
.browser-bar .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.browser-address {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  margin-left: 10px;
}

.preview-viewport {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.preview-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.flagship-card:hover .preview-viewport img {
  transform: scale(1.03);
}
.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 17, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.preview-viewport:hover .preview-overlay {
  opacity: 1;
}
.overlay-btn {
  background: #fff;
  color: #041411;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.card-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 4px;
}
.card-subtitle {
  font-size: 15px;
  color: var(--text-muted);
}
.btn-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.flagship-card:hover .btn-circle {
  background: var(--emerald-accent);
  color: #041411;
  border-color: var(--emerald-accent);
}

.card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.card-pills span {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
}

.card-footer-links {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald-accent);
}
.card-link.sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}
.card-link.sub:hover {
  color: #fff;
}

/* Philosophy Section */
.section-philosophy {
  padding: 100px 0;
  background: #061412;
  border-top: 1px solid var(--border-dark);
}
.split-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 64px;
}
.heading-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 32px 24px;
  transition: border-color 0.2s;
}
.feature-box:hover {
  border-color: var(--border-light);
}
.feature-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--emerald-accent);
  margin-bottom: 18px;
}
.feature-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Benchmark Section */
.section-benchmark {
  padding: 100px 0;
  border-top: 1px solid var(--border-dark);
}
.benchmark-card {
  background: linear-gradient(135deg, #0e2924 0%, #081a17 100%);
  border: 1px solid rgba(45, 226, 166, 0.25);
  border-radius: 32px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}
.benchmark-title {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.benchmark-lead {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}
.metrics-row {
  display: flex;
  gap: 36px;
}
.metric-score {
  display: block;
  font-size: 42px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--emerald-accent);
}
.metric-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.benchmark-visual {
  background: rgba(6, 19, 16, 0.6);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
}
.speed-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}
.speed-ring {
  width: 100px; height: 100px;
  margin-bottom: 8px;
}
.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3.8;
}
.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke: var(--emerald-accent);
}
.percentage {
  fill: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}
.ring-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.badge-notes {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.note-row {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.check {
  color: var(--emerald-accent);
  font-weight: 800;
}

/* Apps Section */
.section-apps {
  padding: 100px 0;
  border-top: 1px solid var(--border-dark);
  background: #071714;
}
.apps-status-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.tag-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--emerald-accent);
  margin-bottom: 12px;
}
.status-left h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.status-left p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
}
.status-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}
.mono-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}
.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* Support Section */
.section-support {
  padding: 100px 0;
  border-top: 1px solid var(--border-dark);
}
.support-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.support-title {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.support-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}
.support-email {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: var(--emerald-accent);
  border-bottom: 2px solid rgba(45, 226, 166, 0.4);
  padding-bottom: 6px;
}
.support-email:hover {
  border-bottom-color: var(--emerald-accent);
}

.hub-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.hub-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hub-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s, transform 0.2s;
}
.hub-item:hover {
  border-color: rgba(45, 226, 166, 0.4);
  transform: translateX(4px);
}
.hub-item strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.hub-item span {
  font-size: 13px;
  color: var(--text-dim);
}
.hub-arrow {
  font-size: 18px;
  color: var(--emerald-accent);
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-dark);
  padding: 40px 0;
  background: #05100e;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #fff;
}
.footer-brand strong { color: var(--emerald-accent); }
.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover { color: #fff; }

/* Responsive Rules */
@media (max-width: 1080px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .flagship-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .benchmark-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .support-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .apps-status-banner { flex-direction: column; align-items: flex-start; }
  .status-right { align-items: flex-start; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .top-meta { display: none; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .metrics-row { flex-direction: column; gap: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
