/* ===========================================================
   ClearShine — Clean Better. Shine Brighter.
   Brand palette (matched to logo):
     - White:         #FFFFFF
     - Light blue:    #DBEAFE / #BFDBFE
     - Royal blue:    #1660C9 / #0D4FA8 / #3FA1E8
     - Grass green:   #7EC242 / #4FA01E
     - Dark navy:     #0E1E40 / #1A2D55
     - Soft gray bg:  #F6F9FC
     - Body gray:     #475569
   =========================================================== */

:root {
  --white: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-soft-2: #eef5fa;
  --border: #dbe3ee;
  --light-blue: #dbeafe;
  --light-blue-2: #bfdbfe;

  /* Brand royal blues (logo "Shine" text + swoosh) */
  --aqua: #1660c9;
  --aqua-deep: #0d4fa8;
  --aqua-bright: #3fa1e8;

  /* Aliases for clarity */
  --brand: #1660c9;
  --brand-deep: #0d4fa8;
  --brand-light: #3fa1e8;

  /* Grass-green accent from logo ribbon */
  --accent-green: #7ec242;
  --accent-green-deep: #4fa01e;

  --navy: #0e1e40;
  --navy-2: #1a2d55;
  --text: #1a2d55;
  --muted: #475569;
  --muted-2: #64748b;

  --shadow-sm: 0 1px 2px rgba(14, 30, 64, .04), 0 1px 3px rgba(14, 30, 64, .06);
  --shadow-md: 0 6px 18px rgba(14, 30, 64, .07), 0 2px 6px rgba(14, 30, 64, .05);
  --shadow-lg: 0 18px 40px rgba(13, 79, 168, .12), 0 8px 18px rgba(14, 30, 64, .06);

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --container: 1180px;
  --header-h: 100px;
  --transition: 200ms cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--aqua-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 .5rem;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p  { margin: 0 0 1rem; color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: var(--light-blue);
  padding: .375rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* =========== Buttons =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }

.btn-primary {
  background-color: var(--brand);
  background-image: linear-gradient(180deg, var(--brand-light) 0%, var(--brand) 60%, var(--brand-deep) 100%);
  color: var(--white);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .25) inset,
    0 -1px 0 rgba(0, 0, 0, .12) inset,
    0 6px 14px rgba(13, 79, 168, .28);
}
.btn-primary:hover {
  color: #fff;
  background-image: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .22) inset,
    0 -1px 0 rgba(0, 0, 0, .15) inset,
    0 8px 18px rgba(13, 79, 168, .38);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 0 0 1.5px var(--border) inset;
}
.btn-ghost:hover {
  color: var(--brand-deep);
  box-shadow: 0 0 0 1.5px var(--brand) inset;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55) inset;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85) inset;
}

.btn-soft {
  background-color: var(--light-blue);
  color: var(--brand-deep);
  cursor: not-allowed;
  opacity: .95;
}
.btn-soft:disabled { cursor: not-allowed; }

/* Smaller header CTA */
.nav-cta { height: 40px; padding: 0 18px; font-size: 14px; }

/* =========== Header =========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, .92);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .65rem; }
.brand:hover { color: inherit; }
.brand-logo {
  display: block;
  height: 74px;
  width: auto;
  max-width: 290px;
}
.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-tag {
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: .02em;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list {
  display: flex; gap: 1.6rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: var(--navy-2);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}
.nav-list a:hover { color: var(--aqua-deep); }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--aqua); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--transition);
}
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; padding: 10px;
  flex-direction: column; justify-content: space-between;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--navy);
  border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========== Hero =========== */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(1000px 480px at 90% -10%, rgba(63, 161, 232, .14), transparent 60%),
    radial-gradient(800px 480px at -10% 30%, rgba(186, 230, 253, .55), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 1rem;
}
.slogan {
  font-weight: 700;
  font-size: 1rem;
  color: var(--aqua-deep);
  letter-spacing: .02em;
  margin: 1rem 0 1.75rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.slogan::before {
  content: ""; width: 28px; height: 2px; background: var(--aqua); border-radius: 2px;
}
.slogan-light { color: rgba(255, 255, 255, .92); }
.slogan-light::before { background: rgba(255,255,255,.6); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-actions.center { justify-content: center; }

.hero-pills {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.hero-pills li {
  font-size: .8rem; font-weight: 600;
  color: var(--navy-2);
  background: var(--white);
  border: 1px solid var(--border);
  padding: .45rem .85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Hero visual */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 100%);
  aspect-ratio: 4 / 3;
}
.hero-scene,
.hero-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: .65rem 1rem;
  border-radius: 12px;
  display: inline-flex; align-items: center; gap: .65rem;
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(126, 194, 66, .25);
}

/* =========== Sections =========== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: .5rem; }

/* =========== Cards (offer + trust) =========== */
.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-blue-2);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--light-blue), #ecfeff);
  color: var(--aqua-deep);
  margin-bottom: 1rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p  { margin: 0; font-size: .95rem; }

