    /* Hide static landing on non-landing routes (set via inline JS) */
    html.cg-non-landing #static-landing {
      display: none;
    }

    html.cg-non-landing #flutter-loading.hidden {
      display: flex;
    }

    /* Static landing container - overlays Flutter */
    #static-landing {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1000;
      background: white;
      overflow-y: auto;
      transition: opacity 0.3s ease-out;
    }

    #static-landing.fade-out {
      opacity: 0;
      pointer-events: none;
    }

    /* Loading page for non-landing routes */
    #flutter-loading {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1000;
      background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }

    #flutter-loading.hidden {
      display: none;
    }

    .loading-spinner {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--primary-yellow);
      box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
      animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
      margin-bottom: 24px;
      position: relative;
    }

    .loading-spinner::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--primary-black);
      animation: pulse-inner 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
      }

      50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
      }

      100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
      }
    }

    @keyframes pulse-inner {

      0%,
      100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
      }

      50% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
      }
    }

    .loading-text {
      color: var(--dark-gray);
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 8px;
    }

    .loading-subtext {
      color: var(--text-gray);
      font-size: 14px;
    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.05);
      }

      100% {
        transform: scale(1);
      }
    }

    /* Hero Section */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
      padding-top: 80px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -30%;
      width: 800px;
      height: 800px;
      background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
      border-radius: 50%;
      animation: float 6s ease-in-out infinite;
    }

    .hero-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .hero-content h1 {
      font-size: 3.5rem;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      animation: fadeInUp 0.8s ease;
    }

    .hero-content h1 span {
      color: var(--primary-yellow);
      position: relative;
    }

    .hero-content p {
      font-size: 1.25rem;
      color: var(--text-gray);
      margin-bottom: 2rem;
      animation: fadeInUp 0.8s ease 0.2s both;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      animation: fadeInUp 0.8s ease 0.4s both;
    }

    .hero-visual {
      position: relative;
      animation: fadeInUp 0.8s ease 0.6s both;
    }

    .floating-card {
      position: absolute;
      background: white;
      padding: 1.5rem;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      animation: float 4s ease-in-out infinite;
    }

    .floating-card.card-1 {
      top: -20px;
      left: -40px;
      animation-delay: 0s;
    }

    .floating-card.card-2 {
      bottom: 40px;
      right: -30px;
      animation-delay: 2s;
    }

    .floating-card h3 {
      font-size: 2rem;
      color: var(--primary-yellow);
      margin-bottom: 0.5rem;
    }

    .floating-card p {
      color: var(--text-gray);
      font-size: 0.9rem;
    }

    /* Features Section */
    .features {
      padding: 5rem 2rem;
      background: white;
    }

    .section-header {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 4rem;
    }

    .section-header h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }

    .section-header h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--primary-yellow);
      border-radius: 2px;
    }

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

    .feature-card {
      background: var(--light-gray);
      padding: 2.5rem;
      border-radius: 20px;
      text-align: center;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.1) 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .feature-card:hover::before {
      opacity: 1;
    }

    .feature-icon {
      font-size: 3rem;
      margin-bottom: 1.5rem;
      display: inline-block;
      animation: pulse 2s ease-in-out infinite;
    }

    .feature-card h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--primary-black);
    }

    .feature-card p {
      color: var(--text-gray);
      line-height: 1.8;
    }

    /* How It Works */
    .how-it-works {
      padding: 5rem 2rem;
      background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    }

    .steps-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      position: relative;
    }

    .step {
      text-align: center;
      position: relative;
      padding: 2rem;
      background: white;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

    .step:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .step-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      background: var(--primary-yellow);
      color: var(--primary-black);
      font-size: 1.5rem;
      font-weight: bold;
      border-radius: 50%;
      margin-bottom: 1.5rem;
      transition: all 0.3s ease;
    }

    .step:hover .step-number {
      transform: rotate(360deg);
    }

    .step h3 {
      font-size: 1.25rem;
      margin-bottom: 1rem;
      color: var(--primary-black);
    }

    .step p {
      color: var(--text-gray);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    /* Stats Section */
    .stats {
      padding: 4rem 2rem;
      background: var(--primary-black);
      color: white;
    }

    .stats-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 3rem;
      text-align: center;
    }

    .stat-item h3 {
      font-size: 3rem;
      color: var(--primary-yellow);
      margin-bottom: 0.5rem;
      font-weight: bold;
    }

    .stat-item p {
      font-size: 1.1rem;
      opacity: 0.9;
    }

    /* Pricing Section */
    .pricing {
      padding: 5rem 2rem;
      background: white;
    }

    .pricing-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }

    .pricing-card {
      background: var(--light-gray);
      padding: 2.5rem;
      border-radius: 20px;
      text-align: center;
      position: relative;
      transition: all 0.3s ease;
    }

    .pricing-card.featured {
      background: var(--primary-black);
      color: white;
      transform: scale(1.05);
    }

    .pricing-card.featured .price {
      color: var(--primary-yellow);
    }

    .pricing-card.featured .pricing-features li {
      color: rgba(255, 255, 255, 0.9);
    }

    .pricing-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

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

    .pricing-tier {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
    }

    .price {
      font-size: 2.5rem;
      color: var(--primary-black);
      margin-bottom: 0.5rem;
    }

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

    .pricing-features {
      list-style: none;
      margin: 2rem 0;
    }

    .pricing-features li {
      padding: 0.5rem 0;
      color: var(--text-gray);
    }

    .pricing-features li::before {
      content: '✓ ';
      color: var(--success-green);
      font-weight: bold;
      margin-right: 0.5rem;
    }

    /* CTA Section */
    .cta {
      padding: 5rem 2rem;
      background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
      text-align: center;
    }

    .cta-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .cta h2 {
      font-size: 2.5rem;
      color: var(--primary-black);
      margin-bottom: 1.5rem;
    }

    .cta p {
      font-size: 1.25rem;
      color: var(--primary-black);
      margin-bottom: 2rem;
      opacity: 0.9;
    }

    .cta-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .cta .btn-secondary {
      background: white;
      color: var(--primary-black);
      border-color: white;
    }

    .cta .btn-secondary:hover {
      background: var(--primary-black);
      color: white;
      border-color: var(--primary-black);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .hero-content h1 {
        font-size: 2.5rem;
      }

      .hero-visual {
        display: none;
      }

      .hero-buttons {
        justify-content: center;
      }

      .pricing-card.featured {
        transform: none;
      }
    }

    /* Scroll animations */
    .scroll-animate {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    .scroll-animate.active {
      opacity: 1;
      transform: translateY(0);
    }

    /* Tab buttons */
    .tab-btn {
      padding: 0.75rem 2rem;
      border: none;
      border-radius: 50px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .tab-btn.active {
      background: var(--primary-yellow);
      color: var(--primary-black);
    }

    .tab-btn:not(.active) {
      background: transparent;
      color: var(--dark-gray);
    }
