:root {
    --primary: #50164A;
    --primary-light: #7A2973;
    --secondary: #2E8B57;
    --dark: #1A1A1A;
    --light: #F8F9FA;
    --gray: #6c757d;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: #ffffff;
  }
  
  a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  a:hover {
    color: var(--primary-light);
  }
  
  .container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  }
  
  .btn-primary:hover {
    background: linear-gradient(0deg, var(--primary-light) 0%, var(--primary-light) 100%);
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: white;
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  
  .btn-outline:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
  }
  
  /* Header Styles */
  header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
  }
  
  .logo i {
    margin-right: 8px;
  }

  .logo-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 2rem;
  }
  
  .nav-links a {
    font-weight: 500;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
  }
  
  /* Hero Section with new background */
  .hero {
    padding: 80px 0 80px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      linear-gradient(135deg, rgba(80, 22, 74, 0.03) 0%, rgba(80, 22, 74, 0.01) 100%),
      radial-gradient(circle at 20% 80%, rgba(80, 22, 74, 0.05) 0%, transparent 20%),
      radial-gradient(circle at 80% 20%, rgba(46, 139, 87, 0.05) 0%, transparent 20%);
    z-index: -2;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      linear-gradient(rgba(80, 22, 74, 0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(80, 22, 74, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.7; /* Increased from 0.4 */
    animation: heroBackgroundScroll 60s linear infinite;
  }
  
  .hero-hexagons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
  }
  
  .hexagon {
    position: absolute;
    width: 60px;
    height: 35px;
    background-color: rgba(80, 22, 74, 0.1); /* Increased from 0.05 */
    transition: all 0.3s ease;
    opacity: 0;
    animation: floatHexagon 20s infinite;
  }
  
  .hexagon::before,
  .hexagon::after {
    content: "";
    position: absolute;
    width: 0;
    left: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
  }
  
  .hexagon::before {
    bottom: 100%;
    border-bottom: 17.5px solid rgba(80, 22, 74, 0.1); /* Increased from 0.05 */
  }
  
  .hexagon::after {
    top: 100%;
    border-top: 17.5px solid rgba(80, 22, 74, 0.1); /* Increased from 0.05 */
  }
  
  .hexagon:nth-child(1) {
    top: 80%;
    left: 15%;
    animation-delay: 0s;
    transform-origin: center;
    animation-duration: 18s;
  }
  
  .hexagon:nth-child(2) {
    top: 90%;
    left: 35%;
    animation-delay: 2s;
    transform-origin: center;
    animation-duration: 22s;
  }
  
  .hexagon:nth-child(3) {
    top: 85%;
    left: 65%;
    animation-delay: 5s;
    transform-origin: center;
    animation-duration: 19s;
  }
  
  .hexagon:nth-child(4) {
    top: 75%;
    left: 80%;
    animation-delay: 7s;
    transform-origin: center;
    animation-duration: 23s;
  }
  
  .hexagon:nth-child(5) {
    top: 95%;
    left: 25%;
    animation-delay: 10s;
    transform-origin: center;
    animation-duration: 20s;
  }
  
  .hexagon:nth-child(6) {
    top: 90%;
    left: 55%;
    animation-delay: 14s;
    transform-origin: center;
    animation-duration: 21s;
  }
  
  .hexagon:nth-child(7) {
    top: 85%;
    left: 5%;
    animation-delay: 17s;
    transform-origin: center;
    animation-duration: 24s;
  }
  
  /* Add more hexagons for a fuller effect */
  .hexagon:nth-child(8) {
    top: 80%;
    left: 45%;
    animation-delay: 4s;
    transform-origin: center;
    animation-duration: 25s;
  }
  
  .hexagon:nth-child(9) {
    top: 95%;
    left: 75%;
    animation-delay: 8s;
    transform-origin: center;
    animation-duration: 17s;
  }
  
  @keyframes heroBackgroundScroll {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 0 100%;
    }
  }
  
  @keyframes floatHexagon {
    0% {
      transform: translateY(0) rotate(0deg) scale(0.8);
      opacity: 0;
    }
    10% {
      opacity: 0.3; /* Increased from 0.2 */
    }
    50% {
      opacity: 0.4; /* Increased from 0.3 */
      transform: translateY(-50vh) rotate(180deg) translateX(20px) scale(1.0);
    }
    90% {
      opacity: 0.3; /* Increased from 0.2 */
    }
    100% {
      transform: translateY(-100vh) rotate(360deg) translateX(-20px) scale(1.2);
      opacity: 0;
    }
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    text-align: center;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    margin-top:-100px;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--primary);
    line-height: 1.2;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 0.8s ease;
  }
  
  .hero p {
    font-size: 1.25rem;
    color: var(--dark);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: slideUp 0.8s ease 0.2s both;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .hero-buttons .btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  
  .hero-buttons .btn-outline:hover {
    background-color: var(--primary-light);
    color: white;
  }
  
  /* About Section */
  .about {
    padding: 5rem 0;
    background-color: white;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  .section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
  }
  
  .about-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
  }

  .about-text-wrapper {
    flex: 1;
    position: relative;
  }

  .about-image {
    flex: 0.6; /* 40% smaller as requested previously */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    position: sticky;
    top: 100px;
  }

  .about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }

  .about-image:hover img {
    transform: scale(1.03);
  }

  /* New highlight styles */
  .about-highlight {
    margin-bottom: 0.5rem;
    position: relative;
  }

  .about-highlight span {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(80, 22, 74, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  
  .about-paragraph {
    border-left: 3px solid var(--primary);
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
  }

  .about-paragraph:hover {
    background-color: rgba(80, 22, 74, 0.03);
    padding: 1rem 1.2rem;
    border-radius: 0 8px 8px 0;
  }

  
  .about-paragraph:last-child::after {
    display: none;
  }


  
  /* How It Works Section */
  .how-it-works {
    padding: 5rem 0;
    background-color: white;
  }
  
  .workflow-diagram {
    width: 100%;
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
  }
  
  .workflow-diagram svg {
    width: 100%;
    height: auto;
    max-height: 550px;
  }
  
  .process-steps {
    margin-top: 3rem;
  }
  
  .step {
    display: flex;
    margin-bottom: 4rem;
    gap: 2rem;
  }
  
  .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  .step-content h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
  }
  
  .step-content p {
    margin-bottom: 1rem;
  }
  
  .step-icon {
    background-color: rgba(80, 22, 74, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .step-icon i {
    color: var(--primary);
    font-size: 1.5rem;
  }
  
  /* Features Section */
  .features {
    padding: 5rem 0;
    background-color: var(--light);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .feature-icon {
    background-color: rgba(80, 22, 74, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .feature-icon i {
    color: var(--primary);
    font-size: 1.8rem;
  }
  
  .feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
  }
  
  /* Why Now Section */
  .why-now {
    padding: 5rem 0;
    background-color: white;
  }
  
  .reasons {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .reason-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
  }
  
  .reason-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }
  
  .reason-card h3 i {
    margin-right: 10px;
  }
  
  /* Testimonials Section */
  .testimonial-slider {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem 0;
  }

  .testimonial-card {
    flex: 1 1 calc(33.33% - 2rem); /* Responsive sizing - approximately 3 cards per row */
    min-width: 280px; /* Minimum width before wrapping */
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-5px);
  }

  .testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
  }

  .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
  }

  .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .author-info h4 {
    margin-bottom: 0.25rem;
  }

  .author-info p {
    color: var(--gray);
    font-size: 0.9rem;
  }
  
  /* Team Section */
  .team {
    padding: 5rem 0;
    background-color: var(--light);
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
  }
  
  .member-image {
    height: 250px;
    overflow: hidden;
  }
  
  .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .member-info {
    padding: 1.5rem;
  }
  
  .member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
  }
  
  .member-info p.position {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    transition: all 0.3s ease;
  }
  
  .social-links a:hover {
    background-color: var(--primary);
    color: white;
  }
  
  /* CTA Section */
  .cta {
    padding: 5rem 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
  }
  
  .cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta .btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
  }
  
  .cta .btn-outline:hover {
    background-color: white;
    color: var(--primary);
  }
  
  /* Contact Section */
  .contact {
    padding: 5rem 0;
    background-color: white;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
  }
  
  .contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
  }
  
  textarea {
    resize: vertical;
    min-height: 150px;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .contact-icon {
    min-width: 50px;
    min-height: 50px;
    background-color: rgba(80, 22, 74, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
  }
  
  .contact-icon i {
    color: var(--primary);
    font-size: 1.25rem;
  }
  
  /* Footer */
  footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }
  
  .footer-logo i {
    margin-right: 8px;
  }
  
  .footer-about p {
    margin-bottom: 1.5rem;
  }
  
  .footer-links h4 {
    margin-bottom: 1.5rem;
    color: white;
  }
  
  .footer-links ul {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links a {
    color: #B0B0B0;
  }
  
  .footer-links a:hover {
    color: white;
  }
  
  .footer-newsletter p {
    margin-bottom: 1.5rem;
  }
  
  .newsletter-form {
    display: flex;
    gap: 0;
  }

  .newsletter-form input {
    flex: 1;
    border-radius: 8px 0 0 8px;
    border: none;
    height: 48px;
    padding: 0 0.75rem;
    margin: 0;
  }

  .newsletter-form button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
  }

  .newsletter-form button:hover {
    background-color: var(--primary-light);
  }

  .newsletter-form button i {
    font-size: 1.1rem;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #B0B0B0;
    font-size: 0.9rem;
  }

  .waitlist-menu-btn {
    padding:4px 10px;
    background-color:transparent;
    font-weight: bold; 
    font-size:1.1rem;
    color: var(--primary);  
    text-align:center;
    cursor:pointer;
    border-width:2px;
    border-style:solid;
    border-radius: 6px;
    border-color: var(--primary);
  }

  .waitlist-menu-btn:hover {
    background-color:var(--primary-light);
    color: white;  
  }
   
  /* Responsive Styles */

  @media (max-width: 1105px) {
    .hamburger {
      display: block;
    }

     .nav-links {
      position: fixed;
      top: 70px;
      left: 0;
      right: 0;
      background-color: white;
      height: 0;
      overflow: hidden;
      transition: height 0.3s ease;
      flex-direction: column;
      width: 100%;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
      height: 420px;
      padding: 1rem 0;
    }
    
    .nav-links li {
      margin: 1rem 0;
      text-align: center;
    }
    
  }
  @media (max-width: 992px) {
    .hero h1 {
      font-size: 2.5rem;
    }

    .hero-buttons .btn-outline {
      padding: 6px 24px;
    }
    
    .about-content {
      flex-direction: column;
    }
        
    .workflow-diagram svg text {
      font-size: 12px;
    }

    .testimonial-card {
      flex: 1 1 calc(50% - 2rem); /* 2 cards per row on medium screens */
    }

    .about-content {
      flex-direction: column;
    }
    
    .about-image {
      max-width: 80%;
      margin: 0 auto 2rem;
      position: relative;
      top: 0;
    }
    
    .about-text-wrapper {
      order: 2;
    }
    
    .about-image {
      order: 1;
    }
  }
  
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2rem;
    }
    
    .hero-buttons {
      flex-direction: column;
    }
    
    .testimonial-card {
      flex: 0 0 calc(100% - 2rem);
    }
    
    .workflow-diagram svg text {
      font-size: 10px;
    }
  }
  
  @media (max-width: 576px) {
    .workflow-diagram svg text {
      font-size: 8px;
    }
    .testimonial-card {
      flex: 1 1 100%; /* 1 card per row on small screens */
    }
    .about-highlight span {
      font-size: 0.9rem;
    }
    
    .about-paragraph {
      font-size: 0.95rem;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .hero::after {
      animation: none;
    }
    .hexagon {
      animation: none;
      opacity: 0.2;
    }
  }


 /* Improved RWA Market Statistics Carousel CSS */

 .rwa-stats {
  padding: 5rem 0;
  background-color: #f8f9fa;
  overflow: hidden;
  position: relative;
}

/* Animated background elements */
.rwa-stats::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(80, 22, 74, 0.03) 0%, transparent 15%),
    radial-gradient(circle at 80% 70%, rgba(46, 139, 87, 0.03) 0%, transparent 15%);
  z-index: 0;
}

