:root {
    --primary: #2A6EF7; /* Keep a strong blue base */
    --secondary: #A259FF; /* Neon Violet for innovation/premium */
    --background: #0A0F1C;
    --text: #FFFFFF;
    --accent: #00F0FF; /* Electric Cyan for AI/futuristic */
    --gradient-main: linear-gradient(45deg, var(--secondary), var(--accent)); /* Blend Violet and Cyan for general gradient */
    /* Updated gradient for Hero H1 to be brighter as requested */
    --gradient-hero-h1: linear-gradient(45deg, #D580FF, #00FFFF); /* Bright Neon Purple to Vivid Electric Blue */
    --gradient-logo: linear-gradient(45deg, var(--secondary), var(--accent)); /* Use the original gradient for the logo text */
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    /* Base padding for larger screens */
    padding-top: 70px;
    /* Add padding-bottom to prevent AI avatar from blocking content */
    padding-bottom: 250px; /* Estimate max height of avatar + dialogue */
}

/* Media query for mobile adjustments */
@media (max-width: 768px) {
    body {
        /* Increased padding for potentially taller fixed header on mobile */
        padding-top: 120px;
        /* Adjust padding-bottom for smaller mobile avatar */
        padding-bottom: 180px; /* Estimate max height of smaller avatar + dialogue */
    }

    nav {
        /* Ensure nav handles wrapping on mobile */
        /* Existing nav mobile styles likely handle this, but confirm flex-wrap */
        flex-wrap: wrap;
    }

    .logo-container, .nav-links, .nav-contact, .menu-toggle {
         /* Ensure elements stack or adjust as needed */
         /* Existing mobile toggle logic uses .active class to control display/flex-direction on nav and its children */
    }
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjusted radial gradient slightly to potentially use new colors */
    background: radial-gradient(circle at center, rgba(162, 89, 255, 0.15) 0%, rgba(10, 15, 28, 0.8) 70%); /* Increased opacity slightly */
    z-index: 1;
    pointer-events: none;
    background-size: cover; /* Ensure gradient covers the container */
}

.hero {
    /* Base min-height calculation based on body padding */
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    /* Base padding for larger screens */
    padding: 0 2rem 2rem 2rem;
    position: relative;
    z-index: 1;
    /* Center content vertically if taller than viewport */
    justify-content: center;
}

/* Adjustments within the media query for the hero section */
@media (max-width: 768px) {
    .hero {
        /* Adjust min-height based on new body padding */
        min-height: calc(100vh - 120px);
        /* Adjust hero section's own padding for mobile */
        /* Added top padding to ensure space below body padding offset */
        padding: 2rem 1.5rem;
    }

     .hero-content {
         /* Adjust internal padding of hero content */
         padding: 2rem 0; /* Reduce internal vertical padding slightly */
     }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-tagline {
    font-size: 0.95rem;
    margin-top: 0.2rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3); /* Shadow based on accent */
}

.nav-links {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
    position: relative;
    padding-bottom: 0.3rem;
}

.nav-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2.5rem;
}

/* Mobile menu styling for nav-contact */
@media (max-width: 768px) {
    nav.active .nav-contact {
        /* Ensure these styles align with nav-links active styles */
        display: flex; /* Or block, depending on desired layout */
        flex-direction: column; /* Stack contact links */
        align-items: flex-start; /* Align text left */
        gap: 1rem; /* Space between contact items */
        margin: 1rem 0 0 0; /* Space below nav links */
        width: 100%; /* Take full width */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }
     nav.active .nav-contact .contact-link {
         font-size: 1.1rem; /* Slightly larger text */
         color: rgba(255, 255, 255, 0.9); /* Slightly brighter color */
     }
      nav.active .nav-contact .contact-icon {
          filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5)); /* More prominent shadow */
      }
}

.nav-contact .contact-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.2s;
}

.nav-contact .contact-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-contact .contact-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.4rem;
    fill: currentColor;
    filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.3)); /* Shadow based on accent */
}

