  * {
    box-sizing: border-box;
  }

  :root {
    --primary-dark: #1a051d;
    --accent-pink: #ff5f1f;
    --text-gray: #71717a;
    --border-light: #e4e4e7;
    --badge-yellow: #ffd700;
    --badge-gray: #f4f4f5;
  }

  .pricing-grid {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: #ffffff;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
    align-items: center;
    padding: 50px;
  }

  /* Container for all cards */
  .pricing-container {
    display: flex;
    align-items: stretch;
    gap: 0;
    /* Cards touch in the original image */
    max-width: 1000px;
  }

  /* Base Card Style */
  .card {
    width: 300px;
    padding: 30px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
  }

  /* Highlighted Founder Card Specifics */
  .card.highlighted {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right-width: 0;
    border-radius: 12px;
    padding: 7.5px;
    /* Padding for the inner gap effect */
    z-index: 10;
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.1); */
    /* transform: scaleY(1.16); */
    margin-top: -30px;
    margin-bottom: -30px;
  }

  .inner-content {
    border: 1px solid var(--border-light);
    border-radius: 9px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  /* Typography & Elements */
  .header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }

  .plan-name {
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
  }

  .save-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
  }

  .badge-yellow {
    background-color: var(--badge-yellow);
  }

  .badge-light {
    border: 1px solid var(--border-light);
    background: white;
  }

  .price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0;
  }

  .period {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 400;
  }

  .fee {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
  }

  hr {
    border: 0;
    border-top: 1px solid var(--border-light);
    margin: 25px 0;
  }

  .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
  }

  .features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 0.9rem;
  }

  .check-icon {
    width: 16px;
    height: 16px;
    background-color: var(--primary-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
  }

  .check-icon.excluded {
    background-color: darkred;
    padding-top: 1px;
  }

  /* Buttons */
  .btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    width: 100%;
  }

  .btn-pink {
    background-color: var(--accent-pink);
    color: white;

  }

  .btn-dark {
    background-color: var(--primary-dark);
    color: white;
  }

  .btn:hover {
    opacity: 0.9;
  }

  .highlight-badge {
    transform: translateX(-24px) translateY(-24px);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9px 9px 0 0;
    background-color: #f4f4f5;
    color: #666;
    display: inline-block;
    min-width: calc(100% + 48px);
    text-align: center;
  }


  .custom-right-border {
    /* Remove the standard border-right first */
    border-right: none;

    /* Create a gradient: 20% Black, 60% Gray/None, 20% Black */
    background-image: linear-gradient(to bottom,
        rgba(20, 20, 20, 0.1) 0%,
        rgba(20, 20, 20, 0.1) 6%,
        transparent 6%,
        transparent 94%,
        rgba(20, 20, 20, 0.1) 94%,
        rgba(20, 20, 20, 0.1) 100%);

    /* Position the gradient only on the right edge */
    background-size: 1px 100%;
    /* 1px width, 100% height */
    background-repeat: no-repeat;
    background-position: right;
  }

  .second-card {
    border-left: none;
    /* Remove left border to prevent double border with the first card */
  }

  .last-card {
    border-radius: 0 12px 12px 0;
  }

  /* Every second container flips its internal order */
  .pricing-group:nth-child(even) .pricing-container {
    flex-direction: row-reverse;
  }

  /* Optional: Adjust the "broken border" for reversed rows */
  .pricing-group:nth-child(even) .pricing-container .card.highlighted {
    border-right-width: 1px;
    border-left-width: 0;
  }

  .pricing-group:nth-child(even) .pricing-container .custom-right-border {
    background-position: left;
  }

  .pricing-group:nth-child(even) .pricing-container .second-card {
    border-right: none;
  }

  .pricing-group:nth-child(even) .pricing-container .last-card {
    border-radius: 12px 0 0 12px;
  }



  /* Group wrapper to handle spacing between the header and cards */
  .pricing-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* Styling for the Heading and Description */
  .group-header {
    text-align: center;
    margin-bottom: 40px;
    /* Space between text and cards */
    max-width: 600px;
  }

  .group-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 800;
  }

  .group-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    /* line-height: 1.5; */
  }

  /* Ensure the even-row reverse logic still works with the new structure */
  /* .pricing-group:nth-child(even) .pricing-container {
            flex-direction: row-reverse;
        } */

  /* Mobile adjustments */
  @media (max-width: 768px) {
    .group-header h2 {
      font-size: 2rem;
    }

    .group-header p {
      font-size: 1rem;
    }

    .pricing-group {
      gap: 20px;
    }
  }



  /* Responsive Media Query */
  @media (max-width: 768px) {
    body {
      /* padding: 40px 20px; */
      height: auto;
      /* Allow body to grow with content */
    }

    .pricing-container {
      flex-direction: column;
      /* Stack cards vertically */
      align-items: center;
      gap: 40px;
      /* Add space between stacked cards */
    }

    .card {
      width: 100%;
      /* Full width on mobile */
      max-width: 350px;
      border: 1px solid var(--border-light) !important;
      /* Restore borders for stacked look */
      border-radius: 12px !important;
      background-image: none !important;
      /* Remove the custom gradient borders on mobile */
    }

    .card.highlighted {
      transform: scale(1.05);
      /* Slightly smaller scale for mobile to prevent clipping */
      margin: 20px 0;
    }

    /* Reset specific border removals for mobile stacking */
    .second-card {
      border-left: 1px solid var(--border-light) !important;
    }

    .pricing-group:nth-child(even) .pricing-container {
      flex-direction: column;
      /* Overrides the row-reverse for vertical stacking */
    }
  }


  /* Section header styling */
  .section-header h2 {
    color: var(--primary-dark);
  }

  /* This targets the 'Pricing Plans' text */
  .section-header h2 span {
    color: var(--accent-pink);
  }

  /* Adds a subtle underline effect to the span */
  .section-header h2 span::after {
    background-color: var(--accent-pink);

  }

  .section-header .subtitle {
    color: var(--text-gray);
  }

  /* Additional styling for the check text */
  .check-text {
    color: var(--primary-dark);
    font-weight: bold;
  }

  /* buttons-group */
/* Container Layout */
.service-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center; /* Centers the buttons, change to flex-start if you want them left-aligned */
  padding: 20px 0;
}

/* Base Button Styling */
.service-buttons button {
  background-color: var(--badge-gray);
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px; /* Gives that modern pill shape */
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth animation for all state changes */
}

/* Hover State */
.service-buttons button:hover {
  background-color: var(--accent-pink);
  color: #ffffff; /* White text pops best against the accent color */
  border-color: var(--accent-pink);
  transform: translateY(-3px); /* Slight lift effect */
  box-shadow: 0 6px 12px rgba(255, 95, 31, 0.2); /* Soft shadow matching the accent color */
}

/* Active/Click State */
.service-buttons button:active {
  transform: translateY(0); /* Pushes the button back down when clicked */
  box-shadow: 0 2px 4px rgba(255, 95, 31, 0.2);
}

/* Optional: Styling a specific button differently (e.g., to show a 'featured' or 'active' service) */
/* --- PRICING GROUP VISIBILITY --- */
/* Hide all pricing groups by default */
.pricing-group {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

/* Show only the active pricing group */
.pricing-group.active {
    display: flex;
}

/* Smooth fade-in and slide-up animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ACTIVE BUTTON STYLING --- */
/* This matches the hover state from your previous CSS */
.service-buttons button.active {
    background-color: var(--accent-pink);
    color: #ffffff;
    border-color: var(--accent-pink);
    box-shadow: 0 6px 12px rgba(255, 95, 31, 0.3);
    transform: translateY(-2px);
}