/* ================================
   VoltForge Digital - Main Stylesheet
   Modern, Responsive, Cutting-Edge Design
   ================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --text: #334155;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    
    /* Additional color aliases */
    --primary-color: var(--primary);
    --secondary-color: var(--secondary);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-padding: 0 2rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    opacity: 0;
    animation: pageLoad 0.5s ease forwards;
}

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


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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

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

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

.logo img {
    height: 40px;
    width: auto;
    display: inline-block;
}

.logo-volt {
    color: #8b5cf6;
    font-weight: 800;
}

.logo-forge {
    color: #1e293b;
    font-weight: 800;
}

.logo-subtitle {
    font-size: 1rem;
    color: #334155;
    margin-left: 0.25rem;
    font-weight: 600;
}

/* Brand name inline styling */
.brand-name {
    display: inline;
    white-space: nowrap;
}

.brand-name .logo-volt,
.brand-name .logo-forge,
.brand-name .logo-subtitle {
    display: inline;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-dropdown > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-dropdown:hover > a::after {
    opacity: 1;
    transform: translateY(2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 1rem;
    padding: 0.5rem 0;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: var(--primary);
    padding-left: 1.5rem;
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: 0.5rem;
    font-weight: 600;
}

.btn-nav::after {
    display: none;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ================================
   HERO SECTION
   ================================ */

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

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.03;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-title-main {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-title-sub {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

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

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2rem;
    height: 2rem;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    50% {
        transform: rotate(-45deg) translateY(10px);
    }
}

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

/* ================================
   BUTTONS
   ================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

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

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

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ================================
   SECTIONS
   ================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.page-header {
    padding: 8rem 0 5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    animation: headerShimmer 8s ease-in-out infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5 22.43-10.89 48-26.93 60.65-49.24V0z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

@keyframes headerShimmer {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.5;
    }
    50% {
        transform: translateX(25%);
        opacity: 0.8;
    }
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.page-header .hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ================================
   SERVICES SECTION
   ================================ */

.services-overview {
    padding: var(--section-padding);
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.service-link:hover {
    gap: 0.75rem;
}

/* ================================
   SERVICE DETAIL (Services Page)
   ================================ */

.service-detail {
    padding: var(--section-padding);
}

.service-detail-alt {
    background: var(--bg-alt);
}

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

.service-detail-reverse {
    direction: rtl;
}

.service-detail-reverse > * {
    direction: ltr;
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.service-detail-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
}

.service-features svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success);
    flex-shrink: 0;
}

.service-detail-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 500px;
}

/* Benefits Highlight */
.benefits-highlight {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 0.75rem;
    transition: var(--transition);
}

.benefit-item:hover {
    background: var(--bg-secondary);
    transform: translateX(5px);
}

.benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
}

/* Code Preview */
.code-preview {
    background: var(--dark);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    background: var(--dark-lighter);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--text-light);
}

.code-dots span:nth-child(1) {
    background: #ef4444;
}

.code-dots span:nth-child(2) {
    background: #f59e0b;
}

.code-dots span:nth-child(3) {
    background: #10b981;
}