.stats-carousel-container {
  width: 100%;
  overflow: hidden;
  margin: 3rem 0;
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  cursor: pointer; /* Indicate clickable */
}

.stats-carousel-track {
  display: flex;
  width: max-content; /* Allows track to be as wide as needed */
  animation: carouselMove 60s linear infinite;
  gap: 2rem;
  will-change: transform; /* Optimization for animations */
  touch-action: pan-y; /* Better touch handling */
}

.stat-card {
  flex: 0 0 280px;
  height: 200px;
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-bottom: 4px solid var(--primary);
  -webkit-user-select: none;
  user-select: none; /* Prevent text selection during dragging */
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.4;
}

/* Improved carousel animation */
@keyframes carouselMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-280px * 8 - 2rem * 8)); /* Move exactly by the width of all original cards */
  }
}

/* Overlay gradients to create fade effect */
.stats-carousel-container::before,
.stats-carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.stats-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #f8f9fa, transparent);
}

.stats-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #f8f9fa, transparent);
}
/* Cursor styles for dragging */
.stats-carousel-container.dragging {
  cursor: grabbing;
}

/* Custom styles for interactive states */
.stats-carousel-container:hover {
  background-color: rgba(80, 22, 74, 0.02); /* Subtle hover indicator */
}

.stats-carousel-container::after {
  position: absolute;
  bottom: -25px;
  left: 100%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--gray);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.stats-carousel-container:hover::after {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stat-card {
    flex: 0 0 240px;
    height: 180px;
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  @keyframes carouselMove {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-240px * 8 - 2rem * 8));
    }
  }

  .stats-carousel-container::after {
    bottom: -20px;
    font-size: 0.8rem;
  }
}