.nav-contact .contact-text {
    white-space: nowrap;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px; /* Original max-width */
    width: 100%; /* Added to ensure it respects padding/max-width */
    margin: 0 auto;
    padding: 5rem 1.5rem; /* Adjust padding for responsiveness */
}

h1 {
    font-family: 'DM Sans', sans-serif; /* Changed font to DM Sans */
    /* Responsive font size using clamp() */
    font-size: clamp(2.5rem, 8vw + 1rem, 4.5rem);
    margin-bottom: 1.5rem;
    /* Using the new bright gradient for H1 */
    background: var(--gradient-hero-h1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    font-weight: 800; /* Ensure font weight is available in DM Sans import */
    /* Adjusted shadows based on new gradient colors */
    text-shadow:
        0 0 12px rgba(213, 128, 255, 0.6), /* Shadow based on Bright Neon Purple */
        0 0 25px rgba(0, 255, 255, 0.5), /* Shadow based on Vivid Electric Blue */
        0 0 40px rgba(0, 255, 255, 0.3); /* Wider glow */
    letter-spacing: 0.08em;
    word-break: break-word; /* Prevent long words from overflowing */
}

h1 .ai-word {
    /* Keeping AI word styling distinct but enhancing */
    background: var(--accent); /* Using the original accent color */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow:
        0 0 10px var(--accent), /* Brighter shadow */
        0 0 20px rgba(0, 240, 255, 0.6), /* Stronger glow */
        0 0 30px rgba(0, 240, 255, 0.4);
    display: inline-block;
    will-change: transform;
    position: relative; /* IMPORTANT: This makes the .temp-feedback position relative to this span */
    cursor: pointer; /* Indicate it's interactive */
    user-select: none; /* Prevent text selection on double-click */
}

.hero-content p {
    font-size: clamp(1rem, 3vw + 0.5rem, 1.3rem); /* Responsive font size */
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    padding: 0 1rem; /* Added slight horizontal padding for small screens */
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%; /* Ensure buttons container takes full width for stacking */
    max-width: 500px; /* Limit max width for button group */
}

button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
    font-weight: bold;
    min-height: 48px; /* Ensure minimum touch size */
}

button:hover {
    transform: translateY(-3px);
}

.primary {
    background: var(--primary);
    color: var(--text);
    box-shadow: 0 5px 15px rgba(42, 110, 247, 0.4);
}

.primary:hover {
     background: var(--secondary);
     box-shadow: 0 5px 15px rgba(162, 89, 255, 0.4); /* Shadow based on secondary */
}

.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-main);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.secondary:hover::before {
    opacity: 1;
}

.secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-image: var(--gradient-main) 1;
    border-radius: 50px;
    transition: transform 0.3s ease-out;
    z-index: -1;
}

.secondary:hover::after {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.menu-toggle span {
    height: 2px;
    width: 25px;
    background: var(--text);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Added styles for menu toggle icon animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

section {
    padding: 6rem 2rem;
}

h2 {
     font-size: 2.5rem;
     text-align: center;
     margin-bottom: 4rem;
     background: var(--gradient-main); /* Using the main gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-intro {
    font-size: 1.15rem;
    text-align: center;
    max-width: 800px;
    margin: -3rem auto 4rem auto;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.section-intro.conclusion {
    margin-top: 4rem;
    font-size: 1.15rem;
}

.section-intro .bold {
    font-weight: bold;
    background: var(--gradient-main); /* Using the main gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5); /* Shadow based on accent */
}

#about .about-innovation-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

#about .about-text h3 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
     background: var(--gradient-main); /* Using the main gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#about .about-text h3:first-child {
    margin-top: 0;
}

#about .about-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

#about .about-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

#about .about-text li::before {
    content: '•';
    color: var(--accent); /* Using accent color */
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

#about .about-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#about .about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     border: 2px solid transparent;
    background: linear-gradient(var(--background), var(--background)) padding-box,
                var(--gradient-main) border-box; /* Using the main gradient for border */
    object-fit: cover; /* Ensure image covers its container */
    display: block; /* Remove extra space below image */
}

.benefits-grid, .solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 0;
}

