/* ============================================
   Elevate IT Rhode Island - Modern CSS
   Sleek, Professional Design for Local Business IT
   ============================================ */

/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* Utility Classes */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.min-vh-80 {
    min-height: 80vh;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 0.625rem 0;
    font-size: 0.875rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-badge {
    color: var(--accent);
    font-weight: 500;
}

.top-bar-link {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.top-bar-link:hover {
    color: var(--white);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1.25rem;
}

.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--gray-900);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.nav-cta {
    border-radius: var(--radius-full);
    padding: 0.625rem 1.25rem;
    font-weight: 600;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.625rem 1rem;
    font-weight: 500;
    color: var(--gray-700);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.1));
    bottom: 20%;
    left: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent);
    bottom: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 10px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: var(--warning);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-trust {
    display: flex;
    gap: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Hero Visual (Right side) */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.hero-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
    animation: cardFloat 6s infinite ease-in-out;
    z-index: 5;
}

.hero-card i {
    font-size: 1.25rem;
    color: var(--primary);
}

.hero-card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-card-1 i { color: var(--success); }

.hero-card-2 {
    top: 40%;
    right: 5%;
    animation-delay: -2s;
}

.hero-card-2 i { color: var(--accent); }

.hero-card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: -4s;
}

.hero-card-3 i { color: var(--primary); }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 3D Cube Element */
.hero-3d-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1000px;
}

.cube {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    backface-visibility: visible;
}

.cube-face.front {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateZ(75px);
}

