:root {
  --background: #ffffff;
  --foreground: #020817;
  --primary: #3b82f6;
  --primary-foreground: #f8fafc;
  --secondary: #f1f5f9;
  --secondary-foreground: #0f172a;
  --muted: #e2e8f0;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
}

    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    
    .modal-content {
      background-color: white;
      padding: 2rem;
      border-radius: 0.5rem;
      max-width: 400px;
      width: 90%;
      text-align: center;
    }
    
    .modal-icon {
      margin-bottom: 1rem;
    }
    
    .modal-icon i {
      width: 48px;
      height: 48px;
      color: var(--success);
    }
    
    .modal-title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    
    .modal-message {
      color: var(--muted-foreground);
      margin-bottom: 1.5rem;
    }

.dark {
  --background: #020817;
  --foreground: #f8fafc;
  --primary: #3b82f6;
  --primary-foreground: #f8fafc;
  --secondary: #1e293b;
  --secondary-foreground: #f8fafc;
  --muted: #334155;
  --muted-foreground: #94a3b8;
  --border: #1e293b;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-padding {
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-scrolled {
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  animation: pulse 2s infinite;
}

nav.desktop-nav {
  display: none;
}

nav.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
  text-decoration: none;
}

nav.desktop-nav a:hover {
  color: var(--primary);
}

nav.desktop-nav a.active {
  color: var(--primary);
}

.mobile-menu-button {
  display: block;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  animation: fadeIn 0.3s ease-out;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background-color 0.2s;
  text-decoration: none;
}

.mobile-menu a:hover {
  background-color: var(--muted);
}

.mobile-menu a.active {
  color: var(--primary);
}

/* Hero Styles */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(241, 245, 249, 0.7),
    var(--background),
    var(--background)
  );
  z-index: 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  z-index: 0;
  overflow: hidden;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  margin-top: 4rem;
  margin-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  animation: slideUp 0.8s ease-out;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-image {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.hero-image-text {
  color: white;
}

.hero-image-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-image-text p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: pulse 2s infinite;
}

/* Features Styles */
.features {
  padding: 6rem 0;
  background-color: var(--secondary);
}

.features-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.features-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.features-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.features-description {
  color: var(--muted-foreground);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-0.25rem);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--muted-foreground);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--secondary);
}

.contact-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.contact-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-description {
  color: var(--muted-foreground);
}

/* Form Styles */
.form-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.form-header {
  padding: 1.5rem 1.5rem 0;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.form-description {
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.form-content {
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.form-group.focused::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.form-group.focused .form-label {
  color: var(--primary);
}

.form-label span {
  color: var(--destructive);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  color: var(--foreground);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: var(--destructive);
  background-color: rgba(239, 68, 68, 0.05);
}

.form-input.error:focus,
.form-textarea.error:focus,
.form-select.error:focus {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.form-textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.form-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form-note span {
  color: var(--destructive);
}

/* Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.button:hover::after {
  background-color: rgba(255, 255, 255, 0.1);
}

.button-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
}

.button-primary:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
}

.button-primary:active {
  transform: translateY(0);
}

.button-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.button-outline:hover {
  background-color: rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.button-outline:active {
  transform: translateY(0);
}

.button-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Loading state for form submission */
.button.loading {
  position: relative;
  color: transparent;
}

.button.loading::before {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Success animation */
@keyframes checkmark {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.success-icon {
  animation: checkmark 0.5s ease-in-out;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Footer Styles */
footer {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links h4 {
  font-weight: 600;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Styles */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .hero-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .mobile-menu-button {
    display: none;
  }

  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom-content {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-image img {
    height: 500px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Loading button styles */
button[type="submit"][disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

button[type="submit"][disabled] i {
  margin-right: 0.5rem;
}
