/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
}

.logo-fallback {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-primary-blue-dark) 100%);
    border-radius: 0.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: #0f172a;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--color-neutral-slate);
    margin-top: -0.25rem;
}

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

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

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -0.5rem;
    left: 50%;
    background: var(--color-primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-neutral-slate);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-primary-blue);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-neutral-slate);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--color-primary-blue);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    color: var(--color-neutral-slate);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--color-primary-blue);
    background: #f8fafc;
}

.mobile-contact {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-neutral-slate);
    text-decoration: none;
    font-size: 0.875rem;
}

.mobile-cta {
    width: 100%;
}

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

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.8) 0%, 
        rgba(30, 58, 138, 0.7) 50%, 
        rgba(15, 23, 42, 0.8) 100%);
}

.hero-patterns {
    position: absolute;
    inset: 0;
}

.pattern {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.pattern-1 {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, transparent 100%);
}

.pattern-2 {
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: linear-gradient(45deg, rgba(234, 88, 12, 0.2) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 8rem 0;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 500;
}

.hero-visual {
    position: relative;
}

.visual-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

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

.visual-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
}

.visual-item i {
    font-size: 2rem;
    color: var(--color-primary-blue);
}

.visual-info {
    color: white;
}

.visual-value {
    font-weight: 700;
    font-size: 1.125rem;
}

.visual-label {
    font-size: 0.875rem;
    color: #cbd5e1;
}

.visual-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(40px);
}

.decoration-1 {
    top: -1rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-purple) 100%);
}

.decoration-2 {
    bottom: -1rem;
    left: -1rem;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(45deg, var(--color-accent-orange) 0%, #dc2626 100%);
}

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

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    padding: 0.25rem;
    animation: bounce 2s infinite;
}

.scroll-wheel {
    width: 0.25rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.125rem;
}

/* Featured Solutions Section */
.featured-solutions {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, white 50%, #eff6ff 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.solution-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .card-image img {
    transform: scale(1.1);
}

.image-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.image-fallback i {
    font-size: 4rem;
    color: #cbd5e1;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .card-overlay {
    opacity: 1;
}

.card-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    color: var(--color-primary-blue);
    font-size: 1.5rem;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.solution-card:hover .card-title {
    color: var(--color-primary-blue);
}

.card-description {
    color: var(--color-neutral-slate);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature span {
    font-size: 0.875rem;
    color: var(--color-neutral-slate);
}

.card-specs {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.card-specs h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.card-specs p {
    font-size: 0.875rem;
    color: var(--color-neutral-slate);
    line-height: 1.5;
}

.stats-row {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-value.blue { color: var(--color-primary-blue); }
.stat-value.orange { color: var(--color-accent-orange); }
.stat-value.green { color: var(--color-success-green); }
.stat-value.purple { color: var(--color-purple); }

.stat-label {
    font-size: 0.875rem;
    color: var(--color-neutral-slate);
    font-weight: 500;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: white;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--color-neutral-slate);
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-primary-blue-dark) 100%);
    color: white;
    border-color: var(--color-primary-blue);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

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

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-initials {
    font-size: 3rem;
    font-weight: 700;
    color: #cbd5e1;
}

.product-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-neutral-slate);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--color-primary-blue);
}

.product-description {
    color: var(--color-neutral-slate);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-feature i {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

.product-feature span {
    font-size: 0.875rem;
    color: var(--color-neutral-slate);
}

.products-cta {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 32rem;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--color-neutral-slate);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-desktop,
    .header-contact {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .solutions-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-filter {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .card-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-filter {
        grid-template-columns: repeat(2, 1fr);
    }
}