* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-color-hover);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-color);
  border: 1px solid var(--gray);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
}

.btn-third {
  background-color: var(--third-color);
  color: var(--white);
  border: 1px solid var(--gray);
}

.btn-third:hover {
  background-color: var(--third-color-hover);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--gray);
  color: var(--text-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.logo-mark {
  background-color: var(--primary-color);
  color: white;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-link.login {
  margin-left: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  background-color: var(--white);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.screenshot {
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transform: perspective(800px) rotateY(-5deg);
  transition: var(--transition);
}

.screenshot:hover {
  transform: perspective(800px) rotateY(0);
}

/* Section Styles */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.bg-light {
  background-color: var(--secondary-color);
}

/*  */
.steps {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer p {
  padding: 20px;
  margin: 0;
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
  color: var(--white);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
max-height: fit-content;
}

/* Pricing Plans */
.pricing-plans {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 60px;
}

.pricing-plan {
  flex: 1;
  max-width: 350px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.pricing-plan:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.pricing-plan.popular {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
  z-index: 1;
}

.pricing-plan.limited {
  transform: scale(1.05);
  border: 2px solid var(--third-color);
  z-index: 1;
}
.popular-tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-bottom-left-radius: var(--border-radius);
}
.limited-tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--third-color);
  color: var(--white);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-bottom-left-radius: var(--border-radius);
}
.plan-header {
  text-align: center;
  padding: 30px 20px;
  border-bottom: 1px solid var(--gray);
}

.plan-price {
  margin: 20px 0;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
}

.period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  padding: 30px;
}

.plan-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.plan-features li::before {
  content: "✓";
  color: var(--success);
  position: absolute;
  left: 0;
}

.pricing-plan .btn {
  display: block;
  margin: 0 30px 30px;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding: 80px 0 30px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--gray);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  color: var(--text-muted);
}

.social-link:hover {
  color: var(--primary-color);
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 991px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .steps {
    flex-direction: column;
  }

  .pricing-plans {
    flex-direction: column;
    align-items: center;
  }

  .pricing-plan {
    width: 100%;
    max-width: 400px;
  }

  .pricing-plan.popular {
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    align-items: flex-start;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-column {
    flex: 1 0 40%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 60px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .hero {
    padding: 130px 0 60px;
  }
}
.img-icon-other-app {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 60px;
  max-height: 120px;
  color: var(--white);
  margin: 0 auto 20px;
}

.icon-other-app {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;           /* Scale to fill container */
  aspect-ratio: 1 / 1;   /* Force 1:1 square ratio */
  object-fit: cover;
  min-height: 60px;
  max-height: 120px;
  max-width: 120px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 4rem;
  font-weight: 700;
}
li.limited::before {
  content: "✓";
  color: var(--gray-dark);
  position: absolute;
  left: 0;
}

li.uncheked::before {
  content: "×";
}

.video-container {
    /* This is the key part: it creates a 16:9 aspect ratio */
    /* Calculation for 16:9 is (9 / 16) * 100 = 56.25% */
    padding-bottom: 56.25%;
    /* Make the container relative so the iframe can be positioned absolutely */
    position: relative;
    /* Set the width of the container.
You can change this to 80% to fit your requirement. */
    width: 100%;
    /* Remove the height as padding-bottom will control the aspect ratio */
    height: 0;
    /* Optional: To prevent any content from overflowing */
    overflow: hidden;
}

.video-container iframe {
    /* Absolutely position the iframe to fill the container */
    position: absolute;
    top: 0;
    left: 0;
    /* Set the width and height to 100% of the parent container */
    width: 100%;
    height: 100%;
}

/* To limit the video to 80% width on mobile */
@media (max-width: 768px) {
    .video-container {
        width: 80%;
        /* Optional: Center the video */
        margin: 0 auto;
    }
}
/* grid system */
.div-grid-container {
  display: grid;
  --grid-cols: 3;
  /* This creates columns that are at least 200px wide, but no more than 3 per row */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  /* THIS CENTERS THE ITEMS */
  justify-content: center;

  /* Optional: prevent the items from stretching too wide
     if you want them to stay a specific size while centered */
  max-width: 1200px;
  margin: 0 auto;
}

/* On screens wide enough to hold 3 columns, we cap it at 3 */
@media (min-width: 900px) {
  .div-grid-container {
    grid-template-columns: repeat(var(--grid-cols), 1fr);
  }
}
/* Helper Classes */
.grid-2 { --grid-cols: 2; }
.grid-3 { --grid-cols: 3; }
.grid-4 { --grid-cols: 4; }
.grid-5 { --grid-cols: 5; }

.div-grid{
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
  text-align: center;
  /* Optional: add min-height so you can see the vertical centering */
  min-height: 100px;
  align-items: center;
}

[class*="mb-"] { margin-bottom: 0; } /* Default */

.mb-1  { margin-bottom: calc(1 * 0.25rem) !important; }
.mb-2  { margin-bottom: calc(2 * 0.25rem) !important; }
.mb-3  { margin-bottom: calc(3 * 0.25rem) !important; }
.mb-4  { margin-bottom: calc(4 * 0.25rem) !important; }
.mb-4  { margin-bottom: calc(5 * 0.25rem) !important; }
.mb-4  { margin-bottom: calc(6 * 0.25rem) !important; }
.mb-4  { margin-bottom: calc(7 * 0.25rem) !important; }
.mb-8  { margin-bottom: calc(8 * 0.25rem) !important; }
.mb-8  { margin-bottom: calc(9 * 0.25rem) !important; }
.mb-8  { margin-bottom: calc(10 * 0.25rem) !important; }
.mb-8  { margin-bottom: calc(11 * 0.25rem) !important; }
.mb-12 { margin-bottom: calc(12 * 0.25rem) !important; }

/* Desktop Styles */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.comparison-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.comparison-table td:last-child {
  /* background-color: #f0f7ff; */
  background-color: var(--background-color-for-primary);
  font-weight: 600;
  /* color: #007bff; */
  color: var(--primary-color);
}
.comparison-table td[data-label="Manual"] {
  color: #636d7e;
  font-style: italic;
  /* text-decoration: line-through;
  text-decoration-color: rgba(0, 0, 0, 0.3);
  text-decoration-thickness: 1px; */
}
/* MOBILE RESPONSIVE LOGIC */
@media screen and (max-width: 768px) {
  /* Hide the header completely */
  .comparison-table thead {
    display: none;
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table tr {
    margin-bottom: 20px; /* Space between each "card" */
    border: 1px solid #007bff;
    border-radius: 10px;
    overflow: hidden;
  }

  .comparison-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border-bottom: 1px solid #eee;
  }

  /* This adds the labels (Category, Manual, Extension) back in on the left */
  .comparison-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    font-weight: bold;
    text-align: left;
    color: #333;
  }
  .comparison-table td[data-label="Manual"]:before  {
    color: var(--text-color);
    font-style: normal;
    /* text-decoration: line-through;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-decoration-thickness: 1px; */
  }
  .comparison-table td[data-label="Manual"]{
    color: #636d7e;
    font-style: italic;
    /* text-decoration: line-through;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-decoration-thickness: 1px; */
  }

  .comparison-table td[data-label="Category"] {
    background-color: #f5f5f5;
    padding-left: 0% !important;
    text-align: center;
  }
  /* hide label Category */
  .comparison-table td[data-label="Category"]:before {
    content: none !important;
    display: none !important;;
}
  /* Specific styling for the "Extension" row in the mobile card */
  .comparison-table td[data-label="Extension"] {
    background-color: var(--background-color-for-primary);
    color: var(--primary-color);
    border-bottom: none;
  }
}