.cube-face.back {
    background: linear-gradient(135deg, var(--accent), #0891b2);
    transform: rotateY(180deg) translateZ(75px);
}

.cube-face.right {
    background: linear-gradient(135deg, var(--success), #059669);
    transform: rotateY(90deg) translateZ(75px);
}

.cube-face.left {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    transform: rotateY(-90deg) translateZ(75px);
}

.cube-face.top {
    background: linear-gradient(135deg, var(--warning), #d97706);
    transform: rotateX(90deg) translateZ(75px);
}

.cube-face.bottom {
    background: linear-gradient(135deg, #ec4899, #db2777);
    transform: rotateX(-90deg) translateZ(75px);
}

@keyframes rotateCube {
    0% { transform: rotateX(-20deg) rotateY(0deg); }
    100% { transform: rotateX(-20deg) rotateY(360deg); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline-dark:hover {
    background: var(--gray-900);
    border-color: var(--gray-900);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border: 2px solid var(--primary);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* CTA Card in Services */
.service-card.cta-card {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-card h3 {
    color: var(--white);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-card::before {
    display: none;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-section {
    background: var(--gray-50);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    transition: all var(--transition);
}

.industry-card:hover .industry-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.industry-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--warning);
    margin-bottom: 1rem;
}

.testimonial-stars i {
    margin-right: 0.25rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--gray-50);
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--gray-900);
    padding: 1.25rem 1.5rem;
    background: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
    transition: transform var(--transition);
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--white);
}

.contact-info {
    padding-right: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
}

.contact-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.form-check {
    margin-bottom: 0;
}

.form-check-input {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
    border: 2px solid var(--gray-300);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-check-label {
    font-size: 0.9375rem;
    color: var(--gray-700);
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.footer-brand .brand-text {
    color: var(--white);
    font-size: 1.25rem;
}

.footer-about {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--primary);
    width: 16px;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-800);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 0.875rem;
}

.footer-badge i {
    color: var(--success);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 99;
}

.back-to-top:hover {
    transform: translateY(-4px);
    color: var(--white);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-visual {
        height: 400px;
    }

    .cube {
        width: 120px;
        height: 120px;
    }

    .cube-face {
        width: 120px;
        height: 120px;
        font-size: 2rem;
    }

    .cube-face.front { transform: translateZ(60px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(60px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(60px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(60px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(60px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-cta {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-trust {
        justify-content: flex-start;
        gap: 2rem;
    }

    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .services-checkboxes {
        grid-template-columns: 1fr;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .trust-item {
        flex: 0 0 calc(33.333% - 1rem);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .faq-section .row {
        flex-direction: column;
    }

    .faq-section .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .top-bar {
        padding: 0.5rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .trust-number {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   SERVICE PAGES SPECIFIC STYLES
   ============================================ */
.service-hero {
    background: var(--gradient-hero);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
}

.service-hero .section-badge {
    margin-bottom: 1rem;
}

.service-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.service-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
}

.service-hero-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Use Cases */
.use-case-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
}

.use-case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.use-case-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.use-case-card h4 {
    margin-bottom: 0.75rem;
}

.use-case-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Pricing Box */
.pricing-box {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: var(--white);
    text-align: center;
}

.pricing-box h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.pricing-box .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-box .price small {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.pricing-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.pricing-box li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.pricing-box li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Print styles for accessibility */
@media print {
    .navbar,
    .top-bar,
    .back-to-top,
    .hero-visual,
    .floating-shapes {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #0047ab;
        --gray-600: #333;
    }

    .service-card,
    .industry-card,
    .testimonial-card {
        border-width: 2px;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   VALUE BANNER
   ============================================ */
.value-banner {
    background: var(--gradient-primary);
}

/* ============================================
   AI SERVICES SECTION
   ============================================ */
.ai-services-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.premium-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: var(--white) !important;
}

.ai-service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    height: 100%;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.ai-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}

.ai-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.ai-service-card:hover::before {
    opacity: 1;
}

.ai-service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all var(--transition);
}

.ai-service-card:hover .ai-service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.ai-service-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.ai-service-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.ai-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.why-card h4 {
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ============================================
   PRICE COMPARISON STYLING
   ============================================ */
.price-compare {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-decoration: line-through;
    margin-top: 0.25rem;
}

/* ============================================
   URGENCY BOX
   ============================================ */
.urgency-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    color: #92400e;
    font-size: 0.9375rem;
}

.urgency-box i {
    color: #f59e0b;
}

/* ============================================
   FOOTER CONTACT HIGHLIGHT
   ============================================ */
.footer-contact-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-contact-highlight a {
    color: var(--white);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.footer-contact-highlight a:hover {
    color: var(--accent);
}

/* ============================================
   AI SERVICE PAGE HERO
   ============================================ */
.ai-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #0891b2 100%);
    position: relative;
    overflow: hidden;
}

.ai-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ai-hero .service-hero-content {
    position: relative;
    z-index: 2;
}

.ai-hero .service-hero-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-hero h1,
.ai-hero p,
.ai-hero .section-badge {
    color: var(--white);
}

.ai-hero .section-badge {
    background: rgba(255, 255, 255, 0.2);
}

/* AI Pricing Cards */
.ai-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ai-pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}

.ai-pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.ai-pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.ai-pricing-card h4 {
    margin-bottom: 0.5rem;
}

.ai-pricing-card .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.ai-pricing-card .price small {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 400;
}

.ai-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.ai-pricing-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
}

.ai-pricing-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
}

/* ============================================
   ENHANCED MOBILE STYLES
   ============================================ */

/* Mobile Top Bar - Sleek & Compact */
@media (max-width: 767.98px) {
    .top-bar {
        padding: 0.5rem 0;
        background: linear-gradient(135deg, var(--gray-900) 0%, #1e293b 100%);
    }

    .top-bar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .top-bar-link {
        font-size: 0.8125rem;
        padding: 0.25rem 0.5rem;
        display: inline-flex;
        align-items: center;
    }

    .top-bar-link i {
        font-size: 0.75rem;
    }

    .trust-badge.urgency {
        display: none;
    }
}

/* Mobile Navbar - Modern Glass Effect */
@media (max-width: 991.98px) {
    .navbar {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }

    .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius-lg);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-xl);
        border: 1px solid var(--gray-100);
    }

    .navbar-nav .nav-link {
        padding: 0.875rem 1rem;
        border-radius: var(--radius);
        margin-bottom: 0.25rem;
        transition: all var(--transition-fast);
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:active {
        background: var(--gray-50);
    }

    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
        color: var(--primary);
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        background: transparent;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        border-radius: var(--radius);
    }

    .nav-cta {
        margin-top: 0.5rem;
        padding: 1rem;
        font-size: 1rem;
        border-radius: var(--radius-lg);
        background: var(--gradient-primary);
    }

    /* Hamburger animation */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        border-radius: var(--radius);
        transition: all var(--transition-fast);
    }

    .navbar-toggler:focus {
        box-shadow: none;
        background: var(--gray-100);
    }
}

/* Mobile Hero - Immersive Experience */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
        padding: 2rem 0;
        display: flex;
        align-items: center;
    }

    .hero-content {
        text-align: center;
        padding: 1rem;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        margin: 0 auto 2rem;
        max-width: 90%;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .hero-cta .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: var(--radius-lg);
    }

    .hero-cta .btn-primary {
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    }

    .hero-trust {
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        justify-content: center;
    }

    .trust-item {
        flex: 0 0 auto;
        padding: 0 1rem;
    }

    .trust-number {
        font-size: 1.75rem;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .trust-label {
        font-size: 0.75rem;
    }

    /* Hide complex animations on mobile for performance */
    .hero-visual,
    .floating-shapes,
    .hero-3d-element {
        display: none;
    }

    /* Add subtle mobile-friendly gradient animation */
    .hero-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }
}

/* Mobile Section Badges */
@media (max-width: 767.98px) {
    .section-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
    }

    .section-title {
        font-size: 1.625rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 2rem !important;
    }
}

/* Mobile Service Cards - Swipeable Feel */
@media (max-width: 767.98px) {
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: var(--radius-lg);
        transform: none !important;
    }

    .service-card:active {
        transform: scale(0.98) !important;
        box-shadow: var(--shadow-lg);
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.375rem;
        margin-bottom: 1.25rem;
    }

    .service-card h3 {
        font-size: 1.125rem;
    }

    .service-card p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .service-price {
        margin-bottom: 1.25rem;
    }

    .price-value {
        font-size: 1.375rem;
    }

    .service-link {
        padding: 0.75rem 1.25rem;
        background: var(--gray-50);
        border-radius: var(--radius);
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Featured card emphasis */
    .service-card.featured {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(6, 182, 212, 0.02));
    }

    /* CTA Card on mobile */
    .service-card.cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-card .btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Mobile AI Service Cards */
@media (max-width: 767.98px) {
    .ai-services-section {
        padding: 3rem 0;
    }

    .ai-service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .ai-service-card:active {
        transform: scale(0.98) !important;
    }

    .ai-service-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .ai-service-card h4 {
        font-size: 1rem;
    }

    .ai-service-card p {
        font-size: 0.875rem;
    }

    .ai-price {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        background: var(--gray-50);
        border-radius: var(--radius);
        display: inline-block;
    }
}

/* Mobile Industries - Horizontal Scroll Option */
@media (max-width: 575.98px) {
    .industries-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .industry-card {
        padding: 1.25rem 1rem;
        border-radius: var(--radius-lg);
    }

    .industry-card:active {
        transform: scale(0.97);
    }

    .industry-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .industry-card h4 {
        font-size: 0.9375rem;
    }

    .industry-card p {
        font-size: 0.8125rem;
    }
}

/* Mobile Testimonials - Card Stack Feel */
@media (max-width: 767.98px) {
    .testimonial-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1rem;
    }

    .testimonial-card:active {
        transform: scale(0.98);
    }

    .testimonial-stars {
        font-size: 0.875rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .author-avatar {
        width: 44px;
        height: 44px;
    }
}

/* Mobile FAQ - Cleaner Accordion */
@media (max-width: 767.98px) {
    .accordion-item {
        border-radius: var(--radius-lg) !important;
        margin-bottom: 0.75rem;
    }

    .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
        line-height: 1.4;
    }

    .accordion-body {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.9375rem;
    }
}

/* Mobile Contact Section */
@media (max-width: 767.98px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        background: var(--gray-50);
        border-radius: var(--radius-lg);
        margin-bottom: 1rem;
    }

    .contact-icon {
        margin: 0 auto 0.75rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .contact-form .form-control {
        padding: 0.875rem 1rem;
        font-size: 16px; /* Prevents iOS zoom */
        border-radius: var(--radius);
    }

    .contact-form .btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .services-checkboxes {
        gap: 0.5rem;
    }

    .form-check {
        padding: 0.75rem;
        background: var(--white);
        border-radius: var(--radius);
        border: 1px solid var(--gray-200);
    }

    .form-check:has(.form-check-input:checked) {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.05));
        border-color: var(--primary);
    }
}

/* Mobile Pricing Box */
@media (max-width: 767.98px) {
    .pricing-box {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-lg);
    }

    .pricing-box .price {
        font-size: 2.5rem;
    }

    .pricing-box ul {
        margin-bottom: 1.5rem;
    }

    .pricing-box li {
        font-size: 0.9375rem;
        padding: 0.625rem 0;
    }

    .pricing-box .btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .price-compare small {
        font-size: 0.8125rem;
    }
}

/* Mobile Service Page Hero */
@media (max-width: 767.98px) {
    .service-hero {
        padding: 4rem 0 3rem;
        text-align: center;
    }

    .service-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin: 0 auto 1.25rem;
    }

    .service-hero h1 {
        font-size: 1.75rem;
    }

    .service-hero p {
        font-size: 1.0625rem;
        margin: 0 auto;
    }

    /* AI Hero specific */
    .ai-hero {
        padding: 4rem 0 3rem;
    }
}

/* Mobile Use Case Cards */
@media (max-width: 767.98px) {
    .use-case-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1rem;
    }

    .use-case-card:active {
        transform: scale(0.98);
    }

    .use-case-number {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .use-case-card h4 {
        font-size: 1.0625rem;
    }

    .use-case-card p {
        font-size: 0.9375rem;
    }
}

/* Mobile Why Cards */
@media (max-width: 767.98px) {
    .why-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .why-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .why-card h4 {
        font-size: 1.0625rem;
    }
}

/* Mobile Footer - Clean & Organized */
@media (max-width: 767.98px) {
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-about {
        max-width: 100%;
        margin: 0 auto 1rem;
    }

    .footer-title {
        margin-bottom: 1rem;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-links li {
        margin: 0;
    }

    .footer-links a {
        padding: 0.5rem 0.75rem;
        background: var(--gray-800);
        border-radius: var(--radius);
        display: inline-block;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-contact li {
        background: var(--gray-800);
        padding: 0.75rem 1.25rem;
        border-radius: var(--radius);
        width: fit-content;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

/* Mobile CTA Sections */
@media (max-width: 767.98px) {
    [style*="background: var(--gradient-primary)"] {
        padding: 3rem 0 !important;
    }

    [style*="background: var(--gradient-primary)"] h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    [style*="background: var(--gradient-primary)"] p {
        font-size: 1rem !important;
    }

    [style*="background: var(--gradient-primary)"] .btn {
        width: 100%;
        padding: 1rem;
    }

    /* Stack buttons vertically */
    .d-flex.flex-sm-row {
        flex-direction: column !important;
        width: 100%;
    }

    .d-flex.flex-sm-row .btn {
        width: 100%;
    }
}

/* Mobile Back to Top */
@media (max-width: 575.98px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        right: 1rem;
        bottom: 1rem;
        font-size: 0.875rem;
    }
}

/* Mobile Value Banner */
@media (max-width: 767.98px) {
    .value-banner {
        padding: 1rem 0 !important;
    }

    .value-banner h6 {
        font-size: 0.875rem !important;
    }
}

/* Mobile Urgency Box */
@media (max-width: 767.98px) {
    .urgency-box {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        text-align: center;
    }
}

/* Touch-friendly improvements */
@media (max-width: 991.98px) {
    /* Larger touch targets */
    a, button, .btn, .nav-link, .dropdown-item {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Remove hover effects on touch devices */
    @media (hover: none) {
        .service-card:hover,
        .industry-card:hover,
        .testimonial-card:hover,
        .use-case-card:hover,
        .ai-service-card:hover,
        .why-card:hover {
            transform: none;
            box-shadow: var(--shadow);
        }

        .service-card:hover .service-icon,
        .industry-card:hover .industry-icon,
        .ai-service-card:hover .ai-service-icon {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
            color: var(--primary);
            transform: none;
        }
    }
}

/* Smooth scrolling container for horizontal sections */
@media (max-width: 767.98px) {
    .scroll-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.5rem;
        margin: 0 -1rem;
    }

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

    .scroll-container > * {
        scroll-snap-align: center;
        flex: 0 0 85%;
        margin-right: 1rem;
    }
}

/* Mobile landscape optimization */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-trust {
        margin-top: 1.5rem;
    }
}

/* Safe area insets for modern devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    .back-to-top {
        bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

/* ============================================
   AI ENHANCEMENT COMPONENTS
   ============================================ */

/* AI Chatbot Widget */
.ai-chatbot {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-primary);
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
}

.chatbot-toggle i {
    font-size: 1.5rem;
}

.chat-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    animation: chatPulse 2s infinite;
    z-index: -1;
}

@keyframes chatPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 500px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chatbot-window.active {
    display: flex;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-info h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.status-online {
    font-size: 0.75rem;
    opacity: 0.9;
}

.status-online i {
    font-size: 0.5rem;
    color: #10b981;
    animation: pulse 2s infinite;
}

.chatbot-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 280px;
    background: #f8fafc;
}

.chat-message {
    margin-bottom: 1rem;
    display: flex;
}

.chat-message.bot .message-content {
    background: white;
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-sm);
    max-width: 85%;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.user .message-content {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md);
    padding: 0.75rem 1rem;
    max-width: 85%;
}

