/* ===== Responsive Design - Media Queries ===== */

/* Large Tablets and Small Desktops */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    /* Hero Section - Reduced parallax intensity */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    /* Parallax optimization for tablets */
    .floating-shapes .shape {
        filter: blur(25px);
    }
    
    .shape-1 {
        width: 280px;
        height: 280px;
    }
    
    .shape-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-3 {
        width: 150px;
        height: 150px;
    }
    
    .shape-4 {
        width: 250px;
        height: 250px;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    /* Industry Solutions - Large Tablets */
    .industry-solutions {
        padding: 60px 0;
    }
    
    .industry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .industry-card {
        padding: 1.5rem;
    }
    
    .industry-icon {
        font-size: 2.5rem;
    }
    
    .industry-card h3 {
        font-size: 1.2rem;
    }
    
    .industry-details {
        padding: 2rem;
    }
    
    .industry-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-item {
        padding: 1.25rem;
    }
    
    .solution-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .solution-content h4 {
        font-size: 1.1rem;
    }
    
    .solution-content p {
        font-size: 0.9rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }
    
    .metric-item {
        padding: 1.25rem;
    }
    
    .metric-value {
        font-size: 2.2rem;
    }
    
    .industry-cta {
        gap: 0.75rem;
    }
    
    .industry-cta .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    /* Case Studies - Large Tablets */
    .case-studies {
        padding: 60px 0;
    }
    
    .case-preview {
        grid-template-columns: auto 1fr auto;
        gap: 1.5rem;
    }
    
    .case-metrics {
        flex-direction: column;
        gap: 1rem;
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
    
    .case-expand-btn {
        grid-column: -1;
        grid-row: 1;
    }
    
    .case-section {
        padding: 1.5rem 2rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .result-item {
        padding: 1rem;
    }
    
    .result-number {
        font-size: 2rem;
    }
    
    .case-testimonial {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .case-studies-cta {
        padding: 2rem 1.5rem;
    }
    
    .case-studies-cta h3 {
        font-size: 1.8rem;
    }
    
    /* Maya Section */
    .maya {
        padding: 60px 0;
    }
    
    .maya .section-title {
        font-size: 2.4rem;
    }
    
    .maya-hero-icon i {
        font-size: 3.5rem;
        padding: 1.2rem;
    }
    
    .maya-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .maya-final-cta {
        padding: 2.5rem 1.5rem;
    }
    
    /* About Section */
    .about-content {
        gap: 3rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    /* Contact Section */
    .contact-content {
        gap: 3rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Chatbot Adjustments for Tablets */
    .chatbot-window {
        width: 360px;
        height: 480px;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    /* Global */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Header */
    .nav-toggle {
        display: flex;
        z-index: calc(var(--z-header) + 1);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: -5px 0 15px var(--shadow-light);
        transition: right 0.3s ease;
        z-index: var(--z-header);
    }
    
    .nav-menu.active {
        right: 0;
        z-index: calc(var(--z-chatbot-float) + 1);
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    /* Hero Section - Optimized for tablets */
    .hero {
        min-height: calc(100vh - 50px);
        padding: 100px 0 150px;
    }
    
    .hero-bg {
        width: 100%;
        height: 100%;
    }
    
    .neural-network {
        width: 100%;
        height: 100%;
        opacity: 0.08;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .text-animate-2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        width: 250px;
        justify-content: center;
    }
    
    .hero-features {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    /* Reduce floating shapes for tablets */
    .floating-shapes .shape {
        filter: blur(20px);
        opacity: 0.8;
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
    }
    
    .shape-3 {
        width: 120px;
        height: 120px;
    }
    
    .shape-4 {
        width: 180px;
        height: 180px;
    }
    
    /* Neural canvas optimization */
    .neural-canvas {
        opacity: 0.15;
    }
    
    /* Services */
    .services {
        padding: 0px 0 40px;
        margin-top: -150px;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding-top: 180px;
    }
    
    .services::before {
        height: 200px;
    }
    
    .services::after {
        top: 180px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    /* Industry Solutions - Tablet */
    .industry-solutions {
        padding: 60px 0;
    }
    
    .industry-solutions .section-header {
        margin-bottom: 3rem;
    }
    
    .industry-selector {
        margin-bottom: 3rem;
    }
    
    .industry-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
    
    .industry-card {
        padding: 1.5rem;
    }
    
    .industry-icon {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .industry-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .industry-card p {
        font-size: 0.85rem;
    }
    
    .industry-content {
        min-height: 500px;
    }
    
    .industry-details {
        padding: 2rem;
    }
    
    .industry-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .industry-challenges h3,
    .industry-solutions-list h3 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .industry-challenges li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .solution-items {
        gap: 1.25rem;
    }
    
    .solution-item {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .solution-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin: 0 auto;
    }
    
    .solution-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .solution-content p {
        font-size: 0.9rem;
    }
    
    .industry-metrics {
        padding: 2rem;
    }
    
    .industry-metrics h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .metric-item {
        padding: 1.25rem 1rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
    
    .industry-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .industry-cta .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 1.5rem;
    }
    
    /* Products Section - Tablet */
    .products {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
    }
    
    .product-icon {
        font-size: 2.2rem;
    }
    
    .product-card h3 {
        font-size: 1.3rem;
    }
    
    .btn-product {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .products-cta {
        padding: 1.5rem;
    }
    
    .products-cta p {
        font-size: 1.1rem;
    }
    
    /* Case Studies - Tablet */
    .case-studies {
        padding: 60px 0;
    }
    
    .case-preview {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .case-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .case-company h3 {
        font-size: 1.3rem;
    }
    
    .case-sector {
        font-size: 0.85rem;
    }
    
    .case-metrics {
        grid-column: 1 / -1;
        margin-top: 1.5rem;
        justify-content: center;
        gap: 2rem;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
    
    .case-expand-btn {
        position: absolute;
        top: 2rem;
        right: 2rem;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .case-section {
        padding: 1.5rem;
    }
    
    .case-section h4 {
        font-size: 1.2rem;
    }
    
    .solution-features {
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .result-item {
        padding: 1rem 0.5rem;
    }
    
    .result-number {
        font-size: 1.8rem;
    }
    
    .result-desc {
        font-size: 0.8rem;
    }
    
    .case-testimonial {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        margin-left: 2rem;
    }
    
    .testimonial-content i {
        font-size: 1.5rem;
    }
    
    .author-info strong {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
    
    .case-studies-cta {
        padding: 2rem;
    }
    
    .case-studies-cta h3 {
        font-size: 1.6rem;
    }
    
    .case-studies-cta p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    /* Maya Section - Tablet */
    .maya {
        padding: 60px 0;
    }
    
    .maya .section-title {
        font-size: 2.2rem;
    }
    
    .maya .section-subtitle {
        font-size: 1.1rem;
    }
    
    .maya-hero-icon i {
        font-size: 3.2rem;
        padding: 1rem;
    }
    
    .maya-cta {
        padding: 1.25rem 1.5rem;
    }
    
    .maya-cta p {
        font-size: 1rem;
    }
    
    .maya-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .maya-feature-card {
        padding: 1.5rem;
    }
    
    .maya-feature-icon {
        font-size: 2.2rem;
    }
    
    .maya-feature-card h3 {
        font-size: 1.3rem;
    }
    
    .applications-title {
        font-size: 2rem;
    }
    
    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .application-card {
        padding: 1.25rem;
    }
    
    .application-icon {
        font-size: 1.8rem;
    }
    
    .application-card h4 {
        font-size: 1.1rem;
    }
    
    .maya-final-cta {
        padding: 2rem 1.5rem;
    }
    
    .maya-final-cta h3 {
        font-size: 1.8rem;
    }
    
    .maya-cta-buttons {
        gap: 0.75rem;
    }
    
    /* About Section - Tablet */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .company-mission,
    .company-location,
    .company-approach {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .company-mission h3,
    .company-location h3,
    .company-approach h3 {
        font-size: 1.2rem;
    }
    
    .values-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .value-icon {
        font-size: 2.2rem;
    }
    
    .value-card h4 {
        font-size: 1.2rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Chatbot Adjustments for Tablets */
    .chatbot-window {
        width: 350px;
        right: 20px;
        bottom: 90px;
    }
    
    .chatbot-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .chatbot-float i {
        font-size: 22px;
    }
}

/* Mobile Devices */
@media screen and (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    p { font-size: 0.95rem; }
    
    /* Header */
    .logo a {
        font-size: 1.5rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    /* Ensure mobile menu appears above chatbot */
    .nav-menu.active {
        z-index: calc(var(--z-chatbot-float) + 10);
    }
    
    /* Hero Section - Mobile optimization */
    .hero {
        min-height: calc(100vh - 50px);
        padding: 80px 0 100px;
    }
    
    .hero-bg {
        width: 100%;
        height: 100%;
    }
    
    .neural-network {
        width: 100%;
        height: 100%;
        opacity: 0.08;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .text-animate-2 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 10px;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
        width: 100%;
        max-width: 250px;
    }
    
    /* Fix per le hero features su mobile */
    .hero-features {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 2;
        background: rgba(35, 41, 98, 0.4);
        padding: 1rem;
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }
    
    .feature-item {
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        width: 100%;
        max-width: 250px;
        justify-content: center;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .feature-item i {
        color: var(--primary-orange);
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    /* Reduce parallax effects on mobile */
    .floating-shapes {
        opacity: 0.6;
    }
    
    .neural-canvas {
        opacity: 0.1;
    }
    
    .hero-particles {
        opacity: 0.3;
    }
    
    .hero-particles .particle {
        animation-duration: 30s;
    }
    
    /* Services */
    .services {
        padding: 0px 0 40px;
        margin-top: -100px;
    }
    
    .services::before {
        height: 150px;
    }
    
    .services::after {
        top: 150px;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding-top: 150px;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Industry Solutions - Mobile */
    .industry-solutions {
        padding: 40px 0;
    }
    
    .industry-solutions .section-header {
        margin-bottom: 2.5rem;
    }
    
    .industry-selector {
        margin-bottom: 2.5rem;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .industry-card {
        padding: 1.25rem;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    
    .industry-icon {
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .industry-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .industry-card p {
        font-size: 0.8rem;
        margin: 0;
    }
    
    .industry-content {
        min-height: 400px;
    }
    
    .industry-details {
        padding: 1.5rem;
    }
    
    .industry-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .industry-challenges h3,
    .industry-solutions-list h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .industry-challenges li {
        font-size: 0.9rem;
        padding-left: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .solution-items {
        gap: 1rem;
    }
    
    .solution-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .solution-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin: 0 auto;
    }
    
    .solution-content h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .solution-content p {
        font-size: 0.85rem;
    }
    
    .industry-metrics {
        padding: 1.5rem;
    }
    
    .industry-metrics h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .metric-item {
        padding: 1rem 0.75rem;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
    
    .industry-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .industry-cta .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Products Section - Mobile */
    .products {
        padding: 40px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .product-badge {
        top: 10px;
        right: 10px;
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .product-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .product-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .product-card p {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
    
    .btn-product {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }
    
    .products-cta {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .products-cta p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    /* Case Studies - Mobile */
    .case-studies {
        padding: 40px 0;
    }
    
    .case-studies .section-header {
        padding-top: 0;
        margin-bottom: 2.5rem;
    }
    
    .case-studies-grid {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .case-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
        position: relative;
    }
    
    .case-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .case-company h3 {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .case-sector {
        font-size: 0.8rem;
    }
    
    .case-metrics {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .metric-value {
        font-size: 1.6rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
    
    .case-expand-btn {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .case-section {
        padding: 1.25rem;
    }
    
    .case-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .case-section h4 i {
        font-size: 1rem;
    }
    
    .case-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .solution-features {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .result-item {
        padding: 0.75rem 0.5rem;
    }
    
    .result-number {
        font-size: 1.5rem;
    }
    
    .result-desc {
        font-size: 0.7rem;
    }
    
    .case-testimonial {
        padding: 1.25rem;
        margin-top: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        margin-left: 1.5rem;
    }
    
    .testimonial-content i {
        font-size: 1.2rem;
    }
    
    .author-info strong {
        font-size: 0.95rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    .case-studies-cta {
        padding: 1.5rem;
    }
    
    .case-studies-cta h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .case-studies-cta p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Maya Section - Mobile */
    .maya {
        padding: 40px 0;
    }
    
    .maya .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .maya .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .maya-hero-icon {
        margin-bottom: 1.5rem;
    }
    
    .maya-hero-icon i {
        font-size: 2.8rem;
        padding: 0.8rem;
    }
    
    .maya-cta {
        padding: 1rem 1.25rem;
        margin-bottom: 2rem;
    }
    
    .maya-cta p {
        font-size: 0.9rem;
    }
    
    .maya-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .maya-feature-card {
        padding: 1.25rem;
    }
    
    .maya-feature-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .maya-feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .maya-feature-card p {
        font-size: 0.9rem;
    }
    
    .applications-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .application-card {
        padding: 1rem;
    }
    
    .application-icon {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .application-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .application-card p {
        font-size: 0.85rem;
    }
    
    .maya-final-cta {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .maya-final-cta h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .maya-final-cta p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .maya-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .maya-cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* About Section - Mobile */
    .about {
        padding: 40px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .about-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .company-mission,
    .company-location,
    .company-approach {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .company-mission h3,
    .company-location h3,
    .company-approach h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .company-mission p,
    .company-location p,
    .company-approach p {
        font-size: 0.9rem;
    }
    
    .values-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-card {
        padding: 1.25rem;
    }
    
    .value-card:active {
        transform: scale(0.98);
    }
    
    .value-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .value-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .value-card p {
        font-size: 0.85rem;
    }
    
    /* Contact */
    .contact {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .info-item {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p,
    .footer-section ul li {
        font-size: 0.9rem;
    }
    
    .company-info {
        font-size: 0.85rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    /* Chatbot Mobile Optimizations */
    .chatbot-window {
        width: calc(100vw - 30px);
        height: 450px;
        right: 15px;
        bottom: 80px;
        border-radius: 15px;
    }
    
    .chatbot-header {
        padding: 12px 15px;
        border-radius: 15px 15px 0 0;
    }
    
    .chatbot-title {
        font-size: 15px;
    }
    
    .chatbot-messages {
        padding: 15px;
        gap: 12px;
    }
    
    .chatbot-input {
        padding: 12px 15px;
        border-radius: 0 0 15px 15px;
    }
    
    .input-field {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 15px;
    }
    
    .message-content {
        max-width: 85%;
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .message-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .chatbot-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .chatbot-float i {
        font-size: 20px;
    }
    
    /* Ensure chatbot doesn't interfere with mobile navigation */
    body:has(.nav-menu.active) .chatbot-float {
        opacity: 0.3;
        pointer-events: none;
    }
    
    body:has(.nav-menu.active) .chatbot-window {
        opacity: 0.3;
        pointer-events: none;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 360px) {
    /* Hero */
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Services */
    .services {
        padding: 0px 0 40px;
        margin-top: -80px;
    }
    
    .services::before {
        height: 120px;
    }
    
    .services::after {
        top: 120px;
    }
    
    .section-header {
        padding-top: 120px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    /* Industry Solutions - Small Mobile */
    .industry-solutions {
        padding: 30px 0;
    }
    
    .industry-grid {
        gap: 0.75rem;
    }
    
    .industry-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .industry-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .industry-card h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .industry-card p {
        font-size: 0.75rem;
    }
    
    .industry-details {
        padding: 1.25rem;
    }
    
    .industry-challenges h3,
    .industry-solutions-list h3 {
        font-size: 1.1rem;
    }
    
    .industry-challenges li {
        font-size: 0.85rem;
        padding-left: 1rem;
    }
    
    .solution-item {
        padding: 0.75rem;
    }
    
    .solution-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .solution-content h4 {
        font-size: 0.95rem;
    }
    
    .solution-content p {
        font-size: 0.8rem;
    }
    
    .industry-metrics {
        padding: 1.25rem;
    }
    
    .metrics-grid {
        gap: 0.75rem;
    }
    
    .metric-item {
        padding: 0.75rem 0.5rem;
    }
    
    .metric-value {
        font-size: 1.6rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
    
    /* Products - Small Mobile */
    .products-grid {
        gap: 0.75rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-icon {
        font-size: 1.8rem;
    }
    
    .product-card h3 {
        font-size: 1.1rem;
    }
    
    .product-card p {
        font-size: 0.8rem;
    }
    
    .btn-product {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .products-cta {
        padding: 1rem;
    }
    
    .products-cta p {
        font-size: 0.9rem;
    }
    
    /* Case Studies - Small Mobile */
    .case-studies {
        padding: 30px 0;
    }
    
    .case-studies-grid {
        gap: 1.5rem;
    }
    
    .case-preview {
        padding: 1.25rem;
    }
    
    .case-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .case-company h3 {
        font-size: 1.1rem;
    }
    
    .case-sector {
        font-size: 0.75rem;
    }
    
    .case-metrics {
        gap: 1rem;
    }
    
    .metric-value {
        font-size: 1.4rem;
    }
    
    .metric-label {
        font-size: 0.65rem;
    }
    
    .case-expand-btn {
        top: 1.25rem;
        right: 1.25rem;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .case-section {
        padding: 1rem;
    }
    
    .case-section h4 {
        font-size: 1rem;
    }
    
    .case-section p {
        font-size: 0.85rem;
    }
    
    .feature-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    .results-grid {
        gap: 0.5rem;
    }
    
    .result-item {
        padding: 0.5rem 0.25rem;
    }
    
    .result-number {
        font-size: 1.3rem;
    }
    
    .result-desc {
        font-size: 0.65rem;
    }
    
    .case-testimonial {
        padding: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
        margin-left: 1.2rem;
    }
    
    .testimonial-content i {
        font-size: 1rem;
    }
    
    .author-info strong {
        font-size: 0.9rem;
    }
    
    .author-info span {
        font-size: 0.75rem;
    }
    
    .case-studies-cta {
        padding: 1.25rem;
    }
    
    .case-studies-cta h3 {
        font-size: 1.3rem;
    }
    
    .case-studies-cta p {
        font-size: 0.85rem;
    }
    
    /* Maya Section - Small Mobile */
    .maya .section-title {
        font-size: 1.6rem;
    }
    
    .maya-hero-icon i {
        font-size: 2.5rem;
        padding: 0.7rem;
    }
    
    .maya-cta {
        padding: 0.75rem 1rem;
    }
    
    .maya-cta p {
        font-size: 0.85rem;
    }
    
    .maya-feature-card {
        padding: 1rem;
    }
    
    .maya-feature-icon {
        font-size: 1.8rem;
    }
    
    .maya-feature-card h3 {
        font-size: 1.1rem;
    }
    
    .maya-feature-card p {
        font-size: 0.85rem;
    }
    
    .applications-title {
        font-size: 1.4rem;
    }
    
    .application-card {
        padding: 0.8rem;
    }
    
    .application-icon {
        font-size: 1.4rem;
    }
    
    .application-card h4 {
        font-size: 0.95rem;
    }
    
    .application-card p {
        font-size: 0.8rem;
    }
    
    .maya-final-cta {
        padding: 1.25rem 0.75rem;
    }
    
    .maya-final-cta h3 {
        font-size: 1.3rem;
    }
    
    .maya-final-cta p {
        font-size: 0.9rem;
    }
    
    /* About - Small Mobile */
    .about-intro {
        font-size: 0.9rem;
    }
    
    .company-mission,
    .company-location,
    .company-approach {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .company-mission h3,
    .company-location h3,
    .company-approach h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .company-mission p,
    .company-location p,
    .company-approach p {
        font-size: 0.85rem;
    }
    
    .values-title {
        font-size: 1.3rem;
    }
    
    .value-card {
        padding: 1rem;
    }
    
    .value-icon {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .value-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .value-card p {
        font-size: 0.8rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    /* Chatbot Small Mobile Adjustments */
    .chatbot-window {
        width: calc(100vw - 20px);
        height: 400px;
        right: 10px;
        bottom: 70px;
    }
    
    .chatbot-messages {
        padding: 12px;
    }
    
    .chatbot-input {
        padding: 10px 12px;
    }
    
    .message-content {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Landscape Orientation */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-features {
        margin-top: 1.5rem;
    }
    
    /* Reduce parallax intensity in landscape */
    .floating-shapes {
        opacity: 0.5;
    }
    
    .neural-canvas {
        opacity: 0.1;
    }
    
    /* Industry Solutions in landscape */
    .industry-solutions {
        padding: 40px 0;
    }
    
    .industry-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .industry-content {
        min-height: 400px;
    }
    
    .industry-info {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .industry-cta {
        flex-direction: row;
        gap: 1rem;
    }
    
    /* Products in landscape */
    .products {
        padding: 40px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    /* Case Studies in landscape */
    .case-studies {
        padding: 40px 0;
    }
    
    .case-preview {
        grid-template-columns: auto 1fr auto auto;
        gap: 1.5rem;
        text-align: left;
    }
    
    .case-metrics {
        grid-column: auto;
        margin-top: 0;
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .case-expand-btn {
        position: static;
    }
    
    .case-section {
        padding: 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    /* Maya in landscape */
    .maya {
        padding: 40px 0;
    }
    
    .maya .section-title {
        font-size: 2rem;
    }
    
    .maya-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .maya-final-cta {
        padding: 2rem 1rem;
    }
    
    /* About in landscape */
    .about {
        padding: 40px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    /* Chatbot in landscape */
    .chatbot-window {
        height: 350px;
        bottom: 70px;
    }
    
    .chatbot-messages {
        padding: 12px;
    }
}

/* High Resolution Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    /* Optimize images and graphics for retina displays */
    .service-icon,
    .product-icon,
    .value-icon,
    .case-icon,
    .maya-feature-icon,
    .application-icon,
    .industry-icon,
    .solution-icon {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Enhanced particle effects for high-res displays */
    .hero-particles .particle {
        box-shadow: 0 0 20px currentColor, 0 0 40px rgba(255, 127, 50, 0.3);
    }
    
    /* Enhanced chatbot display */
    .chatbot-float,
    .message-avatar,
    .chatbot-control,
    .send-button {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    /* Disable all parallax and complex animations */
    .parallax-element {
        transform: none !important;
        animation: none !important;
    }
    
    .floating-shapes .shape {
        animation: none !important;
        position: static;
        opacity: 0.1;
    }
    
    .hero-particles .particle {
        animation: none !important;
        display: none;
    }
    
    .neural-canvas {
        display: none;
    }
    
    .hero-bg {
        background: var(--primary-blue);
        animation: none !important;
    }
    
    .neural-network {
        display: none;
    }
    
    /* Ensure hero content stays in place for accessibility */
    .hero-content {
        transform: none !important;
    }
    
    .scroll-indicator {
        transform: translateX(-50%) !important;
    }
    
    /* Simplify hover effects */
    .service-card:hover,
    .product-card:hover,
    .maya-feature-card:hover,
    .application-card:hover,
    .value-card:hover,
    .case-study-card:hover,
    .industry-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .product-badge,
    .maya-hero-icon i {
        animation: none !important;
    }
    
    /* Disable chatbot animations */
    .chatbot-float {
        animation: none !important;
    }
    
    .chatbot-window {
        animation: none !important;
    }
    
    .message {
        animation: none !important;
    }
    
    .typing-dot {
        animation: none !important;
    }
    
    .chatbot-notification {
        animation: none !important;
    }
    
    .chatbot-float:hover,
    .chatbot-control:hover,
    .send-button:hover,
    .suggestion-chip:hover {
        transform: none !important;
    }
    
    /* Disable case studies animations */
    .case-expand-btn {
        transition: none !important;
    }
    
    .case-study-card.expanded .case-expand-btn {
        transform: none !important;
    }
    
    .case-details {
        transition: none !important;
    }
    
    /* Disable industry solutions animations */
    .industry-card::before {
        animation: none !important;
    }
    
    .industry-details {
        transition: none !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .industry-card:hover {
        transform: none;
    }
    
    .floating-shapes {
        opacity: 0.4;
    }
    
    .neural-canvas {
        opacity: 0.1;
    }
    
    /* Improve touch targets */
    .btn,
    .btn-product {
        min-height: 44px;
        padding: 0.8rem 2rem;
    }
    
    .nav-link {
        padding: 1rem 0;
    }
    
    .case-expand-btn,
    .industry-card {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Disable hover effects that don't work on touch */
    .service-card:hover,
    .product-card:hover,
    .maya-feature-card:hover,
    .application-card:hover,
    .value-card:hover,
    .case-study-card:hover,
    .industry-card:hover {
        transform: none;
    }
    
    .service-card:active,
    .product-card:active,
    .value-card:active,
    .case-study-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .maya-feature-card:active,
    .application-card:active,
    .industry-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .btn-product:active {
        transform: scale(0.95);
    }
    
    /* Chatbot touch optimizations */
    .chatbot-control,
    .send-button,
    .suggestion-chip {
        min-height: 44px;
        min-width: 44px;
    }
    
    .input-field {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .chatbot-float:hover,
    .chatbot-control:hover,
    .send-button:hover,
    .suggestion-chip:hover {
        transform: none;
    }
    
    .chatbot-float:active {
        transform: scale(0.95);
    }
    
    .chatbot-control:active,
    .send-button:active {
        transform: scale(0.9);
    }
}

/* Print Styles */
@media print {
    /* Hide unnecessary elements */
    .nav-toggle,
    .hero-particles,
    .parallax-element,
    .floating-shapes,
    .neural-canvas,
    .neural-network,
    .btn,
    .btn-product,
    form,
    .footer-links,
    .chatbot-float,
    .chatbot-window,
    .case-expand-btn,
    .cta-buttons,
    .industry-cta {
        display: none !important;
    }
    
    /* Expand all case studies and industry details for print */
    .case-details,
    .industry-details {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Show all industry details */
    .industry-details {
        position: relative !important;
    }
    
    /* Adjust colors for print */
    body {
        color: #000;
        background: #fff;
    }
    
    .header {
        position: relative;
        box-shadow: none;
        border-bottom: 1px solid #000;
    }
    
    .section-title {
        color: #000;
    }
    
    .hero,
    .products,
    .maya,
    .case-studies,
    .industry-solutions {
        background: #f5f5f5;
        color: #000;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-description,
    .maya .section-title,
    .maya .section-subtitle {
        color: #000;
    }
    
    .product-card,
    .service-card,
    .maya-feature-card,
    .application-card,
    .value-card,
    .case-study-card,
    .industry-card,
    .industry-details {
        border: 1px solid #ccc;
        box-shadow: none;
        background: #fff;
        color: #000;
        page-break-inside: avoid;
    }
    
    .maya-hero-icon i,
    .maya-feature-icon,
    .application-icon,
    .value-icon,
    .case-icon,
    .industry-icon,
    .solution-icon {
        color: #666;
    }
    
    .case-preview {
        padding: 1rem;
    }
    
    .case-section {
        padding: 1rem;
        border-bottom: 1px solid #ddd;
    }
    
    .industry-details {
        padding: 1rem;
    }
    
    /* Ensure proper page breaks */
    .services,
    .products,
    .case-studies,
    .about,
    .contact,
    .industry-solutions {
        page-break-inside: avoid;
    }
    
    .case-study-card,
    .industry-details {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    /* Adjust links for print */
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* Prefers Color Scheme Support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode support */
    /* This would require implementing dark mode variables */
}

/* Motion Safe Queries */
@media (prefers-reduced-motion: no-preference) {
    /* Enhanced animations for users who prefer motion */
    .hero-particles .particle {
        animation-duration: 20s;
    }
    
    .floating-shapes .shape {
        animation-duration: 15s;
    }
    
    .product-badge {
        animation: pulse 2s infinite;
    }
    
    .maya-hero-icon i {
        animation: mayaGlow 3s ease-in-out infinite alternate;
    }
    
    .maya-final-cta::before {
        animation: rotate 20s linear infinite;
    }
    
    /* Enhanced chatbot animations */
    .chatbot-float {
        animation: chatbotPulse 3s ease-in-out infinite;
    }
    
    /* Case studies expand/collapse animation */
    .case-details {
        transition: max-height 0.6s ease;
    }
    
    .case-expand-btn {
        transition: all 0.4s ease;
    }
    
    /* Industry solutions animations */
    .industry-details {
        transition: all 0.5s ease;
    }
    
    .industry-card::before {
        transition: left 0.6s ease;
    }
}

/* Screen Size Specific Chatbot Adjustments */
@media screen and (max-width: 320px) {
    .chatbot-window {
        width: calc(100vw - 10px);
        right: 5px;
        bottom: 60px;
    }
    
    .chatbot-float {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
    }
    
    .chatbot-float i {
        font-size: 18px;
    }
}