/* ---------- Theme (IndiProps Purple + Orange) ---------- */
:root {
  --brand-purple: #6a39a3;
  --brand-orange: #e26d21;
  --bg1: #ffffff;
  --bg2: rgba(106, 57, 163, 0.07);
  --bg-accent: rgba(106, 57, 163, 0.07); /* soft purple wash */
  --text: #1a1a1a;
  --muted: rgba(26, 26, 26, 0.65);
  --soft: rgba(26, 26, 26, 0.1);
  --softer: rgba(26, 26, 26, 0.05);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, Helvetica Neue, Arial, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg1), var(--bg2)) fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    38rem 38rem at 60% 20%,
    var(--bg-accent),
    transparent 55%
  );
  pointer-events: none;
}

.container {
  max-width: 72rem;
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-purple));
}

.card {
  width: 100%;
  max-width: 48rem;
  border: 1px solid var(--soft);
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
.brand-copy h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--brand-purple);
}
.brand-copy p {
  margin: 0.1rem 0 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Headings ---------- */
.headline {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  margin: 0.25rem 0 0.5rem 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-orange);
}
.subhead {
  color: var(--muted);
  margin: 0 0 1.25rem 0;
  line-height: 1.55;
}

/* ---------- Countdown ---------- */
.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.timebox {
  border: 1px solid var(--soft);
  background: #fff;
  border-radius: 1rem;
  padding: 0.9rem;
  text-align: center;
}
.time {
  font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--brand-purple);
}
.label {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Notify Form ---------- */
.notify {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) {
  .notify {
    grid-template-columns: 1fr auto;
  }
}
.notify input {
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--soft);
  background: #fff;
  color: var(--text);
  padding: 0 1rem;
  outline: none;
}
.notify input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}
.notify input:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-purple) 25%, transparent);
}
.notify button {
  height: 3rem;
  padding: 0 1.25rem;
  border-radius: 1rem;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), #f08b41);
  font-weight: 700;
  cursor: pointer;
}
.notify button:hover {
  filter: brightness(0.98);
}

.form-message {
  min-height: 1.25rem;
  font-size: 0.95rem;
}
.form-message.ok {
  color: #0f9d58;
}
.form-message.error {
  color: #c62828;
}

/* ---------- Contact & Socials ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-link {
  color: #333;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-link:hover {
  color: var(--brand-purple);
}
.contact-link.muted {
  color: rgba(0, 0, 0, 0.55);
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--soft);
  color: var(--brand-purple);
  text-decoration: none;
  background: #fff;
}
.social-btn:hover {
  border-color: var(--brand-purple);
}

.copyright {
  text-align: center;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.8rem;
  margin-top: 1.25rem;
}

/* ---------- Utilities ---------- */
.hidden {
  display: none;
}
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
