/* =========================================================
   Shwet Cera Innovations — Coming Soon
   Design tokens
========================================================= */
:root {
  --navy: #0b1f3a;
  --navy-light: #12294f;
  --orange: #f97316;
  --orange-light: #fdba74;
  --white: #ffffff;
  --gray-bg: #f4f6f9;
  --gray-text: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 20px 60px rgba(11, 31, 58, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

a { color: inherit; text-decoration: none; }

/* =========================================================
   Loader
========================================================= */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, var(--navy-light) 0%, var(--navy) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
#loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

#loaderCanvas { width: min(420px, 70vw); height: min(220px, 30vh); }

.loader-progress { text-align: center; color: var(--orange-light); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.loader-bar { width: 220px; height: 3px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-top: 0.6rem; overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transition: width 0.1s linear; }

/* =========================================================
   Background layers
========================================================= */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bg-blobs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobFloat 18s var(--ease) infinite;
}
.blob-navy { width: 480px; height: 480px; background: #1e3a67; top: -120px; left: -100px; }
.blob-orange { width: 420px; height: 420px; background: var(--orange); bottom: -140px; right: -80px; animation-delay: -6s; }
.blob-gray { width: 380px; height: 380px; background: #94a3b8; top: 40%; left: 60%; animation-delay: -12s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.95); }
}

/* =========================================================
   Nav
========================================================= */
.sci-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(11, 31, 58, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sci-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }
.sci-brand em { color: var(--orange); font-style: normal; font-weight: 600; opacity: 0.9; }

/* =========================================================
   Buttons
========================================================= */
.btn-sci-primary, .btn-sci-outline, .btn-sci-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  isolation: isolate;
}
.btn-sci-primary {
  background: linear-gradient(135deg, var(--orange), #ea580c);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
}
.btn-sci-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(249, 115, 22, 0.5); color: var(--white); }

.btn-sci-outline {
  border: 1.5px solid rgba(249, 115, 22, 0.6);
  color: var(--orange-light);
  background: rgba(249, 115, 22, 0.06);
}
.btn-sci-outline:hover { background: rgba(249, 115, 22, 0.16); transform: translateY(-3px); color: var(--orange-light); }

.btn-sci-ghost {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.btn-sci-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); color: var(--white); }

.btn-ripple::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0);
  opacity: 0;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  translate: -50% -50%;
  pointer-events: none;
}
.btn-ripple.rippling::after { animation: ripple 0.6s ease-out; }
@keyframes ripple { to { transform: scale(24); opacity: 0; } }

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1rem 4rem;
  z-index: 1;
}

#sphereCanvas {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  max-width: 900px;
  max-height: 900px;
  z-index: -1;
  opacity: 0.9;
}

.eyebrow {
  display: inline-block;
  color: var(--orange-light);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.hero-title .line { display: block; }
.hero-title .accent {
  background: linear-gradient(120deg, var(--orange-light), var(--orange) 60%, #fb923c);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.hero-sub {
  max-width: 640px;
  margin: 0 auto 1.2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
}

.hero-tag {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.4rem;
}
.typed-word { color: var(--orange-light); font-weight: 700; }
.typed-cursor { color: var(--orange); animation: blink 1s step-end infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 14px;
}
.scroll-hint span {
  display: block;
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  margin: 6px auto;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}

/* =========================================================
   Countdown
========================================================= */
.countdown {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.cd-card {
  min-width: 84px;
  padding: 1rem 0.6rem;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.cd-num {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  transition: transform 0.25s var(--ease);
}
.cd-num.tick { animation: cdTick 0.4s var(--ease); }
@keyframes cdTick { 0% { transform: translateY(-10px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.cd-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Sections (light theme body)
========================================================= */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  background: var(--gray-bg);
  color: var(--navy);
}
.section:nth-of-type(odd) { background: var(--white); }

.section-eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.section-lead { color: var(--gray-text); max-width: 640px; font-size: 1.05rem; }

/* Product cards */
.product-card {
  position: relative;
  height: 100%;
  padding: 2rem 1.6rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(11,31,58,0.08);
  box-shadow: 0 10px 30px rgba(11,31,58,0.06);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(249, 115, 22, 0.22);
}
.product-glow {
  position: absolute;
  inset: -40% -40% auto auto;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(249,115,22,0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.product-card:hover .product-glow { opacity: 1; }
.product-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--orange-light);
  margin-bottom: 1.2rem;
}
.product-icon svg { width: 26px; height: 26px; }
.product-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--navy); }
.product-card p { color: var(--gray-text); font-size: 0.92rem; margin: 0; }

/* Why choose */
.why-card {
  text-align: center;
  padding: 1.8rem 1rem;
  border-radius: 18px;
  height: 100%;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); background: rgba(249,115,22,0.06); }
.why-icon {
  width: 56px; height: 56px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(249,115,22,0.14), rgba(11,31,58,0.06));
  color: var(--orange);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin: 0; }

/* About */
.about-panel {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(11,31,58,0.04), rgba(249,115,22,0.05));
  border: 1px solid rgba(11,31,58,0.08);
}
.about-text { font-size: 1.08rem; line-height: 1.8; color: #334155; }

/* Contact */
.contact-card {
  height: 100%;
  padding: 2rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(11,31,58,0.08);
  box-shadow: 0 10px 30px rgba(11,31,58,0.06);
}
.contact-card h3 { color: var(--orange); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.contact-card p, .contact-card address { color: var(--navy); font-style: normal; font-size: 1.05rem; line-height: 1.7; margin: 0 0 1rem; }
.contact-card hr { border-color: rgba(11,31,58,0.1); margin: 1.2rem 0; }
.contact-card a:hover { color: var(--orange); }

.contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }

.social-row { display: flex; gap: 0.9rem; justify-content: center; margin-top: 2.2rem; }
.social-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.social-icon svg { width: 19px; height: 19px; }
.social-icon:hover { transform: translateY(-4px) rotate(-6deg); background: var(--orange); color: var(--white); }

/* Footer */
.sci-footer {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2.4rem;
  text-align: center;
}
.footer-copy { margin: 0.8rem 0 0.2rem; font-weight: 600; color: var(--white); }
.footer-tag { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* =========================================================
   Reveal-on-scroll
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 575.98px) {
  .hero { padding-top: 7rem; }
  .cd-card { min-width: 68px; padding: 0.8rem 0.4rem; }
  .contact-actions .btn-sci-primary,
  .contact-actions .btn-sci-outline { flex: 1 1 45%; }
}
