/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: #525BDB;
  --first-color-alt: #4349C7;
  --first-color-light: #E8E9F9;
  --second-color: #3B82F6;
  --second-color-alt: #2563EB;
  --title-color: #1F2937;
  --text-color: #6B7280;
  --text-color-light: #9CA3AF;
  --body-color: #FFFFFF;
  --container-color: #FFFFFF;
  --border-color: #E5E7EB;
  --shadow-color: rgba(0, 0, 0, 0.1);

  /*========== Font and typography ==========*/
  --body-font: 'Inter', sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 2.5rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mb-1-5);
  padding-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.section {
  padding: 5rem 0 3rem;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
}

.section__subtitle {
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
}

.section__note {
  color: var(--text-color);
  font-size: var(--small-font-size);
  font-style: italic;
  margin-top: var(--mb-0-75);
  opacity: 0.8;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: var(--font-medium);
  transition: 0.3s;
  text-align: center;
  justify-content: center;
}

.button:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

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

.button--secondary {
  background-color: transparent;
  color: var(--first-color);
  border: 2px solid var(--first-color);
}

.button--secondary:hover {
  background-color: var(--first-color);
  color: #fff;
}

.button--outline {
  background-color: transparent;
  color: var(--title-color);
  border: 2px solid var(--border-color);
}

.button--outline:hover {
  background-color: var(--first-color);
  color: #fff;
  border-color: var(--first-color);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: 0.3s;
  box-shadow: 0 2px 16px var(--shadow-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--mb-1-5);
}

.nav__logo {
  height: 2.5rem;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--first-color);
}

.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--first-color);
}

.nav__toggle,
.nav__close {
  display: none;
}

/*=============== HERO ===============*/
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, #fafaff 0%, #f8faff 100%);
}

.hero__container {
  gap: 3rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  overflow: visible;
}

.hero__data {
  text-align: left;
}

.hero__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: var(--mb-1-5);
}

.hero__highlight {
  color: var(--first-color);
}

.hero__description {
  font-size: 1.125rem;
  margin-bottom: var(--mb-2-5);
  color: var(--text-color);
}

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

.hero__image {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1rem 0;
}

.hero__mockup {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 1rem auto;
  padding: 0.5rem;
}

.hero__automation {
  background-color: var(--container-color);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  animation: dashboardFloat 6s ease-in-out infinite;
  transition: 0.3s;
}

.hero__automation:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px var(--shadow-color);
}

.hero__dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1;
  position: relative;
}

.hero__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.hero__title-small {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--first-color);
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #10b981;
  font-weight: 500;
}

.hero__status::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero__automation-item {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px var(--shadow-color);
  border: 1px solid var(--border-color);
  animation: slideIn 3s ease-in-out infinite;
  transition: 0.3s;
}

.hero__automation-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.hero__automation-item:nth-child(2) {
  animation-delay: -1s;
}

.hero__automation-item:nth-child(3) {
  animation-delay: -2s;
}

.hero__automation-item:nth-child(2) .hero__item-icon {
  animation-delay: 0.5s;
}

.hero__automation-item:nth-child(3) .hero__item-icon {
  animation-delay: 1s;
}

.hero__item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__item-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--first-color), var(--second-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  animation: iconGlow 3s ease-in-out infinite;
}

.hero__item-icon i {
  animation: iconPulse 2s ease-in-out infinite;
}

.hero__item-text {
  display: flex;
  flex-direction: column;
}

.hero__item-title {
  font-weight: 600;
  color: var(--title-color);
  font-size: 0.9rem;
}

.hero__item-subtitle {
  color: var(--text-color);
  font-size: 0.8rem;
  opacity: 0.7;
}

.hero__item-status {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes slideIn {
  0%, 100% { 
    transform: translateX(0) scale(1); 
    opacity: 1;
  }
  50% { 
    transform: translateX(3px) scale(1.01); 
    opacity: 0.95;
  }
}

@keyframes dashboardFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1); 
  }
  50% { 
    transform: translateY(-2px) scale(1.002); 
  }
}

@keyframes iconGlow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(82, 91, 219, 0.3);
  }
  50% { 
    box-shadow: 0 0 20px rgba(82, 91, 219, 0.5);
  }
}

@keyframes iconPulse {
  0%, 100% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.1); 
  }
}

