:root {
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --primary: #0788c9;
    --primary-dark: #015092;
    --primary-hover: #0788c9;
    --primary-light: #e6f0ff;
    --danger: #dc3545;
    --danger-hover: #b61e2e;
    --grey-100: #f8f9fa;
    --grey-200: #e9ecef;
    --grey-300: #dee2e6;
    --grey-400: #ced4da;
    --grey-500: #adb5bd;
    --grey-600: #6c757d;
    --grey-700: #495057;
    --grey-800: #343a40;
    --grey-900: #212529;
    --success: #28a745;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --transition: all 0.2s ease-in-out;
    
    /* Dark mode colors */
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --text-light: #f5f5f5;
    --text-muted: #adb5bd;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
  }
  
  a:hover {
    color: var(--primary-hover);
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }
  
  .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
  }
  
  .btn-primary {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border: none;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    color: white;
  }
  
  .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  
  .btn-outline:hover {
    transform: translateY(-2px);
    color: white;
  }
  
  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 60px;
    /*display: flex;
    align-items: center;*/
  }
  
  .header-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    height: 45px;
  }

  .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-menu {
    display: flex;
    list-style: none;
  }
  
  .nav-item {
    margin-left: 2rem;
  }
  
  .nav-link {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
  }
  
  .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
  }
  
  .nav-link:hover:after, .nav-link.active:after {
    width: 100%;
  }
  
  .mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  /* Hero Section */
  .hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at 80% 50%, #015092 0%, var(--bg-dark) 50%);
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    pointer-events: none;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 25px;
    padding-bottom: 40px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
  }
  
  .hero-image {
    position: relative;
  }
  
  .hero-image img {
    width: 120%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
  }
  
  /* Features Section */
  .features {
    padding-top: 65px;
    padding-bottom: 75px;
    background-color: var(--bg-card);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .section-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
  }
  
  .features-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .form-features-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: -180px;
    z-index: 10003;
  }

  .form-feature-overlay {
    position: absolute;
    top: 0;
    left: 45%;
    width: 75px;
    height: 100%;
    background-color: #121212;
    z-index: 10002;
    pointer-events: none;
  }

  /* Hide overlay on smaller screens */
  @media (max-width: 769px) {
    .feature-overlay {
      display: none;
    }
  }
  
  .feature-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    cursor: default;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }
  
  .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
  }
  
  .feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-description {
    color: var(--text-muted);
  }
  
  /* Demo Video Section */
  .demo {
    padding: 40px 0;
    background-color: #0d0d0d;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  /* FAQ Section */
  .faq {
    padding: 100px 0;
  }
  
  .accordion {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
    overflow: hidden;
  }
  
  .accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
  }
  
  .accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  .accordion-icon {
    transition: var(--transition);
  }
  
  .accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .accordion-content p {
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
    color: var(--text-muted);
  }
  
  .accordion-item.active .accordion-icon {
    transform: rotate(180deg);
  }
  
  .accordion-item.active .accordion-content {
    max-height: 1000px;
  }
  
  /* CTA Section */
  .cta {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    margin: 0 var(--spacing-md) 100px;
    text-align: center;
  }
  
  .cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
  }
  
  .cta-btn {
    background-color: white;
    color: var(--primary-dark);
  }
  
  .cta-btn:hover {
    background-color: var(--grey-100);
    color: var(--primary-dark);
  }
  
  /* Page Header */
  .page-header {
    padding: 120px 0 60px;
    background: radial-gradient(circle at 80% 50%, #015092 0%, var(--bg-dark) 50%);
    text-align: center;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .page-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
  }
  
  /* Content Section */
  .content-section {
    padding: 80px 0;
  }
  
  .content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  
  .content-container h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--primary);
  }
  
  .content-container h2:first-child {
    margin-top: 0;
  }
  
  .content-container h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
  }
  
  .content-container p, .content-container ul, .content-container ol {
    margin-bottom: 1rem;
    color: var(--text-muted);
  }
  
  .content-container ul, .content-container ol {
    padding-left: 1.5rem;
  }
  
  .content-container li {
    margin-bottom: 0.5rem;
  }
  
  /* Form Section */
  .form-section {
    padding: 80px 0;
  }
  
  .form-container {
    margin-top: -80px;
  }
  
  .form-iframe {
    width: 100%;
    min-height: 900px;
    border: none;
    background-color: transparent;
  }
  
  iframe {
    background-color: var(--bg-card) !important;
    color: var(--text-light) !important;
  }
  
  .custom-form-styling {
    display: none;
  }
  
  .form-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .form-tab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    transition: var(--transition);
  }
  
  .form-tab.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
  }
  
  .form-content {
    display: none;
  }
  
  .form-content.active {
    display: block;
  }
  
  .jotform-container {
    min-height: 600px;
  }
  
  /* Footer */
  .footer-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 1rem;
  }
  
  .footer-logo {
    height: 80px;
    margin-bottom: 1rem;
  }
  
  .footer-about p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
  }
  
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.8rem;
  }
  
  .footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--primary);
  }

  .status-widget-container iframe {
    background-color: transparent !important;
    box-shadow: none !important;
  }
  
  .copyright {
    color: var(--text-muted);
    padding-bottom: 1rem;
  }

  .jotform-credit {
    text-align: center;
    margin-top: -150px;
    margin-bottom: 120px;
    font-size: 0.95rem;
    color: var(--text-muted);
    z-index: 10004;
  }
  
  .jotform-credit a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
    transition: var(--transition);
  }
  
  .jotform-credit a:hover {
    color: var(--primary-hover);
    border-bottom-style: solid;
  }

  
  /* Responsive Design */
  @media (max-width: 991px) {
    .hero-grid, .features-grid, .footer-grid {
      grid-template-columns: 1fr;
    }
    
    .hero-content {
      text-align: center;
    }
    
    .hero-buttons {
      justify-content: center;
    }
    
    .hero-image {
      order: -1;
      margin-bottom: 2rem;
    }
    
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 820px) {
    .form-features-grid {
      margin-top: -110px;
    }
    .jotform-credit {
      margin-top: -40px;
      margin-bottom: 60px;
      position: absolute;
    }
    .form-feature-overlay {
      height: 70px;
      margin-top: -40px;
      left: 0;
      width: 100%;
    }
    .feature-card {
      margin-top: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      padding: 120px 0 60px;
    }
    
    .hero-content h1 {
      font-size: 2.5rem;
    }
    
    .features-grid {
      grid-template-columns: 1fr;
    }
    
    .nav-menu {
      position: fixed;
      top: 80px;
      right: -100%;
      flex-direction: column;
      background-color: var(--bg-dark);
      width: 100%;
      text-align: center;
      transition: 0.3s;
      box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
      padding: 2rem 0;
    }
    
    .nav-menu.active {
      right: 0;
    }
    
    .nav-item {
      margin: 1.5rem 0;
    }
    
    .mobile-nav-toggle {
      display: block;
    }
    
    .form-tabs {
      flex-direction: column;
    }
    
    .form-tab {
      text-align: center;
      padding: 1rem;
    }
  }
  
  @media (max-width: 576px) {
    .hero-content h1 {
      font-size: 2rem;
    }
    
    .hero-buttons {
      flex-direction: column;
    }
    
    .btn {
      width: 100%;
      margin-bottom: 1rem;
    }
  }

  @media (max-width: 520px) {
    .form-features-grid {
      display: block;
      /*margin-top: -140px;*/
    }
    .form-feature-overlay {
      margin-top: -70px;
    }
  }

  @media (max-width: 768px) {
  .header-container {
    padding: 0.5rem 1rem;
  }
  
  .logo {
    height: 35px;
  }
  
  .nav-menu {
    top: 60px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .btn {
    padding: 0.9rem 1.5rem;
  }
  
  .nav-link, .footer-links a {
    padding: 0.5rem 0;
    display: inline-block;
  }
  
  .form-iframe {
    min-height: 1000px;
  }
}

@media (max-width: 576px) {
  .accordion-header {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .accordion-content p {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-links li {
    margin-bottom: 0;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Fix for very small devices */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}



/* Scale down hero section for medium-sized screens */
@media (min-width: 1001px) and (max-width: 1450px) {
  /* Slightly reduce the hero grid gap */
  .hero-grid {
    gap: 2rem;
    padding-left: 30px;
    padding-right: 20px;
  }
  
  /* Scale down text */
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  /* Scale down image */
  .hero-image img {
    width: 100%;
  }
  
  /* Make buttons a bit smaller */
  .hero-buttons .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 1250px) {
  .hero-grid {
    padding-left: 30px;
    padding-right: 20px;
  }
}

/* Hide hero image on screens less than 900px */
@media (max-width: 1000px) {
  .hero-image {
    display: none;
  }
  
  /* Make hero content take full width when image is hidden */
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  
  /* Center the hero content */
  .hero-content {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Center the buttons */
  .hero-buttons {
    justify-content: left;
  }
}