/* Khojiyo.com Coming Soon Styles */
:root {
  --bg: #050816;
  --bg-secondary: #0b1020;
  --bg-panel: #111827;
  --accent: #ff6a3d;          /* Orange */
  --accent-2: #9d4edd;        /* Violet */
  --accent-soft: rgba(255, 106, 61, 0.16);
  --accent-2-soft: rgba(157, 78, 221, 0.16);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --error: #f97373;
  --success: #4ade80;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --radius-xl: 24px;
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.9);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 106, 61, 0.18) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(157, 78, 221, 0.2) 0, transparent 60%),
    #020617;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wrapper {
  width: 100%;
  max-width: 960px;
}

.card {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  padding: 28px 24px 22px;
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.45;
  z-index: 0;
}

.card::before {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--accent) 0, transparent 70%);
  top: -140px;
  right: -40px;
}

.card::after {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--accent-2) 0, transparent 70%);
  bottom: -140px;
  left: -40px;
}

.card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 28px;
}

/* HEADER */
.header-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: 44px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo-text-main {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.logo-text-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-new-message {
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2-soft));
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fed7aa;
}

.badge-new-message i {
  font-size: 0.8rem;
}

/* MAIN */
.main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
}

.title {
  font-size: clamp(1.9rem, 2.7vw, 2.3rem);
  line-height: 1.2;
  font-weight: 600;
}

.title span {
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.description {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.launch-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* COUNTDOWN */
.countdown {
  display: flex;
  gap: 12px;
  margin: 6px 0 4px;
  flex-wrap: wrap;
}

.countdown-item {
  min-width: 70px;
  padding: 8px 12px;
  border-radius: 16px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
  text-align: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
}

.countdown-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.countdown-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* SIDE PANEL */
.side-panel {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.99));
  border-radius: 18px;
  padding: 18px 18px 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.side-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.input-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.input-wrap input[type="email"] {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  font-size: 0.86rem;
  outline: none;
}

.input-wrap input::placeholder {
  color: #6b7280;
}

.input-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 106, 61, 0.5);
}

.input-wrap button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020617;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.input-wrap button:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.9);
  filter: brightness(1.03);
}

.input-wrap button:active {
  transform: translateY(1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.9);
}

.form-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.form-message {
  font-size: 0.8rem;
  min-height: 1.1em;
}

.form-message.error {
  color: var(--error);
}

.form-message.success {
  color: var(--success);
}

/* FOOTER */
.footer-row {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.footer-text span {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.22) 0, transparent 60%);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    background 0.15s ease;
}

.socials a:hover {
  color: #fef3c7;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top, rgba(255, 106, 61, 0.35) 0, transparent 65%);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .card-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .card {
    padding: 22px 18px 18px;
  }

  .header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-row {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    padding: 16px;
  }

  .title {
    font-size: 1.7rem;
  }

  .input-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .input-wrap button {
    width: 100%;
    text-align: center;
  }
}