.chat-message .message-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message .message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
}

.chat-message .message-content li {
    margin-bottom: 0.25rem;
}

.chatbot-suggestions {
    padding: 0.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: white;
    border-top: 1px solid var(--gray-200);
}

.chatbot-suggestions button {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--gray-600);
}

.chatbot-suggestions button:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--gray-200);
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-input input:focus {
    border-color: var(--primary);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.chatbot-input button:hover {
    background: var(--primary-dark);
}

/* AI Modal Styles */
.ai-modal {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
}

.ai-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-modal .modal-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.ai-modal .modal-body {
    padding: 1.5rem;
}

.ai-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

/* Recommender Progress */
.recommender-progress {
    margin-bottom: 2rem;
}

.recommender-progress .progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.recommender-progress .progress-bar {
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

.recommender-progress span {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* Recommender Questions */
.recommender-question {
    text-align: center;
}

.recommender-question h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.recommender-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.recommender-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.recommender-option:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.recommender-option.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.2);
}

.recommender-option i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.recommender-option span {
    display: block;
    font-weight: 500;
}

/* ROI Calculator */
.roi-calculator {
    max-width: 600px;
    margin: 0 auto;
}

.roi-input-group {
    margin-bottom: 1.5rem;
}

.roi-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-300);
}

.roi-input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.roi-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.roi-results {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
}