.benefit-card, .solution-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.benefit-card:hover, .solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent); /* Using accent color */
}

.solution-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.solution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-out;
    display: block; /* Remove extra space below image */
}

.solution-card:hover .solution-image {
    transform: scale(1.05);
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: var(--gradient-main); /* Using the main gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-card p, .solution-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.learn-more-link {
    display: inline-block;
    margin-top: auto;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease-out;
    will-change: transform;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    display: block;
    filter: drop-shadow(0 0 5px var(--accent));
}

.benefit-icon circle,
.benefit-icon rect,
.benefit-icon path {
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.benefit-icon .customer {
    fill: none;
    stroke: var(--accent);
}
.benefit-icon .data {
    fill: none;
    stroke: var(--accent);
}
.benefit-icon .efficiency {
    fill: none;
    stroke: var(--accent);
}
.benefit-icon .loyalty {
    fill: none;
    stroke: var(--accent);
}

.comparison {
    background: rgba(255, 255, 255, 0.05);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
}

.traditional-header {
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
    padding-right: 1.5rem;
}

.ai-enhanced-header {
    background: var(--gradient-main); /* Using the main gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
    padding-left: 1.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.comparison-row::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.comparison-row .traditional {
    text-align: right;
    padding-right: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.comparison-row .ai-enhanced {
    text-align: left;
    padding-left: 1.5rem;
    font-weight: bold;
    background: var(--gradient-main); /* Using the main gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.comparison-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.traditional .comparison-icon {
    color: rgba(255, 255, 255, 0.5);
    stroke-width: 3;
    fill: none;
    vector-effect: non-scaling-stroke;
}

.ai-enhanced .comparison-icon {
    stroke: var(--accent);
    fill: none;
    filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.5));
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.ai-enhanced .comparison-icon circle[fill="currentColor"],
.ai-enhanced .comparison-icon path[fill="currentColor"],
.ai-enhanced .comparison-icon rect[fill="currentColor"] {
    fill: var(--accent);
}

@media (max-width: 600px) {
    .comparison-headers {
        grid-template-columns: 1fr;
        margin-bottom: 0;
    }
    .traditional-header, .ai-enhanced-header {
        text-align: center;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 1rem;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .comparison-row::before {
        display: none;
    }

    .comparison-row .traditional,
    .comparison-row .ai-enhanced {
        text-align: center;
        padding: 0;
        justify-content: center;
    }

    .comparison-icon {
        width: 30px;
        height: 30px;
    }
}

.challenges-myths {
    background: transparent; /* Changed background to transparent */
}

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

.myth-block {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Increased gap between myth and reality parts */
}

.myth-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent); /* Using accent color */
}

.myth-part, .reality-part {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%; /* Ensure they take full width */
}

.myth-heading, .reality-heading {
    font-size: 1.4rem; /* Keep base size here */
    text-align: left; /* Align text left */
}

.myth-heading {
    font-size: 1.8rem; /* Make font bigger */
    color: var(--primary); /* Use primary color for distinction */
    margin-bottom: 0.5rem; /* Adjust margin */
    text-shadow: 0 0 8px rgba(42, 110, 247, 0.3);
}

.reality-heading {
    font-size: 1.5rem; /* Slightly adjust reality heading size */
    margin-top: 1rem; /* Add margin above reality heading */
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.myth-icon, .reality-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin: 0; /* Remove margin, icons align left */
    display: block;
}

.myth-part .myth-icon,
.reality-part .reality-icon {
    margin-bottom: 0.5rem; /* Add bottom margin below icons */
}

