/*
  FlaskWay Landing — minimalist black/white
*/

:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #7a7a7a;
  --border: #e6e6e6;
  --accent: #0a0a0a; /* black button */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html, body {
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(120%) blur(6px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.usp-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.usp-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: #333;
}
.usp-dot { width: 4px; height: 4px; background: #cfcfcf; border-radius: 50%; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid var(--fg);
  border-radius: 50%;
  font-size: 12px;
}

.brand-name {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ghost-link {
  color: var(--fg);
  text-decoration: none;
  opacity: 0.7;
}
.ghost-link:hover { opacity: 1; }

.buy-compact {
  display: inline-block;
  border: 1px solid var(--fg);
  color: var(--fg);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.buy-compact:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.buy-compact:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* Hero */
.hero {
  padding: 40px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  margin: 10px 0 8px;
}

.nowrap { white-space: nowrap; }

.hero-sub {
  color: var(--muted);
  margin: 0 0 0px;
}

.price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  margin: 0 0 16px;
}
.price-old {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
}
.price { font-size: 26px; font-weight: 700; }
.price-note { color: var(--muted); font-size: 14px; display: block; margin-bottom: 15px; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 30px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, font-weight .2s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.btn-primary:hover {
  transform: translateY(-1px) scale(1.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  font-weight: 700;
}
.btn-primary:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* Subtle breathing pulse to attract attention */
@keyframes button-pulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(0,0,0,0.10); transform: translateY(0); }
  50% { box-shadow: 0 10px 24px rgba(0,0,0,0.16); transform: translateY(-0.5px); }
}

.btn-primary.attention,
.buy-compact.attention {
  animation: button-pulse 2.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary.attention,
  .buy-compact.attention { animation: none; }
}

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--fg);
  color: var(--fg);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 30px;
  margin-left: 10px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: center;
  justify-items: center;
}

.gallery-img {
  width: 100%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  border: none;
  opacity: 1;
  transform: scale(1);
  transition: opacity .6s ease, transform .6s ease;
  cursor: pointer;
}

.gallery-img.is-fading {
  opacity: 0;
  transform: scale(0.985);
}

