/* Swamix Global AI Solutions - Modern Editorial SaaS Stylesheet (home-v1.css) */
:root {
  --bg-main: #07090e;
  --bg-card: #0d111a;
  --bg-card-hover: #121824;
  --bg-elevated: #161e2e;
  --border-subtle: #1e293b;
  --border-focus: #334155;
  --border-emerald: rgba(16, 185, 129, 0.35);
  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-dark: #059669;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --red: #ef4444;
  --amber: #f59e0b;
}

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

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand span {
  color: var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: #fff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--emerald);
  color: #07090e;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--emerald-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
}

/* Hero */
.hero-section {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border-subtle);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-light);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 900px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* Compare Matrix */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
}

.compare-card.danger {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.03);
}

.compare-card.success {
  border-color: var(--border-emerald);
  background: rgba(16, 185, 129, 0.03);
}

.compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.compare-title {
  font-size: 20px;
  font-weight: 800;
}

.point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.point-item strong {
  color: #fff;
}

.point-item p {
  color: var(--text-secondary);
  margin-top: 2px;
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.dot.red { background: var(--red); }
.dot.green { background: var(--emerald); }

/* Section Generic */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.feature-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--emerald-light); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan-light); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.15); color: var(--amber); }

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Steps */
.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px 32px;
}

.step-num {
  font-family: monospace;
  font-size: 26px;
  font-weight: 800;
  color: var(--emerald);
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Calculator */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-emerald);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.calc-input-group {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-field-wrap {
  position: relative;
}

.calc-currency {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-input {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px 14px 36px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.calc-input:focus {
  border-color: var(--emerald);
}

.calc-slider {
  width: 100%;
  margin-top: 14px;
  accent-color: var(--emerald);
}

.calc-result-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.calc-result-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald);
  margin-bottom: 8px;
}

.calc-fee-val {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 4px;
}

.calc-fee-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.calc-tier-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid var(--border-emerald);
}

/* Portfolio Showcases */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.port-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s;
}

.port-card:hover {
  border-color: var(--border-focus);
}

.port-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.port-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.port-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bot {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero-title { font-size: 40px; }
  .compare-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .calc-card { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
