:root {
  --primary: #E8620A;
  --primary-dark: #C24F08;
  --primary-light: #FFF8F5;
  --bg: #FAF8F5;
  --bg-card: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #888888;
  --text-soft: #666666;
  --border: #EEECE8;
  --green: #34C759;
}

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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

header {
  padding: 24px 32px;
  position: relative;
  z-index: 10;
}

.brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

section {
  display: none;
  animation: fadeInUp 0.6s ease;
}

section.active {
  display: block;
}

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

#hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 0 80px;
}

@media (min-width: 900px) {
  #hero {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 120px;
  }
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 200;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-highlight {
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 700px) {
  .hero-content h1 {
    font-size: 56px;
    letter-spacing: -2px;
  }
}

.subtitle {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.5;
}

.signup-form {
  background: var(--bg-card);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
  max-width: 480px;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  color: var(--text);
}

.input-group input:focus {
  border-color: var(--primary);
  background: white;
}

.hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.cta-button {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
  margin-top: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.cta-button:hover {
  background: var(--primary-dark);
}

.cta-button:active {
  transform: scale(0.98);
}

.cta-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cta-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  flex: 1;
  min-width: 90px;
}

.trust-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.trust-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero-visual {
  position: relative;
  height: 400px;
  display: none;
}

@media (min-width: 900px) {
  .hero-visual {
    display: block;
  }
}

.bubble-cloud {
  position: relative;
  width: 100%;
  height: 100%;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.85;
  animation: float 20s ease-in-out infinite;
}

.bubble-1 {
  width: 140px; height: 140px;
  top: 15%; left: 25%;
  animation-delay: 0s;
}
.bubble-2 {
  width: 90px; height: 90px;
  top: 45%; left: 55%;
  background: #FFA260;
  animation-delay: 2s;
}
.bubble-3 {
  width: 70px; height: 70px;
  top: 25%; left: 65%;
  background: #FFD0AC;
  animation-delay: 4s;
}
.bubble-4 {
  width: 110px; height: 110px;
  top: 60%; left: 20%;
  background: #FFB987;
  animation-delay: 1s;
}
.bubble-5 {
  width: 50px; height: 50px;
  top: 70%; left: 70%;
  animation-delay: 3s;
}
.bubble-6 {
  width: 80px; height: 80px;
  top: 5%; left: 60%;
  background: #FFD0AC;
  animation-delay: 5s;
}
.bubble-7 {
  width: 60px; height: 60px;
  top: 80%; left: 45%;
  background: #FFA260;
  animation-delay: 2.5s;
}
.bubble-8 {
  width: 45px; height: 45px;
  top: 35%; left: 8%;
  animation-delay: 4.5s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, -25px) scale(1.05);
  }
  50% {
    transform: translate(-15px, 15px) scale(0.95);
  }
  75% {
    transform: translate(10px, 20px) scale(1.02);
  }
}

#confirmation {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 16px;
}

.confirmation-content {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  border: 1px solid var(--border);
}

.success-icon {
  display: inline-flex;
  margin-bottom: 24px;
}

#confirmation h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.confirmation-message {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 40px;
  line-height: 1.6;
}

.next-steps {
  text-align: left;
  background: var(--primary-light);
  padding: 24px;
  border-radius: 14px;
  margin-bottom: 24px;
}

.next-steps h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}

.step + .step {
  border-top: 1px solid var(--border);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.step-text {
  flex: 1;
}

.step-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.step-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.confirmation-foot {
  font-size: 13px;
  color: var(--text-muted);
}

.confirmation-foot a {
  color: var(--primary);
  text-decoration: none;
}

.confirmation-foot a:hover {
  text-decoration: underline;
}

footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

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

@media (max-width: 600px) {
  header {
    padding: 20px;
  }

  .signup-form {
    padding: 20px;
  }

  .trust-row {
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    flex: 1;
    min-width: 80px;
  }

  #confirmation {
    margin: 30px auto;
  }

  .confirmation-content {
    padding: 32px 20px;
  }
}