/*=============== FEATURES ===============*/
.features {
  background-color: var(--body-color);
}

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

.feature__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: 0.3s;
}

.feature__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--shadow-color);
  border-color: var(--first-color);
}

.feature__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--first-color), var(--second-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  font-size: 1.5rem;
  color: white;
}

.feature__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.feature__description {
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== DEMO ===============*/
.demo {
  background: linear-gradient(135deg, var(--first-color-light) 0%, #f0f7ff 100%);
  padding: 4rem 0;
}

.demo__container {
  text-align: center;
}

.demo__content {
  margin-bottom: var(--mb-2);
}

.demo__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  color: var(--title-color);
}

.demo__process {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.process__step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px var(--shadow-color);
  transition: 0.3s;
}

.process__step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px var(--shadow-color);
}

.process__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--first-color), var(--second-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  font-size: 1.5rem;
  color: white;
}

.process__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
  color: var(--title-color);
}

.process__description {
  color: var(--text-color);
  font-size: var(--small-font-size);
  line-height: 1.5;
}

.process__arrow {
  color: var(--first-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .demo__process {
    flex-direction: column;
    gap: 1rem;
  }
  
  .process__arrow {
    transform: rotate(90deg);
  }
  
  .process__step {
    max-width: 100%;
    min-width: auto;
  }
}

/*=============== PRICING ===============*/
.pricing {
  background-color: var(--body-color);
}

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

.pricing__card {
  background-color: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  position: relative;
  text-align: center;
  transition: 0.3s;
}

.pricing__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px var(--shadow-color);
}

.pricing__card--featured {
  border-color: var(--first-color);
  transform: scale(1.05);
}

.pricing__card--featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--first-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.pricing__header {
  margin-bottom: var(--mb-2);
}

.pricing__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing__currency {
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

.pricing__amount {
  font-size: 3rem;
  font-weight: var(--font-bold);
  color: var(--title-color);
}

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

.pricing__features {
  margin-bottom: var(--mb-2);
  text-align: left;
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--mb-0-75);
  text-align: left;
}

.pricing__feature i {
  color: var(--first-color);
  font-size: var(--small-font-size);
  flex-shrink: 0;
}

.pricing__feature span {
  text-align: left;
  flex: 1;
}

.pricing__note {
  text-align: center;
  margin-top: var(--mb-2);
}

/*=============== TESTIMONIALS ===============*/
.testimonials {
  background: linear-gradient(135deg, var(--first-color-light) 0%, #f0f7ff 100%);
}

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

.testimonial__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px var(--shadow-color);
  transition: 0.3s;
}

.testimonial__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px var(--shadow-color);
}

.testimonial__content {
  margin-bottom: var(--mb-1-5);
}

.testimonial__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--mb-1);
}

.testimonial__stars i {
  color: #fbbf24;
}

.testimonial__text {
  color: var(--text-color);
  font-style: italic;
  line-height: 1.6;
}

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

.testimonial__avatar {
  width: 48px;
  height: 48px;
  background-color: var(--first-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--first-color);
  font-size: 1.5rem;
}

.testimonial__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.testimonial__position {
  font-size: var(--small-font-size);
  color: var(--text-color);
}

/*=============== CONTACT ===============*/
.contact {
  background-color: var(--body-color);
}

.contact__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: start;
}

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

.contact__card {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: 0.3s;
}

.contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px var(--shadow-color);
}

.contact__card i {
  font-size: 2rem;
  color: var(--first-color);
  margin-bottom: var(--mb-0-5);
}

.contact__card h3 {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-25);
}

.contact__card span {
  color: var(--text-color);
}

.contact__form {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.contact__form-group {
  margin-bottom: var(--mb-1-5);
}

.contact__input {
  width: 100%;
  background-color: var(--body-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  outline: none;
  transition: 0.3s;
}

.contact__input:focus {
  border-color: var(--first-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact__textarea {
  resize: none;
  height: 120px;
}

.contact__button {
  width: 100%;
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--title-color);
  padding: 3rem 0 2rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: var(--mb-2);
}

.footer__title {
  font-size: var(--h3-font-size);
  color: white;
  margin-bottom: var(--mb-1);
}

.footer__description {
  color: #9CA3AF;
  margin-bottom: var(--mb-1-5);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--first-color);
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: 0.3s;
}

.footer__social-link:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: #9CA3AF;
  transition: 0.3s;
}

.footer__link:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid #374151;
  padding-top: var(--mb-1-5);
  text-align: center;
}