/* Trust */
.trust {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.trust:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-num {
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--aqua-bright), var(--aqua-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .25rem;
}
.trust h3 { margin-bottom: .35rem; }
.trust p { margin: 0; font-size: .95rem; }

/* =========== Products =========== */
.product {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-blue-2);
}
.product-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--light-blue), #f0f9ff);
  overflow: hidden;
}
.product-media svg,
.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2, .7, .3, 1);
}
.product:hover .product-media img,
.product:hover .product-media svg { transform: scale(1.04); }
.product-media-foam   { background: linear-gradient(135deg, #ecfeff, #cffafe); }
.product-media-plastic{ background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.product-media-scratch{ background: linear-gradient(135deg, #f1f5f9, #e2e8f0); }
.product-media .tone-aqua  { background: linear-gradient(135deg, #cffafe, #a5f3fc); }
.tone-aqua  { background: linear-gradient(135deg, #cffafe, #a5f3fc); }
.tone-sky   { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.tone-mint  { background: linear-gradient(135deg, #ecfeff, #cffafe); }
.tone-navy  { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }

.product-body {
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .65rem;
  flex: 1;
}
.product-body h3 { margin: .25rem 0 0; }
.product-body p  { font-size: .95rem; margin: 0 0 1rem; flex: 1; }
.product-tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--aqua-deep);
  background: var(--light-blue);
  padding: .3rem .6rem; border-radius: 999px;
}
.product-note {
  font-size: .78rem; color: var(--muted-2); text-align: center; margin-top: .5rem;
}
.product-featured { border-color: var(--light-blue-2); }

.catalog-note {
  text-align: center;
  margin: 2.5rem 0 0;
  color: var(--muted-2);
  font-weight: 500;
}

/* =========== ClearShine in Action =========== */
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.scene {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.scene:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-blue-2);
}
.scene-media {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}
.scene-media svg,
.scene-media img,
.scene > svg,
.scene > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2, .7, .3, 1);
}
.scene > svg, .scene > img { aspect-ratio: 5 / 3; }
.scene:hover .scene-media img,
.scene:hover .scene-media svg,
.scene:hover > img,
.scene:hover > svg { transform: scale(1.04); }
.scene-body {
  padding: 1.5rem;
}
.scene-body h3 { margin: 0 0 .35rem; }
.scene-body p { margin: 0; font-size: .95rem; }

@media (max-width: 1024px) {
  .action-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .action-grid { grid-template-columns: 1fr; }
}

/* =========== CTA Band =========== */
.cta-band {
  background:
    radial-gradient(800px 280px at 100% 0%, rgba(34,211,238,.35), transparent 60%),
    linear-gradient(135deg, var(--aqua-deep) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); }
.cta-inner p  { color: rgba(255, 255, 255, .85); }

/* =========== Contact =========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-list {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; gap: .75rem;
}
.contact-list li {
  display: grid; grid-template-columns: 110px 1fr;
  align-items: baseline; gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-2);
}
.contact-value { color: var(--navy); font-weight: 500; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: grid; gap: 1rem;
}
.field { display: grid; gap: .4rem; }
.field label {
  font-size: .85rem; font-weight: 600; color: var(--navy-2);
}
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--navy);
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--aqua);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(22, 96, 201, .18);
}
.form-note {
  font-size: .9rem; margin: 0; min-height: 1.2em;
  color: var(--aqua-deep);
}
.form-note.error { color: #b91c1c; }
.form-note.success { color: #047857; }

/* =========== Footer =========== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand-name { color: var(--white); display: block; font-size: 1.25rem; }
.footer-brand .brand-tag  { color: var(--aqua-bright); display: block; margin-top: .15rem; font-weight: 500; }
.footer-meta { color: rgba(255, 255, 255, .6); font-size: .9rem; margin-top: 1rem; }

.site-footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .footer-contact p {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
}
.footer-links a:hover { color: var(--aqua-bright); }
.footer-contact p { margin: 0 0 .5rem; }

.footer-social {
  list-style: none;
  padding: 0; margin: 1rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.footer-social a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .85rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  font-size: .85rem; font-weight: 500;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover {
  color: var(--white);
  background: rgba(63, 161, 232, .22);
  border-color: rgba(63, 161, 232, .55);
}
.footer-social svg { display: block; }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .55);
}
.footer-credit { color: var(--aqua-bright); }

/* =========== Responsive =========== */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-list, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav.open {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch; gap: 1rem;
  }
  .nav.open .nav-list {
    display: flex; flex-direction: column; gap: .25rem;
  }
  .nav.open .nav-list a {
    padding: .9rem .75rem;
    border-radius: 10px;
    font-weight: 500;
  }
  .nav.open .nav-list a:hover { background: var(--bg-soft); }
  .nav.open .nav-cta { display: inline-flex; align-self: stretch; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .brand-logo { height: 52px; max-width: 200px; }
}

@media (max-width: 540px) {
  :root { --header-h: 68px; }
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
  .brand-logo { height: 44px; max-width: 170px; }
  .contact-form { padding: 1.5rem; }
}

/* =========== Accessibility =========== */
:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
  border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
