@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap");

:root {
    --primary: #f59e0b; /* Professional Amber/Yellow */
    --primary-dark: #cc7d02;
    --secondary: #f8fafc;
    --accent: #3b82f6;
    --text: #0f172a; /* Navy/Dark Slate for high readability */
    --text-muted: #64748b;
    --bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  overflow: hidden;
  min-height: 100vh;
}

/* Background Mesh Gradient (Light) */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(245, 158, 11, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(255, 255, 255, 1) 0px, transparent 80%);
    overflow: hidden;
}

.bg-blobs::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.blob {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: move 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    animation-duration: 30s;
    animation-delay: -5s;
}

@keyframes move {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(50px, 100px) scale(1.1);
  }
}

main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.content {
  max-width: 800px;
  z-index: 10;
}

h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
}

p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
}

/* Countdown */
.countdown {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    justify-content: center;
}

.count-item {
    display: flex;
    flex-direction: column;
    min-width: 100px;
    position: relative;
}

.count-item:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -1.7rem;
    top: 0rem;
    font-size: 3rem;
    font-weight: 200;
    color: var(--glass-border);
}

.count-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.count-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Form */
.form-container {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    border-radius: 100px;
    display: flex;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

input {
    background: transparent;
    border: none;
    padding: 1rem 1.8rem;
    color: var(--text);
    flex-grow: 1;
    font-size: 1rem;
    outline: none;
}

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

button {
    background: var(--primary);
    color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
}

button:active {
    transform: translateY(0);
}

/* Footer / Social */
.social-links {
  position: absolute;
  bottom: 3rem;
  display: flex;
  gap: 2rem;
  opacity: 0;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.social-links a i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: var(--text);
}

.social-links a:hover i {
    transform: translateY(-5px);
    color: var(--primary-dark);
}

/* Animations */
.reveal {
  animation: revealUp 0.8s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .countdown {
    gap: 1rem;
  }
  .count-item {
    min-width: 60px;
  }
  .count-number {
    font-size: 1.5rem;
  }
  .form-container {
    flex-direction: column;
    background: transparent;
    border: none;
    gap: 1rem;
  }
  input {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
  }
}
