/* Five Hues — New Website Development Blueprint build
   Visual direction: modern SaaS, gradients, glassmorphism, floating mockups, subtle motion, mobile-first. */

:root {
  --navy: #0235a6;
  --navy-2: #3d5fd9;
  --orange: #fb8006;
  --orange-2: #ffb648;
  --cream: #fff8e7;
  --ink: #12132b;
  --gray: #5b5f76;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 60px rgba(2, 31, 102, 0.12);
  --shadow-lift: 0 30px 80px rgba(2, 31, 102, 0.20);
  --grad-brand: linear-gradient(135deg, var(--navy) 0%, #5b3fd9 45%, var(--orange) 100%);
  --grad-cta: linear-gradient(120deg, var(--orange) 0%, #ff5f6d 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #fbfaff;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.5px;
}
p { margin: 0 0 1em; color: var(--gray); font-size: 16px; }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; border-radius: var(--radius-md); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; position: relative; }
.section-tight { padding: 60px 0; }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* ---------- Background blobs ---------- */
.blob-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; }
.blob.b1 { width: 420px; height: 420px; background: var(--orange-2); top: -120px; right: -100px; }
.blob.b2 { width: 380px; height: 380px; background: var(--navy-2); bottom: -140px; left: -120px; }
.container.z { position: relative; z-index: 1; }

/* ---------- Gradient text ---------- */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(2, 31, 102, 0.06);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px; color: var(--ink); }
.logo span { color: var(--orange); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--ink); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta {
  background: var(--grad-cta);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(251, 128, 6, 0.35);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(251, 128, 6, 0.45); }

/* ---------- Buttons (CTA Formula: action verbs, high contrast, never "Learn More") ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-cta); color: var(--white); box-shadow: 0 14px 34px rgba(251,128,6,.35); }
.btn-primary:hover { box-shadow: 0 18px 44px rgba(251,128,6,.45); }
.btn-secondary { background: var(--grad-brand); color: var(--white); box-shadow: 0 14px 34px rgba(2,31,102,.3); }
.btn-outline { background: rgba(255,255,255,.6); color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid rgba(0,0,0,.1); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 18px 38px; font-size: 17px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- Eyebrow / lede ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }
.lede { font-size: 19px; max-width: 620px; }
.center.lede { margin-left: auto; margin-right: auto; }

/* ---------- Section formula: headline + subhead + image + 3 benefit cards + CTA ---------- */
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 34px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.glass-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.glass-card .icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.glass-card h3 { font-size: 19px; }
.glass-card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy);
  background: rgba(2,31,102,.08); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 48px; max-width: 620px; }
.hero .lede { font-size: 19px; }
.trust-bar { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; font-size: 14px; color: var(--gray); }
.stars { color: var(--orange); letter-spacing: 2px; }
.trust-bar strong { color: var(--ink); }

