/* ── SteelX Landing Page ── */
/* Identity: dark industrial, steel structure feel */

:root {
  --bg:        #0A0E17;
  --bg-card:   #111827;
  --bg-panel:  #151D2E;
  --border:    #1E293B;
  --text:      #CBD5E1;
  --text-hi:   #F1F5F9;
  --text-mute: #64748B;

  --ifc:       #4A7CB5;
  --ifc-glow:  #4A7CB540;
  --bim:       #4AC6B5;
  --bim-glow:  #4AC6B540;
  --ind:       #C6A84A;
  --ind-glow:  #C6A84A40;

  --accent:    var(--bim);
  --radius:    8px;
  --max-w:     1200px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,14,23,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { text-decoration: none; font-size: 22px; font-weight: 800; }
.logo-steel { color: var(--text-hi); }
.logo-x { color: var(--bim); }
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { color: var(--text-mute); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text-hi); }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 12px 28px;
  background: var(--accent); color: #0A0E17;
  font-weight: 700; font-size: 15px;
  border-radius: var(--radius); text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--bim-glow); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-outline {
  background: transparent; color: var(--text-hi);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--text-mute); background: rgba(255,255,255,.04); box-shadow: none; }
.btn-plan { width: 100%; text-align: center; margin-top: auto; }
.btn-ifc { background: var(--ifc); }
.btn-ifc:hover { box-shadow: 0 8px 24px var(--ifc-glow); }
.btn-bim { background: var(--bim); }
.btn-bim:hover { box-shadow: 0 8px 24px var(--bim-glow); }
.btn-ind { background: var(--ind); color: #1a1600; }
.btn-ind:hover { box-shadow: 0 8px 24px var(--ind-glow); }

/* ── HERO ── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, #0A0E17 0%, #0F1629 50%, #0A0E17 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--bim-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 800;
  color: var(--text-hi); line-height: 1.15; margin-bottom: 20px;
  position: relative;
}
.hero-title .highlight { color: var(--bim); }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); max-width: 640px;
  margin: 0 auto 36px; color: var(--text-mute);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--text-mute); }

/* ── FEATURES ── */
.features { padding: 100px 0; }
.section-title {
  text-align: center; font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  color: var(--text-hi); margin-bottom: 16px;
}
.section-sub { text-align: center; color: var(--text-mute); margin-bottom: 48px; font-size: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  transition: border-color .3s, transform .2s;
}
.feature-card:hover { border-color: var(--text-mute); transform: translateY(-4px); }
.feature-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon-ifc { background: var(--ifc-glow); color: var(--ifc); }
.icon-bim { background: var(--bim-glow); color: var(--bim); }
.icon-awp { background: var(--ind-glow); color: var(--ind); }
.feature-card h3 { font-size: 20px; color: var(--text-hi); margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--text-mute); }

/* ── PRICING ── */
.pricing { padding: 100px 0; background: var(--bg-panel); }
.billing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 48px;
}
.toggle-label { font-size: 14px; color: var(--text-mute); font-weight: 600; cursor: pointer; }
.toggle-label[data-period="month"] { opacity: 1; }
.badge-save {
  background: var(--bim); color: #0A0E17; font-size: 11px;
  padding: 2px 8px; border-radius: 20px; font-weight: 700; margin-left: 4px;
}
.toggle { position: relative; width: 48px; height: 26px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--border); border-radius: 26px;
  cursor: pointer; transition: background .3s;
}
.toggle-slider::before {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; background: var(--text-hi); border-radius: 50%;
  transition: transform .3s;
}
.toggle input:checked + .toggle-slider { background: var(--bim); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; align-items: start;
}
.plan-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s, transform .2s;
  position: relative;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured { border-color: var(--bim); }
.plan-card.featured:hover { box-shadow: 0 0 40px var(--bim-glow); }
.plan-ifc:hover { border-color: var(--ifc); }
.plan-industrial:hover { border-color: var(--ind); }

.plan-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: var(--bim); color: #0A0E17; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
}
.plan-img { width: 100%; height: 180px; object-fit: cover; }
.plan-body {
  padding: 28px; display: flex; flex-direction: column; flex: 1;
}
.plan-name { font-size: 22px; font-weight: 800; color: var(--text-hi); }
.plan-ifc .plan-name { color: var(--ifc); }
.plan-bim .plan-name { color: var(--bim); }
.plan-industrial .plan-name { color: var(--ind); }
.plan-target { font-size: 13px; color: var(--text-mute); margin: 4px 0 16px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount { font-size: 36px; font-weight: 800; color: var(--text-hi); }
.price-period { font-size: 16px; color: var(--text-mute); }
.plan-annual-note { font-size: 13px; color: var(--bim); min-height: 18px; margin-bottom: 20px; }
.plan-features { list-style: none; margin-bottom: 24px; flex: 1; }
.plan-features li {
  position: relative; padding: 6px 0 6px 24px; font-size: 14px; color: var(--text);
}
.plan-features li::before {
  content: '\2713'; position: absolute; left: 0; color: var(--bim); font-weight: 700;
}
.plan-ifc .plan-features li::before { color: var(--ifc); }
.plan-industrial .plan-features li::before { color: var(--ind); }
.plan-features li.trial-only { color: var(--text-mute); font-style: italic; }
.plan-features li.trial-only::before { content: '\2605'; color: var(--ind); }
.plan-features li.highlight-feature { color: var(--text-hi); font-weight: 600; }

/* ── COMPARISON TABLE ── */
.comparison { padding: 80px 0; }
.table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.comp-table th, .comp-table td {
  padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--border);
}
.comp-table th { font-weight: 700; color: var(--text-hi); background: var(--bg-panel); }
.comp-table th:first-child, .comp-table td:first-child { text-align: left; min-width: 260px; }
.col-ifc { color: var(--ifc); }
.col-bim { color: var(--bim); }
.col-ind { color: var(--ind); }
.comp-table td { color: var(--text-mute); }
.comp-table td:nth-child(2) { color: var(--ifc); }
.comp-table td:nth-child(3) { color: var(--bim); }
.comp-table td:nth-child(4) { color: var(--ind); }
.row-highlight td { background: rgba(255,255,255,.02); }
.trial { font-size: 11px; font-weight: 700; background: var(--ind-glow); color: var(--ind); padding: 2px 8px; border-radius: 4px; }

/* ── FAQ ── */
.faq { padding: 100px 0; background: var(--bg-panel); }
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 0;
}
.faq-item summary {
  padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 16px;
  color: var(--text-hi); list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--text-mute); transition: transform .2s; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 0 20px; color: var(--text-mute); font-size: 15px; line-height: 1.7; }

/* ── ABOUT ── */
.about { padding: 100px 0; }
.about-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.about-text p { margin-bottom: 16px; font-size: 16px; }
.about-text strong { color: var(--text-hi); }

/* ── FINAL CTA ── */
.final-cta {
  padding: 80px 0; text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #0F1629 100%);
}
.final-cta h2 { font-size: 32px; font-weight: 800; color: var(--text-hi); margin-bottom: 12px; }
.final-cta p { color: var(--text-mute); margin-bottom: 32px; font-size: 16px; }

/* ── FOOTER ── */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start;
}
.footer-brand p { color: var(--text-mute); font-size: 13px; margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-mute); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text-hi); }
.footer-legal { text-align: right; font-size: 12px; color: var(--text-mute); }
.footer-copy { margin-top: 8px; }
.footer-disclaimer { font-size: 11px; opacity: .6; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { text-align: center; }
  .hero { padding: 120px 0 60px; }
}
