/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --background: #ffffff;
    --surface: #f8fafc;
    --surface-dark: #f1f5f9;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    background: var(--surface);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.logo-icon {
    color: var(--primary);
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--surface-dark);
    border-color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Page Hero ===== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-hero .hero-bg {
    background: var(--gradient-2);
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-small {
    padding: 140px 0 60px;
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    background: var(--surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-light);
}

/* ===== Services Preview ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== Stats Section ===== */
.stats {
    background: var(--gradient-1);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-2);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 32px;
}

/* ===== About Page ===== */
.about-intro {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 17px;
}

.about-image .image-placeholder {
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder span {
    font-size: 120px;
    opacity: 0.3;
}

/* ===== Mission Vision ===== */
.mission-vision {
    background: var(--surface);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mv-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
}

.mv-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
}

.mv-card p {
    color: var(--text-light);
}

/* ===== Industries ===== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.industry-card {
    background: var(--surface);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.industry-card:hover {
    background: var(--primary);
    color: white;
}

.industry-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.industry-card h4 {
    font-size: 14px;
    font-weight: 500;
}

/* ===== Company Info ===== */
.info-card {
    background: var(--surface);
    padding: 50px;
    border-radius: var(--radius-lg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    color: var(--text);
}

/* ===== Services Page ===== */
.services-main {
    padding: 80px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 50px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-icon {
    font-size: 80px;
    text-align: center;
}

.service-detail-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 17px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 15px;
}

.service-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* ===== Process Section ===== */
.process {
    background: var(--surface);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 30px;
    font-size: 24px;
    color: var(--primary);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-light);
    font-size: 15px;
}


/* ===== Contact Page ===== */
.contact-main {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    font-size: 32px;
}

.contact-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-card-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Map Section ===== */
.map-section {
    background: var(--surface);
    padding: 80px 0;
}

.map-placeholder {
    background: var(--gradient-2);
    border-radius: var(--radius-lg);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: white;
}

.map-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.map-content p {
    opacity: 0.9;
    margin-bottom: 4px;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    padding: 30px;
    background: var(--surface);
    border-radius: var(--radius);
    transition: var(--transition);
}

.faq-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 80px 0;
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 20px 0 12px;
}

.legal-section p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: var(--text-light);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.legal-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.legal-contact {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    margin-top: 20px;
}

.legal-contact p {
    margin-bottom: 8px;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    display: block;
    padding: 12px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--surface);
    color: var(--primary);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-grid,
    .services-grid,
    .stats-grid,
    .process-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .info-card {
        padding: 30px;
    }
}