:root {
    --primary: #0d89ec;
    --secondary: #865FED; /* Adding the new purple color */
    --gradient: linear-gradient(135deg, #0d89ec, #865FED);
    --dark-bg: #0a172f;
    --text: #c1c5c6;
    --section-padding: 40px 20px; /* Reduced from 80px to 40px for more compact layout */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Verdana', sans-serif;
    background: var(--dark-bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 23, 47, 0.95);
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

/* Language Selector Styles */
.language-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px; /* Space below the Get Started button */
    position: relative;
    width: 100%;
}

.language-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 6px;
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 32px;
    overflow: hidden;
}

.language-btn svg, .language-btn img {
    display: block;
    width: 32px;
    height: 16px;
    object-fit: contain;
}

.language-btn:hover, .language-btn.active {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary);
    color: var(--primary);
}

.language-btn.active {
    background: rgba(13, 137, 236, 0.1);
}

/* Remove the active underline styling */
.language-btn.active {
    box-shadow: none; /* No box shadow */
}

/* Responsive adjustments for language selector */
@media (max-width: 768px) {
    .language-selector {
        margin-top: 30px;
        gap: 10px;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        z-index: auto;
    }
    
    .language-btn {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .language-selector {
        margin-top: 25px;
        gap: 15px;
        right: auto;
        position: relative;
    }
    
    .language-btn {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #1a94f0; /* Slightly lighter shade */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(-1px);
}

button.cta-button, 
input[type="submit"].cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

button.cta-button:hover, 
input[type="submit"].cta-button:hover {
    transform: translateY(-3px);
    background: #1a94f0; /* Slightly lighter shade */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

button.cta-button:active, 
input[type="submit"].cta-button:active {
    transform: translateY(-1px);
}

section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 35px; /* Reduced from 60px to 35px */
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature {
    background: 
        linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
        linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.feature::before {
    content: none;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary); /* Using solid purple for icons */
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.use-case {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px; /* Reduced from 40px to 25px */
}

.use-case h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* New styles for alternating layout */
.use-case-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.use-case:nth-child(even) .use-case-content {
    flex-direction: row-reverse;
}

.use-case-description {
    flex: 1;
}

/* Video placeholder and audio player styling */
.video-placeholder,
.audio-player-container {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    height: 250px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0; /* Override previous margin */
}

/* Mobile layout for use cases - stack media on top of description */
@media (max-width: 768px) {
    .use-case-content {
        flex-direction: column !important; /* Override the row-reverse for even items */
    }
    
    /* Force media to appear first in DOM order on mobile */
    .use-case-content {
        display: flex;
        flex-direction: column-reverse;
    }
    
    /* Add bottom margin to media containers */
    .video-placeholder,
    .audio-player-container {
        margin-bottom: 20px;
        width: 100%;
    }
    
    /* Ensure text is properly aligned */
    .use-case-description {
        text-align: left;
        width: 100%;
    }
}

/* Prominent text styling */
.prominent-text {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8;
    margin: 20px auto;
    margin-bottom: 30px; /* Reduced from 50px to 30px */
    max-width: 900px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Match font size in about content to section title paragraph */
.about-content {
    margin-top: 10px; /* Reduced from 20px to 10px */
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px; /* Reduced from 30px to 20px */
    padding-bottom: 5px; /* Reduced from 10px to 5px */
}

@media (max-width: 768px) {
    .prominent-text {
        font-size: 1.2rem;
        padding: 15px 20px;
        margin: 20px auto;
        margin-bottom: 30px; /* Maintain proportional spacing on mobile */
    }
    
    .about-content p {
        font-size: 1.1rem; /* Maintaining consistent font size on mobile */
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }

    /* Optimize container padding for mobile */
    .container {
        padding: 0 10px;
    }
    
    /* Reduce section padding on mobile */
    section {
        padding: 35px 10px; /* Reduced from 60px to 35px on mobile */
    }
    
    .section-title {
        margin-bottom: 25px; /* Further reduced on mobile from 40px to 25px */
    }
    
    /* Optimize card-like elements for mobile */
    .feature, 
    .plan, 
    .use-case, 
    .testimonial,
    .faq-item,
    .legal-content-body {
        padding: 20px 15px;
    }
    
    /* Fix for bullet points on mobile */
    .use-case ul,
    .plan-features ul,
    .feature ul,
    .testimonial ul,
    .faq-answer ul,
    .legal-content-body ul {
        padding-left: 15px; /* Reduce default padding */
        margin-left: 0;     /* Remove default margin */
        list-style-position: inside; /* Keep bullets inside */
    }
    
    /* Ensure text wrapping properly next to bullets */
    .use-case li,
    .plan-features li,
    .feature li,
    .testimonial li,
    .faq-answer li,
    .legal-content-body li {
        text-indent: -1em;  /* Pull the text back */
        padding-left: 1em;  /* Add padding to compensate */
    }
}

/* Additional mobile optimization for extra small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .feature, 
    .plan, 
    .use-case, 
    .testimonial, 
    .faq-item {
        padding: 15px 12px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    /* Further reduce list padding on very small screens */
    .use-case ul,
    .plan-features ul,
    .feature ul,
    .testimonial ul,
    .faq-answer ul,
    .legal-content-body ul {
        padding-left: 10px;
    }
}

/* Screenshots Section Styles */
#screenshots {
    background-color: #0e1c36;
    color: #fff;
    padding: 80px 0;
}

#screenshots .section-title h2 {
    color: var(--primary); /* Changed from #fff to var(--primary) to match other section titles */
    margin-bottom: 10px;
    position: relative;
}

#screenshots .section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary); /* Changed from #4e92df to var(--primary) for consistency */
}

#screenshots .section-title p {
    color: #b8c7e0;
    margin-top: 25px;
    margin-bottom: 40px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
    padding: 0 15px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding-bottom: 15px;
}