/* Industry Quotes Section Styles */
.industry-quotes {
  padding: 5rem 0;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

/* Background design elements */
.industry-quotes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(80, 22, 74, 0.05) 0%, transparent 25%),
    radial-gradient(circle at 90% 90%, rgba(46, 139, 87, 0.05) 0%, transparent 25%);
  z-index: 0;
}

.industry-quotes .container {
  position: relative;
  z-index: 1;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.quote-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border-left: 4px solid var(--primary);
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.quote-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.quote-content blockquote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1rem;
  border-left: none;
  color: var(--dark);
}

.quote-content blockquote::before {
  content: "";
  font-family: serif;
  font-size: 3rem;
  position: absolute;
  left: -1rem;
  top: -1rem;
  color: rgba(80, 22, 74, 0.1);
  line-height: 1;
}

.quote-source {
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  color: var(--gray);
}

.source-name {
  font-weight: 600;
  color: var(--primary);
}

.quote-implication {
  background-color: rgba(80, 22, 74, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-top: auto;
  font-size: 0.95rem;
  line-height: 1.5;
}

.quote-implication strong {
  color: var(--primary);
}

/* CTA Box */
.cta-box {
  background-color: white;
  border-radius: 10px;
  padding: 3rem;
  margin-top: 4rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  border-bottom: 4px solid var(--primary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
  .quotes-grid {
    grid-template-columns: 1fr;
  }
  
  .quote-card {
    padding: 1.5rem;
  }
  
  .quote-content blockquote {
    font-size: 1rem;
  }
  
  .cta-box {
    padding: 2rem;
  }
  
  .cta-box h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .quote-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    top: -15px;
  }
  
  .quote-content blockquote {
    font-size: 0.95rem;
  }
  
  .quote-implication {
    font-size: 0.9rem;
  }
  
  .cta-box {
    padding: 1.5rem;
  }
}

/* DeFi Integration Section Styles */
.defi-integration {
  padding: 5rem 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

/* Background elements */
.defi-integration::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(80, 22, 74, 0.05) 0%, transparent 25%),
    radial-gradient(circle at 15% 85%, rgba(46, 139, 87, 0.05) 0%, transparent 25%);
  z-index: 0;
}

