/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  background-color: #e81f31;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand a {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 160px;
  width: auto;
}

.logo-default {
  display: block;
}

.logo-scrolled {
  display: none;
}

.navbar.scrolled .logo-default {
  display: none;
}

.navbar.scrolled .logo-scrolled {
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  padding: 0.5rem 0.75rem;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar.scrolled .nav-menu li a {
  color: white;
}

.nav-menu li a:hover {
  color: #1f2937;
}

.navbar.scrolled .nav-menu li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.chevron-down {
  margin-left: 0.25rem;
  font-size: 0.7rem;
}

/* Megamenu Styles */
.menu-item-has-children {
  position: relative;
}

.megamenu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  margin-top: 0.5rem;
  width: 600px;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.menu-item-has-children:hover .megamenu {
  opacity: 1;
  visibility: visible;
}

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

.megamenu-grid a {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.megamenu-grid a:hover {
  background-color: #e81f31;
  color: white;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-icon span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #374151;
  transition: all 0.3s ease;
}

.navbar.scrolled .hamburger-icon span {
  background-color: white;
}

/* Hero Section */
.hero-section {
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

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

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  height: 500px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

.hero-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(25%, 50%);
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  max-width: 300px;
}

.badge-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.badge-avatars {
  display: flex;
  margin-left: -0.75rem;
  margin-bottom: 0.5rem;
}

.badge-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
}

.badge-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Services Section */
.services-section {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

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

.section-description {
  font-size: 1.25rem;
  color: var(--color-text-light);
}

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

.service-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: var(--color-bg-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--color-text-light);
}

.services-cta {
  background-color: var(--color-secondary);
  border-radius: 0.75rem;
  padding: 3rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.cta-content {
  color: var(--color-white);
}

.cta-title {
  font-size: 1.875rem;
  margin-bottom: 2rem;
}

.cta-features {
  margin-bottom: 2rem;
}

.cta-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.cta-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.cta-protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.protocol-badge {
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

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

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

/* Partners Section */
.partners-section {
  background-color: var(--color-white);
}

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

.partner-box {
  background-color: var(--color-white);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  padding: 2rem;
}

.partner-box-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.partner-box img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.partners-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto 3rem;
}

.partner-detail {
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.partner-detail-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.partner-detail-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.partners-note {
  text-align: center;
  margin-bottom: 2rem;
}

.partners-note p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  max-width: 64rem;
  margin: 0 auto;
}

.partners-cta-button {
  text-align: center;
}

/* Footer Styles */
.site-footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.widget-title {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.widget p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  max-width: 200px;
  height: auto;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu li a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-menu li a:hover {
  color: var(--color-white);
}

.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-white);
}

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

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

.contact-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-description {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

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

.contact-detail-item {
  display: flex;
  align-items: flex-start;
}

.contact-detail-icon {
  background-color: var(--color-bg-light);
  padding: 0.75rem;
  border-radius: 50%;
  margin-right: 1rem;
}

.contact-detail-icon svg {
  color: var(--color-text);
}

.contact-detail-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail-small {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.contact-form-wrapper {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-form-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-text-light);
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
}

.form-checkbox input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.875rem;
  color: var(--color-text);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-image {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .partners-details {
    grid-template-columns: 1fr 1fr;
  }

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

  .services-cta {
    grid-template-columns: 1fr 1fr;
  }

  .site-info {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .navbar-menu,
  .navbar-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-image {
    display: none;
  }

  .hero-section {
    padding-top: 8rem;
  }

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

/* Utility Classes */
.text-primary {
  color: var(--color-primary);
}

.font-bold {
  font-weight: 700;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Page Header */
.page-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-white) 100%);
}

.page-header-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-description {
  font-size: 1.25rem;
  color: var(--color-text-light);
}

/* PunchOut Intro Section */
.punchout-intro {
  background-color: var(--color-white);
}

.intro-content {
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.intro-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-secondary);
}

.intro-text {
  margin-bottom: 3rem;
}

.intro-text p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.intro-benefits {
  max-width: 48rem;
  margin: 0 auto;
  background-color: var(--color-bg-light);
  padding: 3rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--color-primary);
}

