@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand colors matching the ICCI Salem Logo */
  --bg-light: #f8fafc;
  --bg-page: #f1f5f9;
  --primary: #21409a;       /* Navy Blue */
  --accent-cyan: #1ba3ab;    /* Tech Cyan */
  --accent-yellow: #f3b111;  /* Accent Yellow */
  --accent-orange: #e26a2f;  /* Accent Orange */
  --accent-green: #60b644;   /* Accent Green */
  
  /* Light Theme UI colors */
  --text-main: #0f172a;      /* Slate 900 for headings */
  --text-secondary: #475569; /* Slate 600 for body copy */
  --border-color: rgba(33, 64, 154, 0.08);
  --card-bg: rgba(255, 255, 255, 0.85);
  
  /* Styling details */
  --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --glass-blur: blur(20px);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  background-image: radial-gradient(circle at center, rgba(33, 64, 154, 0.07) 0%, var(--bg-light) 80%);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle dot-pattern background overlay in light theme */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

/* Decorative Background Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  animation: floatBlob 25s infinite ease-in-out;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(33, 64, 154, 0.18) 0%, transparent 70%);
  top: 10%;
  left: 5%;
}

.blob-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(27, 163, 171, 0.14) 0%, transparent 70%);
  bottom: 5%;
  right: 5%;
  animation-delay: -8s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(243, 177, 17, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 35s;
  animation-delay: -4s;
}

@keyframes floatBlob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -60px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

/* Page wrapper to align everything vertically and horizontally */
.launch-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 10;
  perspective: 1200px; /* 3D Tilt perspective */
}

/* Main glassmorphic card in Light Theme */
.launch-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  width: 100%;
  max-width: 580px;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 40px rgba(33, 64, 154, 0.04);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.launch-card:hover {
  box-shadow: 0 35px 70px -10px rgba(15, 23, 42, 0.16), 0 0 50px rgba(33, 64, 154, 0.08);
}

/* Top border glow gradient */
.launch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan), var(--accent-yellow), var(--accent-orange));
}

/* Logo container & image */
.logo-container {
  margin-bottom: 2rem;
}

.logo-img {
  height: 105px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(33, 64, 154, 0.12));
}

.chamber-title {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  line-height: 1.4;
}

/* Coming Soon Badge in Light Theme */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(33, 64, 154, 0.05);
  border: 1px solid rgba(33, 64, 154, 0.12);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  animation: pulseBadge 3s infinite alternate;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* Typography styles */
h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.highlight-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Subscription Form Box */
.notify-box {
  background: rgba(33, 64, 154, 0.02);
  border: 1px solid rgba(33, 64, 154, 0.05);
  padding: 1.5rem;
  border-radius: 20px;
}

.notify-form {
  display: flex;
  gap: 0.75rem;
}

.form-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(33, 64, 154, 0.15);
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus {
  border-color: var(--accent-cyan);
  background: #ffffff;
  box-shadow: 0 0 12px rgba(27, 163, 171, 0.15);
}

.btn-submit {
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(33, 64, 154, 0.15);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 30%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  transition: none;
}

.btn-submit:hover {
  box-shadow: 0 6px 18px rgba(27, 163, 171, 0.35);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-submit:hover::after {
  left: 130%;
  transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Message Banners */
.form-message {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: fadeIn 0.4s ease forwards;
}

.form-message.success {
  background: rgba(96, 182, 68, 0.08);
  border: 1px solid var(--accent-green);
  color: #3b8e23;
}

.form-message.error {
  background: rgba(226, 106, 47, 0.08);
  border: 1px solid var(--accent-orange);
  color: #c24e16;
}

/* Footer style */
.minimal-footer {
  margin-top: 2rem;
  text-align: center;
}

.minimal-footer p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* Keyframes */
@keyframes pulseBadge {
  0% { box-shadow: 0 0 5px rgba(33, 64, 154, 0.05); }
  100% { box-shadow: 0 0 12px rgba(33, 64, 154, 0.15); }
}

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

/* Responsiveness */
@media (max-width: 580px) {
  .launch-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }
  
  .notify-form {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-submit {
    width: 100%;
  }
  
  .notify-box {
    padding: 1rem;
  }
}

@media (max-width: 400px) {
  .launch-wrapper {
    padding: 1.5rem 1rem;
  }
  
  .launch-card {
    padding: 2rem 1rem;
    border-radius: 16px;
  }
  
  .logo-img {
    height: 85px;
  }
  
  .badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    margin-bottom: 1.25rem;
  }
}
