/* ============================================================
   Super 8 — Saturn Chemicals
   Design tokens derived from approved packaging artwork
   ============================================================ */

:root {
  --pink: #E8048B;
  --pink-soft: #E54AAB;
  --cyan: #0CADDB;
  --cyan-light: #8ED5EC;
  --indigo: #2E2B70;
  --indigo-deep: #201D52;
  --cloud: #EFEFF5;
  --ink: #1B1B2F;
  --ink-soft: #4A4860;
  --white: #FFFFFF;
  --warn-bg: #FFF4E5;
  --warn-border: #E8A23C;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 30px rgba(46, 43, 112, 0.12);
  --shadow-card: 0 6px 18px rgba(46, 43, 112, 0.08);

  --max-width: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--indigo);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.5em; color: var(--ink-soft); }

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

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(46,43,112,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 46px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--indigo);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
}
.nav a:hover { color: var(--pink); text-decoration: none; }
.nav a.active { color: var(--pink); }
.nav-cta {
  background: var(--pink);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--pink-soft); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--indigo);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav-cta { margin-top: 8px; text-align: center; }
}

/* ---------------- Wave divider (signature element) ---------------- */
.wave {
  display: block;
  width: 100%;
  height: 46px;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}
.wave-into-white { fill: var(--white); }
.wave-into-cloud { fill: var(--cloud); }
.wave-into-indigo { fill: var(--indigo); }

/* ---------------- Hero (page banner, secondary pages) ---------------- */
.page-hero {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-soft) 55%, var(--cyan) 130%);
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.16) 0px,
    rgba(255,255,255,0.16) 2px,
    transparent 2px,
    transparent 34px
  );
  pointer-events: none;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1, .page-hero p { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.92); font-size: 1.05rem; max-width: 640px; }
.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------------- Home hero ---------------- */
.home-hero {
  background: linear-gradient(160deg, var(--pink) 0%, var(--pink-soft) 50%, var(--cyan) 145%);
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.16) 0px,
    rgba(255,255,255,0.16) 2px,
    transparent 2px,
    transparent 34px
  );
  pointer-events: none;
  z-index: 0;
}
.home-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 36px;
}
.home-hero h1 { color: var(--white); }
.home-hero .tagline {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.home-hero p.lede { color: rgba(255,255,255,0.92); font-size: 1.05rem; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-art {
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}
.hero-art img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 50px rgba(20,15,50,0.35);
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
}
@media (max-width: 860px) {
  .home-hero .container { grid-template-columns: 1fr; text-align: center; padding-bottom: 50px; }
  .home-hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art img { max-width: 240px; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--white); color: var(--pink); }
.btn-primary:hover { background: var(--cloud); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-solid { background: var(--pink); color: var(--white); }
.btn-solid:hover { background: var(--pink-soft); }

/* ---------------- Sections ---------------- */
section { padding: 70px 0; }
.section-cloud { background: var(--cloud); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.kicker {
  display: block;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.section-head .kicker {
  display: block;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

/* ---------------- Feature cards ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: var(--white);
}
.feature-icon.pink { background: var(--pink); }
.feature-icon.cyan { background: var(--cyan); }
.feature-icon.indigo { background: var(--indigo); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------------- Split content (text + image) ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.split.reverse .split-media { order: 2; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--indigo);
  color: var(--white);
  text-align: center;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 28px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--indigo);
  color: rgba(255,255,255,0.85);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 1.05rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.93rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 18px 0;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* ---------------- Tables / lists used in content pages ---------------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(46,43,112,0.1);
  font-size: 0.95rem;
}
.info-table td:first-child {
  font-weight: 600;
  color: var(--indigo);
  width: 38%;
}

.callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
@media (max-width: 760px) { .callout-grid { grid-template-columns: 1fr; } }
.callout-pill {
  background: var(--cloud);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--indigo);
}
.callout-pill .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

.instruction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 28px 0;
}
@media (max-width: 760px) { .instruction-grid { grid-template-columns: 1fr; } }
.instruction-card {
  background: var(--white);
  border: 1px solid rgba(46,43,112,0.1);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.instruction-card h4 {
  color: var(--pink);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.safety-box {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 28px 0;
}
.safety-box h4 { color: #8a5a12; margin-bottom: 10px; }
.safety-box li { color: #6b4810; }

/* ---------------- Contact page ---------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 34px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(46,43,112,0.2);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cloud);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--cyan);
  background: var(--white);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status.success { color: #1f8a4c; }
.form-status.error { color: #c43a3a; }

.contact-info-card {
  background: var(--cloud);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-info-card h3 { margin-bottom: 16px; }
.contact-info-card .info-table td { background: transparent; }

/* ---------------- Misc ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-india {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cloud);
  color: var(--indigo);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 10px;
}
