/* -------------------- */
/* Enhanced CSS Styles  */
/* -------------------- */

:root {
    --dark-bg-primary: #05070A; /* Even darker main background */
    --dark-bg-secondary: #0D1117; /* Slightly lighter for sections/cards */
    --dark-card-bg: #10141C;    /* For distinct cards */
    --dark-border-color: #2a303a; /* Softer, bluish dark border */
    --text-primary: #E6EDF3;   /* Light gray/off-white for primary text */
    --text-secondary: #9DA5B0; /* Lighter gray for secondary text */
    --accent-teal: #22c55e;
    --accent-teal-darker: #1eaf57;
    --font-primary: 'Outfit', sans-serif;
}/* -------------------- */
/* Custom CSS Styles    */
/* -------------------- */

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.7;
}

html {
    scroll-behavior: smooth;
}

/* Define custom dark colors using CSS variables or direct classes */
.bg-dark-bg { background-color: #0a0a0a !important; } /* Very dark background for body and many sections */
.bg-dark-section { background-color: #181818 !important; } /* Slightly lighter dark for some sections */
.bg-dark-card { background-color: #1c1c1c !important; } /* Darker for cards/forms */
.border-dark-border { border-color: #282828 !important; } /* Darker border color */


/* Basic animations for sections - Uses IntersectionObserver in JS */
.section-animate {
    opacity: 0;
    transform: translateY(50px); /* Start slightly lower */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text and button fade-in for hero */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-up.delay-200 {
    animation-delay: 0.2s;
}

.animate-fade-in-up.delay-400 {
    animation-delay: 0.4s;
}

.animate-fade-in-up.delay-600 {
    animation-delay: 0.6s;
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chevron bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(-50%) translateY(0);
  }
  40% {
    transform: translateY(-50%) translateY(-10px);
  }
  60% {
    transform: translateY(-50%) translateY(-5px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Color overrides for Tailwind classes */
.text-teal-500 { color: #22c55e !important; }
.bg-teal-500 { background-color: #22c55e !important; }
.border-teal-500 { border-color: #22c55e !important; }
.hover\:text-teal-500:hover { color: #22c55e !important; }
.hover\:bg-teal-600:hover { background-color: #1eaf57 !important; /* Slightly darker green */ }
.focus\:border-teal-500:focus { border-color: #22c55e !important; }

/* Text Color Adjustments */
.text-gray-300 { color: #c2c2c2 !important; } /* Lighter gray for body text */
.text-gray-400 { color: #a0aec0 !important; } /* Default Tailwind gray 400 - good for subtitles/footer text */
.text-white { color: #ffffff !important; } /* Ensure white is pure white */


/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4); /* Stronger shadow */
}

a, button {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

/* General focus styles for accessibility */
:focus-visible {
  outline: 2px solid #22c55e; /* Teal focus outline */
  outline-offset: 2px;
}
/* Specific focus for buttons and links if Tailwind's default is overridden by focus:outline-none */
button:focus-visible, a:focus-visible {
   outline: 2px solid #22c55e;
   outline-offset: 2px;
}
/* Remove default outline if focus-visible is used, to avoid double outlines */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}


/* Navigation Active State */
nav .space-x-8 a.active {
    color: #22c55e !important; /* Teal color */
    font-weight: 600; /* Semibold */
}

.mobile-menu a.active {
     color: #22c55e !important; /* Teal color */
    font-weight: 600; /* Semibold */
}

/* FAQ Section Styles */
.faq-item {
    overflow: hidden; /* Hide overflowing answer initially */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #282828; /* Use custom dark border */
}

.faq-item:hover {
    background-color: #1c1c1c; /* Darker hover background */
    border-color: #4a5568; /* Keep border color subtle */
}

.faq-question {
    position: relative;
    /* display: flex; - Provided by Tailwind w-full, text-left */
    cursor: pointer;
}


.faq-toggle-icon {
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle-icon {
     transform: translateY(-50%) rotate(45deg); /* Change + to x */
}

.faq-answer {
    /* margin-top: 1rem; Spacing provided by p-6 on parent */
    line-height: 1.8;
    color: #a0aec0; /* Gray 400 */
}

/* Style for the numbered circles in Our Process */
#how-it-works .bg-teal-500 { /* Applied to the div acting as the circle */
    flex-shrink: 0;
    color: #ffffff !important; /* Ensure number inside is white */
}

/* Form input styling */
#contact input, #contact textarea {
     background-color: #1c1c1c !important; /* Use dark card color */
     border: 1px solid #282828 !important; /* Use dark border color */
     color: white !important;
     transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact input:focus, #contact textarea:focus {
    /* outline: none !important; Covered by general :focus-visible */
    border-color: #22c55e !important; /* Teal border on focus */
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); /* Increased subtle glow */
}

/* Footer specific styles */
footer a {
    /* text-gray-400 sets default color, hover:text-teal-500 adds hover */
}

/* Custom font style for buttons (placeholder if needed for very specific font style) */
.button-custom-font {
    /* Example: font-family: 'YourSpecialButtonFont', sans-serif; */
}

/* Feature Cards Compact Styling */
#features .bg-dark-card {
    /* flex-grow already applied in HTML to make description fill space */
}

/* Audio Player Styling */
#interactive-demo audio::-webkit-media-controls-panel {
    background-color: #22c55e; /* Match teal color */
    color: #0a0a0a; /* Dark text on controls */
    border-radius: 8px;
}
#interactive-demo audio::-webkit-media-controls-play-button,
#interactive-demo audio::-webkit-media-controls-volume-slider,
#interactive-demo audio::-webkit-media-controls-current-time-display,
#interactive-demo audio::-webkit-media-controls-time-remaining-display {
     color: #0a0a0a !important; /* Dark icons/sliders on webkit */
     fill: #0a0a0a !important;
}


/* Adjustments for smaller screens */
@media (max-width: 767px) {
    footer .grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 2rem; /* Add vertical space between stacked columns */
    }
    footer .text-center.md\:text-left {
        text-align: center !important; /* Center text on mobile */
    }
    footer .mx-auto.md\:mx-0 {
        margin-left: auto !important;
        margin-right: auto !important; /* Center max-width description block */
    }
    footer ul {
         padding-left: 0; /* Remove default list padding */
    }
    footer li {
        display: flex; /* Use flex for list items to align icons and text */
        justify-content: center; /* Center items horizontally */
        align-items: center; /* Vertically center items */
    }
    footer .fas, footer .fab {
        flex-shrink: 0;
    }
    /* Ensure hero text doesn't become too large on small screens */
    #hero h1 {
        font-size: 2.5rem; /* Adjust as needed for mobile, from text-5xl */
    }
    #hero p {
        font-size: 1.125rem; /* Adjust as needed for mobile, from text-xl */
    }
    /* More compact feature cards on mobile if needed */
    #features .grid {
        grid-template-columns: 1fr; /* Stack feature cards on mobile */
    }
}

/* -------------------- */
/* Swiper/Ticker Styles */
/* -------------------- */
 .base-template__wrapper {
    /* Tailwind's container class already handles max-width and padding for sections */
    padding-bottom: 50px;
}

.horizontal-ticker {
    padding: 0 20px; /* Inner padding for the ticker area */
    display: flex;
    flex-direction: column;
    row-gap: 2.85vw;
    overflow: hidden; /* Hide potential horizontal scrollbars from swiper itself */
}

@media screen and (max-width: 767.9px) {
    .horizontal-ticker {
        row-gap: 15px;
        padding: 0 10px;
    }
}

.swiper { /* General Swiper container */
    width: 100%;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: center; /* Vertically align logos if heights vary slightly */
}

.swiper-slide { /* Swiper's default slide class */
    height: auto !important;
    display: flex; /* For centering image inside slide if needed */
    justify-content: center;
    align-items: center;
}


.horizontal-ticker__slide { /* Your custom class for the slide content wrapper */
    position: relative;
    width: 160px; /* Increased slightly for better display of logos */
    height: 80px; /* Increased slightly */
    /* aspect-ratio: 120 / 60; Can be removed if using fixed width/height for slides */
    border-radius: 10px;
    overflow: hidden;
    /* backdrop-filter: blur(50px); Optional, can be intensive */
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.horizontal-ticker__slide:hover {
    filter: grayscale(0%) brightness(1);
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.horizontal-ticker__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Crucial for logos to display correctly */
    transition: none; /* Hover transition handled by parent slide */
}

body {
    font-family: var(--font-primary);
    line-height: 1.75; /* Slightly more spacious */
    background-color: var(--dark-bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Custom Tailwind Color Overrides (if Tailwind is still primary means) */
/* For standalone CSS, these act as variable definitions */
.bg-dark-bg { background-color: var(--dark-bg-primary) !important; }
.bg-dark-section { background-color: var(--dark-bg-secondary) !important; }
.bg-dark-card { background-color: var(--dark-card-bg) !important; }
.border-dark-border { border-color: var(--dark-border-color) !important; }
.text-teal-500 { color: var(--accent-teal) !important; }
.bg-teal-500 { background-color: var(--accent-teal) !important; }
.border-teal-500 { border-color: var(--accent-teal) !important; }
.hover\:text-teal-500:hover { color: var(--accent-teal) !important; }
.hover\:bg-teal-600:hover { background-color: var(--accent-teal-darker) !important; }
.text-gray-300 { color: var(--text-primary) !important; }
.text-gray-400 { color: var(--text-secondary) !important; }
.text-white { color: #ffffff !important; }


/* General Heading Styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary); /* Brighter white for headings */
    font-weight: 700; /* Bold for impact */
    letter-spacing: -0.025em; /* Slightly tighter for a modern look */
}

h1 { font-size: 3rem; } /* Example sizes, adjust with Tailwind or here */
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }


/* Enhanced Navigation */
#navbar {
    background-color: rgba(13, 17, 23, 0.7); /* Darker, semi-transparent */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(42, 48, 58, 0.5); /* More subtle border */
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#navbar.scrolled {
    background-color: rgba(5, 7, 10, 0.85); /* Even darker on scroll */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav a {
    position: relative; /* For pseudo-element underlines */
    transition: color 0.3s ease;
}

nav .md\:flex a:not(.bg-teal-500)::after { /* Underline effect for non-button links */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-teal);
    transition: width 0.3s ease-out;
}

nav .md\:flex a:not(.bg-teal-500):hover::after,
nav .md\:flex a:not(.bg-teal-500).active::after {
    width: 70%;
}

nav .md\:flex a.active {
    color: var(--accent-teal) !important;
    font-weight: 600;
}
.mobile-menu a.active {
    color: var(--accent-teal) !important;
    font-weight: 600;
    background-color: rgba(34, 197, 94, 0.1); /* Subtle active background for mobile */
    border-radius: 0.375rem; /* rounded-md */
}


/* Enhanced Hero Section - Text is more prominent */
#hero h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); /* Stronger shadow for readability over video */
}
#hero p {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* Button Styling - More dynamic */
.button-custom-font { /* Base button class used in HTML */
    border-radius: 0.375rem; /* rounded-md */
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1); /* Smooth ease */
    text-transform: uppercase; /* Techy feel */
    letter-spacing: 0.05em;
    font-weight: 600;
    padding: 0.65rem 1.25rem; /* Slightly adjusted for uppercase */
}
.bg-teal-500.button-custom-font { /* Primary green button */
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2), 0 0 0 0 rgba(34, 197, 94, 0.3);
}
.bg-teal-500.button-custom-font:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 7px 20px rgba(34, 197, 94, 0.3), 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.border.border-white.button-custom-font { /* Secondary border button */
     border-width: 2px;
}
.border.border-white.button-custom-font:hover {
    background-color: var(--text-primary) !important;
    color: var(--accent-teal) !important;
    border-color: var(--text-primary) !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 7px 20px rgba(255, 255, 255, 0.1);
}

/* Card Enhancements - Glassmorphism & Borders */
.bg-dark-card {
    background-color: rgba(22, 27, 34, 0.6); /* Dark semi-transparent background for glass effect */
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(42, 48, 58, 0.4); /* Softer border for glass */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 8px 32px rgba(5, 7, 10, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bg-dark-card:hover {
    border-color: rgba(34, 197, 94, 0.5); /* Teal border on hover */
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
}

/* Feature Cards - specific to new structure */
#features .bg-dark-card {
    display: flex;
    flex-direction: column;
}
#features .flex-grow {
    flex-grow: 1; /* Makes text content fill the card if needed */
}
#features .text-teal-500.font-bold.text-2xl { /* For the % benefit */
    display: block; /* Ensure it takes its own line or use flex context properly */
}

/* Enhanced Numbered Steps in "How It Works" */
#how-it-works .w-12.h-12.bg-teal-500 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}
#how-it-works .bg-dark-card:hover .w-12.h-12.bg-teal-500 {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.6);
}


/* Interactive Demo Section */
#interactive-demo audio::-webkit-media-controls-panel {
    background-color: var(--accent-teal);
    color: var(--dark-bg-primary);
    border-radius: 8px;
}
#interactive-demo audio::-webkit-media-controls-play-button,
#interactive-demo audio::-webkit-media-controls-volume-slider-container,
#interactive-demo audio::-webkit-media-controls-timeline-container {
    filter: brightness(0) invert(1); /* Make default icons white */
}