.screenshot:hover {
    transform: translateY(-8px);
}

.screenshot-img-container {
    position: relative;
    margin: 15px 15px 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* Cool border effect on the image container only */
.screenshot-img-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(to right, #4e92df, #6f42c1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.screenshot-caption {
    padding: 0 20px;
    text-align: center;
}

.screenshot-caption h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.screenshot-caption p {
    font-size: 14px;
    color: #b8c7e0;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .screenshot-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .screenshot-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Screenshot Toggle Button Styling */
.screenshot-toggle {
    text-align: center;
    margin-top: 30px;
    display: none; /* Hidden by default, shown only on mobile */
}

.screenshot-toggle-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.screenshot-toggle-btn:hover {
    background: #1a94f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.screenshot-toggle-btn:active {
    transform: translateY(0);
}

/* Mobile Screenshot Gallery */
@media (max-width: 768px) {
    /* Show toggle button on mobile */
    .screenshot-toggle {
        display: block;
    }
    
    /* Hide screenshots beyond the first 3 by default */
    .screenshot:nth-child(n+4) {
        display: none;
    }
    
    /* Class to show all screenshots when toggled */
    .screenshot-gallery.show-all .screenshot {
        display: block;
    }
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    overflow: visible; /* Ensure badges aren't cut off */
    padding-top: 10px; /* Add space at top for overflowing badges */
}

.plan {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plan::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, transparent 70%, rgba(134, 95, 237, 0.3));
}

.plan h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.plan-features {
    margin-bottom: 20px; /* Reduced from 25px to 20px */
    text-align: left;
}

.plan-features li {
    margin-bottom: 10px;
    list-style-type: none;
}

.plan-features li i {
    color: var(--secondary); /* Changed from var(--primary) to purple */
    margin-right: 5px;
}

/* Pilot Program Styling */
.pilot-program {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; /* Reduced from 30px to 20px */
}

.pilot-plan {
    max-width: 500px;
    position: relative;
    background: 
        linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
        linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    padding: 30px;
    padding-top: 20px; /* Reduced top padding to accommodate badge */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    margin-top: 15px; /* Add margin to make room for badge */
    overflow: visible; /* Ensure content outside the box is visible */
}

.pilot-badge {
    position: absolute;
    top: -12px;
    right: 20px; /* Reverted to original right positioning */
    background-color: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Remove the ::before pseudo-element */
.pilot-badge::before {
    content: none;
}

.pilot-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px; /* Reduced from 20px to 10px */
    font-style: italic;
    opacity: 0.85;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .pilot-plan {
        width: 100%;
        max-width: 100%;
    }
}

/* Contact Form Styling */
.contact-form-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form {
    flex: 1;
    max-width: 800px;
    background: 
        linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
        linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.form-group {
    flex: 0 0 48%;
    margin-bottom: 15px; /* Reduced from 20px to 15px */
}

.full-width {
    flex: 0 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(134, 95, 237, 0.2);
}

/* Get Started Button with Animated Gradient */
.get-started-button {
    background: var(--dark-bg);
    color: white;
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Create rotating border using gradient pseudo-element */
.get-started-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(var(--primary), var(--secondary), var(--primary));
    z-index: -1;
    border-radius: 32px;
    animation: rotate-border 20s linear infinite;
}

/* Button content */
.get-started-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--dark-bg);
    border-radius: 28px;
    z-index: -1;
}

