:root {
    --primary-color: #165DFF;
    --primary-dark: #0E42D2;
    --primary-light: #4080FF;
    --secondary-color: #00B42A;
    --accent-color: #FF7D00;
    --text-primary: #1D2129;
    --text-secondary: #4E5969;
    --text-tertiary: #86909C;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F8FA;
    --bg-tertiary: #F2F3F5;
    --border-color: #E5E6EB;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 80px;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 36px;
    --font-size-4xl: 48px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

.home-redesign {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Global Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 24px;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: var(--font-size-lg);
    border-radius: var(--border-radius-md);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/public/images/hero-1.jpg') center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.9) 0%, rgba(14, 66, 210, 0.95) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 0;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-normal);
}

.hero-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-cta .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-placeholder {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, white, transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease 0.4s forwards;
    opacity: 0;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

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

/* Section Styles */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: 200px;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* Products Section */
.products-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: left var(--transition-normal);
}

.product-card:hover::before {
    left: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.product-image {
    width: 100%;
    max-width: 240px;
    height: 240px;
    margin: 0 auto var(--spacing-lg);
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-primary);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.product-card:hover .product-image {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.product-content h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    transition: color var(--transition-normal);
}

.product-card:hover .product-content h3 {
    color: var(--primary-color);
}

.product-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    font-size: var(--font-size-md);
}

.product-content .btn {
    margin-top: var(--spacing-md);
}

/* Services Section */
.services-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.service-item {
    background: var(--bg-primary);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-item:hover::after {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.service-item:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.service-content h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    transition: color var(--transition-normal);
}

.service-item:hover .service-content h3 {
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

/* Solutions Section */
.solutions-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-normal);
}

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

.solution-item.reverse {
    direction: rtl;
}

.solution-item.reverse .solution-content,
.solution-item.reverse .solution-image {
    direction: ltr;
}

.solution-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.solution-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.solution-content p {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl) 0;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-size: var(--font-size-md);
    transition: all var(--transition-fast);
}

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

.solution-features li i {
    color: var(--secondary-color);
    font-size: var(--font-size-lg);
    min-width: 20px;
}

.solution-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.1), rgba(255, 125, 0, 0.1));
    transition: opacity var(--transition-normal);
    opacity: 0;
}

.image-placeholder:hover::before {
    opacity: 1;
}

.image-placeholder img {
    transition: transform var(--transition-normal);
}

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

.image-placeholder.small {
    height: 180px;
    font-size: 48px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-top: var(--spacing-2xl);
}

.about-images {
    position: relative;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.about-image-item {
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.about-image-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.about-image-item:nth-child(2) {
    margin-top: var(--spacing-xl);
}

.about-text h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-text p {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    text-align: center;
    transition: all var(--transition-normal);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
}

.stat-item:hover {
    background: var(--bg-secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-normal);
}

.stat-item:hover .stat-number {
    color: var(--accent-color);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: var(--font-weight-medium);
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGQ9Ik0gNDAgMCBMIDAgMCAwIDQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.1;
    z-index: 0;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.contact-text {
    color: white;
    flex: 1;
}

.contact-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.contact-text p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: 0;
}

.contact-actions {
    flex-shrink: 0;
}

.contact-actions .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.contact-actions .btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: var(--bg-secondary);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: var(--spacing-2xl);
    right: var(--spacing-2xl);
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    animation: fadeInUp 0.6s ease forwards;
}

.back-to-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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



.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

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

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content,
    .solution-item,
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-placeholder {
        width: 300px;
        height: 300px;
        font-size: 90px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-item {
        padding: var(--spacing-xl);
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-md);
    }
    
    .section-header {
        min-height: 160px;
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-md);
    }
    
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .hero-content {
        padding: var(--spacing-2xl) 0;
    }
    
    .solution-content h3,
    .about-text h3 {
        font-size: var(--font-size-xl);
    }
    
    .back-to-top-btn {
        bottom: var(--spacing-xl);
        right: var(--spacing-xl);
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .solution-item {
        padding: var(--spacing-lg);
    }
    
    .image-placeholder {
        height: 300px;
        font-size: 72px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-xl);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 70px;
    }
    
    .section-header {
        min-height: 120px;
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .products-section,
    .services-section,
    .solutions-section,
    .about-section,
    .contact-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .product-card,
    .service-item {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .contact-text h2 {
        font-size: var(--font-size-2xl);
    }
    
    .contact-actions .btn {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--font-size-md);
    }
}