/* FAQ Enhancements */
.faq-item {
    border-radius: 0.5rem; /* rounded-lg */
}
.faq-question {
    transition: background-color 0.2s ease;
}
.faq-item:hover .faq-question, .faq-question:focus-visible {
    background-color: rgba(255,255,255,0.05);
}
.faq-answer {
    padding-top: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    max-height: 0; /* Start collapsed */
    opacity: 0; /* Start transparent */
    overflow: hidden; /* Prevent content spill before expansion */
}
.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust if answers are very long */
    opacity: 1;
    padding-top: 0.5rem; /* Add padding when open */
}

/* --- Scrollspy Active State --- (Already provided) */
/* Keep as is from previous CSS */


/* --- Swiper Ticker --- */
.base-template__wrapper {
    padding-bottom: 50px;
}
.swiper { width: 100%; }
.swiper-wrapper { transition-timing-function: linear !important; }
.swiper-slide { height: auto !important; }
.horizontal-ticker {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    row-gap: 2.85vw;
}
@media screen and (max-width: 767.9px) {
    .horizontal-ticker {
        row-gap: 15px;
        padding: 0 10px;
    }
}
.horizontal-ticker__slide {
    position: relative;
    width: 15.625vw;
    aspect-ratio: 120 / 60; /* Using 120/60 from your last example */
    border-radius: 10px;
    overflow: hidden;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
@media screen and (max-width: 767.9px) {
    .horizontal-ticker__slide {
        width: 120px;
    }
}
.horizontal-ticker__slide:hover {
    filter: grayscale(0%) brightness(1);
    transform: translateY(-5px) scale(1.05); /* Lift and slight zoom */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.horizontal-ticker__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}