/* ============================================================
   Magnum Marketing — Stripe/Notion Warm White Theme
   Clean backgrounds, readable text, blue-purple accent
   ============================================================ */

/* ── Navigation ── */
.df-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--df-nav-height);
  z-index: var(--df-z-sticky);
  display: flex;
  align-items: center;
  padding: 0 var(--df-space-8);
  transition: background var(--df-duration-slow) var(--df-ease),
              box-shadow var(--df-duration-slow) var(--df-ease);
}

.df-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--df-border);
}

.df-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--df-container-lg);
  margin: 0 auto;
}

.df-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--df-space-3);
  font-family: var(--df-font-body);
  font-weight: var(--df-weight-bold);
  font-size: 1.125rem;
  color: var(--df-text-primary);
  letter-spacing: -0.02em;
}

.df-nav__logo-icon {
  width: 32px;
  height: 32px;
  background: #191918;
  border-radius: var(--df-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #fffef2;
}

.df-nav__links {
  display: flex;
  align-items: center;
  gap: var(--df-space-8);
}

.df-nav__link {
  font-size: var(--df-text-micro);
  font-weight: var(--df-weight-medium);
  color: var(--df-text-tertiary);
  transition: color var(--df-duration) var(--df-ease);
  text-transform: uppercase;
  letter-spacing: var(--df-tracking-wide);
}
.df-nav__link:hover { color: var(--df-text-primary); }
.df-nav__link--active { color: var(--df-text-primary); font-weight: var(--df-weight-semibold); }

.df-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--df-space-2);
  padding: var(--df-space-2) var(--df-space-5);
  background: var(--df-blue);
  border: 1px solid var(--df-blue);
  color: #191918;
  font-size: var(--df-text-micro);
  font-weight: var(--df-weight-semibold);
  border-radius: var(--df-radius);
  text-transform: uppercase;
  letter-spacing: var(--df-tracking-wide);
  transition: all var(--df-duration) var(--df-ease);
}
.df-nav__cta:hover {
  background: var(--df-blue-bright);
  border-color: var(--df-blue-bright);
}

/* ── Hero Section (Light bg) ── */
.df-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--df-bg-base);
  padding: calc(var(--df-nav-height) + var(--df-space-16)) var(--df-space-8) var(--df-space-16);
}

.df-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(252, 170, 45, 0.04), transparent),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(217, 119, 6, 0.03), transparent),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(252, 170, 45, 0.03), transparent);
}

.df-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.df-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--df-space-16);
  align-items: center;
  max-width: var(--df-container-lg);
  margin: 0 auto;
  width: 100%;
}

.df-hero__content {
  max-width: 600px;
}

.df-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--df-space-2);
  padding: var(--df-space-1) var(--df-space-3);
  background: var(--df-blue-glow);
  border: 1px solid var(--df-blue-border);
  border-radius: var(--df-radius-full);
  font-size: var(--df-text-micro);
  font-weight: var(--df-weight-medium);
  color: var(--df-blue);
  margin-bottom: var(--df-space-6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.df-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--df-blue);
  border-radius: 50%;
  animation: df-pulse 2s ease-in-out infinite;
}

@keyframes df-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.df-hero__headline {
  font-family: var(--df-font-display);
  font-size: var(--df-text-display);
  font-weight: 500;
  color: var(--df-text-primary);
  line-height: var(--df-leading-tight);
  letter-spacing: var(--df-tracking-tight);
  margin-bottom: var(--df-space-4);
}

.df-hero__subheadline {
  font-family: var(--df-font-body);
  font-size: var(--df-text-display-2);
  font-weight: 400;
  color: var(--df-blue);
  line-height: var(--df-leading-tight);
  margin-bottom: var(--df-space-6);
}

.df-hero__body {
  font-size: 1.0625rem;
  color: var(--df-text-tertiary);
  line-height: var(--df-leading-relaxed);
  margin-bottom: var(--df-space-8);
  max-width: 520px;
}

.df-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--df-space-4);
  margin-bottom: var(--df-space-8);
}

.df-hero__screenshot {
  position: relative;
}

