/* ==========================================================
   PLR Factory Pro — Landing Page
   ========================================================== */

:root {
  --navy: #0b2546;
  --navy-deep: #071a33;
  --blue: #2f86e0;
  --blue-bright: #4aa3f5;
  --sky: #a9d2f5;
  --ice: #eef6fe;
  --ink: #1b2a3d;
  --muted: #5a6b80;
  --white: #ffffff;
  --radius: 22px;
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 70, .28), 0 12px 24px -12px rgba(11, 37, 70, .18);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-bright), var(--blue) 55%, #1f6fc4);
  box-shadow: 0 12px 28px -10px rgba(47, 134, 224, .7), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(47, 134, 224, .8), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-primary:hover svg { transform: translateX(3px); }
.hero .btn-primary:hover svg { transform: translateY(3px); }

.btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 120px;
  background: linear-gradient(180deg, #f7fbff 0%, var(--ice) 100%);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .7;
  animation: drift 18s ease-in-out infinite alternate;
}

.blob-1 {
  width: 560px; height: 560px;
  top: -180px; left: -140px;
  background: radial-gradient(circle, var(--sky), transparent 70%);
}

.blob-2 {
  width: 620px; height: 620px;
  top: 60px; right: -220px;
  background: radial-gradient(circle, rgba(74, 163, 245, .55), transparent 70%);
  animation-delay: -6s;
}

.blob-3 {
  width: 480px; height: 480px;
  bottom: -260px; left: 35%;
  background: radial-gradient(circle, rgba(11, 37, 70, .18), transparent 70%);
  animation-delay: -12s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 37, 70, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 37, 70, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.12); }
}

.brand {
  display: flex;
  justify-content: center;
}

.brand img {
  width: clamp(220px, 30vw, 320px);
  mix-blend-mode: multiply; /* blends the logo's white background into the hero */
}

.hero-content {
  max-width: 880px;
  margin: 84px auto 0;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(47, 134, 224, .25);
  backdrop-filter: blur(8px);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -10px rgba(11, 37, 70, .35);
}

.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(47, 134, 224, .6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 10px rgba(47, 134, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 134, 224, 0); }
}

.hero h1 {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue) 10%, var(--blue-bright) 90%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}

.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: .04em;
  height: .2em;
  background: var(--sky);
  border-radius: 6px;
  z-index: -1;
  transform: skewX(-12deg);
}

.subhead {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--muted);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.perks {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-weight: 500;
  color: var(--navy);
}

.perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.perks svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--blue);
  fill: none;
  stroke: var(--white);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Products ---------- */
.products {
  padding: 110px 0 130px;
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.kicker {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head h2 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.product-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 28px 56px 28px 28px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(140deg, var(--ice), #ffffff 60%);
  border: 1px solid rgba(47, 134, 224, .16);
  box-shadow: var(--shadow-lg);
}

.product-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fbf3e4;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .6s ease;
}

.product-card:hover .product-media img { transform: scale(1.03); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(11, 37, 70, .07);
}

.tag-blue {
  color: var(--white);
  background: var(--navy);
}

.product-body h3 {
  margin: 20px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.product-body p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- Coming Soon notice ---------- */
.coming-soon {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 36px;
  border-radius: calc(var(--radius) + 8px);
  border: 2px dashed rgba(47, 134, 224, .35);
  background:
    radial-gradient(circle at 0% 50%, rgba(74, 163, 245, .14), transparent 45%),
    var(--ice);
}

.cs-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  box-shadow: 0 10px 22px -10px rgba(47, 134, 224, .8);
}

.cs-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linecap: round;
  animation: spin 14s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.coming-soon h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--navy);
}

.coming-soon p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}

.footer-inner p { margin: 0; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links span { opacity: .35; }

.footer-links a {
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 20px 20px 36px;
  }
  .product-body { padding: 0 8px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 88px; }
  .hero-content { margin-top: 56px; }
  .products { padding: 80px 0 96px; }
  .btn { width: 100%; justify-content: center; }
  .eyebrow { font-size: .72rem; letter-spacing: .05em; padding: 8px 14px; }
  .perks { flex-direction: column; align-items: center; gap: 10px; }
  .coming-soon {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
