:root {
  --c-tenant: #0f172a;
  --c-tenant-light: #e0e7ff;
  --c-text: #1e293b;
  --c-muted: #64748b;
  --c-bg: #f8fafc;
  --c-white: #ffffff;
  --c-border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* Tenant color overrides — set on <html data-tenant="..."> */
[data-tenant="suite"]  { --c-tenant:#0f172a; --c-tenant-light:#e0e7ef; }
[data-tenant="cyber"]  { --c-tenant:#3b82f6; --c-tenant-light:#dbeafe; }
[data-tenant="plant"]  { --c-tenant:#f97316; --c-tenant-light:#ffedd5; }
[data-tenant="pro"]    { --c-tenant:#22c55e; --c-tenant-light:#dcfce7; }

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

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

a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
}
.nav-logo { font-weight: 700; font-size: 1.15rem; color: var(--c-tenant); }
.nav-logo span { color: var(--c-tenant); opacity: 0.6; }
.nav-links { list-style: none; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nav-links a { padding: 6px 12px; border-radius: 6px; font-size: 0.9rem; color: var(--c-muted); transition: background 0.15s; }
.nav-links a:hover { background: var(--c-tenant-light); color: var(--c-tenant); }
.nav-login { border: 1px solid var(--c-border) !important; }
.nav-cta {
  background: var(--c-tenant) !important;
  color: var(--c-white) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.88; background: var(--c-tenant) !important; }

/* LANG SWITCHER */
.lang-btn {
  background: none; border: 1px solid var(--c-border);
  border-radius: 6px; padding: 4px 10px;
  font-size: 0.82rem; cursor: pointer; color: var(--c-muted);
  transition: border-color 0.15s;
}
.lang-btn.active { border-color: var(--c-tenant); color: var(--c-tenant); font-weight: 600; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--c-tenant) 0%, #1e3a5f 100%);
  color: var(--c-white);
  padding: 80px 24px 64px;
  text-align: center;
}
[data-tenant="plant"] .hero { background: linear-gradient(135deg, #ea6c0a 0%, #b45309 100%); }
[data-tenant="pro"]   .hero { background: linear-gradient(135deg, #16a34a 0%, #065f46 100%); }
[data-tenant="cyber"] .hero { background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%); }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { opacity: 0.75; }
.hero p { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  transition: opacity 0.15s, transform 0.1s;
  cursor: pointer;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--c-white); color: var(--c-tenant); }
.btn-outline { border: 2px solid rgba(255,255,255,0.5); color: var(--c-white); }

/* MODULE BADGES (suite hero) */
.hero-modules { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-module-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.85rem; font-weight: 500;
}

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* SECTIONS */
.section { padding: 72px 24px; }
.section--alt { background: var(--c-white); }
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: var(--c-text); }
.section-subtitle { color: var(--c-muted); font-size: 1rem; max-width: 600px; margin-top: 8px; }
.section-tag {
  display: inline-block;
  background: var(--c-tenant-light);
  color: var(--c-tenant);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.accent-bar { width: 48px; height: 3px; background: var(--c-tenant); border-radius: 2px; }

/* STATS */
.stats-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.stat-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center; min-width: 140px;
}
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: var(--c-tenant); }
.stat-card .lbl { font-size: 0.82rem; color: var(--c-muted); margin-top: 4px; }

/* MODULE CARDS */
.module-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.module-card {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.module-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mc-icon { font-size: 2rem; margin-bottom: 12px; }
.mc-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.mc-sub { font-size: 0.85rem; color: var(--c-muted); line-height: 1.5; }
.mc-arrow { position: absolute; top: 28px; right: 24px; font-size: 1.1rem; color: var(--c-tenant); }

/* FEATURE GRID */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 0.85rem; color: var(--c-muted); }

/* COMING SOON */
.coming-soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.coming-soon-card {
  background: var(--c-bg);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  opacity: 0.8;
}
.coming-soon-card .cs-badge {
  display: inline-block;
  background: #fef3c7; color: #92400e;
  border-radius: 20px; padding: 2px 10px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.coming-soon-card h3 { font-size: 0.92rem; font-weight: 600; color: var(--c-muted); }
.coming-soon-card p { font-size: 0.82rem; color: var(--c-muted); margin-top: 4px; }

/* STEP LIST */
.step-list { display: flex; flex-direction: column; gap: 14px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 32px; height: 32px; min-width: 32px;
  background: var(--c-tenant-light);
  color: var(--c-tenant);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.step-item h4 { font-size: 0.92rem; font-weight: 600; }
.step-item p { font-size: 0.82rem; color: var(--c-muted); }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* FOOTER */
footer { background: #0f172a; color: rgba(255,255,255,0.7); padding: 40px 24px; text-align: center; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { font-size: 0.88rem; }
.footer-links a:hover { color: var(--c-white); }
footer p { font-size: 0.88rem; }

/* LANG HIDE */
[data-lang-hide] { display: none !important; }

@media (max-width: 600px) {
  .nav-links { gap: 4px; }
  .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; }
  .hero { padding: 48px 16px 40px; }
  .section { padding: 48px 16px; }
}