.code-title {
    font-size: 0.875rem;
    color: var(--text-light);
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content pre {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-keyword {
    color: #c678dd;
}

.code-function {
    color: #61afef;
}

.code-tag {
    color: #e06c75;
}

.code-attr {
    color: #d19a66;
}

.code-string {
    color: #98c379;
}

/* Mobile Mockup */
.mobile-mockup {
    width: 280px;
    margin: 0 auto;
}

.mobile-screen {
    background: var(--dark);
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.mobile-notch {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: var(--dark-lighter);
    border-radius: 0 0 1rem 1rem;
    z-index: 3;
}

.mobile-content {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    padding-top: 2rem;
    height: 500px;
    position: relative;
}

.mobile-app-preview {
    padding: 1rem;
}

.app-header {
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: headerShine 2s ease-in-out infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.app-header-icon {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 0.375rem;
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.app-header-text {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.25rem;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.app-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card {
    height: 100px;
    background: var(--bg-alt);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    animation: cardAccent 3s ease-in-out infinite;
}

@keyframes cardAccent {
    0%, 100% { 
        opacity: 0.3;
        transform: scaleY(0.5);
    }
    50% { 
        opacity: 1;
        transform: scaleY(1);
    }
}

.app-card:nth-child(1)::before { animation-delay: 0s; }
.app-card:nth-child(2)::before { animation-delay: 0.5s; }
.app-card:nth-child(3)::before { animation-delay: 1s; }

.app-card-line {
    height: 8px;
    background: #cbd5e1;
    border-radius: 0.25rem;
    animation: lineGrow 2s ease-in-out infinite;
}

.app-card-line:nth-child(1) {
    width: 70%;
    background: var(--primary-light);
}

.app-card-line:nth-child(2) {
    width: 50%;
    animation-delay: 0.3s;
}

.app-card-line:nth-child(3) {
    width: 80%;
    animation-delay: 0.6s;
}

@keyframes lineGrow {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.9);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.app-card-circle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    animation: circleRotate 3s linear infinite;
}

@keyframes circleRotate {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.app-card-circle::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--bg-alt);
}

/* AI Visualization - Brain with Data Processing */
.ai-visualization {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-brain-svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ai-brain-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    opacity: 0.6;
    animation: brainPulse 3s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% {
        opacity: 0.6;
        stroke-width: 3;
    }
    50% {
        opacity: 1;
        stroke-width: 4;
    }
}

.ai-processor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 3px solid var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: processorGlow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes processorGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
        border-color: var(--primary);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.8);
        border-color: var(--secondary);
    }
}

.processor-core {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    animation: coreRotate 4s linear infinite;
}

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

.processor-core::before,
.processor-core::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
}

.processor-core::before {
    width: 30px;
    height: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.processor-core::after {
    width: 4px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ai-data-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: particleFlow 3s ease-in-out infinite;
}

@keyframes particleFlow {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(var(--tx), var(--ty)) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 2), calc(var(--ty) * 2)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(calc(var(--tx) * 3), calc(var(--ty) * 3)) scale(0);
    }
}

.ai-data-particle:nth-child(1) { --tx: -80px; --ty: -80px; animation-delay: 0s; top: 50%; left: 50%; }
.ai-data-particle:nth-child(2) { --tx: 80px; --ty: -80px; animation-delay: 0.5s; top: 50%; left: 50%; }
.ai-data-particle:nth-child(3) { --tx: -80px; --ty: 80px; animation-delay: 1s; top: 50%; left: 50%; }
.ai-data-particle:nth-child(4) { --tx: 80px; --ty: 80px; animation-delay: 1.5s; top: 50%; left: 50%; }
.ai-data-particle:nth-child(5) { --tx: 0px; --ty: -90px; animation-delay: 2s; top: 50%; left: 50%; }
.ai-data-particle:nth-child(6) { --tx: 0px; --ty: 90px; animation-delay: 2.5s; top: 50%; left: 50%; }

.ai-layer {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    opacity: 0.3;
    animation: layerExpand 4s ease-in-out infinite;
}

@keyframes layerExpand {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

.ai-layer:nth-child(1) {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 50%;
    animation-delay: 0s;
}

.ai-layer:nth-child(2) {
    width: 160px;
    height: 160px;
    top: 50%;
    left: 50%;
    animation-delay: 0.5s;
}

.ai-layer:nth-child(3) {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    animation-delay: 1s;
}

.ai-chip-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary);
    animation: cornerPulse 2s ease-in-out infinite;
}

@keyframes cornerPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.ai-chip-corner:nth-child(1) {
    top: 15%;
    left: 15%;
    border-right: none;
    border-bottom: none;
    animation-delay: 0s;
}

.ai-chip-corner:nth-child(2) {
    top: 15%;
    right: 15%;
    border-left: none;
    border-bottom: none;
    animation-delay: 0.25s;
}

.ai-chip-corner:nth-child(3) {
    bottom: 15%;
    left: 15%;
    border-right: none;
    border-top: none;
    animation-delay: 0.5s;
}

.ai-chip-corner:nth-child(4) {
    bottom: 15%;
    right: 15%;
    border-left: none;
    border-top: none;
    animation-delay: 0.75s;
}

/* SEO Consulting - Growing Chart Animation */
.seo-graphic {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    height: 250px;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.1));
    border-radius: 1rem;
    position: relative;
}

.seo-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 0.5rem 0.5rem 0 0;
    height: var(--height, 50%);
    animation: seoBarGrow 2s ease-out var(--delay, 0s) forwards;
    transform-origin: bottom;
    opacity: 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

@keyframes seoBarGrow {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        height: var(--height);
        opacity: 1;
    }
}

