:root {
  --primary-color: #2D3436;
  --secondary-color: #6c5ce7;
  --accent-color: #00b894;
  --text-color: #2D3436;
  --light-gray: #DFE6E9;
  --white: #FFFFFF;
  --error-color: #e74c3c;
  --success-color: #27ae60;
  --gradient-primary: linear-gradient(135deg, #6c5ce7, #00b894);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Accessibility - Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--secondary-color);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Modern CSS Reset and Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Header and Navigation */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* Logo Styling */
.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  display: flex;
  align-items: center;
}

.hay, .maze, .dot-com {
  display: inline-block;
  transition: var(--transition);
}

.hay {
  color: var(--secondary-color);
  font-weight: 800;
}

.maze {
  color: var(--accent-color);
  font-weight: 800;
}

.dot-com {
  color: var(--primary-color);
  opacity: 0.8;
  font-weight: 600;
}

.logo:hover .hay {
  transform: translateY(-2px) rotate(-3deg);
}

.logo:hover .maze {
  transform: translateY(-2px) rotate(3deg);
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.cta-button {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  color: var(--white);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-primary);
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.domain-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease;
}

.hero-content h2 {
  font-size: 4rem;
  margin-bottom: 2rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease;
}

.hero-description {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.primary-button, .secondary-button {
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.primary-button {
  background: var(--white);
  color: var(--secondary-color);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid var(--white);
}

.primary-button:hover, .secondary-button:hover {
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 3rem 2rem;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(108, 92, 231, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 92, 231, 0.15);
}

.feature-card i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.feature-card p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

/* Domain Stats Section */
.domain-stats {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(0, 184, 148, 0.05));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(108, 92, 231, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 92, 231, 0.15);
}

.stat-card i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.stat-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.stat-card p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 1.1rem;
  margin: 0;
}

/* Value Props Section */
.value-props {
  padding: 6rem 0;
  background: var(--light-gray);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 92, 231, 0.15);
}

.value-number {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background: var(--white);
}

.faq-grid {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.faq-item summary {
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--text-color);
  opacity: 0.8;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.domain-features {
  margin-top: 2rem;
}

.domain-features .feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.domain-features i {
  color: var(--accent-color);
}

/* Form Styling */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  position: relative;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.offer-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  transition: var(--transition);
}

.offer-input-wrapper:focus-within {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.currency-symbol {
  position: absolute;
  left: 12px;
  color: var(--text-color);
  font-weight: 500;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.offer-input-wrapper input {
  width: 100%;
  padding: 1rem 1rem 1rem 28px; /* Increased left padding to make room for $ */
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text-color);
}

.offer-input-wrapper input:focus {
  outline: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.offer-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
}

.error-message {
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

/* Form Success/Error Messages */
.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-message.success {
  background-color: rgba(39, 174, 96, 0.1);
  color: var(--success-color);
  border: 1px solid var(--success-color);
}

.form-message.error {
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--error-color);
  border: 1px solid var(--error-color);
}

.submit-button {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  transform: translateY(-2px);
}

.submit-button.loading {
  color: transparent;
}

.submit-button.loading::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--light-gray);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.8;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .hero-content h2 {
    font-size: 3rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .feature-card,
  .stat-card {
    padding: 2rem 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Accessibility Enhancements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Print Styles */
@media print {
  .header,
  .hero,
  .contact-form,
  .footer {
    display: none;
  }

  .container {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #0000EE;
    --accent-color: #006600;
    --text-color: #000000;
    --light-gray: #FFFFFF;
    --white: #FFFFFF;
  }

  .gradient-text {
    background: none !important;
    color: var(--primary-color) !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}