 /* --- Core Design System --- */
 :root {
    /* BidFlow Palette - Enhanced */
    --bidflow-primary: #EF8738;
    --bidflow-primary-dark: #D26C1F;
    --bidflow-primary-light: #FFF1E6;
    --bidflow-primary-gradient: linear-gradient(135deg, #EF8738 0%, #F9A352 100%);
  
    /* Neutral Palette - Refined */
    --black: #101112;
    --neutral-900: #1A1D21;
    --neutral-800: #2E333B;
    --neutral-700: #4B5563;
    --neutral-600: #6B7280;
    --neutral-500: #9CA3AF;
    --neutral-400: #D1D5DB;
    --neutral-300: #E5E7EB;
    --neutral-200: #F3F4F6;
    --neutral-100: #F9FAFB;
    --neutral-50: #FCFCFD;
    --white: #FFFFFF;
  
    /* UI Accents (Only keeping used ones) */
    --success: #10B981;
    --success-light: #ECFDF5;
    /* Removed --warning, --danger, --info as they weren't used by remaining rules */
  
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 2px rgba(15,23,42,0.03);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 12px rgba(15,23,42,0.03);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.05), 0 6px 12px rgba(15,23,42,0.02);
    /* Removed --shadow-xl as it seemed unused */
    --shadow-float: 0 24px 62px rgba(15,23,42,0.12);
    --shadow-subtle: 0 3px 16px rgba(15,23,42,0.06), 0 8px 32px rgba(15,23,42,0.02);
  
    /* Refined Motion */
    --transition-fast: 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-base: 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
  }
  
  /* --- Reset & Base --- */
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjusted based on typical header height */
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--neutral-700);
    line-height: 1.7;
    font-size: 16px;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* --- Typography --- */
  /* Removed h6 as it's not used in the HTML */
  h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--neutral-900);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }
  
  h1 {
    font-size: clamp(2.8rem, 5.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
  }
  
  h2 {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  
  h3 { font-size: 1.8rem; font-weight: 700; }
  h4 { font-size: 1.25rem; font-weight: 600; }
  h5 { /* Footer uses h5 */ font-size: 0.9375rem; font-weight: 600; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--white); }
  
  
  p { margin-bottom: 1.5rem; }
  
  p.lead {
    font-size: 1.2rem;
    color: var(--neutral-600);
    line-height: 1.7;
    font-weight: 400;
  }
  
  a {
    color: var(--bidflow-primary);
    text-decoration: none;
    transition: color var(--transition-base);
    font-weight: 500;
  }
  
  a:hover { color: var(--bidflow-primary-dark); }
  
  img, svg { max-width: 100%; height: auto; display: block; }
  
  /* --- Layout & Structure --- */
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem; /* Slightly reduce side padding for better use of space */
  }
  
  section {
    padding: 7rem 0; /* Increase base vertical padding */
    position: relative;
    overflow: hidden;
    margin-bottom: 6rem; /* Increased margin between sections */
  }
  
  /* Adjust specific section spacing */
  .hero {
    padding-top: clamp(12rem, 25vh, 16rem); /* Increased top padding */
    padding-bottom: 6rem; /* Adjust bottom padding */
    margin-bottom: 6rem; /* Match increased section margin */
  }
  
  .problem, .solution, .cta {
    padding: 7rem 0; /* Standardize with base section padding */
    margin-bottom: 6rem; /* Match increased section margin */
  }
  
  .section-header {
    max-width: 750px; /* Slightly reduce max-width */
    margin: 0 auto 4.5rem; /* Increased bottom margin for better spacing */
    text-align: center;
  }
  
  .section-tag {
    display: inline-block;
    background-color: var(--bidflow-primary-light);
    color: var(--bidflow-primary-dark);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 1.5rem; /* Increased spacing between tag and header */
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-600);
    margin-top: 1.5rem; /* Increased spacing after title */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }
  
  /* --- Header and Navigation --- */
  header { /* Matches #main-header */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
  }
  
  header.scrolled { /* Used by JS */
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--neutral-200);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    transition: padding var(--transition-base);
  }
  
  header.scrolled nav {
    padding: 0.9rem 0;
  }
  
  .logo-link { display: block; }
  
  .logo {
    height: 36px;
    width: auto;
    transition: height var(--transition-base);
  }
  
  header.scrolled .logo {
    height: 32px;
  }
  
  /* Navigation Menu Styles */
  .nav-menu {
    display: flex;
    align-items: center;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
  }
  
  .nav-links li {
    margin: 0;
  }
  
  .nav-links a {
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
  }
  
  .nav-links a:hover {
    color: var(--bidflow-primary);
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--bidflow-primary);
    transition: width var(--transition-base);
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  /* Language Selector Styles (for footer) */
  .language-selector {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .language-selector li {
    margin-bottom: 0.75rem;
  }
  
  .language-selector li:last-child {
    margin-bottom: 0;
  }
  
  .language-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-400);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    padding: 0.25rem 0;
  }
  
  .language-link:hover {
    color: var(--white);
  }
  
  .language-link.active {
    color: var(--white);
  }
  
  .language-link .flag {
    font-size: 1rem;
    line-height: 1;
  }
  
  /* Mobile Navigation Styles */
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
    }
    
    nav {
      justify-content: space-between;
    }
    
    .nav-buttons {
      gap: 1rem;
    }
  }
  
  .nav-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  
  /* Removed .mobile-menu-btn styles as the element is not present */
  /* Removed .mobile-nav styles as the element is not present */
  
  
  /* --- Buttons --- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid transparent;
    font-size: 0.9375rem;
    white-space: nowrap;
  }
  
  .btn i { /* For Feather Icons inside buttons */
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
  }
  
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
  }
  
  .btn-lg i {
    width: 20px;
    height: 20px;
  }
  
  .btn:focus-visible {
    outline: 2px solid var(--bidflow-primary-light);
    outline-offset: 2px;
  }
  
  .btn-primary {
    background: var(--bidflow-primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(239, 135, 56, 0);
    position: relative;
    z-index: 10;
    cursor: pointer;
  }
  
  .btn-primary:hover {
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(239, 135, 56, 0.15);
    transform: translateY(-2px);
    color: var(--white);
  }
  
  .btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm), 0 0 0 3px rgba(239, 135, 56, 0.2);
    color: var(--white);
  }
  
  /* Override any generic hover states that might be affecting the button text */
  .btn:hover {
    text-decoration: none;
  }
  
  a.btn-primary:hover,
  a.btn-primary:focus,
  a.btn-primary:active {
    color: var(--white);
    text-decoration: none;
  }
  
  /* Removed .btn-secondary styles as it's not used */
  .btn-text {
    color: var(--neutral-700);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    transition: color var(--transition-base);
  }
  
  .btn-text:hover {
    color: var(--neutral-900);
  }
  
  .btn-text:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--bidflow-primary);
    transition: width var(--transition-base);
  }
  
  .btn-text:hover:after {
    width: 100%;
  }
  
  /* --- Hero Section --- */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -5%;
    width: 35%;
    height: 70%;
    background: radial-gradient(circle at center, rgba(239, 135, 56, 0.07) 0%, rgba(239, 135, 56, 0) 70%);
    z-index: 0;
    border-radius: 50%;
  }
  
  .hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 70%;
    background: radial-gradient(circle at center, rgba(239, 135, 56, 0.05) 0%, rgba(239, 135, 56, 0) 70%);
    z-index: 0;
    border-radius: 50%;
  }
  
  .hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
  }
  
  .hero-content {
    flex: 1;
    max-width: 550px;
    position: relative;
    z-index: 10;
  }
  
  .hero-visual {
    flex: 1;
    max-width: 600px;
    position: relative;
    /* overflow: hidden; /* Removed to prevent shadow cutoff */
  }
  
  .hero-tag-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-tag {
    display: inline-block;
    background-color: var(--bidflow-primary-light);
    color: var(--bidflow-primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
  }
  
  .hero-badge-pill {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.2) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neutral-700);
  }
  
  .hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    line-height: 1.1;
  }
  
  .hero-subtitle {
    color: var(--neutral-600);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
  }
  
  .btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-700);
    font-weight: 600;
    transition: all var(--transition-base);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
  }
  
  .btn-hero-secondary:hover {
    color: var(--bidflow-primary);
    transform: translateY(2px);
  }
  
  .btn-hero-secondary i {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
  }
  
  .hero-stats {
    display: flex;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
  }
  
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--bidflow-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
  }
  
  .stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-600);
    line-height: 1.4;
  }
  
  .stat-separator {
    width: 1px;
    height: 40px;
    background-color: var(--neutral-300);
    margin: 0 1.5rem;
  }
  
  .hero-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all var(--transition-smooth);
  }
  
  .hero-image.with-reflection {
    box-shadow: 0 30px 50px -10px rgba(0, 0, 0, 0.15);
  }
  
  .hero-image.with-reflection:after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 5%;
    width: 90%;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    filter: blur(12px);
    border-radius: 50%;
    z-index: 1;
  }
  
  .hero-image:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(239, 135, 56, 0.03) 0%, rgba(239, 135, 56, 0) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  
  .hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }
  
  .decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(40px);
  }
  
  .circle-1 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, rgba(239, 135, 56, 0.12) 0%, rgba(239, 135, 56, 0) 70%);
    top: -120px;
    right: -50px;
  }
  
  .circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(239, 135, 56, 0.08) 0%, rgba(239, 135, 56, 0) 70%);
    bottom: -80px;
    left: 20%;
  }
  
  .hero-image::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 50%;
    background: radial-gradient(circle at center, rgba(239, 135, 56, 0.15) 0%, rgba(239, 135, 56, 0) 70%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(50px);
  }
  
  /* --- Problem Section --- */
  .problem {
    text-align: center;
    background-color: var(--white);
    position: relative;
    padding: 7rem 0;
  }
  
  .problem::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 25%;
    height: 40%;
    background: radial-gradient(circle at center, rgba(239, 135, 56, 0.05) 0%, rgba(239, 135, 56, 0) 70%);
    z-index: 0;
    border-radius: 50%;
  }
  
  .problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem; /* Increased gap for better spacing */
    margin-top: 3rem; /* Added top margin */
    position: relative;
    z-index: 1;
  }
  
  .problem-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    text-align: left;
    transition: all var(--transition-smooth);
    border: 1px solid var(--neutral-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
  
  .problem-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--bidflow-primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
  }
  
  .problem-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--neutral-200);
  }
  
  .problem-item:hover::after {
    opacity: 1;
  }
  
  .problem-icon {
    color: var(--bidflow-primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--bidflow-primary-light);
    transition: transform var(--transition-base);
  }
  
  .problem-icon svg { /* For Feather Icons */
    width: 26px;
    height: 26px;
    stroke-width: 2;
  }
  
  .problem-item:hover .problem-icon {
    transform: scale(1.1);
  }
  
  .problem-item h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .problem-item p {
    margin-bottom: 1.5rem;
    color: var(--neutral-600);
    font-size: 0.9375rem;
  }
  
  .problem-stat {
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bidflow-primary-dark);
    padding: 0.5rem 0.875rem;
    background-color: var(--bidflow-primary-light);
    border-radius: var(--radius-md);
    display: inline-block;
  }
  
  /* --- Solution/Features Section --- */
  .solution {
    text-align: center;
    background-color: var(--neutral-50);
    position: relative;
    padding: 8rem 0;
    margin-bottom: 0; /* Added to remove gap before CTA */
  }
  
  .solution::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: -5%;
    width: 30%;
    height: 40%;
    background: radial-gradient(circle at center, rgba(239, 135, 56, 0.05) 0%, rgba(239, 135, 56, 0) 70%);
    z-index: 0;
    border-radius: 50%;
  }
  
  /* New feature tabs layout */
  .feature-showcase {
    margin-top: 3rem; /* Added top margin */
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Increased gap */
    position: relative;
    z-index: 1;
  }
  
  .feature-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem; /* Consistent gap between tabs */
    flex-wrap: wrap;
    margin-bottom: 3rem; /* Consistent margin below tabs */
  }
  
  .feature-tab {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem; /* Consistent padding */
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    width: 100%;
    max-width: 340px;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
  }
  
  .feature-tab:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--neutral-300);
  }
  
  .feature-tab.active {
    border-color: var(--bidflow-primary);
    background-color: var(--bidflow-primary-light);
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(239, 135, 56, 0.1);
  }
  
  .tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    color: var(--bidflow-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
  }
  
  .tab-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
  }
  
  .feature-tab.active .tab-icon {
    color: var(--white);
    background-color: var(--bidflow-primary);
    box-shadow: 0 2px 8px rgba(239, 135, 56, 0.25);
  }
  
  .tab-text {
    flex: 1;
  }
  
  .tab-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--neutral-800);
    transition: color var(--transition-base);
  }
  
  .tab-text p {
    font-size: 0.8125rem;
    color: var(--neutral-600);
    margin-bottom: 0;
  }
  
  .feature-tab.active .tab-text h4 {
    color: var(--bidflow-primary-dark);
  }
  
  /* Feature content area */
  .feature-content {
    margin-top: 1.5rem;
    padding: 1rem 0;
  }
  
  .feature-screen {
    /* display: flex; */ /* Removed flex from default */
    display: none; /* Set display to none by default */
    align-items: center;
    gap: 3rem;
    opacity: 0;
    /* visibility: hidden; */ /* Visibility no longer needed with display: none */
    /* transition: opacity var(--transition-base), visibility var(--transition-base); */
    transition: opacity var(--transition-base); /* Transition only opacity */
  }
  
  .feature-screen.active {
    display: flex; /* Add display: flex only for active screen */
    opacity: 1;
    /* visibility: visible; */ /* Visibility no longer needed */
    padding: 0.5rem;
    margin: 1rem 0;
  }
  
  .screen-image {
    flex: 1;
    position: relative;
    box-shadow: var(--shadow-float);
    border-radius: var(--radius-lg);
    margin-right: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .screen-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .screen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(239, 135, 56, 0.03) 0%, rgba(239, 135, 56, 0) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  
  .screen-detail {
    flex: 1;
    padding: 2rem;
  }
  
  .screen-detail h3 {
    margin-bottom: 1.25rem;
  }
  
  .screen-detail p {
    margin-bottom: 2rem;
    color: var(--neutral-600);
  }
  
  .feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
  }
  
  .feature-list li:last-child {
    margin-bottom: 0;
  }
  
  .feature-list li i {
    color: var(--success);
    background-color: var(--success-light);
    border-radius: 50%;
    padding: 0.3rem;
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  @media (max-width: 992px) {
    .hero { 
      padding-top: clamp(7rem, 18vh, 10rem);
      padding-bottom: 5rem; 
    }
    
    .container { 
      padding: 0 1.75rem;
    }
    
    .problem, .solution, .cta {
      padding: 5rem 0;
    }
    
    .feature-screen {
      flex-direction: column;
      gap: 2.5rem;
    }
    
    .screen-image {
      width: 100%;
      margin-right: 0;
      margin-bottom: 2.5rem;
      padding-bottom: 1rem;
    }
    
    .screen-detail {
      width: 100%;
      padding: 0;
    }
    
    .feature-list {
      max-width: 500px;
    }
  }
  
  @media (max-width: 768px) {
    .container { 
      padding: 0 1.25rem;
    }
    
    .hero {
      padding-top: clamp(6rem, 15vh, 8rem);
      padding-bottom: 4rem;
    }
    
    .problem-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .section-header {
      margin-bottom: 2.5rem;
    }
    
    h1 {
      font-size: clamp(2.4rem, 7vw, 3rem);
    }
    
    h2 {
      font-size: clamp(2rem, 4vw, 2.5rem);
    }
    
    .hero-subtitle {
      font-size: 1.1rem;
    }
    
    .section-subtitle {
      font-size: 1.1rem;
    }
    
    .waitlist-container {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    
    .waitlist-content {
      text-align: center;
      max-width: 600px;
      margin: 0 auto;
    }
    
    .waitlist-benefits {
      justify-content: center;
      max-width: 500px;
      margin: 0 auto;
    }
  }
  
  @media (max-width: 576px) {
    body { font-size: 15px; }
    
    .container { 
      padding: 0 1rem;
    }
    
    .hero {
      padding-top: clamp(5rem, 12vh, 7rem);
      padding-bottom: 3.5rem;
    }
    
    .section-header { 
      margin-bottom: 2rem;
    }
    
    .problem, .solution, .cta {
      padding: 4rem 0;
    }
    
    .feature-tabs {
      gap: 0.5rem;
    }
    
    .feature-tab {
      padding: 1.25rem;
    }
    
    .screen-detail h3 {
      font-size: 1.5rem;
    }
    
    .waitlist-card {
      padding: 1.75rem;
    }
  }
  
  /* --- Removed .benefits Section --- */
  /* --- Removed .testimonials Section --- */
  
  /* --- CTA Section --- */
  .cta {
    background-color: var(--white);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
  }
  
  /* Simplify background elements */
  .cta::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(239, 135, 56, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
  }
  
  /* Removed .cta::after for simplicity */
  
  .waitlist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .waitlist-content {
    max-width: 480px;
  }
  
  .waitlist-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--neutral-900);
  }
  
  .waitlist-benefits {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
  }
  
  .waitlist-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--neutral-800);
  }
  
  .waitlist-benefits li i {
    color: var(--success);
    background-color: var(--success-light);
    border-radius: 50%;
    padding: 0.3rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    stroke-width: 3;
  }
  
  /* Simplified card styling - removed transitions and hover effects */
  .waitlist-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    max-width: 500px;
    width: 100%;
  }
  
  /* Removed waitlist-card hover effect */
  
  .card-header {
    padding: 2rem 2.5rem 1rem;
    text-align: center;
  }
  
  .card-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--neutral-900);
  }
  
  .card-header p {
    margin-bottom: 0;
    color: var(--neutral-600);
    font-size: 1rem;
  }
  
  #waitlist-signup-form {
    padding: 1.5rem 2.5rem 2.5rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--neutral-800);
    font-size: 0.9375rem;
  }
  
  .input-wrapper, .select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .input-wrapper i, .select-wrapper i:not(.select-arrow) {
    position: absolute;
    left: 1rem;
    color: var(--neutral-500);
    width: 18px;
    height: 18px;
  }
  
  .select-wrapper .select-arrow {
    position: absolute;
    right: 1rem;
    color: var(--neutral-500);
    width: 18px;
    height: 18px;
    pointer-events: none;
  }
  
  /* Simplified input styling - removed transitions */
  .input-wrapper input, .select-wrapper select {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background-color: var(--white);
    color: var(--neutral-900);
    font-family: 'Inter', sans-serif;
  }
  
  .input-wrapper input::placeholder {
    color: var(--neutral-500);
  }
  
  /* Simplified focus state */
  .input-wrapper input:focus, .select-wrapper select:focus {
    outline: none;
    border-color: var(--bidflow-primary);
  }
  
  .select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
  }
  
  .select-wrapper select option {
    color: var(--neutral-900);
  }
  
  .select-wrapper select option[disabled] {
    color: var(--neutral-500);
  }
  
  /* Simplified button styling */
  .btn-block {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bidflow-primary);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
  }
  
  /* Removed button hover effect */
  
  .form-disclaimer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-top: 1.5rem;
    margin-bottom: 0;
  }
  
  /* Simplified success message */
  .success-message {
    text-align: center;
    padding: 3rem 2rem;
  }
  
  .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--success-light);
    color: var(--success);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .success-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
  }
  
  .success-message h3 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    color: var(--neutral-900);
  }
  
  .success-message p {
    color: var(--neutral-600);
    max-width: 300px;
    margin: 0 auto;
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
    .waitlist-container {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    
    .waitlist-content {
      text-align: center;
      max-width: 580px;
      margin: 0 auto;
    }
    
    .waitlist-benefits {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
    }
    
    .waitlist-card {
      margin: 0 auto;
    }
  }
  
  @media (max-width: 768px) {
    .card-header, #waitlist-signup-form {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  @media (max-width: 576px) {
    .card-header, #waitlist-signup-form {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
    
    .waitlist-card {
      box-shadow: var(--shadow-lg);
    }
    
    .waitlist-container {
      gap: 2.5rem;
    }
    
    .waitlist-content h2 {
      font-size: 2.25rem;
    }
  }
  
  /* --- Footer --- */
  footer {
    background-color: var(--neutral-900);
    color: var(--neutral-400);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
  }
  
  .footer-logo-section {
    max-width: 360px;
  }
  
  .footer-logo-link {
    display: inline-block;
    transition: opacity var(--transition-base);
  }
  
  .footer-logo-link:hover {
    opacity: 0.9;
  }
  
  .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
  }
  
  .footer-logo-section p {
    color: var(--neutral-400);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
  
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 0.75rem;
  }
  
  .footer-column ul li a {
    color: var(--neutral-400);
    font-weight: 400;
    transition: color var(--transition-base);
  }
  
  .footer-column ul li a:hover {
    color: var(--white);
    text-decoration: underline;
  }
  
  .copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-800);
    color: var(--neutral-500);
    font-size: 0.875rem;
  }
  
  .copyright a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: color var(--transition-base);
  }
  
  .copyright a:hover {
    color: var(--white);
    text-decoration: underline;
  }
  
  @media (max-width: 992px) {
    .footer-logo-section {
      max-width: 100%;
    }
    
    .footer-logo {
      height: 36px;
    }
    
    .footer-logo-section p {
      font-size: 0.875rem;
    }
  }
  
  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    
    .footer-logo-section {
      text-align: center;
      margin: 0 auto;
    }
    
    .footer-logo {
      height: 32px;
      margin: 0 auto 1.25rem;
    }
    
    .footer-logo-section p {
      font-size: 0.875rem;
      margin: 0 auto;
    }
  }
  
  @media (max-width: 576px) {
    .footer-links {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
    }
    
    footer {
      padding: 4rem 0 2rem;
    }
  }
  
  /* --- Main Responsive Adjustments --- */
  @media (max-width: 1024px) {
    .footer-grid { /* Keep this for older browsers */
      grid-template-columns: repeat(2, 1fr);
      gap: 2.5rem 2rem;
     }
  }
  
  @media (max-width: 992px) {
    .container { 
      padding: 0 2rem;
    }
    
    .hero { 
      padding: 7rem 0 5rem; 
    }
    
    .hero-grid { 
      gap: 3rem; 
      flex-direction: column; 
    }
    
    .hero-content { 
      max-width: 100%; 
      text-align: center; 
      order: 2; 
    }
    
    .hero-visual { 
      max-width: 600px; 
      order: 1; 
      width: 90%; 
      margin: 0 auto; 
    }
    
    .hero-buttons { 
      justify-content: center; 
    }
    
    .problem, .solution, .cta {
      padding: 6rem 0;
    }
  }
  
  @media (max-width: 768px) {
    .problem-grid {
      gap: 1.5rem;
    }
    
    .section-header {
      margin-bottom: 3.5rem; /* Adjusted for smaller screens */
    }
    
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .hero-subtitle {
      font-size: 1.125rem;
    }
  }
  
  @media (max-width: 576px) {
    body { font-size: 15px; }
    .container { 
      padding: 0 1.5rem; 
    }
    .btn { padding: 0.75rem 1rem; font-size: 0.875rem; }
    .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }
    .hero { 
      padding: 6rem 0 4rem; 
    }
    .section-header { 
      margin-bottom: 2.5rem; 
    }
    .problem, .solution, .cta {
      padding: 5rem 0;
    }
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    .hero {
      padding: 16rem 0 6rem; /* Updated top padding */
    }
    
    .problem, .solution, .cta {
      padding: 7rem 0;
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      padding: 14rem 0 5rem; /* Updated top padding */
    }
    
    .problem, .solution, .cta {
      padding: 6rem 0;
    }
  }
  
  @media (max-width: 576px) {
    .hero {
      padding: 12rem 0 5rem; /* Updated top padding */
    }
    
    .problem, .solution, .cta {
      padding: 5.5rem 0;
    }
  }
  
  .article-layout-container {
    display: flex;
    flex-direction: row;
    gap: 2.5rem; /* Adjust gap as needed, using rem for scalability */
    /* max-width: 1200px; /* Or your global container width if you have one, otherwise use the .container class rules */
    /* The .container class added to article-layout-container should handle max-width and centering */
  }
  
  .article-content-main {
    flex: 3; /* Main content takes ~75% of the space */
    min-width: 0; /* Important for flex item shrinking */
  }
  
  /* If your original .article-content had padding, it might be better on .article-content-main or kept on .article-content if it's still the direct child for text */
  /* Example: .article-content-main .article-content { padding: 0; } if padding is moved to article-content-main */
  
  .article-sidebar-container {
    flex: 1; /* Sidebar takes ~25% of the space */
    min-width: 0; /* Important for flex item shrinking */
    max-width: 350px; /* Limit sidebar width to be readable */
    /* Make sure the container allows its children to sticky position */
    height: auto; /* Important - should be auto to work with position: sticky child */
    position: relative; /* For children to stick properly */
    overflow: visible; /* Important: don't hide overflowing content */
  }
  
  .related-resources-sidebar {
    position: sticky;
    top: 90px; /* Slightly reduced to stay closer to header - adjust if needed */
    padding: 1.5rem;
    background-color: var(--neutral-100, #f8f9fa);
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--neutral-200, #e9ecef);
    max-height: calc(100vh - 120px); /* Prevent sidebar from being taller than viewport minus header and padding */
    overflow-y: auto; /* Add scrollbar to sidebar if its content is too tall */
  }
  
  .related-resources-sidebar h3 {
    font-size: 1.3rem; /* Slightly smaller for sidebar */
    color: var(--neutral-900, #212529);
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--neutral-300, #dee2e6);
  }
  
  .related-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-200, #e9ecef);
  }
  
  .related-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .related-item a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
    display: block; /* Make the whole area clickable */
  }
  
  .related-item a:hover h4 {
    color: var(--bidflow-primary, #007bff); /* Use your primary color */
  }
  
  .related-item h4 {
    font-size: 1.05rem; /* Adjust as needed */
    color: var(--neutral-800, #343a40);
    margin-top: 0;
    margin-bottom: 0.35rem;
    line-height: 1.4;
    font-weight: 600; /* Or 500 */
  }
  
  .related-item p {
    font-size: 0.9rem;
    color: var(--neutral-700, #495057);
    line-height: 1.5;
    margin-bottom: 0;
    /* New styles for line clamping */
    display: -webkit-box; /* Required for line-clamping */
    -webkit-line-clamp: 3; /* Show a maximum of 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(0.9rem * 1.5 * 3); /* font-size * line-height * line-clamp (approximate) */
  }
  
  .view-more-sidebar .btn {
    width: 100%; /* Make button full width in sidebar */
    margin-top: 0.5rem; /* Space above button if there are items */
  }
  
  /* Responsive adjustments for the article layout */
  @media (max-width: 991.98px) { /* Bootstrap's lg breakpoint is 992px */
    .article-layout-container {
      flex-direction: column;
    }
  
    .article-content-main,
    .article-sidebar-container {
      flex: none; /* Reset flex properties */
      width: 100%;
    }
  
    .article-sidebar-container {
      margin-top: 2.5rem; /* Space between stacked content and sidebar */
    }
  
    .related-resources-sidebar {
      position: static; /* Remove sticky positioning on mobile */
      top: auto;
    }
  }
  
  /* Resource type tags in sidebar */
  .resource-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .calculator-tag {
    background-color: #e5f6fd;
    color: #0288d1;
  }
  
  .template-tag {
    background-color: #e8f5e9;
    color: #2e7d32;
  }
  
  .article-tag {
    background-color: #fff8e1;
    color: #ff8f00;
  }

/* --- FAQ Section Styling (Global for Articles) --- */
.faq-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.faq-section h2 {
  font-size: 2rem; /* Matches .article-section h2 */
  color: var(--neutral-900);
  margin-bottom: 2.5rem;
  line-height: 1.4;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--neutral-200);
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--neutral-200);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-item h3 {
  font-size: 1.3rem;
  color: var(--neutral-800);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.faq-item p {
  font-size: 1.05rem;
  color: var(--neutral-700);
  line-height: 1.8;
  margin-bottom: 0;
}
/* --- End FAQ Section Styling --- */