/* CSS Variables */
:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #16a34a;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #64748b;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Open Sans', sans-serif;
  --radius: 1rem;
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

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

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.mb-4 {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
}

/* Icons */
.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-xl {
  width: 48px;
  height: 48px;
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--muted);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--secondary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Top Bar */
.topbar {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  gap: 1.5rem;
}

.topbar-contact span,
.topbar-hours span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar a {
  color: var(--primary-foreground);
}

.topbar a:hover {
  color: var(--muted);
}

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .topbar-contact {
    gap: 1rem;
  }
}

/* Navigation */
.navbar {
  background: transparent;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand .logo-img {
  height: 40px;
}

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

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.fastmodelproex_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.fastmodelproex_mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.mobile-nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .fastmodelproex_mobile-menu-toggle {
    display: block;
  }
  
  .fastmodelproex_mobile-menu {
    display: flex;
  }
  
  .fastmodelproex_mobile-menu.hidden {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.8), rgba(139, 92, 246, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-foreground);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: var(--primary-foreground);
}

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

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 7rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.page-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 7rem 0;
}

section:nth-child(even):not(.cta-section):not(.stats-section):not(.final-cta-section) {

  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Sections */
.cta-section {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  margin: 2rem 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-text h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.cta-text p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.cta-action,
.cta-actions {
  flex-shrink: 0;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-actions {
    justify-content: center;
  }
}

/* Cards */
.feature-card,
.why-choose-card,
.value-card,
.achievement-item,
.testimonial-card,
.faq-preview-card,
.pricing-preview-card,
.package-card,
.contact-option-card,
.team-member,
.service-section {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.2s ease;
}

.feature-card:hover,
.why-choose-card:hover,
.value-card:hover,
.achievement-item:hover,
.pricing-preview-card:hover,
.package-card:hover,
.contact-option-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-image,
.service-image,
.story-image,
.about-image,
.why-work-image {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.card-image,
.service-img,
.story-img,
.about-img,
.why-work-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-content h3,
.why-choose-card h3,
.value-card h3,
.achievement-item h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.feature-content p,
.why-choose-card p,
.value-card p,
.achievement-item p {
  color: var(--muted-foreground);
}

/* Pricing Cards */
.pricing-preview-grid,
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-preview-card.featured,
.package-card.featured {
  border-color: var(--accent);
  position: relative;
}

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

.package-header {
  text-align: center;
  margin-bottom: 2rem;
}

.package-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
}

.package-features ul,
.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
}

.package-features li,
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

.package-ideal {
  background: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.package-cta {
  margin-top: 2rem;
}

.pricing-preview-cta,
.faq-preview-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Stats Section */
.stats-section {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--primary-foreground);
  opacity: 0.9;
}

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

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.process-step h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--muted-foreground);
}

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

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--card-foreground);
  font-size: 1.125rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--card-foreground);
}