.roi-results h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.roi-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.roi-metric {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
}

.roi-metric.highlight {
    background: var(--gradient-primary);
}

.roi-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.roi-label {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.roi-metric.highlight .roi-label {
    color: rgba(255, 255, 255, 0.8);
}

.roi-chart {
    height: 150px;
    margin: 1.5rem 0;
}

.roi-note {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-align: center;
    margin: 0;
}

/* Pricing Calculator */
.pricing-calculator {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.pricing-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-step h4 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pricing-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    color: white;
}

.pricing-option:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.pricing-option.selected {
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.2);
}

.pricing-option i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
    display: block;
}

.pricing-option span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.pricing-option small {
    display: block;
    color: var(--gray-400);
    font-size: 0.8rem;
}

.pricing-result {
    text-align: center;
}

.price-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-from, .price-to {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-separator {
    color: var(--gray-400);
}

.pricing-note {
    color: var(--success);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pricing-includes {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: left;
}

.pricing-includes h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--gray-300);
}

.pricing-includes ul {
    margin: 0;
    padding-left: 1.25rem;
}

.pricing-includes li {
    margin-bottom: 0.5rem;
    color: var(--gray-400);
}

/* AI Interactive Demo Section */
.ai-demo-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.ai-demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.ai-demo-container {
    position: relative;
    z-index: 1;
}

