/* === Mars Agency — landing v1.3 SMM + AI === */
/* Block-design aesthetic: cards, badges, color-coded sections */

:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-card: #1a1a1a;
  --bg-card-2: #1f1f1f;
  --border: #262626;
  --border-soft: #1e1e1e;
  --text: #f5f5f5;
  --text-mute: #a3a3a3;
  --text-dim: #6b6b6b;
  --accent: #d4ff5e;
  --accent-dim: #a8cc4b;
  --accent-soft: rgba(212, 255, 94, 0.1);
  --accent-soft-2: rgba(212, 255, 94, 0.18);
  --danger: #ff6b6b;
  --danger-soft: rgba(255, 107, 107, 0.08);
  --success: #4ade80;
  --success-soft: rgba(74, 222, 128, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 90px; /* space for sticky CTA */
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; color: var(--text); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 80px 0; position: relative; }
section.tight { padding: 56px 0; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -0.025em; margin-bottom: 36px; }
h3 { font-size: clamp(18px, 2.4vw, 24px); }

.accent { color: var(--accent); }
.muted { color: var(--text-mute); }
.section-sub {
  font-size: 17px;
  color: var(--text-mute);
  max-width: 700px;
  margin: -16px 0 36px;
}

/* === SECTION BADGE === */
.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* === PROGRESS BAR === */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dim));
  z-index: 1000;
  transition: width 0.1s ease;
  box-shadow: 0 0 12px rgba(212, 255, 94, 0.5);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 255, 94, 0.08), transparent 70%),
    radial-gradient(ellipse 80% 60% at 10% 80%, rgba(212, 255, 94, 0.04), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-left { max-width: 640px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  margin-bottom: 24px;
  font-weight: 800;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-mute);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-cta-note {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.hero-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.65));
}
.hero-portrait-badge {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 2;
  font-size: 14px;
  color: var(--text);
}
.hero-portrait-badge strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.hero-portrait-badge span { color: var(--text-mute); font-size: 13px; }

/* === 2 EXTREMES === */
.section-extremes {
  background: linear-gradient(180deg, var(--bg) 0%, #0c0c0c 100%);
  border-top: 1px solid var(--border-soft);
}
.extremes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
.extreme-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.extreme-x {
  background: var(--danger-soft);
  border-color: rgba(255, 107, 107, 0.2);
}
.extreme-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.extreme-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}
.extreme-conclusion {
  background: var(--success-soft);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.extreme-icon-big {
  font-size: 40px;
  flex-shrink: 0;
  line-height: 1;
}
.extreme-conclusion h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.extreme-conclusion p {
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.6;
}

/* === PROGRAM === */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0.6;
}
.program-card:hover {
  border-color: rgba(212,255,94,0.3);
  transform: translateY(-2px);
}
.program-card:hover::before { opacity: 1; }
.program-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.program-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.program-card p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.55;
}

/* === A/B CONTRAST === */
.ab-contrast {
  background: linear-gradient(180deg, #0c0c0c 0%, var(--bg) 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.ab-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin: 36px 0 32px;
}
.ab-col {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}
.ab-a {
  background: linear-gradient(180deg, rgba(255, 107, 107, 0.08), rgba(255, 107, 107, 0.03));
  border-color: rgba(255, 107, 107, 0.25);
}
.ab-b {
  background: linear-gradient(180deg, rgba(212, 255, 94, 0.1), rgba(212, 255, 94, 0.03));
  border-color: rgba(212, 255, 94, 0.3);
}
.ab-label {
  display: inline-block;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  line-height: 36px;
  margin-bottom: 16px;
}
.ab-a .ab-label {
  background: rgba(255, 107, 107, 0.18);
  color: var(--danger);
}
.ab-b .ab-label {
  background: var(--accent-soft-2);
  color: var(--accent);
}
.ab-headline {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ab-arrow {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text-dim);
}
.ab-result {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.55;
}
.ab-a .ab-result { color: #ffb3b3; }
.ab-b .ab-result { color: var(--text); }
.ab-vs {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dim);
  font-style: italic;
  padding: 0 8px;
}
.ab-conclusion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 30px;
  max-width: 880px;
  margin: 0 auto;
}
.ab-conclusion p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.6;
}
.strike-soft {
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  color: var(--text-mute);
  text-decoration-thickness: 2px;
}

/* === AI STACK === */
.ai-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 36px 0 28px;
}
.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.ai-card:hover {
  border-color: rgba(212,255,94,0.3);
  transform: translateY(-3px);
}
.ai-logo {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.ai-card p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
}
.ai-stack-note {
  text-align: center;
  font-size: 16px;
  color: var(--text-mute);
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  max-width: 560px;
  margin: 0 auto;
}

