/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors - Inspired by WDCS */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #1a1a1a;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-tertiary: #808080;
    
    /* Accent Colors */
    --accent-primary: #00D4FF;
    --accent-secondary: #FF6B35;
    --accent-gradient-start: #00D4FF;
    --accent-gradient-end: #FF6B35;
    
    /* Border Colors */
    --border-color: #2a2a2a;
    --border-hover: #3a3a3a;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.services-section {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip to Content Link - Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-secondary);
    outline-offset: 2px;
}

/* Screen Reader Only - Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 4px;
    z-index: 10000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(5deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.nav-link svg {
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link {
    color: var(--text-primary);
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--accent-primary);
}

.dropdown-item:hover {
    color: var(--accent-primary);
    background: var(--bg-tertiary);
    padding-left: 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
    position: relative;
}

.hero-visual {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

@media (max-width: 1200px) {
    .hero-visual {
        right: 1%;
        width: 350px;
        height: 350px;
    }
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--bg-primary);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.5);
    animation: pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.illustration-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 30%;
    right: 15%;
    animation-delay: 0.5s;
}

.particle-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.particle-4 {
    bottom: 10%;
    right: 25%;
    animation-delay: 1.5s;
}

.particle-5 {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 60px rgba(0, 212, 255, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 80px rgba(0, 212, 255, 0.8);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(20px, -20px) scale(1.2);
        opacity: 1;
    }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.scroll-arrow i {
    font-size: 1.25rem;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* Hero Client Logos */
.hero-client-logos {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
    animation: fadeInUp 0.8s ease 0.6s both;
    padding: 0 2rem;
}

.logos-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0.8;
    animation: fadeInUp 0.6s ease 0.7s both;
}

.logos-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.logo-item {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5rem;
    color: var(--accent-primary);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: logoItemFadeIn 0.6s ease forwards;
    position: relative;
}

.logo-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(8px);
}

.logo-item:nth-child(1) {
    animation-delay: 0.8s;
}

.logo-item:nth-child(2) {
    animation-delay: 0.9s;
}

.logo-item:nth-child(3) {
    animation-delay: 1.0s;
}

.logo-item:nth-child(4) {
    animation-delay: 1.1s;
}

.logo-item:nth-child(5) {
    animation-delay: 1.2s;
}

.logo-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3), 0 0 40px rgba(255, 107, 53, 0.2);
    opacity: 1;
    color: var(--accent-primary);
}

.logo-item:hover::before {
    opacity: 0.3;
}

