:root {
      --primary: #0F3D2E;
      --primary-light: #1E6F5C;
      --accent: #D4AF37;
      --accent-light: #F2D675;
      --dark: #0F3D2E;
      --gray-bg: #F2D675;
      --border-light: #eef2f7;
      --shadow-sm: 0 8px 20px rgba(0,20,50,0.03);
      --shadow-hover: 0 14px 30px rgba(0,30,70,0.08);
      --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }
    body {
      font-family: var(--font-family);
      color: #1e2e4a;
      line-height: 1.6;
      background-color: white;
      overflow-x: hidden;
      font-size: 1rem;
    }
    h1, h2, h3, h4, h5 {
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 1.2rem;
    }
    .section-subhead {
      font-size: 1.1rem;
      color: #5e6f7e;
      max-width: 700px;
      margin: 0 auto 3rem;
    }
    /* PAGE LOADER */
    #loader-wrapper {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: white;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.6s ease;
    }
    .loader-content {
      text-align: center;
    }
    .loader-logo {
      font-size: 2.4rem;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 1rem;
    }
    .loader-spinner {
      width: 48px;
      height: 48px;
      border: 5px solid #eef2f7;
      border-bottom-color: var(--accent);
      border-radius: 50%;
      display: inline-block;
      animation: rotation 0.9s linear infinite;
    }
    @keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    
    /* DESKTOP MENU ANIMATED */
    .navbar {
      background: rgba(15, 61, 46, 0.8);
      backdrop-filter: blur(8px);
      padding: 0.9rem 1.5rem;
      box-shadow: 0 4px 18px rgba(0,0,0,0.02);
      transition: all 0.25s ease;
    }

    .navbar::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      background: rgba(255, 255, 255, 0.8);
      z-index: 0;
      width: 35%; /* Mobile default */
    }

    /* Desktop screens */
    @media (min-width: 768px) {
      .navbar::before {
        width: 20%;
      }
    }

    /* Ensure navbar content stays above the pseudo-element */
    .navbar > * {
      position: relative;
      z-index: 1;
    }
    

    .navbar-brand {
      font-weight: 800;
      font-size: 1.7rem;
      color: var(--primary) !important;
      letter-spacing: -0.02em;
    }

    .navbar-brand img{
      height: 80px;
      width: auto;
      transition: height 0.3s ease; /* Optional smooth transition */
    }

    .navbar-nav .nav-link {
      font-weight: 500;
      color: #ffffff !important;
      padding: 0.6rem 1.2rem !important;
      transition: 0.2s;
      position: relative;
    }

    .navbar-nav .nav-link:before {
      content: '';
      position: absolute;
      bottom: 8px;
      left: 1rem;
      width: 0;
      height: 3px;
      background: var(--accent);
      transition: width 0.25s ease;
    }
    .navbar-nav .nav-link:hover:before {
      width: calc(100% - 2rem);
    }


    .navbar.scrolled {
      border-bottom-radius: 20px;
    }

    .navbar.scrolled .nav-link{
      color: var(--primary);
    }


    .navbar.scrolled .navbar-brand img{
      height: 50px;
      width: auto;
    }


    .btn-login, .btn-register {
      padding: 0.5rem 1.5rem;
      border-radius: 40px;
      font-weight: 600;
      transition: all 0.2s;
    }
    .btn-login {
      background: var(--primary-light);
      border: 2px solid var(--accent-light);
      color: var(--accent-light);
      margin-right: 0.6rem;
    }
    .btn-login:hover {
      background: var(--primary);
      color: white;
    }
    .btn-register {
      background: var(--accent);
      border: 2px solid var(--accent);
      color: white;
    }
    .btn-register:hover {
      background: #ffffff;
      border-color: var(--primary-light);
    }
    /* mobile menu — slide from left + bottom instagram style */
    .offcanvas {
      background: white;
      border-right: 1px solid var(--border-light);
    }
    .offcanvas-header {
      padding: 1.5rem 1.5rem 1rem;
      border-bottom: 1px solid var(--border-light);
    }
    .offcanvas-body {
      padding: 1.2rem 1.5rem 0;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .mobile-nav {
      flex: 1 1 auto;
    }
    .mobile-nav .nav-link {
      font-size: 1.2rem;
      font-weight: 600;
      padding: 1rem 0;
      color: var(--dark);
      border-bottom: 1px solid #f0f4fa;
    }
    /* Instagram-like bottom bar – fixed at bottom edge */
    .mobile-bottom-bar {
      flex-shrink: 0;
      display: flex;
      justify-content: space-around;
      align-items: center;
      background: white;
      padding: 0.8rem 0.5rem;
      border-top: 1px solid #eaeef4;
      margin: 1rem -1.5rem 0;  /* extend to edge */
      width: calc(100% + 3rem);
    }
    .mobile-bottom-item {
      text-align: center;
      color: #4a5c6c;
      font-weight: 500;
      font-size: 0.8rem;
      text-decoration: none;
      flex: 1;
    }
    .mobile-bottom-item i {
      font-size: 1.6rem;
      color: var(--primary);
      margin-bottom: 2px;
      display: block;
    }
    .mobile-bottom-item span {
      font-size: 0.75rem;
      display: block;
      font-weight: 600;
    }
    /* remove old bottom actions */
    .mobile-bottom-actions { display: none; }
    
    /* HERO CAROUSEL – RESIZED for desktop height */
    .hero-carousel {
      margin-top: 76px;
      background: linear-gradient(145deg, #f1f6fd, white);
    }
    .hero-slide {
      padding: 4.5rem 1rem;
      min-height: 600px;
      display: flex !important;
      align-items: center;
      outline: none;
    }
    .hero-bg-shape {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 0;
      opacity: 0.12;
      background: radial-gradient(circle at 10% 30%, var(--primary-light) 60%, transparent 30%);
    }
    .hero-title {
      font-size: 3.3rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.1;
    }
    .hero-sub {
      font-size: 1.25rem;
      margin: 1.8rem 0;
      color: #3a5264;
    }

    .hero-cta {
      padding: 0.9rem 2.2rem;
      background: var(--accent);
      border: none;
      border-radius: 50px;
      font-weight: 700;
      color: white;
      transition: 0.25s;
    }

    .hero-cta-2 {
      padding: 0.9rem 2.2rem;
      background: var(--primary);
      border: none;
      border-radius: 50px;
      font-weight: 700;
      color: white;
      transition: 0.25s;
    }

    .slick-dots li button:before {
      font-size: 12px;
      color: var(--primary);
    }

    .slick-prev, .slick-next { z-index: 3; }
    .slick-prev:before, .slick-next:before { color: var(--primary); opacity: 0.7; }
    
    /* Feature cards, pricing etc */
    .feature-card {
      background: white;
      padding: 2rem 1.8rem;
      border-radius: 24px;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s;
      height: 100%;
      border-top: 6px solid var(--primary-light);
      border-bottom: 3px solid var(--accent-light);
    }
    .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
      border-top-color: var(--accent-light);
      border-bottom-color: var(--primary-light);
    }
    .feature-icon {
      font-size: 2.4rem;
      color: var(--primary-light);
      margin-bottom: 1.2rem;
    }

    .feature-card:hover .feature-icon{
      color: var(--accent-light);
    }

    .price-card {
      background: white;
      border-radius: 28px;
      padding: 2rem 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s;
      border: 1px solid var(--border-light);
      position: relative; /* Make sure parent has position relative */
      overflow: hidden; /* Optional: keeps the pseudo-element contained */
    }
    .price-card:hover {
      border-color: var(--accent-light);
      box-shadow: 0 18px 36px rgba(230,126,34,0.06);
    }

    .price-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 45%; /* This covers 35% of the card height from the top */
      background: var(--primary-light);
      z-index: 0;
    }

    .price-card > * {
      position: relative; /* Ensures content appears above the background */
      z-index: 1;
    }

    .plan-name {
      font-size: 1.9rem;
      font-weight: 700;
      color: var(--accent-light);
      text-align: center;
    }
    .price-tag {
      font-size: 2rem;
      font-weight: 800;
      color: #ffffff;
      text-align: center;
    }
    .faq-item {
      background: #f7faff;
      border-radius: 18px;
      padding: 1.5rem;
      margin-bottom: 1.2rem;
    }
    .screenshot-placeholder {
      background: linear-gradient(145deg, #e2eef9, #f0f6fd);
      border-radius: 28px;
      padding: 1rem 1rem;
      text-align: center;
      color: var(--primary);
      font-weight: 600;
      border: 2px dashed #aac7e0;
    }

    .screenshot-placeholder img{
      width:100%;
      height:auto;
    }

    .graph-placeholder {
      background: #eef6fb;
      border-radius: 18px;
      padding: 1rem;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .graph-placeholder img{
      width:100%;
      height:auto;
    }

    .whatsapp-float, .scroll-top {
      position: fixed;
      width: 52px;
      height: 52px;
      bottom: 30px;
      right: 30px;
      color: white;
      border-radius: 50px;
      text-align: center;
      font-size: 28px;
      box-shadow: 0 10px 22px rgba(0,0,0,0.12);
      z-index: 99;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.2s;
      text-decoration: none;
    }
    .whatsapp-float {
      background: #25d366;
      bottom: 100px;
    }
    .whatsapp-float:hover, .scroll-top:hover {
      transform: scale(1.1);
      color: white;
    }
    .scroll-top {
      background: var(--primary);
      bottom: 30px;
      right: 30px;
      font-size: 24px;
    }
    footer {
      background: #0e2a3e;
      color: #ccddee;
      padding: 3rem 0;
      margin-top: 4rem;
    }
    [data-aos] { pointer-events: none; } .aos-animate { pointer-events: auto; }
    
    @media (max-width: 991.98px) {
      .hero-title { font-size: 2.6rem; }
      .hero-slide { min-height: 500px; padding: 3rem 1rem; }
      .section-title { font-size: 1.9rem; }
    }
    @media (max-width: 767.98px) {
      .navbar { padding: 0.7rem 1rem; }
      .hero-slide { min-height: 450px; padding: 2rem 1rem; }
      .hero-title { font-size: 2.1rem; }
    }


    /* ---------- PLAN COMPARISON TABLE STYLES (enhanced) ---------- */
    .comparison-section {
      background: linear-gradient(to bottom, #ffffff, #fafcff);
      border-radius: 48px 48px 0 0;
      padding: 4rem 0 2rem;
    }
    .comparison-table {
      background: white;
      border-radius: 32px;
      box-shadow: var(--shadow-hover);
      border: 1px solid rgba(10,61,98,0.05);
      overflow: hidden;
      margin-top: 2rem;
    }
    .comparison-table thead th {
      background: white;
      border-bottom: 2px solid var(--border-light);
      padding: 1.8rem 1.2rem 1.2rem;
      font-weight: 700;
      font-size: 1.3rem;
      color: var(--primary);
      vertical-align: middle;
      text-align: center;
    }
    .comparison-table th:first-child, .comparison-table td:first-child {
      text-align: left;
      padding-left: 2rem;
      font-weight: 600;
      background-color: #fcfdfe;
      border-right: 1px solid var(--border-light);
    }
    .comparison-table td {
      padding: 1.2rem 1rem;
      vertical-align: middle;
      text-align: center;
      border-bottom: 1px solid #f0f4fc;
    }
    .comparison-table tbody tr:last-child td {
      border-bottom: none;
    }
    .comparison-table .feature-category {
      background: #eef7fa;
      font-weight: 700;
      color: var(--primary);
      border-bottom: 1px solid #d6e2ed;
    }
    .check-yes {
      color: #27ae60;
      font-size: 1.4rem;
      font-weight: 600;
    }
    .check-no {
      color: #c0cbd4;
      font-size: 1.2rem;
    }
    .comparison-footer-note {
      margin-top: 1.8rem;
      font-size: 0.95rem;
      color: #5e6f7e;
    }
    .badge-plan-recommended {
      background: var(--accent);
      color: white;
      font-size: 0.7rem;
      padding: 0.3rem 0.8rem;
      border-radius: 40px;
      margin-left: 0.5rem;
      vertical-align: middle;
    }
    @media (max-width: 767.98px) {
      .comparison-table {
        border: 0;
        box-shadow: none;
        background: transparent;
      }
      .comparison-table thead { display: none; }
      .comparison-table tbody tr {
        display: block;
        margin-bottom: 2rem;
        background: white;
        border-radius: 24px;
        padding: 1.5rem;
        box-shadow: var(--shadow-sm);
      }
      .comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 0.9rem 0.5rem;
        border-bottom: 1px solid #f0f4fa;
      }
      .comparison-table td:first-child {
        background: transparent;
        font-weight: 700;
        border-right: none;
        padding-left: 0.5rem;
      }
      .comparison-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary);
        text-align: left;
        padding-right: 1rem;
      }
      .feature-category td:first-child {
        font-size: 1.1rem;
        background: #eef7fa;
        border-radius: 12px;
      }
    }


    .list-unstyled li{
      margin: 20px auto;
      color: var(--primary);
    }