/* Center single image in hero */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Sections */
.benefits { padding: 30px 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit { display: flex; gap: 12px; align-items: flex-start; }
.benefit h3 { margin: 0 0 4px; font-size: 16px; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

.ico { width: 28px; height: 28px; border: 1px solid var(--fg); border-radius: 6px; }
.ico-hot { background: linear-gradient(180deg,#fff,#f3f3f3); }
.ico-steel { background: linear-gradient(180deg,#fff,#ededed); }
.ico-leak { background: linear-gradient(180deg,#fff,#f1f1f1); }
.ico-boot { background: linear-gradient(180deg,#fff,#efefef); }

.trust-badges { display:flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge { border:1px solid var(--border); padding:8px 12px; border-radius:999px; font-size: 13px; }
.dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d1d1;
  border: 1px solid #bdbdbd;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.dot:hover { transform: scale(1.08); }
.dot.active {
  transform: scale(1.12);
}
.dot[data-index="0"] { /* black */
  background: #0a0a0a;
  border-color: #0a0a0a;
}
.dot[data-index="1"] { /* white */
  background: #ffffff;
  border-color: #bdbdbd;
}
.dot[data-index="2"] { /* light pink */
  background: #f3c4d7;
  border-color: #e7a9bf;
}

/* subtle focus ring per color when active */
.dot.active[data-index="0"] { box-shadow: 0 0 0 2px rgba(10,10,10,0.16); }
.dot.active[data-index="1"] { box-shadow: 0 0 0 2px rgba(0,0,0,0.18); }
.dot.active[data-index="2"] { box-shadow: 0 0 0 2px rgba(243,196,215,0.6); }
.dot:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.section-title {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 20px 0 12px;
}

.info { padding: 30px 0 10px; }
.specs { padding: 10px 0 60px; }
.cta-row { display:flex; align-items:center; gap:12px; margin-top: 14px; }
.cta-note { color: var(--muted); font-size: 14px; }

.lead {
  margin: 0 0 10px;
  font-weight: 600;
}

.bulleted,
.checklist {
  padding-left: 18px;
  margin: 0;
}

.bulleted li,
.checklist li {
  margin: 8px 0;
}

/* Problem & Solution */
.problem-solution {
  padding: 40px 0 50px;
  background: #fafafa;
}
.problem-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0 40px;
}
.problem-item,
.solution-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-item:hover,
.solution-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.problem-icon,
.solution-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.problem-item h3,
.solution-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.problem-item p,
.solution-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.solution-section {
  margin-top: 50px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--muted);
}

.footer-inner { }
.footer-cta { 
  display:flex; 
  align-items:center; 
  justify-content: space-between; 
  gap: 16px; 
  margin-bottom: 30px; 
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.footer-price-old {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.footer-price { margin-left: 4px; }
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--fg);
}
.footer-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 8px 0;
  font-size: 14px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-links a:hover {
  color: var(--fg);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.copyright {
  display: block;
  font-size: 13px;
}

/* Reviews */
.reviews { padding: 20px 0 40px; }
.reviews-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.review { border:1px solid var(--border); border-radius: 10px; padding: 14px; text-align:left; }
.review cite { display:block; margin-top: 8px; color: var(--muted); font-style: normal; }
.stars { letter-spacing: 2px; margin-bottom: 6px; }

/* FAQ */
.faq { padding: 10px 0 50px; }
.faq details { border:1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.faq summary { cursor:pointer; font-weight: 600; }
.policies { display:flex; flex-wrap:wrap; gap:10px; margin-top: 8px; }
.policy { border:1px solid var(--border); border-radius:999px; padding:8px 12px; font-size: 13px; }

/* Sticky CTA */
.sticky-cta { position: sticky; bottom: 0; background: #fff; border-top:1px solid var(--border); padding: 10px 0; display:none; }
.sticky-inner { display:flex; align-items:center; justify-content: space-between; gap: 12px; }
.sticky-meta { display:flex; align-items:baseline; gap:8px; }
.sticky-price-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.sticky-price { font-weight:700; }

/* Modal */
.modal[aria-hidden="true"] { display: none; }
.modal[aria-hidden="false"] { display: block; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.modal-dialog {
  position: relative;
  margin: 6vh auto 0;
  width: min(560px, 92%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.modal-title { margin: 0 0 6px; font-size: 20px; }
.modal-sub { margin: 0 0 12px; color: var(--muted); }
.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}
.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; color: #333; }
.field input {
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
}
.field input:focus { border-color: #000; }

/* Color selection */
.color-options {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background .15s ease;
}
.color-option:hover { background: #f6f6f6; }
.color-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.color-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.color-option input[type="radio"]:checked + .color-swatch {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}
.color-label {
  font-size: 13px;
  color: #333;
  transition: font-weight .15s ease, color .15s ease;
}
.color-option:has(input[type="radio"]:checked) .color-label {
  font-weight: 600;
  color: #000;
}
.lead-form .submit-btn { width: 100%; text-align: center; margin-top: 6px; }
.lead-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.16);
}
.lead-form .submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.form-note { color: var(--muted); font-size: 12px; text-align: center; }
.form-success { color: #0a0a0a; font-size: 14px; text-align: center; }

/* Success Modal */
.success-modal[aria-hidden="true"] { display: none; }
.success-modal[aria-hidden="false"] { display: block; }
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.success-dialog {
  position: relative;
  margin: 20vh auto 0;
  width: min(480px, 92%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
  text-align: center;
  animation: successFadeIn 0.3s ease;
}
@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.success-icon {
  margin: 0 auto 16px;
  animation: checkmarkDraw 0.6s ease 0.2s both;
}
@keyframes checkmarkDraw {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
.success-icon svg {
  display: block;
  margin: 0 auto;
}
.success-icon circle {
  animation: circleScale 0.4s ease;
}
@keyframes circleScale {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.success-icon path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: checkmarkStroke 0.5s ease 0.3s forwards;
}
@keyframes checkmarkStroke {
  to { stroke-dashoffset: 0; }
}
.success-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.success-message {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.success-dialog .btn-primary {
  width: 100%;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-left { order: 2; }
  .hero-right { order: 1; }
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .problem-grid,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1160px, 94%);
  }
  
  .header-inner {
    padding: 12px 0;
  }
  
  .header-actions {
    gap: 12px;
  }
  
  .ghost-link {
    font-size: 14px;
  }
  
  .buy-compact {
    padding: 6px 14px;
    font-size: 14px;
  }
  
  .usp-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    font-size: 13px;
  }
  
  .hero {
    padding: 24px 0 16px;
  }
  
  .hero-title {
    font-size: clamp(24px, 5vw, 36px);
    line-height: 1.2;
  }
  
  .hero-sub {
    font-size: 15px;
  }
  
  .price {
    font-size: 24px;
  }
  
  .price-old {
    font-size: 16px;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  
  .btn-primary {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
  }
  
  .btn-ghost {
    width: 100%;
    text-align: center;
    margin-left: 0;
    padding: 12px 18px;
  }
  
  .gallery-img {
    max-width: 100%;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .trust-badges {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .badge {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .section-title {
    font-size: clamp(20px, 4vw, 26px);
  }
  
  .problem-grid,
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .problem-item,
  .solution-item {
    padding: 16px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-cta {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .reviews-grid {
    gap: 14px;
  }
  
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .cta-row .btn-primary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: 92%;
  }
  
  .header-inner {
    padding: 10px 0;
  }
  
  .brand-name {
    font-size: 14px;
  }
  
  .logo {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .ghost-link {
    font-size: 13px;
    display: none; /* Hide on very small screens, keep only Buy Now */
  }
  
  .buy-compact {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .usp-inner {
    font-size: 12px;
    padding: 8px 0;
  }
  
  .usp-item {
    white-space: nowrap;
  }
  
  .hero {
    padding: 20px 0 12px;
  }
  
  .hero-title {
    font-size: 22px;
    margin: 8px 0 6px;
  }
  
  .hero-sub {
    font-size: 14px;
  }
  
  .price-note {
    font-size: 13px;
  }
  
  .price {
    font-size: 22px;
  }
  
  .price-old {
    font-size: 15px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .gallery-img {
    max-width: min(92vw, 520px);
  }
  
  .dots {
    gap: 8px;
    margin-top: 10px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .benefits {
    padding: 24px 0;
  }
  
  .benefit {
    gap: 10px;
  }
  
  .benefit h3 {
    font-size: 15px;
  }
  
  .benefit p {
    font-size: 13px;
  }
  
  .ico {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  
  .section-title {
    font-size: 20px;
    margin: 16px 0 10px;
  }
  
  .info,
  .specs {
    padding: 20px 0;
  }
  
  .bulleted li,
  .checklist li {
    font-size: 14px;
    margin: 6px 0;
  }
  
  .problem-solution {
    padding: 24px 0 30px;
  }
  
  .problem-item h3,
  .solution-item h3 {
    font-size: 16px;
  }
  
  .problem-item p,
  .solution-item p {
    font-size: 13px;
  }
  
  .solution-section {
    margin-top: 30px;
  }
  
  .reviews {
    padding: 20px 0 30px;
  }
  
  .review {
    padding: 12px;
    font-size: 14px;
  }
  
  .stars {
    font-size: 14px;
  }
  
  .faq {
    padding: 20px 0 40px;
  }
  
  .faq details {
    padding: 10px;
    font-size: 14px;
  }
  
  .faq summary {
    font-size: 15px;
  }
  
  .policies {
    gap: 8px;
  }
  
  .policy {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .sticky-cta {
    display: block;
    padding: 12px 0;
  }
  
  .sticky-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .sticky-meta {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  
  .sticky-price {
    font-size: 18px;
  }
  
  .sticky-price-old {
    font-size: 12px;
  }
  
  .sticky-cta .btn-primary {
    width: 100%;
  }
  
  .footer-inner {
    padding: 20px 0;
  }
  
  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .footer-links li {
    font-size: 13px;
    margin: 6px 0;
  }
  
  .footer-bottom {
    padding-top: 16px;
  }
  
  .copyright {
    font-size: 12px;
  }
  
  .modal-dialog {
    width: 94%;
    padding: 18px 16px;
    margin: 4vh auto 0;
  }
  
  .modal-title {
    font-size: 18px;
  }
  
  .modal-sub {
    font-size: 13px;
  }
  
  .field input {
    padding: 10px 12px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .color-options {
    gap: 10px;
  }
  
  .color-swatch {
    width: 40px;
    height: 40px;
  }
  
  .color-label {
    font-size: 12px;
  }
  
  .success-dialog {
    width: 94%;
    padding: 24px 20px;
    margin: 10vh auto 0;
  }
  
  .success-title {
    font-size: 20px;
  }
  
  .success-message {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 90%;
  }
  
  .hero-title {
    font-size: 20px;
  }
  
  .price {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 18px;
  }
  
  .btn-primary,
  .btn-ghost {
    font-size: 15px;
    padding: 12px 18px;
  }
}