.logo-item i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive Hero Styles */
@media (max-width: 1024px) {
    .hero-visual {
        right: 2%;
        width: 300px;
        height: 300px;
    }
    
    .illustration-container {
        width: 250px;
        height: 250px;
    }
    
    .illustration-icon {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }
    
    .hero-client-logos {
        bottom: 5rem;
    }
    
    .logos-carousel {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-subheading {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-client-logos {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border-color);
    }
    
    .logos-carousel {
        gap: 1.5rem;
    }
    
    .logo-item {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .hero-scroll-indicator {
        bottom: 1rem;
    }
    
    .hero-trust-indicators {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.hero-heading {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.1s both;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-heading .gradient-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.hero-subheading {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
    position: relative;
}

.hero-subheading::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
    position: relative;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-primary::before,
.hero-cta .btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-cta .btn-primary:hover::before,
.hero-cta .btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 180px;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-secondary:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
    transition: all 0.5s ease;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) scale(1.1) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95) rotate(180deg);
        opacity: 0.35;
    }
    75% {
        transform: translate(-50px, 50px) scale(0.9) rotate(270deg);
        opacity: 0.4;
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: var(--accent-primary);
    min-height: 400px;
    transition: all 0.3s ease;
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--accent-primary);
    opacity: 0.9;
}

.image-placeholder h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.image-placeholder p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

.image-placeholder:hover {
    transform: scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.about-text {
    animation: fadeInRight 0.8s ease;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.company-values {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.values-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.value-item i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.value-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background: var(--bg-primary);
}

.services-container {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Services Navigation - Simple Vertical List */
.services-nav {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 80px;
}

.service-nav-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    width: 60px;
}

.service-nav-item .nav-number {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-nav-item .nav-indicator {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0.5rem;
    overflow: visible;
    background: none;
}

.service-nav-item .nav-indicator .nav-circle {
    width: 100%;
    height: 100%;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.service-nav-item.active .nav-number {
    color: var(--text-primary);
}

.service-nav-item.active .nav-indicator {
    position: relative;
    background: none;
}

.service-nav-item .nav-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: transparent;
    border-radius: 50%;
    z-index: 3;
    transition: all 0.3s ease;
}

.service-nav-item.active .nav-dot {
    background: var(--text-primary);
    width: 10px;
    height: 10px;
}


.service-nav-item.active .nav-indicator .nav-circle circle {
    opacity: 0; /* Hide the small circle, use the large one instead */
}

.service-nav-item:not(.active) .nav-indicator .nav-circle circle {
    opacity: 0;
}

.service-nav-item:hover:not(.active) .nav-number {
    color: var(--text-primary);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-nav-item:hover:not(.active) .nav-indicator .nav-dot {
    background: var(--text-primary);
    opacity: 0.4;
    width: 8px;
    height: 8px;
}


/* Services Content */
.services-content {
    position: relative;
    min-height: auto;
}

.service-card {
    display: block;
    opacity: 0.3;
    transform: translateX(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 10rem;
    filter: blur(3px);
    pointer-events: none;
    will-change: opacity, transform, filter;
}

.service-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

.service-card:last-child {
    margin-bottom: 4rem;
}

.service-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content {
    display: flex;
    flex-direction: column;
}

.service-number-large {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1;
    opacity: 0.9;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.service-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.service-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--text-primary);
    border-radius: 50px;
    width: fit-content;
}

.service-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    gap: 1rem;
    transform: translateX(5px);
}

.service-link i {
    transition: transform 0.3s ease;
}

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

.service-image {
    position: relative;
}

.service-image-placeholder {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--accent-primary);
    aspect-ratio: 4/3;
    width: 100%;
    transition: all 0.3s ease;
}

.service-image-placeholder i {
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.8;
}

.service-image-placeholder h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.service-image-placeholder p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

.service-image-placeholder:hover {
    transform: scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

/* Industries Section */
.industries-section {
    background: var(--bg-secondary);
}

/* Industries Carousel */
.industries-carousel-wrapper {
    position: relative;
    margin-top: 3rem;
}

.industries-carousel {
    overflow: hidden;
    position: relative;
    margin: 0 4rem;
    width: calc(100% - 8rem);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.industries-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    will-change: transform;
}

.industry-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.industry-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .industries-carousel {
        margin: 0 3rem;
    }
}

.industry-icon {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.industry-item:hover .industry-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-secondary);
}

.industry-item p {
    font-weight: 600;
    color: var(--text-primary);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--bg-primary);
}

/* Portfolio Carousel */
.portfolio-carousel-wrapper {
    position: relative;
    margin-top: 3rem;
}

.portfolio-carousel {
    overflow: hidden;
    position: relative;
    margin: 0 4rem;
    width: calc(100% - 8rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    will-change: transform;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .portfolio-carousel {
        margin: 0 3rem;
    }
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    visibility: visible;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2;
}

.portfolio-details {
    text-align: center;
    color: var(--text-primary);
}

.portfolio-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.portfolio-metrics {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.portfolio-metrics span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.portfolio-metrics i {
    font-size: 1rem;
}

.portfolio-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.portfolio-cta:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-glow);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.portfolio-content {
    text-align: left;
    padding: 2rem;
    z-index: 1;
    width: 100%;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.portfolio-category {
    font-size: 0.875rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin: 0;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.carousel-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator:hover {
    border-color: var(--accent-primary);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    width: 32px;
    border-radius: 6px;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonial-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    opacity: 0.5;
}

.testimonial-logo {
    width: 140px;
    height: 70px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.testimonial-logo i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.testimonial-logo span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.testimonial-logo:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
    min-height: 300px;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: 2px solid var(--accent-primary);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.avatar-initials {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    z-index: 1;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testimonial-card h5 {
    font-size: 1rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.testimonial-card p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.indicator {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.indicator.active,
.indicator:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-primary);
}

.faq-content {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-search-wrapper {
    margin-bottom: 2rem;
}

.faq-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.faq-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.faq-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.faq-search input::placeholder {
    color: var(--text-tertiary);
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.faq-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.faq-tab.active,
.faq-tab:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.btn-faq-cta {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-faq-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.faq-panels {
    position: relative;
    min-height: 400px;
}

.faq-panel {
    display: none;
}

.faq-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.faq-item h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.error-message.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    font-size: 0.95rem;
}

.required-indicator {
    color: var(--accent-primary);
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes logoItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 0.7;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 3.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-container {
        grid-template-columns: 60px 1fr;
        gap: 2rem;
    }
    
    .service-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-number-large {
        font-size: 3rem;
    }
    
    .service-title {
        font-size: 2rem;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

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

    .hero-subheading {
        font-size: 1.125rem;
    }

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

    .services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-nav {
        flex-direction: row;
        justify-content: center;
        position: static;
        gap: 1rem;
    }

    .service-nav-item {
        flex-direction: row;
        gap: 0.5rem;
    }

    .service-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .service-number-large {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 1.75rem;
    }
    
    .faq-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-trust-indicators {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-overlay {
        padding: 1.5rem;
    }
    
    .portfolio-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* ============================================
   CHATBOT WIDGET STYLES
   ============================================ */

.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Chatbot Button */
.chatbot-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(0, 212, 255, 0.6);
}

.chatbot-button.active {
    transform: scale(0.9);
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-secondary);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Chatbot Window */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    max-width: calc(100vw - 48px);
    height: 680px;
    max-height: calc(100vh - 120px);
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chatbot Header */
.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-bottom: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.chatbot-title h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0 0 0;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Messages Container */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* Messages */
.chatbot-message {
    display: flex;
    gap: 12px;
    animation: messageSlideIn 0.3s ease;
}

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

.bot-message {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.user-message {
    flex-direction: row-reverse;
    align-self: flex-end;
    justify-content: flex-end;
    width: 100%;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.message-content {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 280px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border-radius: 12px 12px 4px 12px;
    margin-left: auto;
}

.bot-message .message-content {
    border-radius: 12px 12px 12px 4px;
    margin-right: auto;
}

.message-content p {
    margin: 0 0 8px 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.message-content li {
    margin: 4px 0;
}

.message-content strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.error-message .message-content {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Typing Indicator */
.typing-indicator .message-content {
    padding: 16px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Suggestions */
.chatbot-suggestions {
    padding: 0 20px 12px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.suggestion-chip:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Input Area */
.chatbot-input-area {
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: 0 0 16px 16px;
}

.chatbot-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
}

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

.chatbot-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
}

.chatbot-input::placeholder {
    color: var(--text-tertiary);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.chatbot-send:active {
    transform: scale(0.95);
}

.chatbot-footer-text {
    margin: 8px 0 0 0;
    text-align: center;
    font-size: 11px;
    color: var(--text-tertiary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chatbot-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chatbot-button {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .chatbot-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        bottom: 80px;
        right: 16px;
    }
    
    .message-content {
        max-width: calc(100% - 60px);
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .chatbot-header {
        border-radius: 0;
    }
    
    .chatbot-input-area {
        border-radius: 0;
    }
}

/* ============================================
   WELLS FARGO INSPIRED WELCOME CARD
   ============================================ */

.welcome-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    margin: 0;
    border: 1px solid var(--border-color);
}

.welcome-header {
    margin-bottom: 24px;
}

.welcome-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.welcome-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-question {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.common-requests {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 16px;
}

.common-requests-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.common-requests ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.common-requests ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-primary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.common-requests ul li:last-child {
    border-bottom: none;
}

.common-requests ul li i {
    color: var(--accent-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.tip-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
}

.tip-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tip-icon i {
    color: white;
    font-size: 18px;
}

.tip-content {
    flex: 1;
}

.tip-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-text {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.tip-subtext {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   VOICE UI COMPONENTS
   ============================================ */

.chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.voice-mode-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.voice-mode-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 212, 255, 0.6);
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(26, 26, 26, 1);
}

.voice-mode-button.active {
    background: rgba(26, 26, 26, 1);
    border: 2px solid rgba(0, 212, 255, 0.6);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.5);
}

@keyframes voicePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
}

.voice-controls {
    padding: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.voice-mic-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    outline: none;
}

.voice-mic-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 212, 255, 0.6);
    border-color: rgba(0, 212, 255, 0.6);
}

.voice-mic-button:active {
    transform: scale(0.95);
}

.voice-mic-button.listening {
    animation: voicePulse 1.5s ease-in-out infinite;
}

.voice-mic-button.speaking {
    animation: voicePulse 1s ease-in-out infinite;
    box-shadow: 0 6px 32px rgba(255, 107, 53, 0.6);
}

.voice-mic-button.processing {
    animation: voiceRotate 1s linear infinite;
}

.voice-mic-button.error {
    background: #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

@keyframes voicePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 212, 255, 0);
    }
}

@keyframes voiceRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* ============================================
   ENHANCED VOICE UI WITH VISUAL FEEDBACK
   ============================================ */

/* Voice Interface Container with Glassmorphism */
.voice-interface-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 40px 20px 30px 20px;
    flex: 1;
    overflow: hidden;
}

.voice-interface-container::-webkit-scrollbar {
    width: 6px;
}

.voice-interface-container::-webkit-scrollbar-track {
    background: transparent;
}

.voice-interface-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.voice-interface-container::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* Main Microphone Button - Enhanced */
.voice-mic-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.voice-mic-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.95);
    border: 3px solid rgba(0, 212, 255, 0.4);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.voice-mic-button:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.6);
    border-color: rgba(0, 212, 255, 0.7);
    background: rgba(26, 26, 26, 1);
}

.voice-mic-button:active {
    transform: scale(0.98);
}

/* Breathing animation for idle state */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 32px rgba(0, 212, 255, 0.3),
            0 0 60px rgba(255, 107, 53, 0.2);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 
            0 12px 48px rgba(0, 212, 255, 0.4),
            0 0 80px rgba(255, 107, 53, 0.3);
    }
}

.voice-mic-button.idle {
    animation: breathe 3s ease-in-out infinite;
    background: rgba(26, 26, 26, 0.95);
}

/* Listening state - pulsing effect */
@keyframes pulse-listening {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 0 0 rgba(0, 212, 255, 0.8),
            0 8px 32px rgba(0, 212, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 0 20px rgba(0, 212, 255, 0),
            0 12px 48px rgba(0, 212, 255, 0.6);
    }
}

.voice-mic-button.listening {
    animation: pulse-listening 1.5s ease-in-out infinite;
    background: rgba(26, 26, 26, 1);
    border-color: rgba(0, 212, 255, 0.8);
}

/* Speaking state - orange pulsing */
@keyframes pulse-speaking {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 0 0 rgba(255, 107, 53, 0.8),
            0 8px 32px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 0 20px rgba(255, 107, 53, 0),
            0 12px 48px rgba(255, 107, 53, 0.6);
    }
}

.voice-mic-button.speaking {
    animation: pulse-speaking 1.2s ease-in-out infinite;
    background: rgba(26, 26, 26, 1);
    border-color: rgba(255, 107, 53, 0.8);
}

/* Processing state - rotating gradient */
@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.voice-mic-button.processing {
    position: relative;
    overflow: hidden;
}

.voice-mic-button.processing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 212, 255, 0.4),
        transparent 30%
    );
    animation: rotate-gradient 1.5s linear infinite;
}

.voice-mic-button.processing i {
    position: relative;
    z-index: 1;
}

/* Audio Visualization Bars */
.audio-visualizer {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 80px;
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

.audio-visualizer.active {
    display: flex;
    opacity: 1;
}

/* Hide mic button and status when audio visualizer is active */
.audio-visualizer.active ~ .voice-mic-wrapper {
    display: none;
}

.audio-visualizer.active ~ .voice-status-display {
    display: none;
}

.voice-interface-container:has(.audio-visualizer.active) .voice-mic-wrapper {
    display: none;
}

.voice-interface-container:has(.audio-visualizer.active) .voice-status-display {
    display: none;
}

.audio-bar {
    width: 4px;
    min-height: 10px;
    background: linear-gradient(180deg, #00D4FF 0%, #FF6B35 100%);
    border-radius: 4px;
    transition: height 0.1s ease;
    animation: audio-wave 1.2s ease-in-out infinite;
}

.audio-bar:nth-child(1) { animation-delay: 0s; }
.audio-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-bar:nth-child(3) { animation-delay: 0.2s; }
.audio-bar:nth-child(4) { animation-delay: 0.3s; }
.audio-bar:nth-child(5) { animation-delay: 0.4s; }
.audio-bar:nth-child(6) { animation-delay: 0.3s; }
.audio-bar:nth-child(7) { animation-delay: 0.2s; }
.audio-bar:nth-child(8) { animation-delay: 0.1s; }

@keyframes audio-wave {
    0%, 100% {
        height: 10px;
        opacity: 0.5;
    }
    50% {
        height: 60px;
        opacity: 1;
    }
}

/* Status Display with Icon */
.voice-status-display {
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.voice-status-message {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

.voice-status-message i {
    font-size: 24px;
    color: var(--accent-primary);
}

.voice-status-message.listening i {
    animation: pulse-icon 1.5s ease-in-out infinite;
}

.voice-status-message.speaking i {
    color: var(--accent-secondary);
    animation: pulse-icon 1.2s ease-in-out infinite;
}

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

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Real-time Transcription Display */
.voice-transcription {
    display: none !important;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    min-height: 60px;
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.voice-transcription.active {
    display: none !important;
    opacity: 1;
    transform: translateY(0);
}

.voice-transcription-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    font-weight: 600;
}

.voice-transcription-text {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 24px;
}

.voice-transcription-text.interim {
    color: var(--text-secondary);
    font-style: italic;
}

/* AI Response Card - Animated */
.ai-response-card {
    display: none;
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
    backdrop-filter: blur(10px);
    animation: slideUpFade 0.4s ease-out;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
}

.ai-response-card.active {
    display: block;
}

.ai-response-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.4);
}

.ai-response-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-response-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 2s ease-in-out infinite;
}

.ai-response-avatar i {
    color: white;
    font-size: 20px;
}

.ai-response-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.ai-status {
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 500;
}

.ai-sound-wave {
    color: var(--accent-primary);
    font-size: 18px;
    animation: sound-pulse 1s ease-in-out infinite;
}

.ai-response-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    animation: fadeIn 0.5s ease-out;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
    padding-right: 8px;
}

.ai-response-content::-webkit-scrollbar {
    width: 6px;
}

.ai-response-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.ai-response-content::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 3px;
}

.ai-response-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* Typing animation for AI response */
.ai-response-content.typing::after {
    content: '▋';
    color: var(--accent-primary);
    animation: blink 1s step-end infinite;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    }
}