/* === FOR WHOM === */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 22px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.audience-card:hover {
  border-color: rgba(212,255,94,0.3);
  background: var(--bg-card-2);
  transform: translateY(-2px);
}
.audience-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}
.audience-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === EXPERT === */
.expert-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
  margin-top: 16px;
}
.expert-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  max-width: 420px;
}
.expert-photo img { width: 100%; height: 100%; object-fit: cover; }
.expert-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: radial-gradient(circle at top right, var(--accent-soft), transparent);
}
.stat:hover { border-color: rgba(212,255,94,0.3); }
.stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat .num span {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-dim);
}
.stat .lbl {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.4;
}

/* === CASES === */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.case-card {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,255,94,0.3);
}
.case-card img { width: 100%; height: 100%; object-fit: cover; }

/* === FAQ === */
.faq-list {
  margin-top: 36px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
  position: relative;
}
.faq-item:hover { border-color: rgba(212, 255, 94, 0.2); }
.faq-item.open { border-color: rgba(212, 255, 94, 0.35); }
.faq-q {
  padding: 22px 24px 22px 20px;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  line-height: 1.45;
}
.faq-marker {
  width: 4px;
  align-self: stretch;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.faq-item.open .faq-marker { opacity: 1; }
.faq-q-text { flex: 1; }
.faq-q .arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.25s;
}
.faq-item.open .arrow { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.65;
}
.faq-a-inner { padding: 0 24px 22px 36px; }

.faq-insight {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.faq-insight p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

/* === FINAL BLOCK === */
.final-block {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212,255,94,0.1), transparent 70%),
    var(--bg);
  text-align: center;
  border-top: 1px solid var(--border-soft);
  padding-bottom: 120px;
}
.final-block h2 {
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.final-text-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: left;
}
.final-text-card p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 10px;
}
.final-text-card p:last-child { margin-bottom: 0; }

/* === Countdown === */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 auto 32px;
  max-width: 480px;
}
.cd-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  text-align: center;
}
.cd-cell .num {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.cd-cell .lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* === CTA BUTTON & FORM === */
.cta-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  flex-wrap: wrap;
  margin: 0 auto;
}
.cta-form input[type="tel"], .cta-form input[type="text"] {
  flex: 1 1 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input:focus { border-color: var(--accent); }
.cta-form input::placeholder { color: var(--text-dim); }

.btn {
  background: var(--accent);
  color: #0a0a0a;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  flex: 0 0 auto;
  display: inline-block;
  text-align: center;
}
.btn:hover {
  background: #c5f048;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 255, 94, 0.25);
}
.btn:active { transform: translateY(0); }
.btn.btn-lg { padding: 18px 32px; font-size: 16px; }

.cta-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* === STICKY CTA === */
.sticky-cta {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 999;
  background: var(--accent);
  color: #0a0a0a;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(212, 255, 94, 0.35), 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.sticky-cta:hover {
  background: #c5f048;
  transform: translateX(-50%) translateY(-2px);
}
.sticky-cta-arrow {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}
footer a { color: var(--text-mute); margin: 0 8px; }

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .ab-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ab-vs {
    text-align: center;
    padding: 4px 0;
  }
}

@media (max-width: 880px) {
  section { padding: 60px 0; }
  .hero { min-height: auto; padding: 70px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-portrait { max-width: 360px; margin: 0 auto; }
  .expert-grid { grid-template-columns: 1fr; gap: 32px; }
  .expert-photo { max-width: 320px; margin: 0 auto; }
  .extremes-grid { grid-template-columns: 1fr; gap: 12px; }
  .extreme-conclusion { flex-direction: column; gap: 16px; padding: 26px 24px; }
  .countdown { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cd-cell { padding: 14px 6px; }
  .cta-form { flex-direction: column; }
  .btn { width: 100%; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-cta-row .btn { width: 100%; }
  .audience-grid { grid-template-columns: 1fr; }
  .expert-stats { grid-template-columns: 1fr 1fr; }
  .final-text-card { padding: 24px 22px; }
  body { padding-bottom: 80px; }
  .sticky-cta { padding: 14px 22px; font-size: 14px; bottom: 14px; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; margin-bottom: 28px; }
  .section-badge { font-size: 11px; padding: 6px 12px; }
  .ab-col { padding: 28px 22px; }
  .ab-headline { font-size: 16px; }
  .extreme-card { padding: 22px 20px; gap: 14px; }
  .extreme-text { font-size: 15px; }
  .extreme-conclusion h3 { font-size: 19px; }
  .extreme-conclusion p { font-size: 15px; }
  .expert-stats { grid-template-columns: 1fr; }
  .stat { padding: 22px 20px; }
  .stat .num { font-size: 28px; }
  .cd-cell .num { font-size: 22px; }
  .cd-cell .lbl { font-size: 10px; }
  .faq-q { font-size: 15px; padding: 18px 18px 18px 16px; }
  .faq-a-inner { padding: 0 18px 18px 30px; }
  .final-text-card p { font-size: 15px; }
  .audience-card p { font-size: 14px; }
}
