/* ===========================================================
   The Door Stud® — Pro Series landing template
   All rules scoped under .doorstud-landing so they never
   leak into the rest of the Divi site or the WP admin.
   =========================================================== */

:root {
  --ds-black: #0f0f0f;
  --ds-white: #ffffff;
  --ds-yellow: #F5C300;
  --ds-yellow-dark: #c49a00;
  --ds-gray-100: #f5f4f1;
  --ds-gray-200: #e8e6e0;
  --ds-gray-400: #9a9690;
  --ds-gray-600: #5a5752;
  --ds-gray-800: #2c2b28;
  --ds-font-display: 'Barlow Condensed', sans-serif;
  --ds-font-body: 'Barlow', sans-serif;
}

/* Hide Divi's own header / footer on this template so the
   design's built-in nav and footer aren't duplicated. */
body.doorstud-template #main-header,
body.doorstud-template #top-header,
body.doorstud-template #main-footer,
body.doorstud-template #et-top-navigation,
body.doorstud-template .et_pb_section_video_bg,
body.doorstud-template #et-secondary-nav {
  display: none !important;
}
body.doorstud-template #page-container { padding-top: 0 !important; }
body.doorstud-template #main-content .container { width: 100%; max-width: none; padding: 0; }
body.doorstud-template .et_pb_row { width: 100%; max-width: none; }

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

.doorstud-landing {
  font-family: var(--ds-font-body);
  background: var(--ds-white);
  color: var(--ds-black);
  line-height: 1.6;
  overflow-x: hidden;
}

.doorstud-landing img { max-width: 100%; }

