/* Sareti Coming Soon Stylesheet */
:root {
  --primary-color: #2E6FF2;
  --bg-color: #F9FAFB;
  --card-bg: #FFFFFF;
  --text-color: #1F2937;
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
  --accent-color: #F2F4F7;
  --success-color: #52C41A;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Background Glow Effects */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}

.bg-glow-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 111, 242, 0.15) 0%, rgba(46, 111, 242, 0) 70%);
  top: -10%;
  right: -10%;
}

.bg-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 111, 242, 0.1) 0%, rgba(46, 111, 242, 0) 70%);
  bottom: -15%;
  left: -15%;
}

/* Container */
.container {
  width: 100%;
  max-width: 580px;
  padding: 24px;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card - styled like the Flutter App CardTheme */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
  text-align: center;
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* Brand styling */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}

.slogan-container {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.brand-slogan {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.slogan-fallback {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

/* Content */
.content h1 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-color);
  letter-spacing: -0.5px;
}

.content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* Subscribe Form */
.subscribe-form {
  width: 100%;
  transition: opacity 0.3s ease;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Styled Input - matching the App Theme decoration */
.input-group input[type="email"] {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: var(--font-family);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: var(--card-bg);
  color: var(--text-color);
  outline: none;
  transition: var(--transition-smooth);
}

.input-group input[type="email"]::placeholder {
  color: #9CA3AF;
}

.input-group input[type="email"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(46, 111, 242, 0.12);
}

/* Styled Button - matching ElevatedButtonThemeData */
.btn-primary {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-family);
  color: #FFFFFF;
  background-color: var(--primary-color);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(46, 111, 242, 0.2);
}

.btn-primary:hover {
  background-color: #1D58D8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(46, 111, 242, 0.3);
}

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

.btn-icon {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(3px);
}

/* Success Message */
.success-message {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(82, 196, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-message h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
}

.success-message p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer links */
.footer-links {
  margin-top: 24px;
  text-align: center;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.app-link:hover {
  color: #1D58D8;
  text-decoration: underline;
}

/* Footer info */
.footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.15s;
  opacity: 0;
}

.delay-2 {
  animation-delay: 0.3s;
  opacity: 0;
}

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

/* Responsive Tablet/Desktop adjustments */
@media (min-width: 520px) {
  .input-group {
    flex-direction: row;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 6px;
    gap: 0;
    transition: var(--transition-smooth);
  }
  
  .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 111, 242, 0.12);
  }
  
  .input-group input[type="email"] {
    border: none;
    background-color: transparent;
    padding: 12px 16px;
  }
  
  .input-group input[type="email"]:focus {
    box-shadow: none;
  }
  
  .btn-primary {
    width: auto;
    white-space: nowrap;
    padding: 12px 24px;
    border-radius: 12px;
  }
}