.get-started-button:hover::before {
    animation: rotate-border 10s linear infinite; /* Faster rotation on hover */
}

/* Clean Rotating Border Animation */
@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Original gradient animation (keep for other elements) */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.submit-button {
    margin-top: 15px;
    width: 100%;
    cursor: pointer;
}

.contact-info {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
}

.alternative-contact h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.alternative-contact p {
    margin-bottom: 15px;
}

.alternative-contact i {
    color: var(--primary);
    margin-right: 10px;
}

/* Responsive adjustments for contact form */
@media (max-width: 768px) {
    .form-group {
        flex: 0 0 100%;
    }
    
    .contact-form-container {
        flex-direction: column;
    }
}

.form-button-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.submit-button {
    width: auto;
    min-width: 200px;
    max-width: 250px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
}

/* Updated Footer Styling */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-info {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info i {
    color: var(--primary);
    margin-right: 8px;
}

/* Updated Footer Link Styling */
footer a {
    color: var(--primary); /* Change from var(--text) to blue to indicate clickable links */
    text-decoration: underline; /* Add underline to clearly indicate links */
    transition: all 0.3s;
}

footer a:hover {
    color: #4dabf7; /* Lighter shade for hover state */
    text-decoration: underline;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 20px;
    }
}

footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    text-align: center;
}

.contact-info {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--text);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Mobile navigation adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 101;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background: rgba(10, 23, 47, 0.98);
        width: 100%;
        height: 100vh;
        padding: 80px 20px 20px;
        z-index: 99;
        align-items: center;
        gap: 20px;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Additional styling for alternate sections */
#features, #use-cases, #faq, #contact, #pricing {
    padding-top: 40px; /* Set consistent top padding */
    padding-bottom: 40px; /* Set consistent bottom padding */
}

#pricing {
    padding-top: 40px; /* Changed from 90px to 40px to match other sections */
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

/* For mobile devices, adjust padding accordingly */
@media (max-width: 768px) {
    #pricing {
        padding-top: 40px; /* Changed from 100px to 40px to be consistent */
    }
}

.text-center {
    text-align: center;
}

.application-review-note {
    margin-top: 20px;
    text-align: center;
    color: #888;
}

.review-notice {
    text-align: center;
    margin-top: 30px;
    color: #aaa;
}

.review-notice p {
    font-size: 0.95rem;
}

/* Legal Pages Styling */
.legal-content {
    padding-top: 120px;
    padding-bottom: 50px;
}

.legal-content-body {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.legal-content h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

.legal-content .section-title p {
    font-style: italic;
    opacity: 0.7;
}

/* Global Link Styling for Content Areas */
.legal-content-body a,
.about-content a,
section p a {
    color: var(--primary);
    text-decoration: underline;
    transition: all 0.3s;
}

.legal-content-body a:hover,
.about-content a:hover,
section p a:hover {
    color: #4dabf7; /* Lighter shade for hover */
    text-decoration: underline;
}

/* FAQ Section Styling - Complete overhaul to fix line issue */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-left: 3px solid var(--secondary);
}