/* ---------- Browser / device mockup ---------- */
.mockup-wrap { position: relative; }
.browser-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform: rotate(1.5deg);
  transition: transform .4s ease;
}
.browser-mock:hover { transform: rotate(0deg) translateY(-4px); }
.browser-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: #eef0f7;
}
.browser-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #d7dae6; }
.browser-chrome span:nth-child(1) { background: #ff5f57; }
.browser-chrome span:nth-child(2) { background: #febc2e; }
.browser-chrome span:nth-child(3) { background: #28c840; }
.browser-screen {
  padding: 26px;
  background: linear-gradient(160deg, #fff 0%, #f4f2ff 100%);
  min-height: 260px;
}
.browser-screen .skel-bar { height: 12px; border-radius: 6px; background: #e7e6f5; margin-bottom: 10px; }
.browser-screen .skel-bar.w60 { width: 60%; }
.browser-screen .skel-bar.w40 { width: 40%; }
.browser-screen .skel-bar.grad { height: 90px; border-radius: var(--radius-sm); background: var(--grad-brand); margin: 16px 0; }
.browser-screen .skel-row { display: flex; gap: 10px; margin-top: 14px; }
.browser-screen .skel-chip { flex: 1; height: 56px; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 6px 16px rgba(2,31,102,.08); }

.float-chip {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floaty 4s ease-in-out infinite;
}
.float-chip.top { top: -18px; right: 12px; color: var(--navy); animation-delay: .2s; }
.float-chip.bottom { bottom: -18px; left: 6px; color: var(--orange); animation-delay: 1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.device-frame {
  width: 150px;
  border-radius: 26px;
  border: 6px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-lift);
  position: absolute;
  bottom: -30px;
  right: -30px;
  overflow: hidden;
}
.device-frame .device-screen { padding: 14px 10px; background: linear-gradient(160deg,#fff,#f4f2ff); }

/* ---------- Flow connector ---------- */
.flow-arrow { text-align: center; color: rgba(2,31,102,.25); font-size: 22px; margin: -12px 0 0; }

/* ---------- Benefit rows (image left/right alternating) ---------- */
.benefit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.benefit-row.reverse .benefit-visual { order: 2; }
.benefit-visual {
  border-radius: var(--radius-lg);
  min-height: 260px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px;
  text-align: center; padding: 20px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.benefit-visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 60%);
}

/* ---------- Animated counters ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 40px; color: var(--navy); }
.stat-label { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }

/* ---------- Logo carousel ---------- */
.logo-strip { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; gap: 60px; width: max-content; animation: scroll-left 22s linear infinite; align-items: center; }
.logo-track span { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 18px; color: rgba(2,31,102,.35); white-space: nowrap; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Pricing ---------- */
.price-card {
  border-radius: var(--radius-lg);
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(2,31,102,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.price-card.featured {
  background: var(--grad-brand);
  color: white;
  position: relative;
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.price-card.featured p, .price-card.featured li { color: rgba(255,255,255,.85); }
.price-card.featured .amount { color: white; }
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-cta); color: white; font-size: 12px; font-weight: 800;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card .obstacle { font-size: 13px; color: var(--gray); font-style: italic; margin-bottom: 10px; }
.price-card.featured .obstacle { color: rgba(255,255,255,.75); }
.price-card .amount { font-size: 38px; font-weight: 800; color: var(--navy); font-family: 'Poppins', sans-serif; }
.price-card .amount span { font-size: 15px; color: var(--gray); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.price-card li { padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 14.5px; }
.price-card.featured li { border-bottom: 1px solid rgba(255,255,255,.15); }
.price-card li:last-child { border-bottom: none; }

/* ---------- Stack table ---------- */
.stack-table { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.stack-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; border-bottom: 1px solid rgba(0,0,0,.06); }
.stack-row:last-child { border-bottom: none; }
.stack-row .item strong { display: block; font-size: 16px; }
.stack-row .item span { font-size: 13.5px; color: var(--gray); }
.stack-row .value { font-weight: 700; color: var(--navy); white-space: nowrap; padding-left: 20px; }
.stack-total { background: var(--cream); font-weight: 800; font-size: 18px; }

/* ---------- Guarantee ---------- */
.guarantee-box {
  border-radius: var(--radius-lg);
  padding: 36px;
  background: linear-gradient(120deg, #fff9ef, #fff);
  border: 2px dashed var(--orange);
  display: flex; gap: 26px; align-items: flex-start;
  box-shadow: var(--shadow-soft);
}
.guarantee-badge {
  min-width: 90px; height: 90px; border-radius: 50%;
  background: var(--grad-cta); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 13px;
  text-align: center; line-height: 1.15; padding: 8px;
}

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16.5px; color: var(--navy);
}
.faq-q .plus { font-size: 22px; color: var(--orange); transition: transform .25s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: 18px; margin: 0; }
.faq-item.open .faq-a { max-height: 240px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Template catalog (DIY) ---------- */
.template-tile { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); position: relative; transition: transform .25s ease; }
.template-tile:hover { transform: translateY(-6px); }
.template-tile img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.template-tile .label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(2,31,102,.85), transparent);
  color: white; font-weight: 700; font-size: 13px; padding: 22px 12px 10px;
  text-transform: capitalize;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  padding: 12px 16px; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); box-shadow: 0 -10px 30px rgba(2,31,102,.15);
}

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: #cfd2e0; padding: 60px 0 90px; }
footer.site-footer h4 { color: white; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a { color: #cfd2e0; font-size: 14.5px; }
footer.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-bottom { border-top: 1px solid #262842; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8b8fa3; }

/* ---------- Mobile rules ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .benefit-row, .benefit-row.reverse { grid-template-columns: 1fr; }
  .benefit-row .benefit-visual, .benefit-row.reverse .benefit-visual { order: -1; }
  .hero h1 { font-size: 34px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-box { flex-direction: column; align-items: center; text-align: center; }
  .device-frame { display: none; }
  .btn { width: 100%; }
  .cta-row .btn { width: auto; }
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
  section { padding: 60px 0; }
}