@keyframes sound-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

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

/* Typing indicator for transcription */
.typing-indicator {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: typing-bounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Welcome State Card - Glassmorphic */
.voice-welcome-card {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(10, 10, 10, 0.9) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(0, 212, 255, 0.05);
}

.voice-welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #00D4FF 0%, #FF6B35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.voice-welcome-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00D4FF 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.voice-welcome-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.voice-welcome-features {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 0;
}

.voice-feature-chip {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.voice-feature-chip:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.voice-feature-chip i {
    color: var(--accent-primary);
    font-size: 14px;
}

/* Tips Section */
.voice-tips {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none; /* Hidden as per user request */
}

.voice-tips-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    font-weight: 600;
}

.voice-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    text-align: left;
}

.voice-tip-item i {
    color: var(--accent-primary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.voice-tip-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Error State */
.voice-error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 500px;
    width: 90%;
    margin: 20px auto;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: shake 0.5s ease;
}

.voice-error-message i {
    color: #ef4444;
    font-size: 20px;
}

.voice-error-message p {
    color: #ef4444;
    font-size: 14px;
    margin: 0;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Action Buttons */
.voice-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.voice-action-btn {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.voice-action-btn:hover {
    background: rgba(26, 26, 26, 1);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.voice-action-btn i {
    font-size: 16px;
}

.voice-action-btn.primary {
    background: linear-gradient(135deg, #00D4FF 0%, #0088CC 100%);
    border-color: transparent;
}

.voice-action-btn.primary:hover {
    background: linear-gradient(135deg, #00A8CC 0%, #006699 100%);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
}

/* Mobile responsive for enhanced voice UI */
@media (max-width: 768px) {
    .voice-mic-button {
        width: 100px;
        height: 100px;
        font-size: 36px;
    }
    
    .voice-welcome-card {
        padding: 24px;
    }
    
    .voice-welcome-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .voice-welcome-title {
        font-size: 20px;
    }
    
    .ai-response-card {
        max-width: 100%;
        padding: 16px;
        margin-top: 16px;
    }
    
    .ai-response-avatar {
        width: 36px;
        height: 36px;
    }
    
    .ai-response-avatar i {
        font-size: 18px;
    }
    
    .ai-name {
        font-size: 14px;
    }
    
    .ai-status {
        font-size: 11px;
    }
    
    .ai-response-content {
        font-size: 15px;
    }
    
    .voice-welcome-subtitle {
        font-size: 14px;
    }
    
    .audio-visualizer {
        height: 60px;
    }
    
    .audio-bar {
        width: 3px;
    }
    
    @keyframes audio-wave {
        0%, 100% {
            height: 8px;
        }
        50% {
            height: 40px;
        }
    }
    
    .voice-status-message {
        font-size: 16px;
    }
    
    .voice-transcription {
        padding: 16px 20px;
    }
    
    .voice-transcription-text {
        font-size: 14px;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .voice-mic-button {
        width: 110px;
        height: 110px;
        font-size: 38px;
    }
}

/* High-contrast mode support */
@media (prefers-contrast: high) {
    .voice-mic-button {
        border-width: 3px;
    }
    
    .voice-transcription,
    .voice-welcome-card {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .voice-mic-button,
    .voice-status-message,
    .voice-transcription,
    .audio-bar,
    .typing-dot,
    .voice-welcome-icon {
        animation: none !important;
    }
    
    .voice-mic-button:hover,
    .voice-action-btn:hover {
        transform: none;
    }
}