/* ── NAV ─────────────────────────────────── */
.doorstud-landing .ds-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doorstud-landing .nav-logo {
  font-family: var(--ds-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ds-white);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doorstud-landing .nav-logo span { color: var(--ds-yellow); }

.doorstud-landing .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.doorstud-landing .nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.doorstud-landing .nav-links a:hover { color: var(--ds-yellow); }

.doorstud-landing .nav-cta {
  background: var(--ds-yellow) !important;
  color: var(--ds-black) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  font-weight: 600 !important;
}

.doorstud-landing .nav-cta:hover { background: var(--ds-yellow-dark) !important; color: var(--ds-black) !important; }

/* ── HERO ────────────────────────────────── */
.doorstud-landing .hero {
  min-height: 100vh;
  background: var(--ds-black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 60px;
  overflow: hidden;
}

.doorstud-landing .hero-content {
  padding: 5rem 3rem 5rem 5rem;
  position: relative;
  z-index: 2;
}

.doorstud-landing .hero-eyebrow {
  font-family: var(--ds-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ds-yellow);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.doorstud-landing .hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--ds-yellow);
}

.doorstud-landing .hero-title {
  font-family: var(--ds-font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.92;
  color: var(--ds-white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.doorstud-landing .hero-title em {
  font-style: normal;
  color: var(--ds-yellow);
}

.doorstud-landing .hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.doorstud-landing .hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.doorstud-landing .price-current {
  font-family: var(--ds-font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ds-white);
}

.doorstud-landing .price-original {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
}

.doorstud-landing .price-badge {
  background: var(--ds-yellow);
  color: var(--ds-black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doorstud-landing .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.doorstud-landing .btn-primary {
  background: var(--ds-yellow);
  color: var(--ds-black);
  font-family: var(--ds-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.1s;
}

.doorstud-landing .btn-primary:hover { background: var(--ds-yellow-dark); transform: translateY(-1px); }
.doorstud-landing .btn-primary:active { transform: translateY(0); }

.doorstud-landing .btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: var(--ds-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s, color 0.2s;
}

.doorstud-landing .btn-ghost:hover { border-color: var(--ds-yellow); color: var(--ds-yellow); }

.doorstud-landing .hero-image {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.doorstud-landing .hero-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}

.doorstud-landing .hero-image-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  height: 60%;
  background: var(--ds-yellow);
  opacity: 0.06;
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.doorstud-landing .hero-product-img {
  position: relative;
  z-index: 2;
  width: 75%;
  max-width: 420px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.8));
  animation: ds-float 4s ease-in-out infinite;
}

@keyframes ds-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.doorstud-landing .hero-spec-tags {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
  white-space: nowrap;
}

.doorstud-landing .spec-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.8rem;
  text-transform: uppercase;
}

/* ── TRUST BAR ───────────────────────────── */
.doorstud-landing .trust-bar {
  background: var(--ds-yellow);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

.doorstud-landing .trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ds-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ds-black);
}

.doorstud-landing .trust-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── PRODUCT SECTION ─────────────────────── */
.doorstud-landing .product-section {
  padding: 7rem 2rem;
  background: var(--ds-white);
}

.doorstud-landing .ds-container {
  max-width: 1100px;
  margin: 0 auto;
}

.doorstud-landing .section-label {
  font-family: var(--ds-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-gray-400);
  margin-bottom: 0.75rem;
}

.doorstud-landing .section-title {
  font-family: var(--ds-font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.doorstud-landing .product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

.doorstud-landing .product-image-wrap {
  position: relative;
  background: var(--ds-gray-100);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
}

.doorstud-landing .product-image-wrap::after {
  content: 'PRO SERIES';
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: var(--ds-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ds-gray-400);
}

.doorstud-landing .product-img {
  width: 100%;
  max-width: 320px;
  object-fit: contain;
}

.doorstud-landing .product-details { padding-top: 0.5rem; }

.doorstud-landing .product-name {
  font-family: var(--ds-font-display);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.doorstud-landing .product-tagline {
  font-size: 1rem;
  color: var(--ds-gray-600);
  margin-bottom: 1.5rem;
}

.doorstud-landing .product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  background: var(--ds-gray-100);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.doorstud-landing .spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.doorstud-landing .spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ds-gray-400);
}

.doorstud-landing .spec-value {
  font-family: var(--ds-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-black);
}

.doorstud-landing .product-price-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.doorstud-landing .p-price {
  font-family: var(--ds-font-display);
  font-size: 2.5rem;
  font-weight: 700;
}

.doorstud-landing .p-original {
  font-size: 1rem;
  color: var(--ds-gray-400);
  text-decoration: line-through;
}

.doorstud-landing .p-save {
  background: var(--ds-yellow);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.doorstud-landing .feature-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.doorstud-landing .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ds-gray-600);
}

.doorstud-landing .feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ds-yellow);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.doorstud-landing .add-to-cart-block {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── HOW IT WORKS ────────────────────────── */
.doorstud-landing .how-section {
  background: var(--ds-gray-100);
  padding: 7rem 2rem;
}

.doorstud-landing .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.doorstud-landing .step {
  padding: 2.5rem 2rem;
  background: var(--ds-white);
  position: relative;
  overflow: hidden;
}

.doorstud-landing .step::before {
  content: attr(data-num);
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-family: var(--ds-font-display);
  font-size: 6rem;
  font-weight: 800;
  color: var(--ds-gray-100);
  line-height: 1;
  pointer-events: none;
}

.doorstud-landing .step-title {
  font-family: var(--ds-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.doorstud-landing .step-desc {
  font-size: 0.9rem;
  color: var(--ds-gray-600);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.doorstud-landing .step-icon {
  width: 40px;
  height: 40px;
  background: var(--ds-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── RETAILERS ───────────────────────────── */
.doorstud-landing .retailers-section {
  padding: 5rem 2rem;
  background: var(--ds-white);
  text-align: center;
}

.doorstud-landing .retailers-label {
  font-family: var(--ds-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-gray-400);
  margin-bottom: 2.5rem;
}

.doorstud-landing .retailer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.55;
  filter: grayscale(100%);
}

.doorstud-landing .retailer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ── FINAL CTA ───────────────────────────── */
.doorstud-landing .cta-section {
  background: var(--ds-black);
  padding: 7rem 2rem;
  text-align: center;
}

.doorstud-landing .cta-title {
  font-family: var(--ds-font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ds-white);
  line-height: 1;
  margin-bottom: 1rem;
}

.doorstud-landing .cta-title span { color: var(--ds-yellow); }

.doorstud-landing .cta-sub {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ── FOOTER ──────────────────────────────── */
.doorstud-landing .ds-footer {
  background: #0a0a0a;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.doorstud-landing .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.doorstud-landing .footer-brand {
  font-family: var(--ds-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ds-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.doorstud-landing .footer-brand span { color: var(--ds-yellow); }

.doorstud-landing .footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 280px;
}

.doorstud-landing .footer-heading {
  font-family: var(--ds-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.doorstud-landing .footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.doorstud-landing .footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.doorstud-landing .footer-links a:hover { color: var(--ds-yellow); }

.doorstud-landing .footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.doorstud-landing .footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.doorstud-landing .footer-contact {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.doorstud-landing .footer-contact a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.doorstud-landing .footer-contact a:hover { color: var(--ds-yellow); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .doorstud-landing .hero { grid-template-columns: 1fr; min-height: auto; }
  .doorstud-landing .hero-content { padding: 5rem 2rem 2rem; }
  .doorstud-landing .hero-image { height: 50vw; min-height: 300px; }
  .doorstud-landing .product-grid { grid-template-columns: 1fr; gap: 2rem; }
  .doorstud-landing .steps-grid { grid-template-columns: 1fr; }
  .doorstud-landing .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .doorstud-landing .ds-nav .nav-links { display: none; }
}

/* ── ANIMATIONS ──────────────────────────── */
@keyframes ds-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.doorstud-landing .hero-eyebrow { animation: ds-fadeUp 0.5s ease 0.1s both; }
.doorstud-landing .hero-title { animation: ds-fadeUp 0.5s ease 0.2s both; }
.doorstud-landing .hero-sub { animation: ds-fadeUp 0.5s ease 0.3s both; }
.doorstud-landing .hero-price-row { animation: ds-fadeUp 0.5s ease 0.4s both; }
.doorstud-landing .hero-actions { animation: ds-fadeUp 0.5s ease 0.5s both; }