.ai-demo-terminal {
    background: #0a0f1a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #1a1f2e;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-body {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    min-height: 300px;
}

.terminal-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: typeLine 0.3s ease forwards;
}

.terminal-line .prompt {
    color: var(--accent);
}

.terminal-line .command {
    color: #f8fafc;
}

.terminal-line .output {
    color: var(--gray-400);
}

.terminal-line .success {
    color: #10b981;
}

.terminal-line .highlight {
    color: var(--primary);
}

@keyframes typeLine {
    to { opacity: 1; }
}

/* AI Infographic */
.ai-infographic {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.infographic-item {
    text-align: center;
    color: white;
    flex: 0 0 auto;
    min-width: 150px;
}

.infographic-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    position: relative;
}

.infographic-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.infographic-circle circle {
    fill: none;
    stroke-width: 8;
}

.infographic-circle .bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.infographic-circle .progress {
    stroke: url(#infographicGradient);
    stroke-linecap: round;
    stroke-dasharray: 339.3;
    stroke-dashoffset: 339.3;
    transition: stroke-dashoffset 2s ease;
}

.infographic-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.infographic-label {
    font-size: 0.9rem;
    color: var(--gray-300);
}

/* Personalized Banner */
.personalized-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    text-align: center;
    display: none;
}

.personalized-banner.show {
    display: block;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.personalized-banner strong {
    font-weight: 600;
}

/* AI CTA Buttons */
.ai-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.btn-ai {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn-ai:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-ai i {
    font-size: 1rem;
}

/* Mobile adjustments for AI components */
@media (max-width: 767.98px) {
    .ai-chatbot {
        bottom: 80px;
        right: 20px;
    }

    .chatbot-window {
        width: 320px;
        right: -10px;
    }

    .ai-infographic {
        gap: 2rem;
    }

    .infographic-item {
        min-width: 120px;
    }

    .pricing-options,
    .recommender-options {
        grid-template-columns: 1fr;
    }

    .roi-metrics {
        grid-template-columns: 1fr;
    }

    .price-from, .price-to {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}

/* AI Form Suggestions */
.ai-form-suggestions {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.ai-form-suggestions small {
    color: var(--primary);
    font-weight: 500;
}

.ai-form-suggestions span {
    color: var(--gray-700);
}

/* Chatbot attention animation */
.chatbot-toggle.attention {
    animation: attention 2s ease-in-out infinite;
}

@keyframes attention {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(37, 99, 235, 0.6); }
}

/* Terminal typing cursor */
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #06b6d4;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ============================================
   TECHNICAL WOW FACTOR
   ============================================ */

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    z-index: 2;
}

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.loader-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(37, 99, 235, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(6, 182, 212, 0.8); }
}

.loader-text {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loaderProgress 2s ease-out forwards;
}

@keyframes loaderProgress {
    0% { width: 0%; }
    20% { width: 20%; }
    50% { width: 60%; }
    80% { width: 90%; }
    100% { width: 100%; }
}

.loader-status {
    color: var(--gray-400);
    font-size: 0.9rem;
    animation: statusFlicker 0.5s ease-in-out infinite alternate;
}

@keyframes statusFlicker {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.loader-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.loader-particles::before,
.loader-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    animation: floatParticle 8s ease-in-out infinite;
}

.loader-particles::before {
    top: -100px;
    left: -100px;
}

.loader-particles::after {
    bottom: -100px;
    right: -100px;
    animation-delay: -4s;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
}

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.2); }
}