.defi-integration .container {
  position: relative;
  z-index: 1;
}

.defi-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.defi-intro p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Compatibility Highlight */
.defi-compatibility {
  margin-bottom: 4rem;
}

.compatibility-highlight {
  background-color: rgba(80, 22, 74, 0.05);
  border-radius: 15px;
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  border-left: 4px solid var(--primary);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.compatibility-highlight:hover {
  transform: translateY(-5px);
}

.compatibility-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.compatibility-icon i {
  color: white;
  font-size: 2rem;
}

.compatibility-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.compatibility-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Integrations Grid */
.integrations-section {
  margin-bottom: 4rem;
}

.integrations-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.integration-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border-bottom: 3px solid var(--primary);
}

.integration-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.integration-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(80, 22, 74, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.integration-icon i {
  color: var(--primary);
  font-size: 1.5rem;
}

.integration-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.integration-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
}

/* DeFi Access Box */
.defi-access {
  margin-top: 3rem;
}

.access-box {
  background-color: white;
  border-radius: 15px;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--primary);
}

.access-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(80, 22, 74, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(46, 139, 87, 0.05) 0%, transparent 30%);
  z-index: -1;
}

.access-box h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.access-box p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* DeFi Workflow Diagram */
.defi-workflow-diagram {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.defi-workflow-diagram:hover {
  transform: translateY(-5px);
}

.defi-workflow-diagram svg {
  width: 100%;
  height: auto;
  max-height: 450px;
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.integration-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.integration-card:nth-child(1) { animation-delay: 0.1s; }
.integration-card:nth-child(2) { animation-delay: 0.2s; }
.integration-card:nth-child(3) { animation-delay: 0.3s; }
.integration-card:nth-child(4) { animation-delay: 0.4s; }
.integration-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Styles */
@media (max-width: 992px) {
  .compatibility-highlight {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .compatibility-icon {
    margin: 0 auto 1.5rem;
  }
  
  .integrations-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .defi-intro p {
    font-size: 1.1rem;
  }
  
  .compatibility-content h3 {
    font-size: 1.4rem;
  }
  
  .compatibility-content p {
    font-size: 1rem;
  }
  
  .integrations-title {
    font-size: 1.6rem;
  }
  
  .access-box {
    padding: 2.5rem;
  }
  
  .access-box h3 {
    font-size: 1.6rem;
  }
  
  .access-box p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .defi-intro p {
    font-size: 1rem;
  }
  
  .compatibility-highlight {
    padding: 1.5rem;
  }
  
  .compatibility-icon {
    width: 60px;
    height: 60px;
  }
  
  .compatibility-icon i {
    font-size: 1.5rem;
  }
  
  .integrations-grid {
    grid-template-columns: 1fr;
  }
  
  .access-box {
    padding: 2rem;
  }
  
  .access-box h3 {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .integration-card {
    animation: none;
    opacity: 1;
  }
}

/* ========================================
   SCROLL ANIMATIONS - WEBFLOW STYLE
   ======================================== */

/* Base scroll animation class */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.scroll-animate.animated {
  opacity: 1;
}

/* Fade Animations */
.scroll-animate.fade-up {
  transform: translateY(40px);
}

.scroll-animate.animated.fade-up {
  transform: translateY(0);
}

.scroll-animate.fade-down {
  transform: translateY(-40px);
}

.scroll-animate.animated.fade-down {
  transform: translateY(0);
}

.scroll-animate.fade-left {
  transform: translateX(40px);
}

.scroll-animate.animated.fade-left {
  transform: translateX(0);
}

.scroll-animate.fade-right {
  transform: translateX(-40px);
}

.scroll-animate.animated.fade-right {
  transform: translateX(0);
}

/* Slide Animations - More dramatic movement */
.scroll-animate.slide-left {
  transform: translateX(100px);
  opacity: 0;
}

.scroll-animate.animated.slide-left {
  animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 1;
}

.scroll-animate.slide-right {
  transform: translateX(-100px);
  opacity: 0;
}

.scroll-animate.animated.slide-right {
  animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 1;
}

/* Scale Animations */
.scroll-animate.scale-up {
  transform: scale(0.85);
  opacity: 0;
}

.scroll-animate.animated.scale-up {
  animation: scaleUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 1;
}

/* Flip Animations */
.scroll-animate.flip-left {
  transform: perspective(1200px) rotateY(-80deg);
  opacity: 0;
}

.scroll-animate.animated.flip-left {
  animation: flipInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 1;
}

/* Keyframes Definitions */
@keyframes slideInLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleUp {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes flipInLeft {
  0% {
    transform: perspective(1200px) rotateY(-80deg);
    opacity: 0;
  }
  100% {
    transform: perspective(1200px) rotateY(0);
    opacity: 1;
  }
}

/* Webflow-style fade and scale combo */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Section title special animation */
.section-title.animated {
  animation: fadeInScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Staggered animations for grid items */
.features-grid .feature-card,
.hero-cards .card,
.quotes-grid .quote-card,
.integrations-grid .integration-card,
.process-steps .step {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced hover effects after animation */
.scroll-animate.animated .feature-card:hover,
.scroll-animate.animated .card:hover,
.scroll-animate.animated .quote-card:hover,
.scroll-animate.animated .integration-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Timeline special animation */
.timeline-item.scroll-animate {
  position: relative;
  overflow: hidden;
}

.timeline-item.scroll-animate.slide-left {
  transform: translateX(-60px);
}

.timeline-item.scroll-animate.slide-right {
  transform: translateX(60px);
}

.timeline-item.animated.slide-left,
.timeline-item.animated.slide-right {
  transform: translateX(0);
}

/* Stats counter animation preparation */
.rwa-stat-value {
  display: inline-block;
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-variant-numeric: tabular-nums;
}

/* Demo button pulse animation */
.demo-container .btn-large {
  position: relative;
  overflow: hidden;
}

.demo-container.animated .btn-large::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  animation: pulseRipple 2s ease-out infinite;
}

@keyframes pulseRipple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* Smooth parallax for hero content */
.hero-content {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .scroll-animate.slide-left,
  .scroll-animate.slide-right {
    transform: translateX(50px);
  }
  
  .scroll-animate.slide-left {
    transform: translateX(50px);
  }
  
  .scroll-animate.slide-right {
    transform: translateX(-50px);
  }
  
  .scroll-animate.animated.slide-left,
  .scroll-animate.animated.slide-right {
    transform: translateX(0);
  }
  
  /* Reduce animation distance on mobile */
  .scroll-animate.fade-up,
  .scroll-animate.fade-down,
  .scroll-animate.fade-left,
  .scroll-animate.fade-right {
    transform: translateY(20px);
  }
  
  .scroll-animate.fade-left {
    transform: translateX(20px);
  }
  
  .scroll-animate.fade-right {
    transform: translateX(-20px);
  }
}

/* Performance optimization */
.scroll-animate:not(.animated) {
  pointer-events: none;
}

.scroll-animate.animated {
  pointer-events: auto;
}

/* Prevent section overlap during animations */
section {
  position: relative;
  overflow: hidden;
}

/* Ensure animations don't cause layout shift */
.scroll-animate:not(.animated) {
  visibility: hidden;
}

.scroll-animate.animated {
  visibility: visible;
}

/* Fix for potential overlapping sections */
.about, .rwa-stats, .how-it-works, .defi-integration, 
.features, .why-now, .live-demo-section, .industry-quotes, 
.testimonials, .contact {
  position: relative;
  z-index: 1;
  background-color: white;
}

/* Ensure proper spacing between sections */
section + section {
  margin-top: 0;
}