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

:root {
  --primary: #ff385c;
  --primary-dark: #e61e4d;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg: #fafafa;
  --white: #ffffff;
  --border: #e5e5e5;
  --shadow: rgba(0, 0, 0, 0.05);
  --shadow-lg: rgba(0, 0, 0, 0.1);
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -200px;
  left: -200px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--primary-dark);
  bottom: -150px;
  right: -150px;
  animation-delay: 10s;
}

@keyframes blob-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -50px) scale(1.1);
  }
}

/* Container */
.container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  z-index: 1;
}

.content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.logo-glow {
  position: absolute;
  inset: -8px;
  background: var(--primary);
  border-radius: 12px;
  filter: blur(12px);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.logo-wrapper:hover .logo-glow {
  opacity: 0.5;
}

.logo {
  position: relative;
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.logo-wrapper:hover .logo {
  transform: scale(1.05);
}

.brand-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin: 0;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-light);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

/* Signup Section */
.signup {
  margin-bottom: 4rem;
}

.signup-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 0.75rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.form-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(255, 56, 92, 0.15);
  transform: translateY(-2px);
}

.email-input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  color: var(--text-dark);
}

.email-input::placeholder {
  color: var(--text-lighter);
}

.submit-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 56, 92, 0.3);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 56, 92, 0.4);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  text-align: center;
  min-height: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

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

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-lighter);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(229, 229, 229, 0.5);
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(255, 56, 92, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-lighter);
}

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

  .header {
    margin-bottom: 2rem;
  }

  .hero {
    margin-bottom: 2rem;
  }

  .signup {
    margin-bottom: 3rem;
  }

  .form-group {
    flex-direction: column;
    padding: 0.75rem;
    border-radius: 12px;
  }

  .email-input {
    padding: 0.875rem 1rem;
    font-size: 16px; /* Prevent iOS zoom */
  }

  .submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-size: 16px; /* Prevent iOS zoom */
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.75rem;
  }

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

  .feature-icon {
    font-size: 2rem;
  }
}

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