/* AasthaOne – Coming Soon */

:root {
  --primary-start: #f28c3a;
  --primary-end: #eb5b2a;
  --primary: #ee6f30;
  --primary-dark: #d4521f;
  --primary-soft: #fff1e7;
  --primary-gradient: linear-gradient(135deg, var(--primary-start), var(--primary-end));

  --bg: #fffaf6;
  --surface: #ffffff;
  --text: #6f5f55;
  --text-h: #2b1d14;
  --border: #f3e4d8;
  --shadow-sm: 0 1px 2px rgba(120, 60, 20, 0.06), 0 2px 8px rgba(120, 60, 20, 0.05);
  --shadow: 0 4px 12px rgba(120, 60, 20, 0.06), 0 16px 40px rgba(120, 60, 20, 0.08);

  /* Bootstrap overrides */
  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
}

html,
body {
  overflow-x: hidden; /* fallback for browsers without overflow: clip */
  overflow-x: clip;   /* keeps the background glows from causing sideways scroll on iOS */
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Hero fills the space between header and footer, so the footer sits at the bottom */
main {
  flex: 1;
  display: flex;
  align-items: center;
}

h1, h2, h3 {
  color: var(--text-h);
}

/* Background glows */
.bg-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.bg-glow-1 {
  top: -160px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: rgba(242, 140, 58, 0.22);
}

.bg-glow-2 {
  top: 120px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: rgba(235, 91, 42, 0.14);
}

/* Header */
.site-logo {
  height: 44px;
  width: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(238, 111, 48, 0.6);
  animation: ping 1.8s infinite;
}

@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(238, 111, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 111, 48, 0); }
}

/* Hero */
.hero {
  padding-top: 32px;
  padding-bottom: 80px;
}

.hero-mark {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
}

.mandala {
  position: absolute;
  inset: 0;
  color: rgba(238, 111, 48, 0.35);
  animation: spin 60s linear infinite;
}

.diya {
  position: absolute;
  inset: 36px;
  width: 128px;
  height: 128px;
  filter: drop-shadow(0 10px 24px rgba(235, 91, 42, 0.35));
  animation: glow 3s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 10px 24px rgba(235, 91, 42, 0.3)); transform: translateY(0); }
  50% { filter: drop-shadow(0 12px 32px rgba(242, 140, 58, 0.55)); transform: translateY(-4px); }
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 18px;
  border: 1px solid rgba(238, 111, 48, 0.25);
  border-radius: 999px;
  background: var(--primary-soft);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-chip .bi {
  color: var(--primary);
}

.hero-title {
  margin: 0 auto 24px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  text-wrap: balance;
}

.hero-title .text-gradient {
  white-space: nowrap;
}

/* Each line of the headline starts on its own row */
.hero-line {
  display: block;
}

/* From tablets up, keep each line whole so the headline is exactly two lines */
@media (min-width: 768px) {
  .hero-line {
    white-space: nowrap;
  }
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
}

.hero-lead + .hero-lead {
  margin-top: 16px;
}

.hero-signoff {
  margin: 24px auto 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  text-wrap: balance;
}

/* Brand button */
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  border: none;
  border-radius: 14px;
  padding: 12px 24px;
  font-weight: 700;
  background: var(--primary-gradient);
  box-shadow: 0 8px 20px rgba(235, 91, 42, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-brand:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(235, 91, 42, 0.38);
}

@media (hover: hover) {
  .btn-brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(235, 91, 42, 0.38);
  }
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.countdown.d-none {
  display: none !important;
}

.countdown-item {
  min-width: 92px;
  padding: 16px 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.countdown-item span {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-h);
  font-variant-numeric: tabular-nums;
}

.countdown-item small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Notify form */
.notify-form {
  max-width: 520px;
  margin: 32px auto 0;
}

.notify-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 18px;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.notify-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(238, 111, 48, 0.15), var(--shadow);
}

.notify-input > .bi {
  color: var(--primary);
  font-size: 18px;
}

.notify-input .form-control {
  border: none;
  box-shadow: none;
  padding: 8px 4px;
  font-size: 16px;
  color: var(--text-h);
  background: transparent;
}

.notify-input .btn-brand {
  flex-shrink: 0;
  white-space: nowrap;
}

.notify-message {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.notify-message.success { color: #15803d; }
.notify-message.error { color: #b91c1c; }

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
}

.footer-logo {
  height: 32px;
  width: auto;
}

/* Scroll reveal (only when JS has run, so content is never hidden without it) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .mandala, .diya, .status-dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Phones */
@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 2rem; } /* 16px side gutter */
  .site-logo { height: 34px; }
  .status-pill { padding: 6px 12px; font-size: 13px; }
  .hero { padding-top: 16px; padding-bottom: 56px; }
  .hero-mark { width: 160px; height: 160px; margin-bottom: 16px; }
  .diya { inset: 30px; width: 100px; height: 100px; }
  .hero-chip { gap: 6px; margin-bottom: 16px; padding: 7px 14px; font-size: 13px; }
  .hero-title { font-size: clamp(28px, 8.5vw, 36px); letter-spacing: -0.8px; margin-bottom: 16px; }
  .hero-lead { font-size: 16px; }
  .hero-lead + .hero-lead { margin-top: 12px; }
  .hero-signoff { margin-top: 20px; font-size: 16px; }
  .countdown { gap: 8px; margin-top: 28px; }
  .countdown-item { min-width: 0; flex: 1; padding: 12px 4px; border-radius: 14px; }
  .countdown-item span { font-size: 26px; }
  .countdown-item small { font-size: 10px; letter-spacing: 0.5px; }
  .notify-input { flex-wrap: wrap; padding: 10px; }
  .notify-input .form-control { flex: 1; min-width: 0; }
  .notify-input .btn-brand { width: 100%; }
  .site-footer { padding: 24px 0; text-align: center; }
}

/* Small phones (iPhone SE 1st gen, Galaxy Fold, etc.) */
@media (max-width: 359.98px) {
  .site-logo { height: 28px; }
  .status-pill { gap: 6px; padding: 5px 10px; font-size: 12px; }
  .hero-chip { padding: 6px 10px; font-size: 11.5px; }
  .hero-chip .bi { display: none; }
  .hero-mark { width: 140px; height: 140px; }
  .diya { inset: 26px; width: 88px; height: 88px; }
  .countdown-item span { font-size: 22px; }
}
