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

:root {
    /* Color Palette */
    --primary-dark: #0F172A;
    --secondary-dark: #1E293B;
    --primary-orange: #F97316;
    --secondary-gold: #FCD34D;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --accent-blue: #3B82F6;
    --success-green: #10B981;
    --accent-teal: #06B6D4;
    --accent-purple: #8B5CF6;
    --accent-emerald: #059669;
    
    /* Spacing System */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --space-4xl: 128px;
    
    /* Typography */
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 40px;
    --font-size-4xl: 48px;
    --font-size-5xl: 56px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Box Shadow */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: #EA580C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--primary-dark);
    border-color: var(--text-primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
}

.logo-zh {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    font-weight: 800;
}

.logo-en {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.language-toggle {
    display: flex;
    background: var(--secondary-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.lang-btn {
    padding: var(--space-xs) var(--space-sm);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--font-size-sm);
}

.lang-btn.active {
    background: var(--primary-orange);
    color: white;
}

.cta-btn {
    background: var(--primary-orange);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: #EA580C;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, #1E293B 100%);
    z-index: -1;
}

.particle-system {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(252, 211, 77, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--primary-orange);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.title-white {
    color: var(--text-primary);
}

.title-orange {
    color: var(--primary-orange);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.trust-indicators {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Services Overview */
.services-overview {
    padding: var(--space-3xl) 0;
    background: var(--secondary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--primary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-gold));
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: white;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.service-card ul {
    list-style: none;
    margin-bottom: var(--space-md);
}

.service-card li {
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    position: relative;
    padding-left: var(--space-md);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.service-visual {
    display: none;
}

/* US Market Details */
.us-market-details {
    padding: var(--space-3xl) 0;
    background: var(--primary-dark);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--text-primary);
}

.service-detail-card {
    background: var(--secondary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.service-detail-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-lg);
}

.service-detail-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-orange), #EA580C);
    border-radius: var(--radius-md);
    color: white;
    box-shadow: var(--shadow-md);
}

.service-detail-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Colored icon variations */
.service-detail-icon.blue {
    background: linear-gradient(135deg, var(--accent-blue), #2563EB);
}

.service-detail-icon.purple {
    background: linear-gradient(135deg, var(--accent-purple), #7C3AED);
}

.service-detail-icon.gold {
    background: linear-gradient(135deg, var(--secondary-gold), #F59E0B);
}

.service-detail-icon.teal {
    background: linear-gradient(135deg, var(--accent-teal), #0891B2);
}

.service-detail-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.service-detail-card p {
    color: var(--text-secondary);
}

/* AI Solutions */
.ai-solutions {
    padding: var(--space-3xl) 0;
    background: var(--secondary-dark);
}

.ai-demo-area {
    background: var(--primary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.roi-calculator h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.calculator-inputs {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.calculator-inputs input {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--text-secondary);
    background: var(--secondary-dark);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    min-width: 180px;
    max-width: 200px;
}

.calculator-inputs input::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.calculator-inputs input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.roi-result {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
}

.savings-amount {
    color: var(--success-green);
    font-weight: bold;
    font-size: var(--font-size-2xl);
}

.use-cases-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.use-case {
    background: var(--primary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.use-case h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.use-case p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.efficiency-metric {
    background: var(--success-green);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: bold;
    font-size: var(--font-size-sm);
    display: inline-block;
}

/* Process Timeline */
.process {
    padding: var(--space-3xl) 0;
    background: var(--primary-dark);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-md);
    position: relative;
    margin-top: var(--space-2xl);
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--primary-orange);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--font-size-lg);
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-md);
}

/* Colored step number variations */
.step-number.blue {
    background: var(--accent-blue);
}

.step-number.purple {
    background: var(--accent-purple);
}

.step-number.teal {
    background: var(--accent-teal);
}

.step-number.gold {
    background: var(--secondary-gold);
}

.process-step h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.process-step p {
    color: var(--primary-orange);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}

.process-step ul {
    list-style: none;
    text-align: left;
}

.process-step li {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: 4px;
    position: relative;
    padding-left: var(--space-sm);
}

.process-step li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
}

/* Success Stories */
.success-stories {
    padding: var(--space-3xl) 0;
    background: var(--secondary-dark);
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.case-study {
    background: var(--primary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.case-logo {
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.industry-tag {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 4px var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.case-study h4 {
    color: var(--primary-orange);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
}

.case-study p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
}

.metrics {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.metrics span {
    background: var(--success-green);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: bold;
}

/* Why Daodong */
.why-daodong {
    padding: var(--space-3xl) 0;
    background: var(--primary-dark);
}

.differentiators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.differentiator {
    text-align: center;
    padding: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.differentiator.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.diff-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-orange), #EA580C);
    border-radius: 50%;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.diff-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.differentiator:hover .diff-icon {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-10px) scale(1.05); }
    60% { transform: translateY(-5px) scale(1.02); }
}

.diff-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

/* Colored differentiator icon variations */
.diff-icon.blue {
    background: linear-gradient(135deg, var(--accent-blue), #2563EB);
}

.diff-icon.purple {
    background: linear-gradient(135deg, var(--accent-purple), #7C3AED);
}

.diff-icon.gold {
    background: linear-gradient(135deg, var(--secondary-gold), #F59E0B);
}

.diff-icon.teal {
    background: linear-gradient(135deg, var(--accent-teal), #0891B2);
}

.diff-icon.green {
    background: linear-gradient(135deg, var(--accent-emerald), #047857);
}

.differentiator h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

/* About Section */
.about {
    padding: var(--space-3xl) 0;
    background: var(--secondary-dark);
}

.company-story {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.company-story p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.value {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--primary-dark);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

.value-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-orange);
    border-radius: var(--radius-sm);
    color: white;
    flex-shrink: 0;
}

.value-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.office-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.location {
    text-align: center;
    background: var(--primary-dark);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
}

.location h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

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

/* CTA Section */
.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(252, 211, 77, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.cta-box {
    background: var(--secondary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.cta-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.cta-box h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: var(--space-2xl) 0 var(--space-md);
    border-top: 1px solid var(--secondary-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

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

.footer-section li {
    margin-bottom: var(--space-xs);
}

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

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.footer-logo .logo-zh {
    font-size: var(--font-size-lg);
    color: var(--primary-orange);
    font-weight: 800;
}

.footer-logo .logo-en {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    color: white;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    font-size: var(--font-size-sm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--secondary-dark);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.legal-links {
    display: flex;
    gap: var(--space-md);
}

.legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.legal-links a:hover {
    color: var(--primary-orange);
}

/* Chatbot */
.chatbot {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    color: white;
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 400px;
    background: var(--secondary-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

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

.chatbot-header {
    background: var(--primary-orange);
    color: white;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.chatbot-messages {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.message {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    max-width: 80%;
    font-size: var(--font-size-sm);
}

.bot-message {
    background: var(--primary-dark);
    color: var(--text-secondary);
    align-self: flex-start;
}

.user-message {
    background: var(--primary-orange);
    color: white;
    align-self: flex-end;
}

.chatbot-input {
    display: flex;
    padding: var(--space-md);
    border-top: 1px solid var(--primary-dark);
    gap: var(--space-sm);
}

.chatbot-input input {
    flex: 1;
    padding: var(--space-sm);
    border: 1px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    background: var(--primary-dark);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.chatbot-input button {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: var(--font-size-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 40px;
        --font-size-4xl: 32px;
        --font-size-3xl: 28px;
        --font-size-2xl: 24px;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-dark);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-inputs {
        flex-direction: column;
        align-items: center;
    }
    
    .calculator-inputs input {
        min-width: 180px;
        max-width: 200px;
    }
    
    .use-cases-carousel {
        grid-template-columns: 1fr;
    }
    
    .case-studies {
        grid-template-columns: 1fr;
    }
    
    .differentiators {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .cta-boxes {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .chatbot-window {
        width: 300px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .nav-controls {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .service-card {
        padding: var(--space-md);
    }
    
    .chatbot {
        bottom: var(--space-sm);
        right: var(--space-sm);
    }
    
    .chatbot-window {
        width: calc(100vw - 32px);
        right: calc(-100vw + 92px);
    }
}

/* High-contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-dark: #000000;
        --secondary-dark: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --primary-orange: #ff6600;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle-system {
        animation: none;
    }
}

/* Dark mode support (default is already dark) */
@media (prefers-color-scheme: light) {
    /* Light mode overrides would go here if needed */
    /* Currently designed as dark-first */
}

/* Print styles */
@media print {
    .navbar,
    .chatbot,
    .hero-background,
    .particle-system {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
    
    section {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}