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

:root {
    --primary-color: #3B82F6;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #64748B;
    --border-color: #475569;
    --gradient-primary: linear-gradient(135deg, #3B82F6, #1D4ED8);
    --gradient-secondary: linear-gradient(135deg, #10B981, #059669);
    --gradient-accent: linear-gradient(135deg, #F59E0B, #D97706);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 1000;
}

.language-selector select {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    padding-right: 35px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CBD5E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    min-width: 160px;
}

.language-selector select:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-tertiary);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo {
    width: 200px;
    height: 40px;
    object-fit: contain;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0 40px;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

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

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transform: translateZ(0);
    will-change: transform;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* AI Visualization */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ai-visualization {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.agents-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
}

.agents-image:hover {
    transform: scale(1.05);
}

/* Solutions Image Card */
.solution-image-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.solution-image-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(59, 130, 246, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
    transform: translateX(-100%);
}

.solution-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(59, 130, 246, 0.05) 50%,
        rgba(16, 185, 129, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.solution-image-card:hover::after {
    opacity: 1;
}

.solutions-image {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.3));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.solution-image-card:hover .solutions-image {
    transform: scale(1.08) rotateY(5deg);
    filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.4))
            drop-shadow(0 10px 20px rgba(16, 185, 129, 0.3));
}

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

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

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

/* Glowing corners */
.solution-image-card:hover {
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.2),
        inset 0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 0 40px rgba(16, 185, 129, 0.05);
}

/* Glowing orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
}

.glow-orb-1 {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, transparent 70%);
    top: 20%;
    right: 20%;
    animation: orbit1 8s linear infinite;
}

.glow-orb-2 {
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.8) 0%, transparent 70%);
    bottom: 25%;
    left: 15%;
    animation: orbit2 6s linear infinite reverse;
}

@keyframes orbit1 {
    0% {
        transform: rotate(0deg) translateX(40px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(40px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: rotate(0deg) translateX(30px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(30px) rotate(-360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .solutions-image {
        max-height: 150px;
    }

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

    .glow-orb-1 {
        animation: orbit1 10s linear infinite;
    }

    .glow-orb-2 {
        animation: orbit2 8s linear infinite reverse;
    }
}


/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Small caps for specific section titles */
#pain .section-header h2,
#solution .section-header h2,
#who-we-work-with .section-header h2 {
    font-variant: small-caps;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}


/* Pain Section */
.pain-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