.df-hero__screenshot-img {
  width: 100%;
  border-radius: var(--df-radius-lg);
  border: 1px solid var(--df-border);
  box-shadow: var(--df-shadow-lg);
}

.df-hero__screenshot-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(252, 170, 45, 0.08), transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

/* ── Buttons ── */
.df-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--df-space-2);
  font-family: var(--df-font-body);
  font-weight: var(--df-weight-semibold);
  border-radius: var(--df-radius);
  transition: all var(--df-duration) var(--df-ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.df-btn--primary {
  padding: var(--df-space-3) var(--df-space-6);
  background: var(--df-blue);
  color: #191918;
  font-size: var(--df-text-body);
  text-transform: uppercase;
  letter-spacing: var(--df-tracking-wide);
}
.df-btn--primary:hover {
  background: var(--df-blue-bright);
  box-shadow: var(--df-shadow-blue);
  transform: translateY(-1px);
}
.df-btn--primary-lg {
  padding: var(--df-space-4) var(--df-space-8);
  font-size: 1rem;
}

/* Ghost button — for light backgrounds */
.df-btn--ghost {
  padding: var(--df-space-3) var(--df-space-6);
  background: transparent;
  color: var(--df-text-primary);
  font-size: var(--df-text-body);
  border: 1px solid var(--df-text-primary);
  text-transform: uppercase;
  letter-spacing: var(--df-tracking-wide);
}
.df-btn--ghost:hover {
  background: rgba(25, 25, 24, 0.05);
}
.df-btn--ghost-lg {
  padding: var(--df-space-4) var(--df-space-8);
  font-size: 1rem;
}

/* Outlined button */
.df-btn--outline {
  padding: var(--df-space-3) var(--df-space-6);
  background: transparent;
  color: var(--df-blue);
  font-size: var(--df-text-body);
  border: 1px solid var(--df-blue-border);
}
.df-btn--outline:hover {
  border-color: var(--df-blue);
  background: var(--df-blue-subtle);
}

/* ── Sections ── */
.df-section {
  padding: var(--df-space-24) var(--df-space-8);
}

.df-section--white {
  background: var(--df-bg-base);
  color: var(--df-text-primary);
}

.df-section--cream {
  background: var(--df-bg-cream);
  color: var(--df-text-primary);
}

/* Navy/dark sections → warm light alternative */
.df-section--navy,
.df-section--dark {
  background: var(--df-bg-cream);
  color: var(--df-text-primary);
}

.df-section--surface {
  background: var(--df-bg-cream);
  color: var(--df-text-primary);
}

.df-section--light {
  background: var(--df-bg-base);
  color: var(--df-text-primary);
}

.df-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--df-space-16);
}

.df-section__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--df-space-2);
  padding: var(--df-space-1) var(--df-space-3);
  border-radius: var(--df-radius-full);
  font-size: var(--df-text-micro);
  font-weight: var(--df-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--df-space-4);
  background: var(--df-blue-glow);
  color: var(--df-blue);
  border: 1px solid var(--df-blue-border);
}

.df-section__title {
  font-family: var(--df-font-display);
  font-size: var(--df-text-h1);
  font-weight: 500;
  line-height: var(--df-leading-tight);
  margin-bottom: var(--df-space-4);
  color: var(--df-text-primary);
}

.df-section__subtitle {
  font-size: 1.0625rem;
  line-height: var(--df-leading-relaxed);
  max-width: 600px;
  margin: 0 auto;
  color: var(--df-text-tertiary);
}


/* ── Product Cards ── */
.df-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--df-space-6);
  max-width: var(--df-container);
  margin: 0 auto;
}

.df-product-card {
  background: var(--df-bg-surface);
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-lg);
  padding: var(--df-space-8);
  transition: border-color var(--df-duration) var(--df-ease),
              box-shadow var(--df-duration-slow) var(--df-ease),
              transform var(--df-duration) var(--df-ease);
}
.df-product-card:hover {
  border-color: var(--df-border-3);
  box-shadow: var(--df-shadow-md);
  transform: translateY(-3px);
}

.df-product-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--df-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--df-space-5);
  background: var(--df-blue-glow);
  color: var(--df-blue);
}

