/* Reset & base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #000;
    color: #fff;
    font-family: 'Albert Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  
  /* Container utility */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Navigation */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4); /* 40% transparent background */
    backdrop-filter: blur(8px); /* Add subtle blur for better readability */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Thin border line */
    padding: 5px 0;
  }
  
  .brand {
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
  }
  
  .navigation a {
    margin-left: 34px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease;
  }
  
  .navigation a:hover {
    opacity: 0.7;
  }
  
  /* Dropdown navigation */
  .navigation {
    position: relative;
  }
  
  @keyframes dropdownSlide {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .dropbtn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
  }
  
  .dropbtn:focus {
    outline: none;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #000;
    min-width: 180px;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform-origin: top;
  }
  
  .dropdown-content a {
    display: block;
    padding: 10px 20px;
    margin-left: 0; /* override default spacing */
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  
  .dropdown-content a:hover {
    background: #111;
  }
  
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: block;
    animation: dropdownSlide 0.3s ease forwards;
  }
  
  /* Remove original margin for nav links in other contexts (if any) */
  .navigation a {
    margin-left: 0;
  }
  
  /* Hero Section */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 0 20px;
  }
  
  .gradient-text {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 500;
    line-height: 1.05;
    background: linear-gradient(90deg, #ff3bff 0%, #ecafbe 38%, #5d24ff 76%, #d94fd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    background-clip: text;
    color: transparent;
  }
  
  .secondary-text {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 500;
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    margin-top: 4px;
  }
  
  .tagline {
    margin-top: 40px;
    max-width: 720px;
    font-size: 20px;
    line-height: 1.4;
    color: #ffffff;
    /* thin black outline for readability */
    -webkit-text-stroke: .25px #000;
    text-stroke: .25px #000;
  }
  
  /* Call-to-Action Button */
  .btn-cta {
    display: inline-block;
    margin-top: 60px;
    padding: 20px 60px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    border-radius: 100px;
    border: 2px solid transparent;
    background-image: linear-gradient(#000, #000),
      linear-gradient(90deg, #ff3bff 0%, #ecafbe 38%, #5d24ff 76%, #d94fd5 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  
  .btn-cta:hover {
    transform: translateY(-3px);
    opacity: 0.9;
  }
  
  /* Hero Animation */
  .hero-animate {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .hero-animate.show {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  
  /* Responsive Navigation Toggle (optional placeholder, can be enhanced later) */
  @media (max-width: 768px) {
    .navigation a {
      margin-left: 20px;
    }
  }
  
  /* Spline 3D background */
  #spline-bg {
    position: fixed;
    top: 125px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* behind all main content */
    pointer-events: none; /* allow clicks through */
  }
  
  /* Generic Sections */
  .section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto 80px auto; /* Added 80px bottom margin for spacing between sections */
    text-align: center;
    scroll-margin-top: 100px; /* offset for fixed navbar */
  
    /* Glassy container for readability */
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  
  .section h2 {
    font-size: 40px;
    margin-bottom: 20px;
  }
  
  .section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
  }
  
  /* About Section Styling */
  .about-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .side-by-side-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
  }
  
  .side-by-side-container .about-block {
    flex: 1;
    margin-bottom: 0;
  }
  
  .about-block {
    margin-bottom: 50px;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .about-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 59, 255, 0.1);
  }
  
  .highlight-block {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.6), rgba(20, 20, 25, 0.7));
    border: 1px solid rgba(60, 60, 70, 0.3);
  }
  
  .about-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #a478ff 0%, #ff7aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  
  .about-block p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: none;
  }
  
  .pain-points {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .pain-points li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
  }
  
  .pain-points li::before {
    content: '✗';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff7aff;
    font-weight: bold;
    font-size: 18px;
  }
  
  .emphasis {
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(90deg, #a478ff 0%, #ff7aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
  }
  
  .emphasis::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #a478ff, #ff7aff);
    border-radius: 2px;
  }
  
  .white-emphasis {
    font-weight: 600;
    font-style: italic;
    color: #fff;
  }
  
  .closing-statement {
    font-weight: 500;
    font-size: 22px;
    background: linear-gradient(90deg, #a478ff 0%, #ff7aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-top: 20px;
    padding-left: 20px;
    border-left: 3px solid #ff3bff;
  }
  
  /* Contact form */
  .contact-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 16px;
  }
  
  .contact-form button {
    padding: 14px 40px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    background-image: linear-gradient(#000, #000),
      linear-gradient(90deg, #ff3bff 0%, #ecafbe 38%, #5d24ff 76%, #d94fd5 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #fff;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  
  .contact-form button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
  }
  
  /* Scroll reveal animations */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  
  .scroll-reveal.show {
    opacity: 1;
    transform: translateY(0);
  }

  /* Loading Screen */
  #loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  }

  #loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
  }

  .loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
  }

  .loading-logo {
    font-size: 48px;
    font-weight: 600;
    background: linear-gradient(90deg, #ff3bff 0%, #ecafbe 38%, #5d24ff 76%, #d94fd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 40px;
    animation: pulse 2s ease-in-out infinite;
  }

  .loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
  }

  .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid;
    border-radius: 50%;
    animation: spin 2s linear infinite;
  }

  .spinner-ring:nth-child(1) {
    border-top-color: #ff3bff;
    animation-duration: 2s;
  }

  .spinner-ring:nth-child(2) {
    border-top-color: #5d24ff;
    animation-duration: 2.5s;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
  }

  .spinner-ring:nth-child(3) {
    border-top-color: #d94fd5;
    animation-duration: 3s;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
  }

  .loading-text {
    font-size: 16px;
    color: #fff;
    opacity: 0.8;
    animation: fadeInOut 2s ease-in-out infinite;
  }

  .hidden {
    display: none;
  }

  /* Loading Animations */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInOut {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
  }

  /* Mobile responsive */
  @media (max-width: 768px) {
    .side-by-side-container {
      flex-direction: column;
      gap: 20px;
    }
    
    .side-by-side-container .about-block {
      margin-bottom: 30px;
    }
  }

  /* Solutions Section Styling */
  .solutions-content {
    max-width: 800px;
    margin: 0 auto;
  }

  .solution-item {
    margin-bottom: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.6), rgba(20, 20, 25, 0.7));
    border: 1px solid rgba(60, 60, 70, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .solution-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 59, 255, 0.15);
  }

  .solution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .solution-header:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .solution-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(90deg, #a478ff 0%, #ff7aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }

  .emoji {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: unset !important;
    font-size: 20px;
  }

  .solution-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #a478ff;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .solution-item.active .solution-toggle {
    transform: rotate(45deg);
    color: #ff7aff;
  }

  .solution-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
  }

  .solution-item.active .solution-details {
    max-height: 600px;
    padding: 20px 30px 25px 30px;
  }

  .solution-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }

  .solution-text {
    flex: 1;
  }

  .solution-details p {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 20px 0;
  }

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

  .feature-list li {
    font-size: 14px;
    color: #a478ff;
    margin-bottom: 8px;
    padding-left: 0;
  }

  .demo-video-row {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .demo-video-row iframe {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .demo-video-placeholder {
    flex-shrink: 0;
    width: 180px;
  }

  .video-mockup {
    width: 180px;
    height: 100px;
    background: linear-gradient(135deg, #1a1a1f, #2a2a35);
    border: 2px solid rgba(164, 120, 255, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .video-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(164, 120, 255, 0.2), transparent);
    transition: left 0.6s ease;
  }

  .video-mockup:hover::before {
    left: 100%;
  }

  .video-mockup:hover {
    border-color: rgba(255, 122, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(164, 120, 255, 0.3);
  }

  .play-button {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a478ff, #ff7aff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
  }

  .video-mockup:hover .play-button {
    transform: scale(1.1);
  }

  .demo-label {
    font-size: 12px;
    color: #a478ff;
    font-weight: 500;
  }

  /* Mobile responsive for solutions */
  @media (max-width: 768px) {
    .solution-item.active .solution-details {
      max-height: 700px;
    }
  }

  /* Onboarding Section Styling */
  .onboarding-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 40px 40px 20px 40px;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.6), rgba(20, 20, 25, 0.7));
    border: 1px solid rgba(60, 60, 70, 0.3);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  .step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
    padding-left: 90px; /* Add padding to make room for step numbers */
  }

  .step-item:last-child {
    margin-bottom: 0;
  }

  .step-item::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, #a478ff, #ff7aff);
    z-index: 1;
  }

  .step-item:last-child::after {
    display: none;
  }

  .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a478ff, #ff7aff);
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(164, 120, 255, 0.3);
  }

  .step-content {
    flex: 1; /* Take up remaining space */
    text-align: left; /* Change from center to left alignment */
    padding-top: 8px;
  }

  .step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #a478ff 0%, #ff7aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }

  .step-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin: 0;
  }

  /* Mobile responsive for onboarding */
  @media (max-width: 768px) {
    .step-item {
      margin-bottom: 40px;
      padding-left: 70px; /* Reduced padding for mobile */
    }
    
    .step-number {
      width: 50px;
      height: 50px;
      font-size: 20px;
    }
    
    .step-item::after {
      left: 25px;
      top: 50px;
    }
    
    .step-title {
      font-size: 20px;
    }

    .onboarding-steps {
      padding: 30px 20px 15px 20px; /* Reduced padding for mobile */
    }
  }

  /* FAQ Section Styling */
  .faq-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .faq-item {
    margin-bottom: 16px;
    border: 2px solid rgba(164, 120, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
  }

  .faq-item:hover {
    border-color: rgba(255, 122, 255, 0.5);
    transform: translateX(8px);
    box-shadow: -4px 0 20px rgba(164, 120, 255, 0.2);
  }

  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: transparent;
    transition: background 0.3s ease;
  }

  .faq-item.active .faq-question {
    background: rgba(164, 120, 255, 0.1);
  }

  .faq-text {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
  }

  .faq-arrow {
    font-size: 20px;
    font-weight: bold;
    color: #a478ff;
    transition: transform 0.4s ease, color 0.3s ease;
  }

  .faq-item.active .faq-arrow {
    transform: rotate(90deg);
    color: #ff7aff;
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(164, 120, 255, 0.05);
  }

  .faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 20px 25px;
  }

  .faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    padding-top: 10px;
  }

  /* Mobile responsive for FAQ */
  @media (max-width: 768px) {
    .faq-item:hover {
      transform: translateX(4px);
    }
    
    .faq-question {
      padding: 16px 20px;
    }
    
    .faq-text {
      font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
      padding: 0 20px 16px 20px;
    }
  } 