/* ZMCP Website - Clean, professional, SAP-oriented */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 5px;
  font-weight: 900;
  font-size: 20px;
  font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
}

.logo-text {
  font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a.btn-primary { color: #ffffff; }
.nav-links a.btn-primary:hover { color: #ffffff; }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

/* Hero */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #f0f5ff 0%, var(--bg) 100%);
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat { text-align: center; }
.stat-num { display: block; font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-highlight {
  border-color: var(--primary);
  border-width: 2px;
  position: relative;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.card code {
  display: block;
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
}

.card-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.feature h4 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Compatibility */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.compat-item h4 { font-size: 18px; margin-bottom: 12px; }
.compat-item ul { list-style: none; }
.compat-item li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
}
.compat-item li:last-child { border-bottom: none; }
.compat-item li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 700;
  margin-right: 10px;
}

/* CTA */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 100%);
  color: white;
  padding: 80px 0;
}
.cta-section h2 { font-size: 36px; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; }
.cta-section .btn-primary { background: white; color: var(--primary) !important; }
.cta-section .btn-primary:hover { background: #f0f5ff; color: var(--primary-dark) !important; }

/* Footer */
.footer {
  padding: 60px 0 24px;
  background: #0f172a;
  color: #94a3b8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo-text { color: white; }
.footer-copy { font-size: 14px; margin-top: 8px; }

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-links h5 { color: white; font-size: 14px; margin-bottom: 12px; }
.footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cards-3, .cards-2, .features-grid, .compat-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; padding: 24px; border-bottom: 1px solid var(--border); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
  .section-title { font-size: 28px; }
}

