/* MARA Holdings — visual clone of mara.com */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #141414;
  --bg-dark: #0d0d0d;
  --bg-elevated: #1a1a1a;
  --bg-card: #1f1f1f;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f0;
  --text-muted: #a3a3a3;
  --text-dim: #737373;
  --yellow: #f5b800;
  --yellow-hover: #ffc933;
  --white: #ffffff;
  --radius: 12px;
  --radius-pill: 999px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1280px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

.top-bar {
  background: #1a1a1a;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--yellow);
  border-bottom: 1px solid var(--border);
}
.top-bar a:hover { text-decoration: underline; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
}
.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  border-radius: 1px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(40, 40, 40, 0.9);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.4rem;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--yellow);
  color: #111 !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s;
}
.btn-contact:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}
.auth-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.35rem;
}
.auth-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.auth-links a:hover { color: var(--white); }
.auth-links a.signup {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
}
.auth-links a.signup:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-yellow {
  background: var(--yellow);
  color: #111;
}
.btn-yellow:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}
h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h3 { font-size: 1.25rem; font-weight: 600; }
.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.45) 45%, rgba(13,13,13,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content .lead { margin-bottom: 2rem; }

.hero-side-card {
  position: absolute;
  right: 2rem;
  bottom: 5rem;
  z-index: 3;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  max-width: 280px;
  display: none;
}
@media (min-width: 1100px) {
  .hero-side-card { display: block; }
}
.hero-side-card .tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.hero-side-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  background: var(--bg-dark);
}
.pillars-media {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
.pillars-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  gap: 2.5rem;
}
.pillar-item .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.pillar-item h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
}
.pillar-item.inactive h3 { color: var(--text-dim); }

.ops-band {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ops-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ops-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.5) 55%, rgba(13,13,13,0.25) 100%);
}
.ops-band-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 4rem 0;
}
.ops-band-content h2 { margin-bottom: 1.25rem; }
.ops-band-content .lead { margin-bottom: 1.75rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.stat-card .value {
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-card .label {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.card:hover { border-color: rgba(255,255,255,0.15); background: #242424; }
.card .tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}
.card h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.75rem; line-height: 1.35; }
.card p { font-size: 0.9rem; color: var(--text-muted); }
.card .link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow);
}
.card .link:hover { text-decoration: underline; }

.insight-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.insight-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.insight-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight-card .body h3 { flex: 1; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.team-card { text-align: center; padding: 1.5rem 1rem; }
.team-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--yellow);
}
.team-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.team-card p { font-size: 0.75rem; color: var(--text-dim); }

.site-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.site-card .loc { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.75rem; }
.site-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(245, 184, 0, 0.12);
  color: var(--yellow);
}
.badge-muted {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}

.contact-hero { padding: 5rem 0 3rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
  border-radius: 0;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--yellow);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.contact-info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}
.contact-info-block h4 { font-size: 0.85rem; margin-bottom: 0.75rem; }
.contact-info-block p,
.contact-info-block a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-info-block a:hover { color: var(--yellow); }

.footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  background: var(--bg-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
  max-width: 280px;
}
.footer-contact {
  margin-top: 1.15rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.footer-contact a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--yellow); }
.footer-auth {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-auth a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-auth a:hover { color: var(--yellow); }
.footer-auth a.signup-link {
  color: var(--yellow);
}
.footer h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer ul li { margin-bottom: 0.45rem; }
.footer ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.socials { display: flex; gap: 1rem; margin-top: 1rem; }
.socials a { font-size: 0.8rem; color: var(--text-dim); }
.socials a:hover { color: var(--yellow); }

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 340px;
}
.newsletter input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}
.newsletter button {
  padding: 0.65rem 1.1rem;
  background: var(--yellow);
  color: #111;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

.investors-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  text-align: center;
}
.investors-strip .ticker {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.25rem 0 1.5rem;
}
.investors-strip .ticker span { color: var(--yellow); }

@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars-media { min-height: 280px; }
  .pillars-content { padding: 3rem 1.5rem; }
  .grid-3, .grid-2, .stats-row, .contact-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    border-radius: 0;
    gap: 0.25rem;
  }
  .nav-toggle { display: block; }
  .hero-side-card { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .stats-row, .contact-grid, .footer-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 80vh; padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
