/* Premium Light Mode Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #f8f9fc;
  --bg-pattern: #eef0f5;
  --text-color: #1a1d2e;
  --text-secondary: #4a5068;
  --text-muted: #7c829d;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-rose: #ec4899;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
  --gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.08) 50%, rgba(236, 72, 153, 0.06) 100%);
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(0, 0, 0, 0.06);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Decorative Background ─── */
.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
}

/* Decorative floating shapes */
.glow-circle {
  position: fixed;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: float 20s infinite ease-in-out;
}

.glow-1 {
  width: 300px;
  height: 300px;
  top: -5%;
  right: 10%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  animation-duration: 18s;
}

.glow-2 {
  width: 350px;
  height: 350px;
  bottom: -5%;
  left: 5%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(15px, -20px) scale(1.03);
  }
  50% {
    transform: translate(-10px, 10px) scale(0.97);
  }
  75% {
    transform: translate(20px, 15px) scale(1.02);
  }
}

/* ─── Decorative Dots Pattern ─── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
  pointer-events: none;
}

/* ─── Card Container ─── */
.container {
  width: 100%;
  max-width: 580px;
  padding: 2rem;
  z-index: 10;
  text-align: center;
  position: relative;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  animation: cardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Top gradient accent bar */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Subtle shimmer sweep on hover */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.8s ease;
  pointer-events: none;
  z-index: 1;
}

.card:hover::after {
  left: 100%;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─── Logo ─── */
.logo-container {
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
}

.logo {
  max-width: 140px;
  height: auto;
  border-radius: var(--radius-md);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
  transform: scale(1.06) rotate(1deg);
}

/* ─── Status Badge ─── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  animation: badgeIn 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes badgeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Typography ─── */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  animation: textIn 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes textIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

p.tagline {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  animation: textIn 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ─── Subscription Form ─── */
.form-container {
  position: relative;
  margin-bottom: 2rem;
  z-index: 2;
  animation: textIn 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

@media (min-width: 480px) {
  .notify-form {
    flex-direction: row;
    gap: 0;
    background: #fff;
    border: 1.5px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  .notify-form:focus-within {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  }
}

.email-input {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--card-border);
  color: var(--text-color);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.3s;
}

@media (min-width: 480px) {
  .email-input {
    background: transparent;
    border: none;
    padding: 12px 16px;
  }
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-input:focus {
  border-color: var(--primary);
}

@media (min-width: 480px) {
  .email-input:focus {
    border-color: transparent;
  }
}

.submit-btn {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s;
}

.submit-btn:hover::before {
  background: rgba(255, 255, 255, 0.15);
}

.submit-btn:hover {
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ─── Success State ─── */
.success-msg {
  display: none;
  color: #059669;
  font-weight: 600;
  margin-top: 1rem;
  gap: 8px;
  justify-content: center;
  align-items: center;
  animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─── Contact Info ─── */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  animation: textIn 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.phone-link:hover {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.2);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

/* ─── Social Links ─── */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
  animation: textIn 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.social-icon {
  color: var(--text-muted);
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.015);
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.2);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* ─── Footer ─── */
footer {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  z-index: 10;
  font-weight: 400;
  letter-spacing: 0.01em;
  animation: textIn 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ─── Decorative Ornaments ─── */
.ornament {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.ornament-1 {
  top: 50px;
  right: -20px;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(37, 99, 235, 0.06);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.ornament-2 {
  bottom: 60px;
  left: -15px;
  width: 50px;
  height: 50px;
  background: var(--gradient-soft);
  border-radius: 12px;
  transform: rotate(45deg);
  animation: spin 25s linear infinite reverse;
}

.ornament-3 {
  top: 30%;
  left: -30px;
  width: 12px;
  height: 12px;
  background: rgba(236, 72, 153, 0.15);
  border-radius: 50%;
  animation: floatSmall 6s infinite ease-in-out;
}

.ornament-4 {
  bottom: 25%;
  right: -25px;
  width: 8px;
  height: 8px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  animation: floatSmall 8s infinite ease-in-out reverse;
}

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

@keyframes floatSmall {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .container {
    padding: 1.25rem;
  }

  .card {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
  }

  h1 {
    font-size: 1.85rem;
  }

  p.tagline {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .ornament {
    display: none;
  }
}
