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

:root {
  --bg-color: #0b0c10;
  --card-bg: rgba(18, 20, 29, 0.45);
  --card-border: rgba(255, 255, 255, 0.06);
  --primary-accent: #fbbf24; /* Traditional Construction Yellow */
  --primary-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Glow */
.glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.orb-1 {
  top: -10%;
  right: 15%;
  width: 350px;
  height: 350px;
  background: rgba(217, 119, 6, 0.12); /* Warm Amber */
  animation: float-slow 15s infinite ease-in-out alternate;
}

.orb-2 {
  bottom: -5%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: rgba(251, 191, 36, 0.08); /* Construction Yellow */
  animation: float-slow 20s infinite ease-in-out alternate-reverse;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-20px, 10px) scale(0.9); }
}

/* Container Wrapper */
.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  min-height: 90vh;
  justify-content: space-between;
}

header {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Content Panel */
.content-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-badge {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: inline-block;
}

/* Construction Icon */
.construction-icon-container {
  width: 130px;
  height: 130px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.construction-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.45));
}

.gear-spins {
  transform-origin: 50px 50px;
  animation: rotate-gear 12s linear infinite;
}

.triangle-draw {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw-triangle 3s ease-in-out forwards;
}

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

@keyframes draw-triangle {
  to { stroke-dashoffset: 0; }
}

/* Form Styling */
.form-container {
  width: 100%;
  max-width: 480px;
}

#subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 520px) {
  #subscribe-form {
    flex-direction: row;
    gap: 0.5rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 0.4rem;
    transition: all 0.3s ease;
  }

  #subscribe-form:focus-within {
    border-color: var(--primary-accent);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.05);
  }

  #subscribe-form input {
    background: transparent !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
  }

  #subscribe-form input:focus {
    box-shadow: none !important;
  }

  #subscribe-form button {
    border-radius: 8px !important;
    padding: 0.8rem 1.5rem !important;
    white-space: nowrap;
  }
}

#subscribe-form input {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  outline: none;
  flex-grow: 1;
  transition: all 0.3s ease;
}

#subscribe-form input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

#subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

#subscribe-form button {
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

#subscribe-form button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

#subscribe-form button:active {
  transform: translateY(0);
}

.form-message {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.form-message.success {
  color: #10b981;
}

.form-message.error {
  color: #ef4444;
}

/* Footer Styling */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}
