@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --black: #000000;
  --white: #ffffff;
  --bg-light: #f7f7f7;
  --text-dark: #111111;
  --text-muted: #555555;
  --blue: #2d85f0;
  --blue-hover: #1a6ed8;
  --cyan: #00e5ff;
  --purple: #7c3aed;
  --magenta: #f43f5e;
  --border: #e5e5e5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* ----- SUPERCELL-STYLE BLACK STICKY HEADER ----- */
.sc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid #222;
}

.sc-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.sc-logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--magenta));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.sc-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.sc-logo-text span {
  display: block;
  font-size: 10px;
  color: #9ca3af;
  letter-spacing: 0.16em;
}

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

.sc-links a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.18s;
}

.sc-links a:hover {
  color: var(--white);
}

.sc-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-pill-outline {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #444;
  transition: border-color 0.2s, background 0.2s;
}

.sc-pill-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ----- FULL-BLEED HERO BANNER ----- */
.sc-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 80px 24px;
  background:
    linear-gradient(180deg, rgba(10, 10, 26, 0.55) 0%, rgba(10, 10, 26, 0.78) 100%),
    url('img/bg_chapter_4.jpg') center/cover no-repeat;
}

.sc-hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.sc-hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.sc-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #f3f4f6;
  margin-bottom: 32px;
  font-weight: 500;
}

.sc-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.sc-btn:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

.sc-btn-dark {
  background: var(--black);
}

.sc-btn-dark:hover {
  background: #222;
}

/* ----- SECTIONS ----- */
.sc-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 24px;
}

.sc-section-alt {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sc-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.sc-sec-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 6px;
}

.sc-sec-head h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
}

.sc-sec-sub {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 460px;
}

/* ----- SUPERCELL PRODUCT CARDS ----- */
.sc-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.sc-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.sc-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.sc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.sc-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.sc-card:hover .sc-card-media img {
  transform: scale(1.05);
}

.sc-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 6px;
}

.sc-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sc-card-body h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.sc-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.sc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sc-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sc-link:hover {
  text-decoration: underline;
}

/* Custom Art Banners for Apps & Utilities */
.art-aencraft { background: linear-gradient(135deg, #0f172a, #1e3a8a, #00e5ff); }
.art-parkease { background: linear-gradient(135deg, #064e3b, #059669, #34d399); }
.art-aenfit { background: linear-gradient(135deg, #4c1d95, #7c3aed, #f43f5e); }
.art-portal { background: linear-gradient(135deg, #111827, #374151, #00e5ff); }
.art-convert { background: linear-gradient(135deg, #7c2d12, #ea580c, #fbbf24); }
.art-ledger { background: linear-gradient(135deg, #1e1b4b, #4338ca, #38bdf8); }
.art-ortho { background: linear-gradient(135deg, #18181b, #52525b, #a855f7); }

.art-emblem {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.06em;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ----- NEWS & CAREERS BANNER ----- */
.sc-careers {
  background: linear-gradient(125deg, #1d4ed8 0%, #7c3aed 65%, #db2777 100%);
  color: #fff;
  padding: 76px 24px;
}

.sc-careers-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
}

.sc-careers h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 12px;
}

.sc-careers p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-bottom: 24px;
}

/* ----- SUPERCELL-STYLE DARK FOOTER ----- */
.sc-footer {
  background: var(--black);
  color: #9ca3af;
  padding: 56px 24px 36px;
}

.sc-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.sc-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid #222;
}

.sc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #222;
}

.sc-footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

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

.sc-footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 820px) {
  .sc-links { display: none; }
  .sc-careers-inner { grid-template-columns: 1fr; }
}