.seo-arrow {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    animation: seoArrowPulse 2s ease-in-out infinite;
}

.seo-arrow svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes seoArrowPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
    }
}

/* Digital Strategy Consulting - Simple Steps */
.consulting-graphic {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 0;
}

.consulting-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.consulting-step {
    flex: 1;
    text-align: center;
    animation: stepFadeIn 0.6s ease-out backwards;
}

.consulting-step:nth-child(1) { animation-delay: 0s; }
.consulting-step:nth-child(2) { animation-delay: 0.2s; }
.consulting-step:nth-child(3) { animation-delay: 0.4s; }
.consulting-step:nth-child(4) { animation-delay: 0.6s; }

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

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.consulting-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

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


/* ================================
   PROCESS SECTION
   ================================ */

.process-section {
    padding: var(--section-padding);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 100px;
    width: 2px;
    height: calc(100% + 3rem);
    background: var(--border);
}

.process-step:last-child::before {
    display: none;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.process-description {
    color: var(--text-light);
}

/* ================================
   DEMO SECTIONS
   ================================ */

.demo-section {
    padding: var(--section-padding);
}

.demo-controls {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.demo-selector {
    margin-bottom: 1.5rem;
}

.demo-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.custom-select {
    position: relative;
}

.demo-dropdown {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background: white;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.demo-dropdown:hover,
.demo-dropdown:focus {
    border-color: var(--primary);
    outline: none;
}

.demo-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.info-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.demo-description {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.demo-desc-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.demo-desc-text {
    color: var(--text-light);
    line-height: 1.8;
}

.demo-preview {
    margin-bottom: 3rem;
}

.demo-browser {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.browser-header {
    background: var(--bg-alt);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-buttons {
    display: flex;
    gap: 0.5rem;
}

.browser-button {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--border);
}

.browser-button:nth-child(1) {
    background: #ef4444;
}

.browser-button:nth-child(2) {
    background: #f59e0b;
}

.browser-button:nth-child(3) {
    background: #10b981;
}

.browser-address {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.browser-address svg {
    width: 1rem;
    height: 1rem;
}

.browser-content {
    background: white;
    height: 600px;
}

.browser-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.demo-features {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
}

.feature-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success);
    flex-shrink: 0;
}

/* ================================
   ABOUT PAGE
   ================================ */

.about-content {
    padding: var(--section-padding);
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-values {
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-light);
}

.about-tech {
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.tech-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.tech-list {
    text-align: left;
}

.tech-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.tech-list li:last-child {
    border-bottom: none;
}

/* ================================
   CONTACT PAGE
   ================================ */

.contact-section {
    padding: var(--section-padding);
    background: var(--bg-alt);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

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

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

.contact-detail-item {
    display: flex;
    gap: 1rem;
}

.contact-detail-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-detail-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-weight: 600;
    color: var(--dark);
}

.contact-detail-value:hover {
    color: var(--primary);
}

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

.contact-social-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    transition: var(--transition);
}

.form-input:hover,
.form-textarea:hover {
    border-color: var(--primary-light);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Error state for form inputs */
.form-input.error,
.form-textarea.error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.form-input.error:focus,
.form-textarea.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Field error messages */
.field-error {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.375rem;
    font-weight: 500;
    line-height: 1.4;
}

.field-error:not(:empty) {
    display: block;
}

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

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ================================
   Comparison Section
   ================================ */

.comparison-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.comparison-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 0 1rem;
}

.comparison-table {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 700px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 200px repeat(3, 1fr);
    border-bottom: 1px solid #e5e7eb;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 3px solid #e5e7eb;
}

.comparison-cell {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    border-right: 1px solid #e5e7eb;
}

.comparison-cell:last-child {
    border-right: none;
}

.feature-cell {
    font-weight: 700;
    color: #1e293b;
    justify-content: flex-start;
    text-align: left;
    font-size: 1rem;
    background: #fafafa;
}

.voltforge-cell {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white !important;
    font-weight: 600;
    position: relative;
}

.comparison-row.header .voltforge-cell {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
}

.cell-badge {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cell-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
}

.cell-logo .logo-volt,
.cell-logo .logo-forge {
    color: white;
    font-weight: 800;
}

.neutral-cell {
    color: #64748b;
}

.negative-cell {
    color: #94a3b8;
}

.comparison-row:not(.header):hover {
    background-color: #f9fafb;
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 3rem 0;
    }

    .comparison-wrapper {
        padding: 0 0.5rem;
    }

    .comparison-table {
        min-width: 650px;
        font-size: 0.9rem;
    }

    .comparison-row {
        grid-template-columns: 150px repeat(3, 1fr);
    }

    .comparison-cell {
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }

    .feature-cell {
        font-size: 0.9rem;
    }

    .cell-logo {
        font-size: 1.1rem;
    }
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
    width: 1.25rem;
    height: 1.25rem;
}

.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}


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

/* Shake Error Animation */
.shake-error {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

/* Slide In/Out Animations for Messages */
@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* Enhanced form message with animation */
.form-message {
    animation: slideInDown 0.5s ease;
}

/* ================================
   CTA SECTION
   ================================ */

.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.cta-badge svg {
    width: 16px;
    height: 16px;
}

.cta-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-section .btn {
    background: white;
    color: var(--primary);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ================================
   PAGE ANIMATIONS
   ================================ */

/* Page Header Animation */
.page-header {
    animation: pageHeaderSlide 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* Contact Form Animations */
.contact-info-item {
    animation: contactItemSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item:nth-child(3) { animation-delay: 0.3s; }

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

.contact-form {
    animation: formFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

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

/* About Page Animations */
.value-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.process-step:hover .process-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.process-step .process-number::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

.process-step:hover .process-number::before {
    opacity: 0.15;
}

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

/* Demo Pages Animations */
.demo-grid {
    animation: gridFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

@keyframes gridFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.demo-card {
    animation: demoCardSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.demo-card:nth-child(1) { animation-delay: 0.1s; }
.demo-card:nth-child(2) { animation-delay: 0.2s; }
.demo-card:nth-child(3) { animation-delay: 0.3s; }

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

.demo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
}

.demo-card:hover .demo-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Iframe Container Animation */
.iframe-container {
    animation: iframeFadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s backwards;
}

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

/* Dropdown Animation */
.demo-dropdown:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

/* Service Detail Animations */
.service-detail-content {
    animation: contentSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

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

.service-features li {
    animation: featureSlide 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.service-features li:nth-child(1) { animation-delay: 0.1s; }
.service-features li:nth-child(2) { animation-delay: 0.2s; }
.service-features li:nth-child(3) { animation-delay: 0.3s; }
.service-features li:nth-child(4) { animation-delay: 0.4s; }
.service-features li:nth-child(5) { animation-delay: 0.5s; }
.service-features li:nth-child(6) { animation-delay: 0.6s; }

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

.service-features li:hover {
    transform: translateX(5px);
    color: var(--primary);
}

.service-features li:hover svg {
    transform: scale(1.2);
}

/* Visual Card Animations */
.visual-card {
    animation: visualFloat 3s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.visual-card:hover {
    transform: translateY(-15px) scale(1.03);
    animation-play-state: paused;
}

.code-preview {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.code-preview:hover {
    transform: scale(1.05);
}

.mobile-mockup {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-mockup:hover {
    transform: scale(1.02);
}

.ai-visualization {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-visualization:hover {
    transform: scale(1.05);
}

.consulting-graphic {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.consulting-graphic:hover {
    transform: scale(1.05);
}

/* Customer Card Animations */
.customer-card {
    animation: customerCardFade 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.customer-card:nth-child(1) { animation-delay: 0.1s; }
.customer-card:nth-child(2) { animation-delay: 0.2s; }
.customer-card:nth-child(3) { animation-delay: 0.3s; }

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

.customer-card:hover .customer-logo-container img {
    transform: scale(1.1);
}

.customer-stat {
    animation: statPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.customer-stat:nth-child(1) { animation-delay: 0.2s; }
.customer-stat:nth-child(2) { animation-delay: 0.3s; }
.customer-stat:nth-child(3) { animation-delay: 0.4s; }

@keyframes statPop {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

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

.footer-logo img {
    height: 40px;
    width: auto;
    display: inline-block;
}

.footer-logo .logo-volt {
    color: var(--primary);
}

.footer-logo .logo-forge {
    color: white;
    font-weight: 700;
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .brand-name .logo-volt {
    color: #8b5cf6;
}

.footer-bottom .brand-name .logo-forge {
    color: white;
}

.footer-bottom .brand-name .logo-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: white;
}

/* ================================
   WEBSITE BUILDER ANIMATION
   ================================ */

.website-builder-animation {
    padding: var(--section-padding);
    background: var(--bg-alt);
    overflow: hidden;
}

.builder-stage {
    max-width: 900px;
    margin: 0 auto;
    perspective: 1000px;
}

.browser-window {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform-style: preserve-3d;
    animation: browserFloat 3s ease-in-out infinite;
}

@keyframes browserFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-10px) rotateX(2deg);
    }
}

.browser-chrome {
    background: var(--bg-alt);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.browser-dots span:nth-child(1) {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
    animation-delay: 0.2s;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.browser-url {
    flex: 1;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.browser-viewport {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 500px;
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.build-element {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(-100px) scale(0.8);
    animation: slideInBuild 0.6s ease forwards;
    position: relative;
    overflow: hidden;
}

@keyframes slideInBuild {
    0% {
        opacity: 0;
        transform: translateX(-100px) scale(0.8) rotateY(-20deg);
    }
    60% {
        transform: translateX(10px) scale(1.05) rotateY(5deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
    }
}

.build-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    animation: shimmer 2s ease-in-out infinite;
    animation-delay: inherit;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.build-element.nav-bar {
    height: 60px;
    background: var(--gradient-primary);
}

.build-element.nav-bar .element-label {
    color: white;
}

.build-element.hero-section {
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.build-element.hero-section .element-label {
    color: white;
}

.build-element.content-blocks {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-blocks {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    margin-left: 1rem;
}

.mini-blocks span {
    flex: 1;
    height: 80px;
    background: var(--bg-alt);
    border-radius: 0.25rem;
    animation: miniBlockGrow 0.4s ease forwards;
    opacity: 0;
}

.mini-blocks span:nth-child(1) {
    animation-delay: 1.7s;
}

.mini-blocks span:nth-child(2) {
    animation-delay: 1.9s;
}

.mini-blocks span:nth-child(3) {
    animation-delay: 2.1s;
}

@keyframes miniBlockGrow {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.build-element.footer-section {
    height: 80px;
    background: var(--dark);
}

.build-element.footer-section .element-label {
    color: white;
}

.element-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0;
    animation: particleFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.8);
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
        transform: translateY(-30px) rotate(10deg) scale(1.1);
    }
    90% {
        opacity: 1;
    }
}

.builder-controls {
    margin-top: 2rem;
    text-align: center;
}

.control-btn {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

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

.control-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ================================
   FORM STATUS ANIMATIONS
   ================================ */

.form-status-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: overlayFadeIn 0.3s ease;
}

.form-status-overlay.hidden {
    display: none;
}

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

.form-status-content {
    background: white;
    border-radius: 2rem;
    padding: 4rem 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: contentSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes contentSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.status-animation.hidden {
    display: none;
}

.status-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 1rem 0; /* Removed top margin - spacing comes from icon */
    padding-top: 0;
}

.status-message {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

/* Loading Spinner */
.loading-spinner {
    width: 140px;
    height: 140px;
    position: relative;
    margin: 0 auto 30px auto; /* Match other states spacing */
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spinnerRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) { animation-delay: -0.45s; }
.spinner-ring:nth-child(2) { animation-delay: -0.3s; border-top-color: var(--secondary); }
.spinner-ring:nth-child(3) { animation-delay: -0.15s; border-top-color: var(--primary-light); }

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

/* Success Checkmark */
.success-checkmark {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px auto; /* Added bottom margin for spacing */
}

.success-checkmark svg {
    width: 140px;
    height: 140px;
}

.checkmark-circle {
    stroke: #10b981;
    stroke-width: 3;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: checkmarkCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: #10b981;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmarkCheck 0.3s 0.8s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes checkmarkCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes checkmarkCheck {
    to { stroke-dashoffset: 0; }
}

/* Error Icon */
.error-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px auto; /* Match success icon spacing */
}

.error-icon svg {
    width: 140px;
    height: 140px;
}

.error-circle {
    stroke: #ef4444;
    stroke-width: 3;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: errorCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.error-cross {
    stroke: #ef4444;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 54;
    stroke-dashoffset: 54;
    animation: errorCross 0.3s 0.8s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes errorCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes errorCross {
    to { stroke-dashoffset: 0; }
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    margin: 0;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

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

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0.5rem;
        margin-left: 1rem;
        padding: 0.5rem 0;
        background: #f8fafc;
        border-radius: 0.5rem;
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-dropdown.active > a::after {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .dropdown-menu a:hover {
        padding-left: 1.25rem;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail-reverse {
        direction: ltr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 4rem 0;
        --container-padding: 0 1rem;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }
    
    .process-number {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .browser-content {
        height: 400px;
    }
    
    /* Website Builder Animation Responsive */
    .browser-viewport {
        min-height: 350px;
        padding: 1rem;
    }
    
    .browser-chrome {
        padding: 0.75rem;
    }
    
    .browser-url {
        font-size: 0.75rem;
    }
    
    .build-element {
        padding: 0.75rem;
    }
    
    .build-element.nav-bar {
        height: 40px;
    }
    
    .build-element.hero-section {
        height: 100px;
    }
    
    .build-element.content-blocks {
        height: 80px;
    }
    
    .build-element.footer-section {
        height: 50px;
    }
    
    .mini-blocks span {
        height: 50px;
    }
    
    .code-particle {
        font-size: 1rem;
    }
    
    .element-label {
        font-size: 0.7rem;
    }
}

/* ================================
   CUSTOMER LOGO SHOWCASE
   ================================ */

.customers-showcase {
    padding: var(--section-padding);
    background: white;
    overflow: hidden;
    position: relative;
}

.customers-showcase::before,
.customers-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.customers-showcase::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.customers-showcase::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.logo-carousel {
    margin: 3rem 0;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: logoScroll 60s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    flex-shrink: 0;
    width: 280px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.logo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.logo-item:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.customers-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ================================
   CUSTOMERS PAGE
   ================================ */

.customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.customer-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.customer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.3);
}

.customer-logo-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}


.customer-logo-container img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.customer-card:hover .customer-logo-container img {
    transform: scale(1.15);
}

.customer-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.customer-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.customer-link {
    color: var(--dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.customer-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.customer-link svg {
    color: var(--primary);
    transition: var(--transition);
}

.customer-link:hover svg {
    transform: translateX(3px) translateY(-3px);
}

.customer-industry {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.customer-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
}

.customer-services {
    margin-top: auto;
}

.customer-services-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.customer-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    padding: 0.375rem 0.875rem;
    background: var(--bg-alt);
    border-radius: 2rem;
    font-size: 0.75rem;
    color: var(--text);
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-tag:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Coming Soon Customer Card */
.customer-card-coming-soon {
    opacity: 0.8;
    position: relative;
}

.customer-card-coming-soon .customer-logo-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.coming-soon-badge {
    text-align: center;
    color: var(--primary);
}

.coming-soon-badge svg {
    animation: pulse 2s ease-in-out infinite;
}

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

.customer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.customer-stat {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.customer-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.customer-stat:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.3);
}

.customer-stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.customer-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ================================
   ADDITIONAL POLISH & MICRO-ANIMATIONS
   ================================ */

/* Smooth page transitions */
@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

/* Enhanced button interactions */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth link hover effects */
a {
    position: relative;
}

a:not(.btn):not(.logo):hover {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Card hover lift effect */
.service-card,
.value-card,
.tech-category,
.demo-browser,
.contact-form-wrapper {
    transition: var(--transition);
    will-change: transform;
}

.service-card:hover,
.value-card:hover,
.tech-category:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Smooth scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Icon pulse animation */
.service-icon,
.value-icon,
.contact-detail-icon {
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
    }
}

/* Smooth form input focus */
.form-input:focus,
.form-textarea:focus,
.demo-dropdown:focus {
    transform: scale(1.01);
}

/* Stats counter animation */
.stat-number {
    display: inline-block;
    animation: countUp 2s ease-out forwards;
}

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

/* Image lazy load fade in */
img {
    animation: imageFadeIn 0.5s ease-in;
}

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

/* Process step enhanced animation */
.process-step {
    opacity: 0;
    animation: processStepIn 0.8s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }
.process-step:nth-child(4) { animation-delay: 0.8s; }

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

/* Footer link slide animation */
.footer-links a {
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    left: -15px;
    opacity: 1;
}

/* CTA section wave animation */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: waveRotate 20s linear infinite;
}

@keyframes waveRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Demo controls enhancement */
.demo-dropdown option {
    padding: 1rem;
}

.demo-dropdown {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    appearance: none;
}

/* Page header parallax effect */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    from {
        left: -100%;
    }
    to {
        left: 100%;
    }
}

/* Loading skeleton for images */
[data-loading="true"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Smooth text reveal */
.hero-title-main,
.section-title,
.page-title {
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
}

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

/* ================================
   UTILITY CLASSES
   ================================ */

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

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

/* AOS Animation Support */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ================================
   SERVICE PAGE OPTIMIZATION
   ================================ */

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta-group .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-indicators span::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Inline CTA */
.cta-inline {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6d28d9 100%);
    color: white;
    border-radius: 1rem;
    margin: 4rem 0;
}

.cta-inline h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-inline p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-inline .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.cta-inline .btn:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
}

/* Value Proposition Section */
.value-props {
    padding: 4rem 0;
    background: var(--bg-alt);
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-prop-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.value-prop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-prop-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6d28d9 100%);
    border-radius: 50%;
    color: white;
}

.value-prop-icon svg {
    width: 30px;
    height: 30px;
}

.value-prop-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.value-prop-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.testimonials-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.portfolio-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6d28d9 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

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

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6d28d9 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-business {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Process Steps Section */
.process-section {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6d28d9 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-item.active .faq-icon::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-icon {
    background: var(--primary-color);
}

.faq-item.active .faq-icon::after {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: padding 0.3s ease;
}

.faq-answer-content strong {
    color: var(--text-primary);
}

/* Consultation Form Section */
.consultation-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6d28d9 100%);
    color: white;
}

.consultation-section .section-header h2,
.consultation-section .section-header p {
    color: white;
}

.consultation-form-container {
    max-width: 700px;
    margin: 3rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.consultation-form-container h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.consultation-form-container .form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

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

.consultation-form input,
.consultation-form textarea,
.consultation-form select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.consultation-form input:focus,
.consultation-form textarea:focus,
.consultation-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.consultation-form .field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.consultation-form .form-input.error {
    border-color: #ef4444;
}

.consultation-form .form-input.error + .field-error {
    display: block;
}

.consultation-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.form-success-message.show {
    display: block;
}

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 0;
    background: var(--bg-alt);
    text-align: center;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.final-cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Responsive Styles for New Components */
@media (max-width: 768px) {
    .hero-cta-group,
    .page-header .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-group .btn,
    .page-header .hero-cta-group .btn {
        width: 100%;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .value-props-grid {
        grid-template-columns: 1fr;
    }

    .consultation-form-container {
        padding: 2rem 1.5rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
    }

    .final-cta-content h2 {
        font-size: 2rem;
    }

    .cta-inline h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Analytics & AI Chat Previews
   ======================================== */

.analytics-preview {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.analytics-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.trend-up {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.5rem;
}

.analytics-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 200px;
    margin-bottom: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 8px 8px 0 0;
    min-height: 30px;
    transition: transform 0.3s ease;
}

.chart-bar:hover {
    transform: translateY(-5px);
}

.analytics-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.ai-preview {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.ai-chat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 300px;
}

.ai-message {
    display: flex;
    animation: slideIn 0.3s ease;
}

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

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

.ai-message.bot {
    justify-content: flex-start;
}

.ai-message span {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-message.user span {
    background: var(--primary-color);
    color: white;
    border-radius: 12px 12px 4px 12px;
}

.ai-message.bot span {
    background: #f3f4f6;
    color: var(--text-primary);
    border-radius: 12px 12px 12px 4px;
}

.ai-message.typing span {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0.75rem 1rem;
}

.ai-message.typing span::before,
.ai-message.typing span::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.ai-message.typing span::before {
    animation-delay: 0s;
}

.ai-message.typing span::after {
    animation-delay: 0.2s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-8px);
    }
}

/* ========================================
   Clean Design Improvements
   ======================================== */

.page-subtitle,
.section-subtitle,
.service-description,
.about-text {
    line-height: 1.8;
}

/* Larger readable font sizes */
.service-description {
    font-size: 1.05rem;
}

.about-text {
    font-size: 1.1rem;
}

/* More section padding */
.service-detail,
.services-overview,
.process-section,
.value-props,
.faq-section,
.final-cta-section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .service-detail,
    .services-overview,
    .process-section,
    .value-props,
    .faq-section,
    .final-cta-section {
        padding: 3rem 0;
    }
}

/* Alternating section backgrounds */
.services-overview {
    background: #f8f9fa;
}

/* Max content width for readability */
.service-detail-text,
.section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


