/* ========================================
   Hamia - Under Construction Page
   Light Theme with Modern Design
   ======================================== */

/* CSS Variables */
:root {
  --primary: #2ecc71;
  --primary-dark: #27ae60;
  --primary-light: #a8e6cf;
  --primary-bg: rgba(46, 204, 113, 0.08);
  --text-dark: #1a1a2e;
  --text-medium: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 10px 30px rgba(46, 204, 113, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  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: var(--bg-white);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Decorative Background */
.decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  opacity: 0.4;
}

.circle-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  animation: float 25s ease-in-out infinite;
}

.circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  animation: float 20s ease-in-out infinite reverse;
}

.circle-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: float 30s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* Container */
.container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
  animation: fadeIn 0.6s ease-out;
}

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

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0 40px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-bg);
  border: 1px solid rgba(46, 204, 113, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

.hero-description {
  font-size: 1.125rem;
  color: var(--text-medium);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  min-width: 90px;
  transition: var(--transition);
}

.countdown-block:hover {
  background: var(--primary-bg);
  border-color: rgba(46, 204, 113, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.countdown-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-top: 6px;
}

.countdown-divider {
  width: 4px;
  height: 4px;
  background: var(--border-light);
  border-radius: 50%;
}

/* Signup Form */
.signup-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-light);
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 16px 16px 48px;
  font-size: 1rem;
  color: var(--text-dark);
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.input-wrapper input::placeholder {
  color: var(--text-light);
}

.input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
  background: var(--bg-white);
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

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

.form-message {
  margin-top: 12px;
  font-size: 0.875rem;
  min-height: 20px;
  text-align: center;
}

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

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

/* Features */
.features {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 40px 0;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature:hover {
  background: var(--bg-white);
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.feature-content p {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Footer */
.footer {
  padding: 32px 0 20px;
  text-align: center;
  animation: fadeInUp 0.6s ease-out 0.7s both;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-medium);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

.footer-info p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-location {
  margin-top: 4px;
  font-size: 0.8125rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 24px 20px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .countdown {
    gap: 8px;
  }

  .countdown-block {
    padding: 14px 16px;
    min-width: 70px;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .countdown-divider {
    display: none;
  }

  .signup-form {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .features {
    flex-direction: column;
    gap: 16px;
  }

  .feature {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .countdown-block {
    padding: 12px 14px;
    min-width: 60px;
  }

  .countdown-number {
    font-size: 1.25rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