.intro-benefits-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.intro-benefits-description {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.intro-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.intro-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--color-text);
}

.intro-benefits-list li svg {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.intro-result {
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
}

.intro-result p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin: 0;
}

.intro-result strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Solutions Benefits Section */
.solutions-benefits {
  background-color: var(--color-bg-light);
}

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

.benefit-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.benefit-description {
  color: var(--color-text-light);
}

/* Solutions Process Section */
.solutions-process {
  background-color: var(--color-white);
}

.process-timeline {
  max-width: 48rem;
  margin: 0 auto;
}

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

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 32px;
  top: 64px;
  bottom: -48px;
  width: 2px;
  background-color: var(--color-border);
}

.process-step-number {
  width: 64px;
  height: 64px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step-content {
  flex: 1;
  padding-top: 0.5rem;
}

.process-step-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step-description {
  color: var(--color-text-light);
}

/* Case Studies Section */
.case-studies-section {
  background-color: var(--color-white);
}

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

.case-study-card {
  background-color: var(--color-white);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.case-study-header {
  padding: 2rem;
  background-color: var(--color-bg-light);
  text-align: center;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-logo {
  max-width: 150px;
  height: auto;
}

.case-study-content {
  padding: 2rem;
  flex: 1;
}

.case-study-company {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.case-study-description {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.case-study-results-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.case-study-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-results-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.case-study-results-list li svg {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.case-study-footer {
  padding: 0 2rem 2rem;
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 500;
  transition: gap 0.3s ease;
}

.case-study-link:hover {
  gap: 0.75rem;
}

.case-studies-testimonial {
  background-color: var(--color-bg-light);
  border-radius: 0.75rem;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.testimonial-quote-icon {
  color: var(--color-primary);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.testimonial-author-role {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.case-studies-cta {
  text-align: center;
  padding: 3rem;
  background-color: var(--color-bg-light);
  border-radius: 0.75rem;
}

.case-studies-cta-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.case-studies-cta-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* Demo Section */
.demo-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #b91c1c 100%);
  color: var(--color-white);
}

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

.demo-image {
  order: 2;
}

.demo-screenshot {
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.demo-content {
  order: 1;
}

.demo-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.demo-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.demo-features {
  margin-bottom: 2rem;
}

.demo-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.demo-feature svg {
  color: var(--color-white);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
}

.demo-note {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* FAQs Page Specific Styles */
.faqs-page {
  padding-top: 8rem;
}

.faqs-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.faqs-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.faqs-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
}

.faqs-content {
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.faq-answer {
  color: var(--color-text-light);
  line-height: 1.75;
}

.faqs-cta {
  text-align: center;
  padding: 3rem;
  background-color: var(--color-bg-light);
  border-radius: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.faqs-cta h2 {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.faqs-cta p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* Responsive Design - Solutions Page */
@media (min-width: 768px) {
  .demo-content-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .demo-image {
    order: 1;
  }

  .demo-content {
    order: 2;
  }

  .page-title {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .page-title {
    font-size: 2rem;
  }

  .demo-title {
    font-size: 1.875rem;
  }

  .process-step {
    gap: 1rem;
  }

  .process-step-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .process-step:not(:last-child)::after {
    left: 24px;
  }
}

/* Integraciones Page Styles */
.hero-integraciones {
  position: relative;
  background: linear-gradient(135deg, #e81f31 0%, #b91c1c 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 4rem;
  line-height: 1.75;
}

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

.feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.feature-number {
  width: 64px;
  height: 64px;
  background-color: white;
  color: #e81f31;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-align: center;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.btn-white-lg {
  display: inline-block;
  background-color: white;
  color: #e81f31;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-white-lg:hover {
  background-color: #f3f4f6;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.mt-40 {
  margin-top: 2.5rem;
}

.section-white {
  padding: 80px 0;
  background-color: white;
}

.section-gray {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-red {
  padding: 80px 0;
  background: linear-gradient(135deg, #e81f31 0%, #b91c1c 100%);
}

.section-header {
  max-width: 56rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title-white {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.75;
}

.section-description-white {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}

.section-subtitle-red {
  font-size: 1.25rem;
  color: #e81f31;
  font-weight: 600;
  margin-bottom: 2rem;
}

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

.benefit-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 2px solid #fecaca;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: #e81f31;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  text-align: center;
}

.benefit-card p {
  color: #374151;
  font-size: 1.125rem;
  text-align: center;
}

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

.protocol-card {
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #e81f31;
}

.protocol-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.protocol-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.protocol-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  color: #374151;
}

.check-icon {
  color: #e81f31;
  font-weight: 700;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protocol-note {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 1rem;
}

.api-banner {
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #e81f31;
  max-width: 64rem;
  margin: 0 auto;
}

.api-banner p {
  font-size: 1.125rem;
  color: #374151;
  text-align: center;
  margin: 0;
}

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

.platform-card {
  background: linear-gradient(135deg, #fef2f2 0%, white 100%);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 2px solid #fecaca;
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: #e81f31;
  box-shadow: 0 4px 10px rgba(232, 31, 49, 0.2);
}

.platform-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e81f31;
  margin-bottom: 0.5rem;
}

.platform-card p {
  color: #6b7280;
}

.compatibility-banner {
  background-color: #f8fafc;
  border-radius: 0.75rem;
  padding: 2rem;
  border-left: 4px solid #e81f31;
  max-width: 48rem;
  margin: 0 auto;
}

.banner-title {
  font-size: 1.125rem;
  color: #374151;
  text-align: center;
  margin-bottom: 1rem;
}

.compatibility-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tag {
  background-color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #111827;
  font-weight: 600;
}

.banner-note {
  color: #6b7280;
  text-align: center;
  font-style: italic;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

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

.implementation-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.implementation-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-align: center;
}

.implementation-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  text-align: center;
}

.sectors-card {
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 64rem;
  margin: 0 auto;
}

.sectors-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

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

.sector-icon {
  width: 64px;
  height: 64px;
  background-color: #e81f31;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.sector-item h4 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.sector-item p {
  color: #6b7280;
  font-size: 0.875rem;
}

.optimization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto 3rem;
}

.optimization-card {
  background: linear-gradient(135deg, #fef2f2 0%, white 100%);
  border-radius: 0.75rem;
  padding: 2rem;
  border-left: 4px solid #e81f31;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.optimization-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.optimization-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: #374151;
}

.optimization-list li:last-child {
  margin-bottom: 0;
}

.btn-primary-lg {
  display: inline-block;
  background-color: #e81f31;
  color: white;
  padding: 1.25rem 3rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(232, 31, 49, 0.3);
}

.btn-primary-lg:hover {
  background-color: #b91c1c;
  box-shadow: 0 15px 30px rgba(232, 31, 49, 0.4);
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.875rem;
  }

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

  .section-title,
  .section-title-white {
    font-size: 1.875rem;
  }

  .features-grid,
  .benefits-grid,
  .platforms-grid,
  .protocols-grid,
  .implementation-grid,
  .optimization-grid {
    grid-template-columns: 1fr;
  }
}

/* cXML Page Specific Styles */
.gradient-bg-red {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
}

.info-box {
  background-color: #fef2f2;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border-left: 4px solid #dc2626;
  margin-top: 1.5rem;
}

.steps-container {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 3rem;
  height: 3rem;
  background-color: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.step-text {
  color: #6b7280;
}

/* Legal Pages Styles */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.legal-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.legal-content {
    line-height: 1.7;
}

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

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: #374151;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    color: #374151;
    margin-bottom: 0.5rem;
}

.legal-section .info-box p {
    margin-bottom: 0.5rem;
}

.update-date {
    color: #6b7280;
    font-size: 0.875rem;
    font-style: italic;
}

/* Cookies Table */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.cookies-table {
    min-width: 100%;
    background-color: white;
    border: 1px solid #d1d5db;
    border-collapse: collapse;
}

.cookies-table thead {
    background-color: #f3f4f6;
}

.cookies-table th,
.cookies-table td {
    border: 1px solid #d1d5db;
    padding: 1rem;
    text-align: left;
}

.cookies-table th {
    font-weight: 600;
}

/* Additional cXML Page Styles */
.cta-section {
  padding: 5rem 0;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-text {
  font-size: 1.25rem;
  color: white;
  opacity: 0.9;
  margin-bottom: 2rem;
}
