:root {
  --primary: #ff4d4d;
  --secondary: #2a2a2a;
  --dark: #121212;
  --light: #ffffff;
  --gray: #888888;
  --gradient: linear-gradient(90deg, #ff4d4d, #ff8080);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero {
  padding: 100px 0 60px;
  text-align: center;
}

h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 20px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-button {
  background: var(--gradient);
  color: var(--light);
  border: none;
  padding: 16px 32px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 77, 0.3);
}

.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background-color: var(--secondary);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-icon {
  font-size: 28px;
  margin-right: 12px;
}

.feature-title {
  font-size: 22px;
  font-weight: 600;
}

.how-it-works {
  padding: 80px 0;
  background-color: rgba(255, 77, 77, 0.05);
  border-radius: 12px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background: var(--gradient);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  background-color: var(--secondary);
  border-radius: 12px;
  padding: 24px;
  flex-grow: 1;
}

.step-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.pricing {
  padding: 80px 0;
  text-align: center;
}

.price-card {
  background-color: var(--secondary);
  max-width: 500px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.price {
  font-size: 48px;
  font-weight: 800;
  margin: 20px 0;
}

.price span {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray);
}

.price-description {
  color: var(--gray);
  margin-bottom: 30px;
}

.price-features {
  margin: 30px 0;
  text-align: left;
}

.price-feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.check {
  color: var(--primary);
  margin-right: 10px;
}

.contacts {
  padding: 80px 0;
  text-align: center;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-card {
  background-color: var(--secondary);
  padding: 24px;
  border-radius: 12px;
  width: 250px;
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

footer {
  padding: 40px 0;
  text-align: center;
  color: var(--gray);
  font-size: 14px;
}

/* Auth pages styles */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  background-color: var(--secondary);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.auth-subtitle {
  color: var(--gray);
  font-size: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--light);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--dark);
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--light);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--gray);
}

.form-button {
  width: 100%;
  background: var(--gradient);
  color: var(--light);
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 77, 0.3);
}

.form-links {
  text-align: center;
  margin-top: 20px;
}

.form-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.form-link:hover {
  color: var(--light);
}

.form-divider {
  margin: 20px 0;
  text-align: center;
  position: relative;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--gray);
  opacity: 0.3;
}

.form-divider span {
  background-color: var(--secondary);
  padding: 0 15px;
  color: var(--gray);
  font-size: 14px;
}

/* Error page styles */
.error-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.error-content {
  max-width: 500px;
}

.error-code {
  font-size: 120px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  line-height: 1;
}

.error-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.error-message {
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  .subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 30px;
  }

  .feature-card,
  .step-content,
  .price-card,
  .contact-card {
    padding: 20px;
  }

  .step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 10px;
  }

  .auth-card {
    padding: 30px 20px;
  }

  .error-code {
    font-size: 80px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-message {
    font-size: 16px;
  }
}