/* WebGL Shader Background */
.shader-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: -1;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-rotate {
    opacity: 0;
    transform: perspective(1000px) rotateY(30deg);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-rotate.active {
    opacity: 1;
    transform: perspective(1000px) rotateY(0);
}

/* Staggered animation delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Page Transitions */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 99998;
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

.page-transition.active {
    animation: pageWipe 0.6s ease-in-out;
}

@keyframes pageWipe {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    50.1% { transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* Floating Elements */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

/* Glow Effects */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

/* Gradient Border Animation */
.gradient-border {
    position: relative;
    background: var(--gray-900);
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2563eb, #06b6d4, #8b5cf6, #ec4899, #2563eb);
    background-size: 400% 400%;
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    animation: gradientRotate 8s linear infinite;
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Cursor Glow Trail */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

/* Magnetic Buttons */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Gradient Animation */
.animated-gradient-text {
    background: linear-gradient(90deg, #2563eb, #06b6d4, #8b5cf6, #2563eb);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 5s linear infinite;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Morphing Shapes */
.morph-shape {
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* Glitch Effect */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 2s infinite linear alternate-reverse;
    color: #06b6d4;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    color: #ec4899;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 90% 0); transform: translate(-2px, 2px); }
    25% { clip-path: inset(30% 0 50% 0); transform: translate(2px, -2px); }
    50% { clip-path: inset(70% 0 10% 0); transform: translate(-2px, 2px); }
    75% { clip-path: inset(10% 0 80% 0); transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(90% 0 0 0); transform: translate(2px, -2px); }
    25% { clip-path: inset(50% 0 30% 0); transform: translate(-2px, 2px); }
    50% { clip-path: inset(10% 0 70% 0); transform: translate(2px, -2px); }
    75% { clip-path: inset(80% 0 10% 0); transform: translate(-2px, 2px); }
}

/* Number Counter Animation */
.counter {
    display: inline-block;
}

/* Typing Effect */
.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--primary);
    white-space: nowrap;
    animation: typing 3s steps(30, end), blinkCaret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCaret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary); }
}

/* Ripple Effect on Click */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Tilt Card Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.tilt-card-inner {
    transition: transform 0.5s ease;
}

.tilt-card:hover .tilt-card-inner {
    transform: translateZ(30px);
}

/* Neon Glow Text */
.neon-text {
    text-shadow:
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px currentColor;
}

/* Scanning Line Effect */
.scan-line {
    position: relative;
    overflow: hidden;
}

.scan-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
    0% { top: 0; opacity: 1; }
    50% { opacity: 0.5; }
    100% { top: 100%; opacity: 1; }
}

/* Live Visitor Counter */
.live-visitors {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #22c55e;
    font-weight: 500;
}

.live-visitors i {
    animation: pulse 2s ease-in-out infinite;
}

.live-visitors #visitorCount {
    font-weight: 700;
    min-width: 1.5em;
    text-align: center;
}