/* Pain section overlay effects */
.pain-section .parallax-bg {
    background:
        radial-gradient(circle at 20% 30%, rgba(214, 23, 32, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(214, 23, 32, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(214, 23, 32, 0.05) 0%, transparent 50%);
}

/* Pain content styling */
.pain-content {
    max-width: 1000px;
    margin: 60px auto;
    position: relative;
    z-index: 2;
}

.pain-statement {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(30, 41, 59, 0.5) 100%);
    border: 1px solid rgba(214, 23, 32, 0.2);
    border-radius: 20px;
    padding: 40px 60px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pain-statement p {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.pain-statement:nth-child(1) {
    animation-delay: 0.2s;
}

.pain-statement:nth-child(1) p {
    font-weight: 600;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pain-statement:nth-child(2) {
    animation-delay: 0.4s;
}

.pain-statement:nth-child(2) p {
    color: var(--text-secondary);
}

.pain-statement:nth-child(3) {
    animation-delay: 0.6s;
}

.pain-statement:nth-child(3) p {
    color: var(--text-secondary);
}

/* Custom red accent bar */
.pain-statement::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #d61720 0%, #b01219 100%);
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: inherit;
}

/* Animated background gradient */
.pain-statement .gradient-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(214, 23, 32, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

/* Hover effects */
.pain-statement:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(214, 23, 32, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(214, 23, 32, 0.1);
}

.pain-statement:hover .gradient-overlay {
    opacity: 1;
}

.pain-statement:hover::before {
    width: 8px;
    filter: brightness(1.5);
}

/* Add glowing number indicators */
.pain-statement[data-number]::after {
    content: attr(data-number);
    position: absolute;
    top: 20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: rgba(239, 68, 68, 0.8);
    z-index: 3;
}

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

.pain-card {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #dc2626);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pain-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(239, 68, 68, 0.03) 50%,
        transparent 70%
    );
    animation: painShimmer 4s infinite;
    transform: translateX(-100%);
}

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

.pain-card:hover::after {
    animation-duration: 2s;
}

.pain-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow:
        0 20px 40px rgba(239, 68, 68, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(239, 68, 68, 0.05);
}

.pain-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.pain-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Pain card pulse effect */
.pain-card:nth-child(1) {
    animation: painPulse 3s infinite;
    animation-delay: 0s;
}

.pain-card:nth-child(2) {
    animation: painPulse 3s infinite;
    animation-delay: 1s;
}

.pain-card:nth-child(3) {
    animation: painPulse 3s infinite;
    animation-delay: 2s;
}

@keyframes painShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

@keyframes painPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

/* Floating problem indicators */
.pain-section::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(214, 23, 32, 0.6);
    border-radius: 50%;
    top: 25%;
    right: 10%;
    animation: floatProblem 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(214, 23, 32, 0.3);
}

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

/* Pain particles */
.pain-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pain-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(214, 23, 32, 0.4);
    animation: particleFloat 6s ease-in-out infinite;
}

.pain-particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.pain-particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.pain-particle-3 {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 80%;
    animation-delay: 4s;
}

.pain-particle-4 {
    width: 5px;
    height: 5px;
    top: 40%;
    left: 70%;
    animation-delay: 1s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.8;
    }
}

/* Pain indicators inside cards */
.pain-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: rgba(214, 23, 32, 0.7);
    border-radius: 50%;
    animation: painIndicatorPulse 2s infinite;
    box-shadow: 0 0 10px rgba(214, 23, 32, 0.5);
}

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

/* Enhanced pain card interactions */
.pain-card:hover .pain-indicator {
    animation-duration: 1s;
    background: rgba(214, 23, 32, 1);
    box-shadow: 0 0 20px rgba(214, 23, 32, 0.8);
}

/* Solution Section */
.solution-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover::before {
    opacity: 0.05;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}


.solution-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
    color: var(--text-primary);
    position: relative;
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.products-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.products-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-image-card {
    background: white;
    border-radius: 24px;
    padding: 20px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e5e5;
    position: relative;
    transition: all 0.3s ease;
}

.products-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.products-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.product-item {
    background: transparent;
    padding: 0;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateX(5px);
}

.products-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 0.5px;
}

.product-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--secondary-color);
    position: relative;
}

.product-item p {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.85rem;
    margin: 0;
}

/* ROI CTA Section */
.roi-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.roi-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(214, 23, 32, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.roi-cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.roi-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.roi-cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.roi-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.roi-cta-buttons .btn {
    min-width: 220px;
}

/* Clients Section */
.clients-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.client-card {
    background: var(--bg-primary);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2);
}


.client-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--text-primary);
}

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

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--bg-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}


/* Accordion Styles */
.cta-accordion {
    max-width: 800px;
    margin: 0 auto 40px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 400px;
}

.accordion-body {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    height: 350px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
}

.accordion-body::-webkit-scrollbar {
    width: 6px;
}

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

.accordion-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.accordion-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.accordion-body h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.accordion-body h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.accordion-body h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--text-primary);
}

.accordion-body p {
    margin: 0 0 12px;
}

.accordion-body ul, .accordion-body ol {
    margin: 0 0 12px;
    padding-left: 0;
    list-style-type: none;
}

.accordion-body li {
    margin-bottom: 6px;
    display: block;
}

.accordion-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.accordion-body th,
.accordion-body td {
    padding: 8px 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-body th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--text-primary);
}