.faq-item * {
    /* Ensure no element inside has borders */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    border-bottom: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent; /* Prevents tap highlight on mobile */
}

.faq-question:focus,
.faq-question:active,
.faq-question:focus-visible {
    outline: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Additional rules to prevent any styles that might create lines */
.faq-question h3::after,
.faq-question h3::before,
.faq-question button::after,
.faq-question button::before {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}

.faq-item.active .faq-question,
.faq-item.active .faq-question:after,
.faq-item.active .faq-question:before {
    border: none !important;
    border-bottom: none !important;
    background-image: none !important;
}

/* Override browser default styles that might be causing the line */
[role="button"] {
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
}

[role="button"]:focus,
[role="button"]:active {
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
}

.faq-question h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    padding-right: 30px;
    display: flex;
    align-items: center;
}

.faq-question h3 i {
    color: var(--secondary);
    margin-right: 10px;
    transition: transform 0.3s ease;
    width: 16px;
    flex: 0 0 16px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
}

.faq-item.active .faq-question h3 i {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 20px 20px 50px;
    display: none;
}

.faq-answer p {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Override any potential browser default styling */
hr, .faq-item hr, .faq-answer hr {
    display: none;
}

/* Testimonials Section Styling */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: "";
    font-size: 60px;
    color: rgba(13, 137, 236, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin: 0;
    color: #fff;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Accessibility helper classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: none; /* Remove default focus outline for all interactions */
}

/* Only show focus styles for keyboard navigation - not for mouse/touch */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(134, 95, 237, 0.5);
    outline-offset: 2px;
}

/* Fix for menu toggle button specifically */
.menu-toggle:focus {
    outline: none;
}

/* Fix for mobile menu links */
.nav-links a:focus {
    outline: none;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Add at the end of the file */
.recaptcha-notice {
    font-size: 0.8em;
    margin-top: 15px;
    text-align: center;
    color: #666;
}

.recaptcha-notice a {
    color: #666;
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: #333;
}

/* If you want to show the default reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important; /* Changed from visible to hidden */
    transition: visibility 0.3s ease;
}

/* Show reCAPTCHA badge only when form section is in view */
.show-recaptcha .grecaptcha-badge {
    visibility: visible !important;
}

/* Audio Player Styles */
.audio-player-container {
    flex: 1;
    margin-bottom: 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none; /* Remove shadow for cleaner matching */
}

.audio-visualization-container {
    position: relative;
    height: 250px;
    width: 100%;
    border-radius: 8px;
    background: #0a172f; /* Reverted to original color */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.audio-visualization {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.audio-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); /* Added darker background to controls */
    border-radius: 8px;
}

.play-button {
    width: 56px; /* Increased size */
    height: 56px; /* Increased size */
    border-radius: 50%;
    background: var(--primary); /* Keep using primary variable for consistency */
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 137, 236, 0.4); /* Enhanced shadow using primary color */
    position: relative; /* Add this to ensure z-index works */
    z-index: 3; /* Add this to ensure button is above other elements */
    margin-right: 15px; /* Add spacing between button and text */
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.play-button:active {
    transform: scale(0.98);
}

.play-button i {
    font-size: 1.2rem;
}

.audio-info {
    flex-grow: 1;
    color: white;
}

.audio-title {
    font-weight: 500;
    margin-bottom: 3px;
}

.audio-duration {
    font-size: 0.8rem;
    opacity: 0.7;
}

.audio-player-container.playing .play-button i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Media queries for audio player responsiveness */
@media (max-width: 768px) {
    .audio-visualization-container {
        height: 180px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
    }
    
    .audio-title {
        font-size: 0.9rem;
    }
    
    .audio-duration {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .audio-visualization-container {
        height: 150px;
    }
}
