/* === SM Brand: links.startupmiracle.com === */
/* Fonts: Inter (body) + Outfit (headings) — Google Fonts loaded in HTML */

:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0A0A0A;
  --surface-hl: #121212;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.15);
  --gold: #fbbf24;
  --radius: 12px;
  --max-w: 480px;
  --bg-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

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

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-noise);
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', ui-sans-serif, system-ui, sans-serif;
}

/* Layout */
.page {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 0 48px;
}

/* Hero */
.hero {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.hero video,
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
}

/* Hero buttons (sound toggle + replay) */
.hero-btn {
  position: absolute;
  z-index: 3;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.sound-btn {
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1.5px solid var(--emerald);
}

.replay-btn {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  padding: 0;
}

/* Identity */
.identity {
  text-align: center;
  padding: 20px 16px 0;
}

.identity h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.identity p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Social icons */
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-bottom: 8px;
}

.socials a {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-hl);
}

.socials a:hover {
  color: var(--text);
  background: var(--surface-hl);
}

/* Section labels */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 24px 16px 8px;
}

/* Product cards */
.cards {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-hl);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.card:hover {
  border-color: var(--emerald);
  box-shadow: 0 0 40px -10px var(--emerald-glow);
}

.card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background: var(--surface-hl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.card-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--emerald);
}

.card-price.free {
  color: var(--emerald);
}

/* Bundle highlight */
.card.bundle {
  border-color: var(--emerald-dark);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(16, 185, 129, 0.05) 100%);
  position: relative;
}

.card.bundle::before {
  content: "BEST VALUE";
  position: absolute;
  top: -1px;
  right: 16px;
  background: var(--emerald);
  color: #050505;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 0 0 6px 6px;
}

/* Email capture form */
.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.email-form .name-field {
  width: 100%;
  flex: none;
}

.email-form input {
  flex: 1;
  background: var(--surface-hl);
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input::placeholder {
  color: #52525b;
}

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

.email-form button {
  background: var(--emerald);
  color: #050505;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.email-form button:hover {
  background: var(--emerald-dark);
}

.email-success {
  display: none;
  color: var(--emerald);
  font-size: 0.85rem;
  margin-top: 10px;
}

/* Free card special layout */
.card.free-card {
  flex-direction: column;
  align-items: stretch;
}

.card.free-card .card-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 32px 16px 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer a {
  color: var(--emerald);
  text-decoration: none;
}

.footer img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  opacity: 0.6;
}

/* Responsive — already mobile-first, just ensure tablet/desktop centering */
@media (min-width: 520px) {
  .page {
    padding-top: 24px;
  }
  .hero {
    border-radius: var(--radius);
    overflow: hidden;
  }
}
