:root {
  --gradient-hero: linear-gradient(118deg, #ff8a2a 0%, #ff6e10 38%, #e55a00 68%, #a53a00 100%);
  --gradient-cta: linear-gradient(135deg, #FB923C 0%, #F97316 50%, #EA580C 100%);
  --gradient-cta-hover: linear-gradient(135deg, #FDBA74 0%, #FB923C 50%, #F97316 100%);
  --brand-action: #F97316;
  --brand-action-focus: #EA580C;
  --text-white: #FFFFFF;
  --text-dark: #1A1A1A;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

.hero-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-white);
  max-width: 900px;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-white);
  max-width: 600px;
  margin: 0;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 54.4px;
  padding: 1rem 1.6rem;
  font-size: 1.125rem;
  line-height: 18px;
  font-weight: 600;
  font-family: inherit;
  color: white;
  background: var(--gradient-cta);
  border: 1px solid var(--text-white);
  border-radius: 1rem;
  outline: 1px solid var(--brand-action-focus);
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  caret-color: transparent;
}

.cta-button:hover {
  filter: brightness(1.1);
}

@media (min-width: 768px) {
  .cta-button {
    width: auto;
    min-width: auto;
    min-height: auto;
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
    line-height: 14.4px;
  }
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.cta-button:focus-visible {
  outline: 2px solid var(--brand-action-focus);
  outline-offset: 4px;
}

.cta-text {
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1.125rem;
  white-space: nowrap;
  caret-color: transparent;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748B;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.modal-description {
  font-size: 1rem;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  background: white;
  color: var(--text-dark);
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--brand-action);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-input::placeholder {
  color: #94A3B8;
}

.form-input.error {
  border-color: #EF4444;
}

.form-error {
  display: none;
  font-size: 0.875rem;
  color: #EF4444;
  margin-top: 0.5rem;
}

.form-error.visible {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-white);
  background: var(--gradient-cta);
  border: 1px solid var(--brand-action);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover:not(:disabled) {
  background: var(--gradient-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-message {
  display: none;
  text-align: center;
  padding: 2rem;
}

.success-message.visible {
  display: block;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.success-text {
  font-size: 1rem;
  color: #64748B;
  margin: 0;
}

@media (min-width: 640px) {
  .hero-container {
    padding: 3rem 2rem;
  }

  .hero-content {
    gap: 4rem;
  }

  .hero-title {
    font-size: clamp(3rem, 5vw, 3.75rem);
  }

  .cta-button {
    width: auto;
    min-width: 280px;
  }

  .cta-text {
    font-size: 1.2rem;
    line-height: 1.2rem;
  }

  .modal {
    padding: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(3rem, 5vw, 3.75rem);
  }

  .cta-button {
    font-size: 1.2rem;
    line-height: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .hero-container {
    padding: 4rem 2rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