.author-role {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* About Section */
.story-section,
.about-preview-section,
.why-work-section {
  padding: 7rem 0;
}

.story-content,
.about-content,
.why-work-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-content h2,
.about-content h2,
.why-work-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.story-content p,
.about-content p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.why-work-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.point-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.point-content h4 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.point-content p {
  color: var(--muted-foreground);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.member-avatar {
  text-align: center;
  margin-bottom: 1.5rem;
}

.member-info h3 {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-info p {
  color: var(--muted-foreground);
}

/* Services Page */
.service-header {
  text-align: center;
  margin-bottom: 3rem;
}

.service-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.service-details h3 {
  color: var(--card-foreground);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.service-pricing {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}

.service-pricing h4 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-pricing p {
  color: var(--muted-foreground);
}

.service-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Implementation Timeline */
.implementation-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  flex-shrink: 0;
  position: relative;
}

.timeline-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
}

.timeline-item:not(:last-child) .timeline-marker::after {
  content: '';
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: var(--border);
}

.timeline-content h3 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.timeline-duration {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .timeline-item:not(:last-child) .timeline-marker::after {
    display: none;
  }
}

/* Contact Page */
.contact-section {
  padding: 7rem 0;
}

.fastmodelproex_contact-form-container h2,
.contact-info-container h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.fastmodelproex_contact-form-container p,
.contact-info-container p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

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

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--input);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: var(--background);
  color: var(--foreground);
}

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

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.contact-info-content h3 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.business-hours {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.business-hours h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day {
  font-weight: 500;
  color: var(--foreground);
}

.time {
  color: var(--muted-foreground);
}

.hours-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

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

.faq-contact-section {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
}

.faq-contact-content h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.faq-contact-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Success Message */
.success-message {
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  text-align: center;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-content h3 {
  color: var(--accent-foreground);
  margin-bottom: 0;
}

.success-content p {
  color: var(--accent-foreground);
  margin-bottom: 0;
  opacity: 0.9;
}

/* FAQ Page */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--card);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

.faq-question h3 {
  color: var(--card-foreground);
  margin-bottom: 0;
  font-size: 1.125rem;
}

.faq-toggle {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  background: var(--card);
  color: var(--card-foreground);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-cta-section {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
}

.faq-cta-content h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.faq-cta-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Legal Pages */
.legal-content-section {
  padding: 4rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-meta {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 3rem;
}

.legal-meta p {
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.legal-meta p:last-child {
  margin-bottom: 0;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.legal-section h3 {
  color: var(--foreground);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.legal-section p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.legal-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-section li {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Cookie Table */
.cookie-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--muted);
  color: var(--foreground);
  font-weight: 600;
}

.cookie-table td {
  color: var(--muted-foreground);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

/* Final CTA Section */
.final-cta-section {
  position: relative;
  padding: 7rem 0;
  color: var(--primary-foreground);
  overflow: hidden;
}

.final-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.cta-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.9), rgba(139, 92, 246, 0.9));
}

.final-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-content h2 {
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.final-cta-content p {
  color: var(--primary-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.final-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cookie Banner */
.fastmodelproex_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.fastmodelproex_cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.fastmodelproex_cookie-banner-text {
  flex: 1;
}

.fastmodelproex_cookie-banner-text p {
  color: var(--card-foreground);
  margin-bottom: 0;
  font-size: 0.875rem;
}

.fastmodelproex_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.fastmodelproex_cookie-banner .btn-primary,
.fastmodelproex_cookie-banner .btn-outline {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .fastmodelproex_cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .fastmodelproex_cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Cookie Modal */
.fastmodelproex_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fastmodelproex_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.fastmodelproex_cookie-modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cookie-toggles {
  margin-bottom: 2rem;
}

.fastmodelproex_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.fastmodelproex_cookie-toggle-row:last-child {
  margin-bottom: 0;
}

.fastmodelproex_cookie-toggle-row div {
  flex: 1;
}

.fastmodelproex_cookie-toggle-row p {
  margin-bottom: 0.25rem;
  color: var(--card-foreground);
}

.fastmodelproex_cookie-toggle-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.fastmodelproex_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .fastmodelproex_cookie-modal-content {
    padding: 1.5rem;
  }
  
  .fastmodelproex_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Footer */
.footer {
  background: #111827;
  color: #f9fafb;
  padding: 4rem 0 2rem;
}

.footer a {
  color: #d1d5db;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #f9fafb;
}

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

.footer-brand .footer-logo {
  height: 40px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.5;
}

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

.footer-nav h4,
.footer-legal h4,
.footer-contact h4 {
  color: #f9fafb;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  margin-bottom: 0;
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .hero-actions .btn-lg,
  .cta-actions .btn-lg,
  .final-cta-actions .btn-lg {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .page-header {
    padding: 4rem 0 3rem;
  }
  
  .cta-section {
    padding: 3rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#fastmodelproex_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#fastmodelproex_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#fastmodelproex_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }

.animate-fade, .animate-fade-in { opacity: 1 !important; transform: none !important; }

/* ============ fastmodelproex REPAIR PATCH ============ */

/* CTA — белый фон → градиент */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  color: var(--primary-foreground) !important;
}
.cta-section h2, .cta-section p, .cta-content h2, .cta-content p { color: #fff !important; }
.cta-section .btn-outline { color:#fff!important;border-color:rgba(255,255,255,.7)!important;background:transparent!important; }
.cta-section .btn-outline:hover { background:rgba(255,255,255,.15)!important; }

/* Mobile toggle */
[class*="mobile-menu-toggle"]{display:none!important;}
@media(max-width:767px){[class*="mobile-menu-toggle"]{display:flex!important;align-items:center;justify-content:center;}}

/* Icon-box светлая тема */
.icon-box{color:var(--primary);}
.icon-box i,.icon-box svg{color:var(--primary)!important;}

/* pricing-card.featured */
.pricing-card.featured{transform:none!important;border:2px solid var(--primary);box-shadow:0 8px 32px rgba(0,0,0,.1);}
.pricing-badge{position:static!important;transform:none!important;display:inline-block!important;margin-bottom:1rem;}

/* Section header */
.section-header{text-align:center;margin-bottom:3rem;}
.section-header h2{font-size:2rem;font-weight:700;margin-bottom:.75rem;color:var(--foreground);}
.section-header p{color:var(--muted-foreground);max-width:600px;margin:0 auto;}

/* Missing common */
.page-header-content{max-width:700px;margin:0 auto;}
.about-preview{padding:5rem 0;background:var(--muted);}
.about-preview-image{border-radius:var(--radius);overflow:hidden;height:380px;}
.about-preview-image img{width:100%;height:100%;object-fit:cover;display:block;}
.story-image{border-radius:var(--radius);overflow:hidden;height:380px;}
.story-image img{width:100%;height:100%;object-fit:cover;display:block;}
.why-choose-us,.why-choose-section{padding:5rem 0;}
.why-choose-image{border-radius:var(--radius);overflow:hidden;height:380px;}
.why-choose-image img{width:100%;height:100%;object-fit:cover;display:block;}
.partner-logos,.partner-logos-section{padding:4rem 0;background:var(--muted);}
.partner-item{display:flex;align-items:center;justify-content:center;padding:1rem;}
.partner-logo{height:2.5rem;opacity:.6;filter:grayscale(1);transition:all .3s;}
.partner-logo:hover{opacity:1;filter:none;}
.mission-values{padding:5rem 0;background:var(--muted);}
.team-section{padding:5rem 0;}
.achievements{padding:5rem 0;background:var(--muted);}
.company-timeline{display:flex;flex-direction:column;gap:1.5rem;padding-left:2rem;border-left:2px solid var(--border);}
.contact-section{padding:5rem 0;}
.contact-info-section{display:flex;flex-direction:column;gap:1.5rem;}
.services-overview,.detailed-services{padding:5rem 0;}
.process-section{padding:5rem 0;background:var(--muted);}
.pricing-section{padding:5rem 0;}
.logo{display:flex;align-items:center;gap:.5rem;text-decoration:none;font-weight:700;color:var(--foreground);}
.testimonial-content{display:flex;flex-direction:column;gap:.5rem;}
.achievements-section{padding:5rem 0;background:var(--muted);}
.achievements-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;text-align:center;}
.contact-options-section{padding:5rem 0;background:var(--muted);}
.faq-preview-section,.faq-section{padding:5rem 0;}
.faq-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:1rem;}
.features-section{padding:5rem 0;}
.footer-link{color:rgba(255,255,255,.65);text-decoration:none;font-size:.875rem;transition:color .2s;}
.footer-link:hover{color:#fff;}
.implementation-section{padding:5rem 0;background:var(--muted);}
.packages-section{padding:5rem 0;}
.prose{max-width:65ch;line-height:1.75;}
.prose p{margin-bottom:1rem;color:var(--foreground);}
.prose h2{font-size:1.5rem;margin:2rem 0 1rem;}
.prose ul,.prose ol{margin-bottom:1rem;padding-left:1.5rem;}
.prose li{margin-bottom:.25rem;color:var(--foreground);}
.service-content{padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;}
.table-wrap{overflow-x:auto;margin:1.5rem 0;}
.table-full{width:100%;border-collapse:collapse;}
.table-head th{padding:.75rem 1rem;text-align:left;font-weight:600;background:var(--muted);border-bottom:1px solid var(--border);}
.table-cell{padding:.75rem 1rem;border-bottom:1px solid var(--border);color:var(--foreground);}
.team-section{padding:5rem 0;background:var(--muted);}
.testimonials-section{padding:5rem 0;background:var(--muted);}
.text-accent{color:var(--accent);}
.text-xl{font-size:1.5rem;line-height:1.3;}
.values-section{padding:5rem 0;}
.author-info{display:flex;flex-direction:column;gap:.25rem;}
.pricing-preview-section { padding: 5rem 0; background: var(--muted); }

/* === ANIMATION VISIBILITY FIX === */
.fade-in-up { opacity: 1 !important; transform: none !important; }
.fade-in-left { opacity: 1 !important; transform: none !important; }
.fade-in-right { opacity: 1 !important; transform: none !important; }
.fade-in-down { opacity: 1 !important; transform: none !important; }
.fade-in { opacity: 1 !important; transform: none !important; }
.slide-in-left { opacity: 1 !important; transform: none !important; }
.slide-in-right { opacity: 1 !important; transform: none !important; }
.animate-item { opacity: 1 !important; transform: none !important; }
.animate-fade { opacity: 1 !important; transform: none !important; }
.animate-fade-in { opacity: 1 !important; transform: none !important; }
.fade-in-element { opacity: 1 !important; transform: none !important; }

.cta-section { background: linear-gradient(135deg, var(--primary), var(--secondary)) !important; color: var(--primary-foreground) !important; padding: 5rem 0 !important; }
.cta-section h2, .cta-section h3, .cta-section p { color: #fff !important; }

.stats-section { background: var(--primary) !important; color: var(--primary-foreground) !important; padding: 5rem 0 !important; }
.stats-section h2, .stats-section h3, .stats-section p { color: #fff !important; }

/* hero btn-outline visibility */
.hero .btn-outline,
.hero-actions .btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,0.7) !important;
  background: transparent !important;
}
.hero .btn-outline:hover,
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.15) !important; }

/* cta-section text always white */
.cta-section, .final-cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  color: #fff !important;
}
.cta-section h2, .cta-section p, .cta-section .cta-text h2, .cta-section .cta-text p,
.final-cta-section h2, .final-cta-section p { color: #fff !important; }
.cta-section .btn-outline, .final-cta-section .btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,0.7) !important;
  background: transparent !important;
}

/* ============ fastmodelproex: service-image fix ============ */
.service-image {
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  margin-top: 1.5rem;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* grid-3 на 769-1024px — 3 колонки */
@media (min-width: 769px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
}
