    /* ===== COLOR PALETTE (light theme, matching the Flutter app) =====
       Primary color: #690ED8
       Secondary color: #4F06A7
       Background: #F9F8FB
       Surface (cards, sections): #FFFFFF
       Text (primary): #242424
       Text (secondary): #6C6C6C
       Error: #D21A30
    */

    :root {
      --color-primary: #690ED8;
      --color-secondary: #4F06A7;
      --color-bg: #F9F8FB;
      --color-surface: #FFFFFF;
      --color-text-primary: #242424;
      --color-text-secondary: #6C6C6C;
      --color-error: #D21A30;

      --font-family-sans: Arial, sans-serif;
    }

    .demo-btn {
      background-color: var(--color-primary);
      color: #fff;
      padding: 0.5rem 1rem;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      margin-top: 0.5rem;
      transition: background-color 0.2s ease;
    }

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

    /* Reset some default margins/padding */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-padding-top: 70px;
    }

    body {
      font-family: var(--font-family-sans);
      background-color: var(--color-bg);
    }

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

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

    .modal {
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background-color: #fff;
      border-radius: 8px;
      width: 90%;
      max-width: 800px;
      position: relative;
      padding-top: 40px;
      /* Space for the close button */
    }

    /* Add responsive adjustments for mobile */
    @media (max-width: 768px) {
      .modal-content {
        width: 95%;
        max-height: 80vh;
      }
    }

    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      font-weight: bold;
      color: var(--color-text-primary);
      cursor: pointer;
      z-index: 1001;
    }

    /* Make sure the video container in the modal is properly sized */
    .modal .video-container {
      position: relative;
      padding-bottom: 56.25%;
      /* 16:9 aspect ratio */
      height: 0;
      overflow: hidden;
      width: 100%;
      border-radius: 0 0 8px 8px;
    }

    .modal .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }


    /* ===== NAVBAR ===== */
    header {
      background-color: var(--color-surface);
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      position: fixed;
      /* Fix the header to the top */
      width: 100%;
      top: 0;
      left: 0;
      z-index: 900;
      /* High z-index to stay on top of other content */
    }

    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem;
    }

    nav .logo-area {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    nav .logo-area img {
      height: 48px;
      width: auto;
    }

    nav .logo-text {
      font-weight: bold;
      font-size: 1.5rem;
      color: var(--color-text-primary);
      display: flex;
      align-items: baseline;
      gap: 3px;
    }

    nav .logo-text span:last-child {
      color: var(--color-primary);
    }

    nav .nav-links a {
      margin-left: 1.5rem;
      font-weight: 600;
      color: var(--color-text-primary);
      transition: color 0.2s ease;
    }

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

    nav .actions {
      display: flex;
      gap: 1rem;
    }

    nav .actions a.login-btn {
      background-color: var(--color-primary);
      color: #fff;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      font-weight: 600;
      transition: background-color 0.2s ease;
    }

    nav .actions a.login-btn:hover {
      background-color: var(--color-secondary);
    }

    /* ===== HERO SECTION ===== */
    .hero {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1rem;
      gap: 2rem;
    }

    .hero-text {
      flex: 1 1 300px;
      margin: auto;
      max-width: 600px;
    }

    .hero-text h1 {
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
      color: var(--color-text-primary);
    }

    .hero-text p {
      font-size: 1.1rem;
      color: var (--color-text-secondary);
      margin-bottom: 1.5rem;
    }

    .hero-text .hero-actions a {
      display: inline-block;
      background-color: var(--color-primary);
      color: #fff;
      padding: 0.75rem 1.5rem;
      border-radius: 6px;
      font-weight: 600;
      transition: background-color 0.2s ease;
    }

    .hero-text .hero-actions a:hover {
      background-color: var(--color-secondary);
    }

    .hero-image {
      flex: 1 1 300px;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero-image img {
      max-width: 75%;
      /* Changed from 100% to 50% to match feature images */
      border-radius: 10px;
      display: block;
      /* Ensures the image can be centered */
      margin: 0 auto;
      /* Centers the image horizontally */
    }

    /* Update the video container to work in both layouts */
    .video-container {
      position: relative;
      padding-bottom: 56.25%;
      /* 16:9 aspect ratio */
      height: 0;
      overflow: hidden;
      width: 100%;
      max-width: 560px;
      /* Match the original iframe width */
      margin: 0 auto;
    }

    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 8px;
    }

    /* ===== SAMPLES (CAROUSEL) ===== */
    #samples {
      padding: 3rem 1rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    #samples h2 {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 2rem;
    }

    .carousel-container {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
      overflow: hidden;
    }

    .carousel {
      display: flex;
      transition: transform 0.5s ease;
    }

    .carousel-item {
      flex: 0 0 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .carousel-item iframe {
      max-width: 100%;
      max-height: 450px;
      border-radius: 8px;
    }

    .carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.4);
      color: #fff;
      border: none;
      padding: 0.75rem 1rem;
      font-size: 1.2rem;
      cursor: pointer;
      z-index: 10;
      border-radius: 4px;
    }

    .carousel-control.prev {
      left: 10px;
    }

    .carousel-control.next {
      right: 10px;
    }

    .carousel-indicators {
      display: flex;
      justify-content: center;
      margin-top: 10px;
    }

    .carousel-indicator {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #ccc;
      margin: 0 5px;
      cursor: pointer;
    }

    .carousel-indicator.active {
      background: var(--color-primary);
    }

    /* Add this to the existing carousel styles */
    .features-carousel-container {
      position: relative;
      max-width: 1200px;
      /* Increased from 900px to fit 3 items */
      margin: 0 auto;
      overflow: hidden;
    }

    .features-carousel {
      display: flex;
      transition: transform 0.5s ease;
    }

    .features-carousel-item {
      flex: 0 0 33.333%;
      /* Show 3 items at once */
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1rem;
    }

    .features-carousel-item img {
      width: 100%;
      max-width: 350px;
      /* increased from 250px to 350px for bigger images */
      border-radius: 8px;
      cursor: pointer;
      margin: 1rem auto;
    }

    @media (max-width: 768px) {
      .features-carousel-item {
        flex: 0 0 100%;
        /* Full width on mobile */
      }

      .features-carousel-item h3 {
        font-size: 1.5rem;
      }

      .features-carousel-item img {
        max-width: 350px;
        /* increased from 250px to 350px on mobile as well */
      }
    }

    /* ===== PRICING SECTION ===== */
    #pricing {
      padding: 3rem 1rem;
      max-width: 1200px;
      margin: 0 auto;
    }

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

    #pricing h2 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }

    .pricing-plans {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
    }

    .plan {
      background-color: var(--color-surface);
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: 12px;
      /* Increased radius for more modern look */
      width: 270px;
      padding: 1.5rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: box-shadow 0.3s ease, transform 0.2s ease;
      /* Added transform transition */
      position: relative;
      /* Needed for proper positioning */
      overflow: hidden;
      /* Prevent "Popular" tag overflow */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      /* Subtle shadow for all cards */
    }

    .plan:hover {
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      transform: translateY(-5px);
      /* Slight lift effect on hover */
    }

    /* Redesigned popular plan */
    .popular {
      border: 2px solid var(--color-primary);
      transform: scale(1.05);
      /* Make popular plan slightly larger */
      z-index: 2;
      /* Place above other cards */
    }

    .popular:hover {
      transform: translateY(-5px) scale(1.05);
      /* Maintain scale while adding hover lift */
    }

    /* New popular tag style */
    .popular::before {
      content: 'Popular';
      position: absolute;
      top: 12px;
      right: -5px;
      background-color: var(--color-primary);
      color: white;
      padding: 3px 15px;
      font-size: 0.8rem;
      font-weight: bold;
      border-radius: 4px 0 0 4px;
      box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
    }

    /* Remove the old popular tag */
    .popular::after {
      content: none;
    }

    /* Enhanced plan styling */
    .plan-name {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 0.5rem;
      color: var(--color-primary);
    }

    .plan-price {
      font-size: 2.2rem;
      font-weight: bold;
      margin-bottom: 1rem;
    }

    .plan-price span {
      font-size: 1rem;
      font-weight: normal;
      opacity: 0.7;
    }

    .plan-badge {
      background-color: #28a745;
      color: #fff;
      padding: 5px 10px;
      font-size: 0.8rem;
      border-radius: 20px;
      /* Fully rounded badges */
      margin-bottom: 15px;
      display: inline-block;
      box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
    }

    .plan-features {
      list-style: none;
      padding: 0;
      margin-bottom: 1.5rem;
      text-align: left;
      color: var(--color-text-secondary);
    }

    .plan-features li {
      margin-bottom: 0.8rem;
      line-height: 1.4;
      position: relative;
      padding-left: 20px;
      /* Space for checkmark */
    }

    /* Add checkmarks to feature list */
    .plan-features li::before {
      content: "✓";
      color: var(--color-primary);
      position: absolute;
      left: 0;
    }

    .plan-action a {
      display: inline-block;
      padding: 0.6rem 1.2rem;
      background-color: var(--color-primary);
      color: #fff;
      border-radius: 30px;
      /* Rounded buttons */
      text-decoration: none;
      font-weight: 600;
      transition: background-color 0.2s ease, transform 0.1s ease;
      box-shadow: 0 2px 5px rgba(105, 14, 216, 0.3);
      width: 80%;
      /* Make buttons wider */
    }

    .plan-action a:hover {
      background-color: var(--color-secondary);
      transform: translateY(-2px);
      /* Slight lift on button hover */
    }

    /* ===== CALL TO ACTION SECTION ===== */
    .cta-section {
      padding: 3rem 1rem;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .cta-section h2 {
      font-size: 2rem;
      font-weight: bold;
      color: var(--color-text-primary);
      margin-bottom: 1rem;
      text-align: center;
    }

    .cta-section p {
      color: var(--color-text-secondary);
      margin-bottom: 2rem;
      line-height: 1.5;
    }

    .cta-section a {
      display: inline-block;
      background-color: var(--color-primary);
      color: #fff;
      padding: 0.75rem 1.5rem;
      border-radius: 6px;
      font-weight: 600;
      transition: background-color 0.2s ease;
    }

    .cta-section a:hover {
      background-color: var(--color-secondary);
    }

    /* ===== FAQ SECTION ===== */
    #faq {
      background-color: #FFFFFF;
      padding: 3rem 1rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .faq-item {
      /* New card-like style */
      background-color: var(--color-surface);
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border-bottom: 1px solid var(--color-primary);
      /* Added low violet border */
    }

    .faq-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .faq-item h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
      color: var(--color-text-primary);
    }

    .faq-item p {
      color: var(--color-text-secondary);
      line-height: 1.5;
      margin: 0;
    }

    /* ===== FOOTER ===== */
    footer {
      background-color: var(--color-surface);
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      padding: 2rem 1rem;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .footer-content .social {
      display: flex;
      gap: 1rem;
    }

    .footer-content .social a {
      color: #999;
      transition: color 0.2s ease;
    }

    .footer-content .social a:hover {
      color: var(--color-text-primary);
    }

    .footer-content .copyright {
      color: var(--color-text-secondary);
      font-size: 0.9rem;
    }

    /* ===== HOVER STYLES FOR INDICATING CLICKABLE EMAIL ===== */
    .user-email {
      background: none;
      border: none;
      color: var(--color-primary);
      text-decoration: underline;
      cursor: pointer;
      font-size: inherit;
      font-family: inherit;
      padding: 0;
    }

    .user-email:hover {
      color: var(--color-secondary);
    }
