  /* Performance Optimizations */
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  /* CSS Performance and Core Web Vitals Optimizations */
  html {
      font-display: swap;
      /* Faster font loading */
      scroll-behavior: smooth;
      /* Smooth scrolling */
  }

  /* Critical CSS for Core Web Vitals */
  body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      background: var(--off-white);
      color: var(--dark-text);
      overflow-x: hidden;
      line-height: 1.6;
      position: relative;
      /* Performance optimizations */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
      /* Prevent layout shifts */
      min-height: 100vh;
  }

  /* Reduce repaints and reflows */
  *,
  *::before,
  *::after {
      will-change: auto;
      transform: translateZ(0);
      /* Hardware acceleration */
  }

  /* Optimize animations for performance */
  @media (prefers-reduced-motion: no-preference) {
      * {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
      }
  }

  /* Performance optimized transitions */
  .performance-optimized {
      will-change: transform, opacity;
      backface-visibility: hidden;
      perspective: 1000px;
  }

  /* Image loading optimization */
  img {
      max-width: 100%;
      height: auto;
      /* Note: loading and decoding are HTML attributes, not CSS properties */
  }

  /* Critical above-the-fold styles */
  .hero {
      contain: layout style paint;
  }

  /* GPU acceleration for animations */
  .wave,
  .spiral,
  .particle,
  .feature-card,
  .testimonial-card {
      will-change: transform;
      transform: translateZ(0);
      backface-visibility: hidden;
  }

  :root {
      --primary-green: #10b981;
      --dark-green: #059669;
      --light-green: #34d399;
      --off-white: #fafaf9;
      --dark-text: #1f2937;
      --gray-text: #6b7280;
      --white: #ffffff;
  }

  body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      background: var(--off-white);
      color: var(--dark-text);
      overflow-x: hidden;
      line-height: 1.6;
      position: relative;
  }

  /* Background Animation Elements */
  .animated-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
  }

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

  .wave {
      position: absolute;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg,
              rgba(16, 185, 129, 0.05) 0%,
              rgba(52, 211, 153, 0.08) 25%,
              rgba(16, 185, 129, 0.03) 50%,
              rgba(52, 211, 153, 0.06) 75%,
              rgba(16, 185, 129, 0.04) 100%);
      border-radius: 45%;
      animation: waveRotate 40s linear infinite;
  }

  .wave:nth-child(2) {
      background: linear-gradient(-45deg,
              rgba(16, 185, 129, 0.03) 0%,
              rgba(52, 211, 153, 0.05) 25%,
              rgba(16, 185, 129, 0.07) 50%,
              rgba(52, 211, 153, 0.04) 75%,
              rgba(16, 185, 129, 0.06) 100%);
      animation: waveRotate 35s linear infinite reverse;
      animation-delay: -10s;
  }

  .wave:nth-child(3) {
      background: linear-gradient(135deg,
              rgba(52, 211, 153, 0.04) 0%,
              rgba(16, 185, 129, 0.06) 25%,
              rgba(52, 211, 153, 0.03) 50%,
              rgba(16, 185, 129, 0.05) 75%,
              rgba(52, 211, 153, 0.07) 100%);
      animation: waveRotate 50s linear infinite;
      animation-delay: -20s;
  }

  @keyframes waveRotate {
      0% {
          transform: translate(-50%, -50%) rotate(0deg) scale(1);
      }

      25% {
          transform: translate(-45%, -55%) rotate(90deg) scale(1.1);
      }

      50% {
          transform: translate(-50%, -50%) rotate(180deg) scale(1);
      }

      75% {
          transform: translate(-55%, -45%) rotate(270deg) scale(1.1);
      }

      100% {
          transform: translate(-50%, -50%) rotate(360deg) scale(1);
      }
  }

  /* Spiral Elements */
  .spiral {
      position: absolute;
      width: 400px;
      height: 400px;
      border: 2px solid rgba(16, 185, 129, 0.1);
      border-radius: 50%;
      border-top-color: rgba(16, 185, 129, 0.2);
      border-right-color: rgba(52, 211, 153, 0.15);
      animation: spiralSpin 20s linear infinite;
  }

  .spiral:nth-child(1) {
      top: 10%;
      right: 5%;
      animation-delay: 0s;
  }

  .spiral:nth-child(2) {
      top: 60%;
      left: 5%;
      width: 300px;
      height: 300px;
      animation-delay: -8s;
      animation-duration: 25s;
  }

  .spiral:nth-child(3) {
      bottom: 20%;
      right: 10%;
      width: 200px;
      height: 200px;
      animation-delay: -15s;
      animation-duration: 30s;
  }

  @keyframes spiralSpin {
      0% {
          transform: rotate(0deg) scale(1);
          opacity: 0.3;
      }

      25% {
          transform: rotate(90deg) scale(1.1);
          opacity: 0.6;
      }

      50% {
          transform: rotate(180deg) scale(1);
          opacity: 0.3;
      }

      75% {
          transform: rotate(270deg) scale(1.1);
          opacity: 0.6;
      }

      100% {
          transform: rotate(360deg) scale(1);
          opacity: 0.3;
      }
  }

  /* Floating Particles */
  .particle {
      position: absolute;
      background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
      border-radius: 50%;
      animation: particleFloat 15s infinite ease-in-out;
  }

  .particle:nth-child(1) {
      width: 8px;
      height: 8px;
      top: 20%;
      left: 10%;
      animation-delay: 0s;
  }

  .particle:nth-child(2) {
      width: 12px;
      height: 12px;
      top: 50%;
      right: 15%;
      animation-delay: -3s;
      animation-duration: 18s;
  }

  .particle:nth-child(3) {
      width: 6px;
      height: 6px;
      bottom: 30%;
      left: 20%;
      animation-delay: -6s;
      animation-duration: 12s;
  }

  .particle:nth-child(4) {
      width: 10px;
      height: 10px;
      top: 70%;
      right: 30%;
      animation-delay: -9s;
      animation-duration: 20s;
  }

  .particle:nth-child(5) {
      width: 14px;
      height: 14px;
      top: 30%;
      left: 70%;
      animation-delay: -12s;
      animation-duration: 16s;
  }

  @keyframes particleFloat {

      0%,
      100% {
          transform: translateY(0px) translateX(0px) scale(1);
          opacity: 0.3;
      }

      25% {
          transform: translateY(-20px) translateX(10px) scale(1.2);
          opacity: 0.8;
      }

      50% {
          transform: translateY(-40px) translateX(-5px) scale(1);
          opacity: 0.4;
      }

      75% {
          transform: translateY(-20px) translateX(-15px) scale(1.1);
          opacity: 0.7;
      }
  }

  nav {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      z-index: 1000;
      padding: 1rem 0;
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
      animation: slideDown 0.5s ease-out;
  }

  @keyframes slideDown {
      from {
          transform: translateY(-100%);
          opacity: 0;
      }

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

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

  .logo {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary-green);
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }

  .logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--primary-green), var(--light-green));
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 1.2rem;
  }

  .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      align-items: center;
  }

  .nav-links a {
      text-decoration: none;
      color: var(--dark-text);
      font-weight: 500;
      transition: color 0.3s;
  }

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

  .download-btn {
      background: var(--primary-green);
      color: white;
      padding: 0.7rem 1.5rem;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s;
      box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  }

  .download-btn:hover {
      background: var(--dark-green);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  }

  .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 6rem 2rem 4rem;
      position: relative;
      overflow: hidden;
  }

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

  .hero-content {
      animation: fadeInUp 0.8s ease-out;
  }

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

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

  .hero-badge {
      display: inline-block;
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
      color: var(--primary-green);
      padding: 0.5rem 1.2rem;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
      border: 1px solid rgba(16, 185, 129, 0.2);
  }

  h1 {
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      color: var(--dark-text);
  }

  .gradient-text {
      background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
  }

  .hero-description {
      font-size: 1.2rem;
      color: var(--gray-text);
      margin-bottom: 2.5rem;
      line-height: 1.8;
  }

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

  .store-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.8rem;
      padding: 1rem 2rem;
      background: var(--white);
      border: 2px solid var(--primary-green);
      border-radius: 15px;
      text-decoration: none;
      color: var(--dark-text);
      font-weight: 600;
      transition: all 0.3s;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .store-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
      background: var(--primary-green);
      color: white;
  }

  .store-icon {
      font-size: 1.8rem;
  }

  .hero-image {
      position: relative;
      animation: fadeInUp 1s ease-out 0.3s backwards;
  }

  .phone-mockup {
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
      position: relative;
      animation: floatPhone 6s infinite ease-in-out;
  }

  @keyframes floatPhone {

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

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

  .phone-frame {
      background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
      border-radius: 40px;
      padding: 1rem;
      box-shadow: 0 30px 60px rgba(16, 185, 129, 0.3);
  }

  .phone-screen {
      background: white;
      border-radius: 30px;
      padding: 2rem;
      aspect-ratio: 9/19.5;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
  }

  .features {
      padding: 6rem 2rem;
      background: var(--white);
      position: relative;
      overflow: hidden;
  }

  .features::before {
      content: '';
      position: absolute;
      top: 20%;
      right: -5%;
      width: 300px;
      height: 300px;
      background: conic-gradient(from 0deg, transparent, rgba(16, 185, 129, 0.1), transparent);
      border-radius: 50%;
      animation: spiralRotate 30s linear infinite;
  }

  .features::after {
      content: '';
      position: absolute;
      bottom: 10%;
      left: -10%;
      width: 400px;
      height: 400px;
      background: conic-gradient(from 180deg, transparent, rgba(52, 211, 153, 0.08), transparent);
      border-radius: 50%;
      animation: spiralRotate 40s linear infinite reverse;
  }

  @keyframes spiralRotate {
      0% {
          transform: rotate(0deg) scale(1);
      }

      50% {
          transform: rotate(180deg) scale(1.1);
      }

      100% {
          transform: rotate(360deg) scale(1);
      }
  }

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

  .section-badge {
      display: inline-block;
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
      color: var(--primary-green);
      padding: 0.5rem 1.2rem;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 1rem;
  }

  .section-title {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 1rem;
      color: var(--dark-text);
  }

  .section-description {
      font-size: 1.1rem;
      color: var(--gray-text);
  }

  .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(--off-white);
      padding: 2.5rem;
      border-radius: 20px;
      transition: all 0.3s;
      border: 2px solid transparent;
  }

  .feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
      border-color: var(--primary-green);
  }

  .feature-icon {
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, var(--primary-green), var(--light-green));
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
  }

  .feature-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--dark-text);
  }

  .feature-description {
      color: var(--gray-text);
      line-height: 1.7;
  }

  .how-it-works {
      padding: 6rem 2rem;
      background: var(--off-white);
      position: relative;
      overflow: hidden;
  }

  .how-it-works::before {
      content: '';
      position: absolute;
      top: -10%;
      left: 70%;
      width: 250px;
      height: 250px;
      background: linear-gradient(45deg,
              rgba(16, 185, 129, 0.06) 0%,
              transparent 40%,
              rgba(52, 211, 153, 0.08) 100%);
      border-radius: 30% 70% 40% 60%;
      animation: floatAndMorph 20s infinite ease-in-out;
  }

  @keyframes floatAndMorph {

      0%,
      100% {
          border-radius: 30% 70% 40% 60%;
          transform: translate(0, 0) rotate(0deg);
      }

      25% {
          border-radius: 70% 30% 60% 40%;
          transform: translate(-20px, -15px) rotate(90deg);
      }

      50% {
          border-radius: 40% 60% 30% 70%;
          transform: translate(15px, -25px) rotate(180deg);
      }

      75% {
          border-radius: 60% 40% 70% 30%;
          transform: translate(10px, 20px) rotate(270deg);
      }
  }

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

  .step {
      text-align: center;
  }

  .step-number {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--primary-green), var(--light-green));
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: 800;
      margin: 0 auto 1.5rem;
      box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
      animation: pulse 2s infinite;
  }

  @keyframes pulse {

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

      50% {
          transform: scale(1.05);
      }
  }

  .step:nth-child(2) .step-number {
      animation-delay: 0.3s;
  }

  .step:nth-child(3) .step-number {
      animation-delay: 0.6s;
  }

  .step-title {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.8rem;
      color: var(--dark-text);
  }

  .step-description {
      color: var(--gray-text);
      line-height: 1.7;
  }

  .testimonials {
      padding: 6rem 2rem;
      background: var(--white);
      position: relative;
      overflow: hidden;
  }

  .testimonials::before {
      content: '';
      position: absolute;
      top: 40%;
      right: -5%;
      width: 200px;
      height: 200px;
      background: radial-gradient(ellipse at center,
              rgba(16, 185, 129, 0.1) 0%,
              rgba(52, 211, 153, 0.05) 40%,
              transparent 70%);
      border-radius: 50%;
      animation: pulse 8s infinite ease-in-out;
  }

  .testimonials::after {
      content: '';
      position: absolute;
      bottom: 20%;
      left: 5%;
      width: 150px;
      height: 150px;
      background: conic-gradient(from 45deg,
              transparent,
              rgba(52, 211, 153, 0.12),
              transparent,
              rgba(16, 185, 129, 0.08),
              transparent);
      border-radius: 50%;
      animation: spiralRotate 25s linear infinite;
  }

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

  .testimonial-card {
      background: var(--off-white);
      padding: 2.5rem;
      border-radius: 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      transition: all 0.3s;
  }

  .testimonial-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
  }

  .stars {
      color: #fbbf24;
      font-size: 1.2rem;
      margin-bottom: 1rem;
  }

  .testimonial-text {
      color: var(--gray-text);
      line-height: 1.8;
      margin-bottom: 1.5rem;
      font-style: italic;
  }

  .testimonial-author {
      display: flex;
      align-items: center;
      gap: 1rem;
  }

  .author-avatar {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--primary-green), var(--light-green));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 1.2rem;
  }

  .author-info h4 {
      font-weight: 700;
      color: var(--dark-text);
  }

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

  .cta-section {
      padding: 6rem 2rem;
      background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
      text-align: center;
      position: relative;
      overflow: hidden;
  }

  .cta-section::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -10%;
      width: 500px;
      height: 500px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      animation: float 15s infinite ease-in-out;
  }

  .cta-content {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
  }

  .cta-content h2 {
      font-size: 3rem;
      color: white;
      margin-bottom: 1.5rem;
      font-weight: 800;
  }

  .cta-content p {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 2.5rem;
  }

  footer {
      background: var(--dark-text);
      color: white;
      padding: 4rem 2rem 2rem;
  }

  /* New Footer Styles */
  .footer {
      background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
      color: white;
      padding: 0;
      margin-top: 4rem;
  }

  .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 4rem 2rem 2rem;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
      gap: 3rem;
  }

  .footer-brand {
      max-width: 300px;
  }

  .footer-logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
  }

  .footer-logo .logo-icon {
      width: 45px;
      height: 45px;
      background: linear-gradient(135deg, var(--primary-green), var(--light-green));
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 1.4rem;
  }

  .brand-name {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary-green);
  }

  .footer-description {
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.7;
      margin-bottom: 2rem;
  }

  .social-media h4 {
      color: var(--primary-green);
      margin-bottom: 1rem;
      font-size: 1rem;
      font-weight: 600;
  }

  .social-links {
      display: flex;
      gap: 0.75rem;
  }

  .social-link {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
  }

  .social-link:hover {
      background: var(--primary-green);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  }

  .footer-column h3 {
      color: var(--primary-green);
      margin-bottom: 1.5rem;
      font-size: 1.2rem;
      font-weight: 700;
  }

  .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  .footer-links li {
      margin-bottom: 0.75rem;
  }

  .footer-links a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: all 0.3s ease;
      position: relative;
  }

  .footer-links a:hover {
      color: var(--primary-green);
      padding-left: 8px;
  }

  .contact-info {
      margin-bottom: 2rem;
  }

  .contact-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
      color: rgba(255, 255, 255, 0.8);
  }

  .contact-item svg {
      color: var(--primary-green);
      flex-shrink: 0;
  }

  .contact-item a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: color 0.3s ease;
  }

  .contact-item a:hover {
      color: var(--primary-green);
  }

  .download-badges h4 {
      color: var(--primary-green);
      margin-bottom: 1rem;
      font-size: 1rem;
      font-weight: 600;
  }

  .app-stores {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
  }

  .app-store-badge {
      display: block;
      transition: transform 0.3s ease;
  }

  .app-store-badge:hover {
      transform: translateY(-2px);
  }

  .app-store-badge img {
      width: 140px;
      height: auto;
      border-radius: 8px;
  }

  .footer-bottom {
      background: rgba(0, 0, 0, 0.3);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 1.5rem 0;
  }

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

  .copyright {
      color: rgba(255, 255, 255, 0.6);
  }

  .legal-links {
      display: flex;
      gap: 2rem;
  }

  .legal-links a {
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.3s ease;
  }

  .legal-links a:hover {
      color: var(--primary-green);
  }

  /* Responsive Footer */
  @media (max-width: 1024px) {
      .footer-container {
          grid-template-columns: 1fr 1fr 1fr;
          gap: 2rem;
      }

      .footer-brand {
          grid-column: 1 / -1;
          max-width: none;
      }
  }

  @media (max-width: 768px) {
      .footer-container {
          grid-template-columns: 1fr;
          gap: 2rem;
          padding: 3rem 1rem 2rem;
      }

      .footer-bottom-content {
          flex-direction: column;
          text-align: center;
          gap: 1rem;
      }

      .legal-links {
          justify-content: center;
      }

      .app-stores {
          flex-direction: row;
          justify-content: center;
      }
  }

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

  .footer-section h3 {
      color: var(--primary-green);
      margin-bottom: 1.5rem;
      font-size: 1.3rem;
  }

  .footer-section ul {
      list-style: none;
  }

  .footer-section ul li {
      margin-bottom: 0.8rem;
  }

  .footer-section a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: color 0.3s;
  }

  .footer-section a:hover {
      color: var(--primary-green);
  }

  .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
  }

  .social-icon {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
      cursor: pointer;
  }

  .social-icon:hover {
      background: var(--primary-green);
      transform: translateY(-3px);
  }

  .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      text-align: center;
      color: rgba(255, 255, 255, 0.6);
  }

  @media (max-width: 768px) {
      .nav-links {
          display: none;
      }

      .hero-container {
          grid-template-columns: 1fr;
          text-align: center;
      }

      h1 {
          font-size: 2.5rem;
      }

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

      .section-title {
          font-size: 2rem;
      }

      .cta-content h2 {
          font-size: 2rem;
      }

      .phone-mockup {
          max-width: 300px;
      }

      .hero-image {
          display: none;
      }

      /* Optimize animations for mobile */
      .animated-bg {
          display: none;
          /* Hide complex background animations on mobile */
      }

      .wave,
      .spiral,
      .particle {
          animation-duration: 60s !important;
          /* Slower animations */
          opacity: 0.3 !important;
          /* Reduced opacity */
      }

      .hero::before {
          animation-duration: 40s;
          opacity: 0.5;
      }

      .hero::after {
          animation-duration: 50s;
          opacity: 0.4;
      }

      .features::before,
      .features::after,
      .how-it-works::before,
      .testimonials::before,
      .testimonials::after {
          opacity: 0.3;
          animation-duration: 45s;
      }

      /* Reduce complexity of transforms on mobile */
      .feature-card:hover,
      .testimonial-card:hover {
          transform: translateY(-5px) !important;
      }

      /* Simplified mobile navigation */
      .nav-links.active {
          display: flex;
          flex-direction: column;
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          background: rgba(255, 255, 255, 0.98);
          backdrop-filter: blur(10px);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
          padding: 1rem 0;
          z-index: 1000;
      }

      .nav-links.active li {
          margin: 0.5rem 0;
      }

      .mobile-menu-btn {
          display: block;
          background: none;
          border: none;
          font-size: 1.5rem;
          color: var(--primary-green);
          cursor: pointer;
      }
  }

  /* Tablet optimizations */
  @media (max-width: 1024px) and (min-width: 769px) {
      .animated-bg .wave {
          animation-duration: 50s;
      }

      .animated-bg .spiral {
          animation-duration: 35s;
      }

      .animated-bg .particle {
          animation-duration: 20s;
      }
  }

  /* High performance mode for older devices */
  @media (prefers-reduced-motion: reduce) {

      .wave,
      .spiral,
      .particle,
      .hero::before,
      .hero::after,
      .features::before,
      .features::after,
      .how-it-works::before,
      .testimonials::before,
      .testimonials::after {
          animation: none !important;
      }

      .feature-card,
      .testimonial-card {
          transition: none !important;
      }
  }

  /* Add mobile menu button styling */
  .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--primary-green);
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 8px;
      transition: background-color 0.3s;
  }

  .mobile-menu-btn:hover {
      background-color: rgba(16, 185, 129, 0.1);
  }

  /* =============================================
     REGISTRATION PAGE STYLES
     ============================================= */

  .registration-page {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: linear-gradient(135deg,
              rgba(16, 185, 129, 0.05) 0%,
              rgba(5, 150, 105, 0.05) 100%),
          var(--off-white);
      z-index: 1000;
      overflow-y: auto;
      padding: 2rem 1rem;
      animation: slideInFromRight 0.5s ease-out;
  }

  @keyframes slideInFromRight {
      0% {
          transform: translateX(100%);
          opacity: 0;
      }

      100% {
          transform: translateX(0);
          opacity: 1;
      }
  }

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

  .registration-content {
      background: white;
      border-radius: 24px;
      padding: 3rem;
      box-shadow:
          0 20px 60px rgba(0, 0, 0, 0.1),
          0 8px 25px rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: hidden;
  }

  .registration-content::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-green), var(--light-green));
  }

  .back-to-home {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: none;
      border: none;
      color: var(--gray-text);
      font-size: 0.9rem;
      cursor: pointer;
      padding: 0.5rem 1rem;
      border-radius: 12px;
      transition: all 0.3s ease;
      margin-bottom: 2rem;
      position: absolute;
      top: 1rem;
      left: 1rem;
  }

  .back-to-home:hover {
      background: var(--off-white);
      color: var(--primary-green);
      transform: translateX(-2px);
  }

  .registration-header {
      text-align: center;
      margin-bottom: 2.5rem;
      padding-top: 1rem;
  }

  .registration-header .logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
  }

  .registration-header .logo-icon {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--primary-green), var(--light-green));
      color: white;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: bold;
      box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  }

  .registration-header h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--dark-text);
      margin-bottom: 0.5rem;
  }

  .registration-subtitle {
      font-size: 1.1rem;
      color: var(--gray-text);
      margin-bottom: 1.5rem;
  }

  .referral-indicator {
      background: linear-gradient(135deg,
              rgba(16, 185, 129, 0.1),
              rgba(52, 211, 153, 0.1));
      border: 2px solid rgba(16, 185, 129, 0.2);
      border-radius: 16px;
      padding: 1rem;
      margin-bottom: 1rem;
  }

  .referral-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 600;
      color: var(--primary-green);
      font-size: 1rem;
  }

  .registration-form {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
  }

  .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
  }

  .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
  }

  .form-label {
      font-weight: 600;
      color: var(--dark-text);
      font-size: 0.95rem;
      margin-bottom: 0.25rem;
  }

  .form-input {
      padding: 1rem 1.25rem;
      border: 2px solid #e5e7eb;
      border-radius: 12px;
      font-size: 1rem;
      transition: all 0.3s ease;
      background: white;
      color: var(--dark-text);
  }

  .form-input:focus {
      outline: none;
      border-color: var(--primary-green);
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
      transform: translateY(-1px);
  }

  .form-input:hover:not(:disabled) {
      border-color: var(--light-green);
  }

  .form-input.disabled {
      background: var(--off-white);
      color: var(--gray-text);
      cursor: not-allowed;
  }

  .form-input.error {
      border-color: #ef4444;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  }

  .error-message {
      color: #ef4444;
      font-size: 0.85rem;
      font-weight: 500;
      display: none;
      margin-top: 0.25rem;
  }

  .error-message.show {
      display: block;
      animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
      0% {
          opacity: 0;
          transform: translateY(-5px);
      }

      100% {
          opacity: 1;
          transform: translateY(0);
      }
  }

  .password-input-container {
      position: relative;
  }

  .password-toggle {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--gray-text);
      cursor: pointer;
      padding: 0.25rem;
      border-radius: 6px;
      transition: all 0.3s ease;
  }

  .password-toggle:hover {
      color: var(--primary-green);
      background: rgba(16, 185, 129, 0.1);
  }

  .password-strength {
      margin-top: 0.5rem;
      padding: 0.5rem;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 500;
      display: none;
  }

  .password-strength.weak {
      background: rgba(239, 68, 68, 0.1);
      color: #ef4444;
      display: block;
  }

  .password-strength.medium {
      background: rgba(245, 158, 11, 0.1);
      color: #f59e0b;
      display: block;
  }

  .password-strength.strong {
      background: rgba(16, 185, 129, 0.1);
      color: var(--primary-green);
      display: block;
  }

  .referral-info {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--primary-green);
      margin-top: 0.5rem;
      font-weight: 500;
  }

  .register-btn {
      background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
      color: white;
      border: none;
      padding: 1.25rem 2rem;
      border-radius: 16px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 1rem;
      position: relative;
      overflow: hidden;
  }

  .register-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg,
              transparent,
              rgba(255, 255, 255, 0.2),
              transparent);
      transition: left 0.5s;
  }

  .register-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
  }

  .register-btn:hover::before {
      left: 100%;
  }

  .register-btn:disabled {
      background: var(--gray-text);
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
  }

  .btn-loader {
      animation: spin 1s linear infinite;
  }

  @keyframes spin {
      0% {
          transform: rotate(0deg);
      }

      100% {
          transform: rotate(360deg);
      }
  }

  .login-link {
      text-align: center;
      margin-top: 2rem;
      padding-top: 2rem;
      border-top: 1px solid #e5e7eb;
  }

  .login-link a {
      color: var(--primary-green);
      text-decoration: none;
      font-weight: 600;
  }

  .login-link a:hover {
      text-decoration: underline;
  }

  /* Success Modal */
  .success-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
      0% {
          opacity: 0;
      }

      100% {
          opacity: 1;
      }
  }

  .modal-content {
      background: white;
      border-radius: 24px;
      padding: 3rem;
      text-align: center;
      max-width: 500px;
      width: 100%;
      position: relative;
      animation: modalSlideIn 0.4s ease;
  }

  @keyframes modalSlideIn {
      0% {
          opacity: 0;
          transform: translateY(20px) scale(0.95);
      }

      100% {
          opacity: 1;
          transform: translateY(0) scale(1);
      }
  }

  .success-icon {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--primary-green), var(--light-green));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 2rem;
      color: white;
      animation: successPulse 2s ease-in-out infinite;
  }

  @keyframes successPulse {

      0%,
      100% {
          transform: scale(1);
          box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
      }

      50% {
          transform: scale(1.05);
          box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
      }
  }

  .modal-content h2 {
      font-size: 2rem;
      color: var(--dark-text);
      margin-bottom: 1rem;
  }

  .modal-content p {
      font-size: 1.1rem;
      color: var(--gray-text);
      margin-bottom: 2rem;
      line-height: 1.6;
  }

  .download-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin-bottom: 2rem;
      flex-wrap: wrap;
  }

  .download-buttons .store-btn {
      flex: 1;
      min-width: 200px;
      background: var(--dark-text);
      color: white;
      border: none;
      padding: 1rem 1.5rem;
      border-radius: 12px;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 600;
      transition: all 0.3s ease;
  }

  .download-buttons .store-btn:hover {
      background: var(--primary-green);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  }

  .modal-close {
      background: var(--off-white);
      color: var(--gray-text);
      border: 2px solid #e5e7eb;
      padding: 1rem 2rem;
      border-radius: 12px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
  }

  .modal-close:hover {
      background: var(--primary-green);
      color: white;
      border-color: var(--primary-green);
  }

  /* Responsive Design */
  @media (max-width: 768px) {
      .registration-page {
          padding: 1rem;
      }

      .registration-content {
          padding: 2rem;
          margin-top: 1rem;
      }

      .registration-header h1 {
          font-size: 2rem;
      }

      .form-row {
          grid-template-columns: 1fr;
          gap: 1rem;
      }

      .back-to-home {
          position: static;
          margin-bottom: 1rem;
      }

      .download-buttons {
          flex-direction: column;
      }

      .download-buttons .store-btn {
          min-width: auto;
      }

      .modal-content {
          padding: 2rem;
          margin: 1rem;
      }
  }

  @media (max-width: 480px) {
      .registration-content {
          padding: 1.5rem;
          border-radius: 16px;
      }

      .registration-header h1 {
          font-size: 1.75rem;
      }

      .registration-subtitle {
          font-size: 1rem;
      }

      .form-input {
          padding: 0.875rem 1rem;
          font-size: 0.95rem;
      }

      .register-btn {
          padding: 1rem 1.5rem;
          font-size: 1rem;
      }
  }