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

:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #1f2937;
    --text: #374151;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo svg {
    color: var(--primary);
}

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

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}

.lang-switcher a {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.lang-switcher a.active {
    background: var(--primary);
    color: white;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 102;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--secondary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open {
    overflow: hidden;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 5rem 0;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Features */
.features {
    padding: 4rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    max-width: 30rem;
    margin-right: auto;
    margin-left: auto;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #fef3c7;
    color: var(--primary-dark);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Services */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card.highlight-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* About */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.8;
}

.about-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #fef3c7;
    border-radius: 1rem;
    margin: 2rem 0;
}

.about-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.about-label {
    color: var(--text);
    font-weight: 600;
}

/* Process */
.process {
    background: var(--bg-light);
}

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

.process-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.process-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #374151 100%);
    color: white;
}

.cta .section-subtitle {
    background: rgba(245, 158, 11, 0.2);
    color: var(--primary);
}

.cta .section-title {
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: var(--primary);
}

.footer-col h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.875rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header {
        box-shadow: 0 4px 18px rgba(31, 41, 55, 0.08);
    }

    .nav {
        min-height: 72px;
        padding: 0.75rem 0;
    }

    .logo img {
        max-width: min(180px, 68vw);
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(17, 24, 39, 0.52);
        z-index: 99;
        animation: menuFadeIn 0.25s ease-out;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: fixed;
        top: 0;
        right: 0;
        width: min(88vw, 380px);
        height: 100dvh;
        padding: 6.25rem 1.5rem 2rem;
        background: var(--bg);
        box-shadow: -12px 0 36px rgba(31, 41, 55, 0.16);
        overflow-y: auto;
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
        z-index: 101;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        min-height: 56px;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1.05rem;
    }

    .nav-menu a::after {
        content: '\2192';
        margin-left: auto;
        color: var(--primary);
        font-size: 1.25rem;
    }

    .lang-switcher {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        margin-top: 1.5rem;
        padding: 1.25rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .nav-menu .lang-switcher a {
        justify-content: center;
        min-height: 44px;
        padding: 0.5rem;
        border: 1px solid var(--border);
        border-radius: 0.5rem;
        font-size: 0.82rem;
    }

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

    body.menu-open .nav-menu {
        transform: translateX(0);
        visibility: visible;
    }

    body.menu-open .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.menu-open .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 3rem 0;
    }

    .feature-card {
        text-align: center;
    }

    .feature-icon {
        display: flex;
        justify-content: center;
    }

    .feature-card p {
        max-width: 30rem;
        margin-right: auto;
        margin-left: auto;
    }

    .service-card {
        text-align: center;
    }

    .service-icon {
        display: flex;
        justify-content: center;
    }

    .service-card p {
        max-width: 30rem;
        margin-right: auto;
        margin-left: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-grid,
    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

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

.feature-card,
.service-card,
.process-card {
    animation: fadeInUp 0.6s ease-out;
}

.logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}


/* Clickable service cards */
a.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

a.service-card:hover h3 {
    color: var(--primary);
}


/* Clickable highlight CIFER card */
a.service-card.highlight-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: var(--primary);
}

a.service-card.highlight-card:hover {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.3);
}