.footer__copy {
  color: #9CA3AF;
  font-size: var(--small-font-size);
}

/*=============== MODAL ===============*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 15px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-50px) scale(0.9);
  transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: white;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px 15px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 30px;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-update {
  font-style: italic;
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.modal-body h3 {
  color: var(--first-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

.modal-body p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.modal-body ul, .modal-body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.divider {
  text-align: center;
  color: var(--first-color);
  margin: 2rem 0;
  font-size: 1.5rem;
  opacity: 0.7;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }
  
  .modal-content {
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-header h2 {
    font-size: 1.3rem;
  }
  
  .modal-body {
    padding: 20px;
    font-size: 0.9rem;
  }
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  opacity: 0.8;
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  opacity: 1;
}

.scrollup__icon {
  font-size: 1rem;
  color: #fff;
}

.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--mb-1-5);
    padding-right: var(--mb-1-5);
  }

  .hero__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero__data {
    text-align: left;
  }

  .hero__buttons {
    justify-content: flex-start;
  }

  .pricing__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .pricing__card--featured {
    transform: none;
  }

  .pricing__card--featured:hover {
    transform: translateY(-10px);
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    background-color: var(--container-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px var(--shadow-color);
    padding: 4rem 0 0 3rem;
    border-radius: 1rem 0 0 1rem;
    transition: 0.3s;
    z-index: var(--z-fixed);
  }

  .nav__close,
  .nav__toggle {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 1.5rem;
  }

  .nav__link {
    font-weight: var(--font-medium);
    color: var(--title-color);
  }

  .nav__close {
    position: absolute;
    width: 1rem;
    height: 1rem;
    right: 1.3rem;
    top: 0.7rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--title-color);
  }

  .nav__close:hover {
    color: var(--first-color-alt);
  }

  .nav__toggle {
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--title-color);
  }

  .nav__toggle:hover {
    color: var(--first-color-alt);
  }

  .show-menu {
    right: 0;
  }

  .section {
    padding: 4rem 0 2rem;
  }

  .hero {
    padding: 5rem 0 2rem;
  }

  .hero__mockup {
    max-width: 320px;
  }

  .hero__automation {
    padding: 1.5rem;
  }

  .hero__item-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

  .hero__item-title {
    font-size: 0.85rem;
  }

  .hero__item-subtitle {
    font-size: 0.75rem;
  }

  .features__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .pricing__container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

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

/* For small devices */
@media screen and (max-width: 576px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .nav__menu {
    padding: 2rem 1.25rem 0;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__mockup {
    max-width: 280px;
  }

  .hero__automation {
    padding: 1rem;
  }

  .hero__dashboard {
    gap: 1rem;
  }

  .hero__title-small {
    font-size: 1rem;
  }

  .hero__item-icon {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.8rem;
  }

  .hero__item-title {
    font-size: 0.8rem;
  }

  .hero__item-subtitle {
    font-size: 0.7rem;
  }

  .hero__item-status {
    font-size: 0.7rem;
  }

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

  .feature__card {
    padding: 1.5rem;
  }

  .demo__mockup {
    padding: 1rem;
  }

  .pricing__card {
    padding: 2rem 1.5rem;
  }

  .contact__form {
    padding: 1.5rem;
  }

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

  .footer__social {
    justify-content: center;
  }
}

@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__mockup {
    max-width: 240px;
  }

  .hero__automation {
    padding: 0.8rem;
  }

  .hero__dashboard {
    gap: 0.8rem;
  }

  .hero__header {
    padding-bottom: 0.5rem;
  }

  .hero__title-small {
    font-size: 0.9rem;
  }

  .hero__status {
    font-size: 0.8rem;
  }

  .hero__automation-item {
    padding: 0.8rem;
  }

  .hero__item-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.7rem;
  }

  .hero__item-title {
    font-size: 0.75rem;
  }

  .hero__item-subtitle {
    font-size: 0.65rem;
  }

  .hero__item-status {
    font-size: 0.65rem;
  }
}
