:root {
    --bg-color: #050810;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary: #0ea5e9;
    --accent: #ec4899;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Gradient Blob Background */
.blob-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1), transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.08), transparent 40%);
    z-index: -1;
    animation: rotateBlob 40s linear infinite;
    pointer-events: none;
}

@keyframes rotateBlob {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.dark-glass {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Typography & Layout */
.section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    z-index: 1000;
    border-radius: 0 0 20px 20px;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar .logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.6rem 1.5rem;
}

.btn-primary-outline:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 1.5rem;
    padding-top: 5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(to right, #8b5cf6, #0ea5e9, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    border-radius: 24px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.15);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.case-card {
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.15);
}

.case-card:hover .case-img-wrapper img {
    transform: scale(1.05);
}

.case-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.case-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-content {
    padding: 2.5rem;
}

.case-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.case-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Workflow Section */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.step {
    padding: 2rem;
    text-align: center;
    position: relative;
    border-radius: 20px;
    background: rgba(255,255,255,0.01);
}

.step-num {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    font-style: italic;
}

.step h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-card {
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Language Switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    padding: 0.4rem 0;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    box-sizing: border-box;
}
.lang-switch:hover {
    background: rgba(255,255,255,0.1);
    color: var(--primary) !important;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card > p {
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.info-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.info-item:hover {
    background: rgba(255,255,255,0.08);
}

.info-item span {
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.info-item strong {
    color: #fff;
}

.qr-box {
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
    background: rgba(0, 0, 0, 0.4);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer .seo-text {
    font-size: 0.8rem;
    opacity: 0.4;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media screen and (max-width: 900px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none; /* Hide on mobile to keep it simple and clean */
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .contact-card {
        padding: 3rem 1.5rem;
    }
    
    .contact-card h2 {
        font-size: 2rem;
    }

    .info-item {
        width: 100%;
        font-size: 1rem;
    }
}