.myth-icon circle,
.myth-icon rect,
.myth-icon path,
.myth-icon line {
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.reality-icon circle,
.reality-icon rect,
.reality-icon path,
.reality-icon line {
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.myth-icon {
    stroke: rgba(255, 255, 255, 0.6);
    fill: none;
}

.reality-icon {
    stroke: var(--accent);
    fill: none;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.reality-icon circle[fill="currentColor"],
.reality-icon path[fill="currentColor"],
.reality-icon rect[fill="currentColor"] {
     fill: var(--accent);
     stroke: none;
}

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

    .myth-block {
        padding: 2rem;
        gap: 1.5rem; /* Reduce gap between myth and reality parts on mobile */
        align-items: flex-start; /* Align items to the start on mobile */
        text-align: left; /* Align text left on mobile */
    }

     .myth-part, .reality-part {
        gap: 0.6rem;
        align-items: flex-start; /* Align items to the start on mobile */
     }

    .myth-heading {
        font-size: 1.5rem; /* Smaller myth heading on mobile */
         text-align: left;
    }

    .reality-heading {
         font-size: 1.2rem; /* Smaller reality heading on mobile */
          text-align: left;
    }

    .myth-icon, .reality-icon {
        width: 40px;
        height: 40px;
        margin: 0 0 0.5rem 0; /* Adjust margin for left alignment */
        display: block;
    }

    .myth-statement, .reality-text {
         text-align: left; /* Ensure text is left-aligned */
         width: 100%;
    }

    .myth-block p.bold-statement {
        text-align: left;
    }
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

input, textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.captcha-container {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.captcha-container label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

#captcha-question {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

#captcha-answer {
    width: 100%;
}

.feedback-message {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1em;
}

.contact-form button[type="submit"] {
    width: fit-content;
    margin: 1rem auto 0 auto;
    background: var(--primary);
    color: var(--text);
    box-shadow: 0 5px 15px rgba(42, 110, 247, 0.4);
}

.contact-form button[type="submit"]:hover {
    background: var(--secondary);
    box-shadow: 0 5px 15px rgba(162, 89, 255, 0.4);
}

.contact-map {
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
}

footer {
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section:nth-child(2) p:last-child {
    margin-bottom: 0;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.bold-statement {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 4rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 0;
}

.problem-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.problem-icon {
    width: 50px;
    height: 50px;
    margin: 0 0 1rem 0;
    display: block;
    filter: drop-shadow(0 0 5px var(--accent));
    stroke: var(--accent);
    fill: none;
}

.problem-icon circle,
.problem-icon rect,
.problem-icon path,
.problem-icon line {
     stroke-width: 3;
     vector-effect: non-scaling-stroke;
}

.problem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
}

.problem-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
}

.mini-cta {
    text-align: center;
    margin-top: 4rem;
    font-size: 1.5rem;
    font-weight: bold;
     background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.mini-cta a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    transition: border-color 0.3s, text-shadow 0.3s;
}

.mini-cta a:hover {
    border-color: var(--primary);
    text-shadow: 0 0 15px rgba(42, 110, 247, 0.7);
}

@media (max-width: 768px) {
    .bold-statement {
        font-size: 1.1rem;
    }

    .problem-card {
        padding: 2rem;
        align-items: flex-start;
        text-align: left;
    }
     .problem-icon {
        margin: 0 0 1rem 0;
     }
     .problem-card h3 {
         text-align: left;
     }
     .problem-card p {
         text-align: left;
     }

    .mini-cta {
        font-size: 1.2rem;
    }
}

#trusted-by {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.05); /* Changed background to semi-transparent */
    position: relative;
    z-index: 1;
}

#trusted-by h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem; /* Reduce margin below H2 */
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#trusted-by .section-intro {
    margin: 0 auto 4rem auto; /* Adjust margin below subtitle */
}

.logo-carousel {
    width: 100%;
    max-width: 1200px; /* Limit the width of the visible carousel area */
    margin: 0 auto;
    overflow: hidden; /* Hide logos outside the container */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); /* Fade effect on edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); /* Fade effect on edges */
    padding: 1.5rem 0; /* Add some padding top/bottom */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.08); /* Subtle glow */
}