/* Currently Working On Ticker */
.working-ticker {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.working-ticker .ticker-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.working-ticker .ticker-label {
    color: var(--gray-500);
}

.working-ticker .ticker-text {
    color: var(--gray-700);
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
}

/* Typing Testimonial */
.testimonial-typing {
    min-height: 100px;
}

.testimonial-typing .typing-text {
    border-right: 2px solid var(--primary);
    animation: blinkCaret 0.75s step-end infinite;
}

/* Trust Badges Row */
.trust-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin: 3rem 0;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.trust-badge-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* Project Status Cards */
.project-status {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-status .status-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.project-status .status-indicator.active {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    animation: pulse 2s ease-in-out infinite;
}

.project-status .status-indicator.pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.project-status .status-info h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-status .status-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Comparison Slider */
.comparison-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.comparison-before,
.comparison-after {
    width: 100%;
}

.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--primary);
    cursor: ew-resize;
    z-index: 10;
}

.comparison-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.comparison-handle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 11;
}

/* Stats Counter Section */
.stats-counter-section {
    background: var(--gradient-dark);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 99999;
    width: 0%;
    transition: width 0.1s linear;
}

/* Mobile 3D Fallback */
.hero-visual-mobile {
    padding: 0 1rem;
}

.hero-3d-fallback {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #0a0f1a 0%, #1a1f2e 50%, #0f172a 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-3d-fallback img {
    width: 100%;
    height: auto;
    display: block;
}

.fallback-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fallback-overlay i {
    color: var(--accent);
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .live-visitors {
        display: none;
    }

    .trust-badges-row {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Case Studies Mobile Fix */
    .case-study-section .row {
        flex-direction: column;
    }

    .case-study-section .row.flex-lg-row-reverse {
        flex-direction: column;
    }

    .case-study-content {
        margin-top: 1.5rem;
    }

    .case-study-title {
        font-size: 1.5rem;
    }

    .case-study-description {
        font-size: 1rem;
    }

    .case-study-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .case-study-features .feature-item {
        font-size: 0.9rem;
    }

    .case-study-quote {
        padding: 1rem;
        font-size: 0.9rem;
    }
}
