/* ===== CSS Variables ===== */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --secondary-dark: #059669;
    --accent: #F59E0B;
    --dark: #1F2937;
    --dark-light: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --light: #F3F4F6;
    --lighter: #F9FAFB;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo-mark {
    color: var(--primary);
}

.logo-success {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch {
    padding: 8px 16px;
    background: var(--light);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    color: var(--white);
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    top: 50px;
    left: 50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    top: 100px;
    left: 100px;
    animation-delay: -2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    top: 150px;
    left: 150px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 18px;
}

/* ===== Features Section ===== */
.features {
    background: var(--lighter);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ===== Services Preview ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--light);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ===== Stats Section ===== */
.stats {
    background: var(--gradient-secondary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--dark);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--gray-light);
    font-size: 18px;
    margin-bottom: 30px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin: 20px 0;
    font-size: 15px;
}

.footer-contact p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

.company-info {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.8;
}


/* ===== About Page ===== */
.page-hero {
    background: var(--gradient-primary);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.about-intro {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 16px;
}

.about-image {
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
}

.values-section {
    background: var(--lighter);
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.team-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-card span {
    color: var(--gray);
    font-size: 14px;
}

/* ===== Services Page ===== */
.services-detail {
    padding: 80px 0;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--light);
}

.service-detail-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) > * {
    direction: ltr;
}

.service-detail-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-detail-content ul {
    margin-bottom: 25px;
}

.service-detail-content li {
    color: var(--gray);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.service-detail-visual {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
}

/* ===== Solutions Page ===== */
.solutions-intro {
    padding: 80px 0;
    text-align: center;
}

.solutions-intro p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 18px;
}

.solutions-grid-section {
    background: var(--lighter);
    padding: 80px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.solution-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.solution-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.solution-features span {
    background: var(--light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--dark);
}

.industries-section {
    padding: 80px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.industry-item {
    background: var(--light);
    padding: 25px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.industry-item:hover {
    background: var(--primary);
    color: var(--white);
}

.industry-item span {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-item-text p {
    color: var(--gray);
    font-size: 14px;
}

.contact-form {
    background: var(--lighter);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

.map-section {
    background: var(--lighter);
    padding: 80px 0;
}

.map-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.map-placeholder {
    background: var(--light);
    height: 300px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 20px;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 80px 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--dark);
}

.legal-container h2:first-child {
    margin-top: 0;
}

.legal-container p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-container ul {
    margin: 15px 0 25px 25px;
    list-style: disc;
}

.legal-container li {
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-container a {
    color: var(--primary);
}

.legal-container a:hover {
    text-decoration: underline;
}

.last-updated {
    background: var(--light);
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--gray);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid,
    .services-grid,
    .values-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .service-detail-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card:nth-child(even) {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}