.accordion-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.accordion-body em {
    font-style: italic;
    opacity: 0.9;
}

.accordion-body hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

/* PDF Download Button */
.pdf-download {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Knowledge Deep-dive Section */
.knowledge-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.knowledge-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.knowledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(214, 23, 32, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.knowledge-card:hover::before {
    opacity: 1;
}

.knowledge-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 23, 32, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.knowledge-info {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.knowledge-level {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid;
}

.knowledge-level.technical {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.knowledge-level.executive {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.knowledge-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.knowledge-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.knowledge-card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    flex: 1;
}

.knowledge-card-actions {
    margin-top: 24px;
    position: relative;
    z-index: 2;
}

.knowledge-card-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 12px 16px;
}

.knowledge-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.knowledge-cta .btn {
    min-width: 200px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 200px;
    height: 40px;
}

.footer-brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 30px;
}

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

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

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

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mobile Menu Overlay */
.nav-menu.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px;
        margin: 0;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        gap: 20px;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .ai-visualization {
        width: 300px;
        height: 300px;
    }

    .neural-network {
        width: 200px;
        height: 200px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .knowledge-section {
        padding: 100px 0;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .knowledge-card {
        padding: 24px;
        min-height: 350px;
    }

    .knowledge-card-content h3 {
        font-size: 1.2rem;
    }

    .knowledge-card-actions .btn {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .products-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-image-card {
        padding: 15px 30px;
    }

    .products-image-container {
        max-width: 350px;
    }

    .products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-column {
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Accordion mobile styles */
    .cta-accordion {
        margin: 0 auto 30px;
        max-width: 100%;
    }

    .accordion-header {
        padding: 16px 20px;
        font-size: 16px;
    }

    .accordion-body {
        padding: 0 20px 20px;
        height: 300px;
        font-size: 13px;
    }

    .accordion-body table {
        font-size: 12px;
    }

    .accordion-body th,
    .accordion-body td {
        padding: 6px 8px;
    }
}

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

    .hero, .pain-section, .solution-section, .products-section, .roi-cta-section, .clients-section, .cta-section {
        padding: 80px 0;
    }

    .products-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-image-card {
        padding: 10px 20px;
    }

    .products-image-container {
        max-width: 280px;
    }

    .products-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .products-column {
        gap: 12px;
    }

    .product-item h4 {
        font-size: 1rem;
    }

    .product-item p {
        font-size: 0.8rem;
    }

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

    .roi-cta-content p {
        font-size: 1rem;
    }

    .roi-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .roi-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .solution-grid, .clients-grid {
        grid-template-columns: 1fr;
    }

    .pain-card, .solution-card, .client-card {
        padding: 30px;
    }

    .language-selector select {
        font-size: 12px;
        padding: 6px 10px;
    }

    .logo {
        width: 120px;
        height: 24px;
    }

    .ai-visualization {
        width: 200px;
        height: 200px;
    }

}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Download Dialog */
.download-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.download-dialog.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-dialog-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.download-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.download-dialog-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.download-dialog-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.download-dialog-close:hover {
    background: #f5f5f5;
    color: #333;
}

.download-dialog-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

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

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

.download-dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.download-dialog-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-weight: 500;
}

.download-dialog-actions .btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.download-dialog-actions .btn-secondary:hover {
    background: #e5e5e5;
    color: #333;
}

.download-dialog-actions .btn-primary {
    background: var(--primary-color);
    color: white;
}

.download-dialog-actions .btn-primary:hover {
    background: #2563eb;
}

.download-dialog-actions .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

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

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

/* Responsive dialog */
@media (max-width: 768px) {
    .download-dialog-content {
        width: 95%;
        margin: 20px;
    }
    
    .download-dialog-header,
    .download-dialog-body {
        padding: 20px;
    }
    
    .download-dialog-actions {
        flex-direction: column;
    }
    
    .download-dialog-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

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

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

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