.df-product-card__name {
  font-size: var(--df-text-h3);
  font-weight: var(--df-weight-bold);
  color: var(--df-text-primary);
  margin-bottom: var(--df-space-2);
}

.df-product-card__desc {
  font-size: var(--df-text-body);
  color: var(--df-text-secondary);
  line-height: var(--df-leading-normal);
  margin-bottom: var(--df-space-5);
}

.df-product-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--df-space-2);
  font-size: var(--df-text-small);
  font-weight: var(--df-weight-semibold);
  color: var(--df-blue);
  transition: gap var(--df-duration) var(--df-ease);
}
.df-product-card__link:hover {
  gap: var(--df-space-3);
}


/* ── CTA Section ── */
.df-cta-section {
  text-align: center;
  padding: var(--df-space-24) var(--df-space-8);
  background: var(--df-bg-cream);
  position: relative;
}

.df-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--df-border-2), transparent);
}

.df-cta-section__title {
  font-family: var(--df-font-display);
  font-size: var(--df-text-h1);
  font-weight: 500;
  color: var(--df-text-primary);
  margin-bottom: var(--df-space-4);
}

.df-cta-section__subtitle {
  font-size: 1.0625rem;
  color: var(--df-text-tertiary);
  margin-bottom: var(--df-space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
.df-footer {
  background: var(--df-bg-cream);
  border-top: 1px solid var(--df-border);
  padding: var(--df-space-12) var(--df-space-8) var(--df-space-8);
}

.df-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--df-container);
  margin: 0 auto;
  gap: var(--df-space-16);
}

.df-footer__brand {
  max-width: 300px;
}

.df-footer__logo {
  font-size: 1.125rem;
  font-weight: var(--df-weight-bold);
  color: var(--df-text-primary);
  margin-bottom: var(--df-space-3);
  display: flex;
  align-items: center;
  gap: var(--df-space-3);
}

.df-footer__tagline {
  font-size: var(--df-text-small);
  color: var(--df-text-tertiary);
  line-height: var(--df-leading-normal);
  margin-bottom: var(--df-space-4);
}

.df-footer__backed {
  display: inline-flex;
  align-items: center;
  gap: var(--df-space-2);
  font-size: var(--df-text-micro);
  color: var(--df-text-muted);
  padding: var(--df-space-1) var(--df-space-3);
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-sm);
}

.df-footer__columns {
  display: flex;
  gap: var(--df-space-16);
}

.df-footer__col-title {
  font-size: var(--df-text-micro);
  font-weight: var(--df-weight-semibold);
  color: var(--df-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--df-space-4);
}

.df-footer__col-link {
  display: block;
  font-size: var(--df-text-small);
  color: var(--df-text-tertiary);
  padding: var(--df-space-1) 0;
  transition: color var(--df-duration) var(--df-ease);
}
.df-footer__col-link:hover {
  color: var(--df-text-primary);
}

.df-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--df-container);
  margin: var(--df-space-8) auto 0;
  padding-top: var(--df-space-6);
  border-top: 1px solid var(--df-border);
  font-size: var(--df-text-micro);
  color: var(--df-text-muted);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .df-hero__inner {
    gap: var(--df-space-10);
  }
}

@media (max-width: 1024px) {
  .df-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .df-hero__content {
    max-width: 640px;
    margin: 0 auto;
  }
  .df-hero__body {
    margin-left: auto;
    margin-right: auto;
  }
  .df-hero__actions {
    justify-content: center;
  }
  .df-hero__screenshot {
    max-width: 700px;
    margin: 0 auto;
  }
  .df-product-grid {
    grid-template-columns: 1fr;
  }
  .df-footer__inner {
    flex-direction: column;
    gap: var(--df-space-8);
  }
}

@media (max-width: 768px) {
  .df-section {
    padding: var(--df-space-16) var(--df-space-5);
  }
  .df-nav__links {
    display: none;
  }
  .df-product-grid {
    grid-template-columns: 1fr;
  }
  .df-footer__columns {
    flex-direction: column;
    gap: var(--df-space-6);
  }
}
