/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4facfe;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --success-color: #48bb78;
  --error-color: #f56565;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  min-height: 100vh;
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  white-space: nowrap;
}

.skip-to-content:focus {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

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

/* Navigation */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 3px;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 150px 20px 100px;
  text-align: center;
  margin-top: 70px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

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

/* Values Carousel Section */
.values-carousel-section {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 80px 20px;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.carousel-wrapper {
  max-width: 800px;
  margin: 0 auto;
  min-height: 350px;
}

.carousel-container {
  position: relative;
  min-height: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  padding: 2rem;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.carousel-slide.prev {
  transform: translateX(-100%);
  opacity: 0;
}

.carousel-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.carousel-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.carousel-slogan {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.6;
}

.carousel-controls {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.carousel-dots {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: var(--text-light);
  transform: scale(1.1);
}

.dot.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  width: 14px;
  height: 14px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Sections */
.section {
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: var(--text-dark);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

/* Demo/CMS Showcase Section */
.demo-section {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  padding: 80px 0;
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.demo-intro {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.demo-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.demo-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.demo-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.demo-feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.demo-feature strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.demo-feature p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 14px 32px;
  margin-bottom: 1rem;
}

.demo-note {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Demo Preview - Browser Mockup */
.demo-preview {
  position: relative;
}

.demo-screenshot {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.browser-frame {
  background: white;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.browser-header {
  background: #e2e8f0;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
}

.browser-dot:nth-child(1) {
  background: #fc5c65;
}

.browser-dot:nth-child(2) {
  background: #fed330;
}

.browser-dot:nth-child(3) {
  background: #26de81;
}

.browser-content {
  background: white;
  min-height: 400px;
}

.demo-mockup {
  padding: 1rem;
}

.mockup-toolbar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f7fafc;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.mockup-btn {
  padding: 6px 12px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.mockup-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

.mockup-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mockup-subtitle {
  font-size: 1rem;
  opacity: 0.95;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mockup-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  font-size: 2rem;
  box-shadow: var(--shadow-sm);
}

/* Questions Section - FAQ Accordion */
.questions-section {
  background: var(--bg-white);
}

.questions-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: var(--bg-white);
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question:focus {
  outline: none;
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: -2px;
}

.faq-item.active .faq-question {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 10px 10px 0 0;
}

.faq-item.active .faq-question:focus-visible {
  outline: 2px solid white;
  outline-offset: -2px;
}

.faq-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.faq-text {
  flex-grow: 1;
  line-height: 1.4;
}

.faq-toggle {
  font-size: 2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer-content {
  padding: 2rem;
}

.faq-answer p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.faq-answer p strong {
  color: var(--text-dark);
  display: block;
  margin-top: 1rem;
}

.faq-solution {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.faq-solution:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* About Section */
.about-section {
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--bg-white);
}

.about-text h3 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* References Section */
.references-section {
  background: var(--bg-white);
}

.references-intro {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.reference-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reference-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.reference-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.reference-icon svg {
  color: white;
}

.reference-favicon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.reference-favicon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.reference-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.reference-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.reference-card .btn {
  margin-top: auto;
}

.reference-card .btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.reference-card .btn-secondary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-color: transparent;
}

/* Offers Section */
.offers-section {
  background: var(--bg-light);
}

.faircode-guarantee {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}

.faircode-guarantee strong {
  font-size: 1.2rem;
}

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

.offer-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.offer-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.offer-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.offer-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
  flex-grow: 1;
}

.offer-card.featured-offer {
  position: relative;
  border: 3px solid var(--primary-color);
  transform: scale(1.02);
}

.offer-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.offer-price {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.price-main {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.price-sub {
  display: block;
  font-size: 0.95rem;
  color: var(--text-light);
}

.profit-sharing {
  font-weight: 600;
  color: var(--success-color);
}

.btn-details {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
  margin-top: auto;
}

.btn-details:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Costs Section */
.costs-section {
  background: var(--bg-white);
}

.pricing-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.pricing-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
}

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

.pricing-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price {
  color: white;
}

.pricing-card.featured ul li {
  color: rgba(255, 255, 255, 0.95);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 1rem;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
}

.pricing-card.featured ul li::before {
  color: white;
}

.pricing-note {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.pricing-note p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
  background: var(--bg-light);
}

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

.contact-form-wrapper h3,
.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.contact-form {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Only show validation states after form interaction */
.contact-form.was-validated .form-group input:invalid,
.contact-form.was-validated .form-group textarea:invalid {
  border-color: var(--error-color);
}

.contact-form.was-validated .form-group input:valid:not(:placeholder-shown),
.contact-form.was-validated .form-group textarea:valid:not(:placeholder-shown) {
  border-color: var(--success-color);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.form-message.success {
  background: #c6f6d5;
  color: #22543d;
  display: block;
}

.form-message.error {
  background: #fed7d7;
  color: #742a2a;
  display: block;
}

.contact-info {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item p {
  color: var(--text-light);
  margin: 0;
}

.map-container {
  width: 100%;
  height: 250px;
  background: var(--bg-light);
  border-radius: 8px;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 20px 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-info h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.footer-info a {
  color: white;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

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

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-white);
  padding-left: 1rem;
  padding-right: 0rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
  animation: slideUp 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-white);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  transition: var(--transition);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

#modalBody {
  overflow-y: auto;
  flex: 1;
  padding-right: 0.5rem;
  margin: 0.5rem 0 0.5rem 1rem;
}

#modalBody h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 2rem;
}

#modalBody p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

#modalBody ul {
  list-style: none;
  margin: 1.5rem 0;
}

#modalBody ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-light);
  position: relative;
  line-height: 1.6;
}

#modalBody ul li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--primary-color);
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .carousel-wrapper {
    min-height: 400px;
  }

  .carousel-container {
    min-height: 350px;
    height: 350px;
  }

  .carousel-title {
    font-size: 1.5rem;
  }

  .carousel-slogan {
    font-size: 1rem;
  }

  .demo-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-preview {
    order: -1;
  }

  .browser-content {
    min-height: 300px;
  }

  .mockup-cards {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .references-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reference-card {
    padding: 2rem;
  }

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

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .modal-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 20px 80px;
  }

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

  .section {
    padding: 60px 20px;
  }

  .carousel-wrapper {
    min-height: 450px;
  }

  .carousel-container {
    min-height: 400px;
    height: 400px;
  }

  .carousel-icon {
    font-size: 3rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .offer-card,
  .pricing-card {
    padding: 1.5rem;
  }
}

.map-wrapper {
  background-color: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.map-container {
  height: 350px;
  width: 100%;
  border-radius: 10px;
}

.map-navigate-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 1000;
  box-shadow: var(--shadow-hover);
  font-size: 0.9rem;
  padding: 10px 20px;
}

.map-navigate-btn:hover {
  transform: translateY(-2px);
}

/* Enhanced Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a,
button,
input,
textarea,
.nav-link,
.btn,
.offer-card,
.faq-question {
  transition: var(--transition);
}

/* Improved button disabled state */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loading animation for form submit */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

button[disabled] {
  animation: pulse 1.5s ease-in-out infinite;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #4c5fd5;
    --text-dark: #000000;
    --border-color: #000000;
  }

  .btn,
  .nav-link,
  a {
    text-decoration: underline;
  }
}