.logos-slide {
    display: flex;
    animation: slide 40s linear infinite; /* Animation duration and properties */
    /* Will be populated by JS */
}

.client-logo {
    height: 50px; /* Base size for logos */
    width: auto; /* Maintain aspect ratio */
    margin: 0 3rem; /* Spacing between logos */
    flex-shrink: 0; /* Prevent logos from shrinking */
    filter: grayscale(100%); /* Grayscale by default */
    opacity: 0.6; /* Slightly faded */
    transition: filter 0.3s, opacity 0.3s;
    stroke: rgba(255, 255, 255, 0.5); /* Default stroke color for SVG */
    fill: none;
    background-color: white; /* Add white background */
    padding: 8px; /* Add padding around the logo */
    border-radius: 4px; /* Optional: slightly round the corners */
    object-fit: contain; /* Ensure logo fits within its container */
}

.client-logo:hover {
    filter: grayscale(0%); /* Full color on hover */
    opacity: 1; /* Full opacity on hover */
    stroke: var(--accent); /* Highlight stroke on hover */
    fill: var(--accent); /* Highlight fill on hover if any */
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .client-logo {
        height: 40px; /* Smaller logos on tablets */
        margin: 0 2rem;
    }
    @keyframes slide {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }
}

@media (max-width: 768px) {
    #trusted-by h2 {
        font-size: 2rem;
    }

    #trusted-by .section-intro {
         font-size: 1rem;
         margin-bottom: 3rem;
    }
    .client-logo {
        height: 30px; /* Even smaller logos on mobile */
        margin: 0 1.5rem;
    }
    .logo-carousel {
         padding: 1rem 0;
     }
      @keyframes slide {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }
}

@media (max-width: 480px) {
     .client-logo {
        height: 25px; /* Smallest logos on small mobile */
        margin: 0 1rem;
    }
}

.ai-avatar-container {
    position: fixed;
    bottom: 20px; /* Adjust position as needed */
    right: 20px; /* Adjust position as needed */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Dialogue box appears above/left */
    pointer-events: none; /* Allow clicks to pass through the container */
}

.ai-avatar {
    width: 60px; /* Size of the avatar icon */
    height: 60px;
    cursor: pointer;
    pointer-events: auto; /* Re-enable clicks on the avatar itself */
    transition: transform 0.3s ease-out;
    position: relative; /* Needed for pulse indicator */
}

.ai-avatar:hover {
    transform: scale(1.1);
}

.ai-avatar .avatar-icon {
     width: 100%;
     height: 100%;
     filter: drop-shadow(0 0 8px var(--accent)); /* Add glowing shadow */
}

.ai-dialogue {
    background: rgba(30, 35, 50, 0.25); /* 75% transparent background (0.25 opacity) */
    color: var(--text);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px; /* Space between dialogue and avatar */
    max-width: 250px; /* Max width of the speech bubble */
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
    pointer-events: auto; /* Re-enable clicks on the dialogue box */
    border: 1px solid rgba(0, 240, 255, 0.2); /* Subtle border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); /* Add blur effect to improve text readability */
}

.ai-dialogue.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Speech bubble tail */
.ai-dialogue::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Position the tail below the box */
    right: 15px; /* Position the tail towards the avatar */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(30, 35, 50, 0.25); /* Color matches dialogue background */
    filter: drop-shadow(0 5px 2px rgba(0, 0, 0, 0.1));
}

.ai-dialogue p {
    margin: 0;
    padding-right: 20px; /* Make space for close button */
    color: rgba(255, 255, 255, 1); /* Full white for better visibility against transparent background */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
    font-weight: 500; /* Slightly bolder text */
}

.ai-dialogue .close-dialogue {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

.ai-dialogue .close-dialogue:hover {
    color: var(--accent);
}

/* Pulsing Indicator */
.ai-avatar .pulse-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.ai-avatar.pulsing .pulse-indicator {
    animation: pulse 1.5s infinite ease-out;
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
    50% {
         transform: translate(-50%, -50%) scale(1.2);
         opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
}

/* Mobile Adjustments for Avatar */
@media (max-width: 768px) {
    .ai-avatar-container {
        bottom: 15px; /* Slightly less space on mobile */
        right: 15px;
    }

    .ai-avatar {
        width: 50px; /* Slightly smaller avatar */
        height: 50px;
    }

    .ai-dialogue {
        max-width: 200px; /* Smaller max width */
        font-size: 0.85rem;
        padding: 10px;
        background: rgba(30, 35, 50, 0.25); /* Ensure mobile has same transparency */
    }

    .ai-dialogue::after {
        right: 10px; /* Adjust tail position */
        border-top: 10px solid rgba(30, 35, 50, 0.25); /* Match mobile dialogue background */
    }

    .ai-dialogue .close-dialogue {
         font-size: 1rem;
         padding: 3px;
    }
}

.temp-feedback {
    position: absolute;
    bottom: 100%; /* Position above the parent (.ai-word) */
    left: 50%;
    transform: translate(-50%, -8px); /* Offset up slightly from bottom: 100% */
    background: rgba(18, 25, 42, 0.98); /* Darker, almost opaque background */
    color: var(--text); /* White text */
    padding: 8px 15px; /* Compact padding */
    border-radius: 10px; /* Slightly rounded corners */
    font-size: 0.8rem; /* Smaller font size */
    font-weight: 500; /* Not too bold */
    white-space: nowrap; /* Prevent wrapping */
    opacity: 0; /* Start hidden */
    pointer-events: none; /* Don't block clicks */
    z-index: 9999; /* INCREASED: Ensure it's in front of almost everything */
    border: 1px solid rgba(0, 240, 255, 0.3); /* More prominent accent border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6); /* Stronger shadow for contrast */
    text-align: center; /* Center text within the bubble */
    line-height: 1.3; /* Improve readability */
    backdrop-filter: blur(8px); /* Increased blur effect */
    font-family: 'DM Sans', sans-serif; /* Use DM Sans font */
    letter-spacing: 0.03em; /* Add subtle letter spacing */
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .temp-feedback {
        font-size: 0.7rem; /* Even smaller font on mobile */
        padding: 6px 10px; /* Adjust padding */
        border-radius: 8px;
        transform: translate(-50%, -6px); /* Adjust translateY for mobile */
    }
}

/* Stat Elements Styling */

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    background: rgba(10, 15, 28, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(162, 89, 255, 0.1), rgba(0, 240, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 240, 255, 0.3);
    border-color: rgba(0, 240, 255, 0.6);
    background: rgba(10, 15, 28, 0.8);
}

.hero-stat:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
    position: relative;
    display: inline-block;
    letter-spacing: 0.02em;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.hero-stat:hover .stat-number::after {
    width: 50%;
}

.stat-label {
    font-size: 0.9em;
    color: #00F0FF; /* Using the accent color directly for better visibility */
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    letter-spacing: 0.02em;
}

.hero-stat:hover .stat-label {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

/* Feature Stats */
.stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.stat-item {
    background: rgba(10, 15, 28, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(162, 89, 255, 0.1), rgba(0, 240, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 240, 255, 0.3);
    border-color: rgba(0, 240, 255, 0.6);
    background: rgba(10, 15, 28, 0.8);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item .stat-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 0.02em;
}

.stat-item:hover .stat-number {
    animation: pulse 1.5s infinite;
}

.stat-item .stat-label {
    font-size: 14px;
    color: #00F0FF; /* Using the accent color directly for better visibility */
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    letter-spacing: 0.02em;
    margin-top: 5px;
}

.stat-item:hover .stat-label {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 240, 255, 0.7), 0 0 30px rgba(0, 240, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
    }

    .stat-item {
        width: 100%;
    }
}