:root {
    --bg-deep: #050507;
    --bg-dark: #0a0a0c;
    --accent-blue: #3b82f6;
    --accent-indigo: #6366f1;
    --text-primary: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --grad: linear-gradient(135deg, #3b82f6, #818cf8);
    --container-max: 1200px;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gradient-blue {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
.main-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 7, 0.82);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span { color: var(--accent-blue); }

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    padding: 0.45rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: var(--text-primary);
}

.mobile-nav {
    display: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover:not(.btn-cta) { color: var(--text-primary); }

.lang-toggle-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
}

.lang-btn {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted) !important;
}

.lang-btn.active { color: var(--accent-blue) !important; }

.btn-cta {
    background: var(--grad);
    padding: 0.7rem 1.4rem;
    border-radius: 2rem;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

/* Hero */
.hero-main {
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 700;
    transition: 0.4s;
}

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

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
    background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Services */
.services-section {
    padding: 6rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.02);
}

.service-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }

.blog-card-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.blog-card-excerpt {
    color: var(--text-muted);
    margin: 1rem 0 1.4rem;
}

.article-wrap {
    max-width: 860px;
}

.article-meta {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.article-excerpt {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.article-paragraph {
    margin-bottom: 1rem;
    color: #e2e8f0;
}

/* About */
.about-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.vision-img {
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-content .section-tag {
    color: var(--accent-blue);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.about-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }

/* FAQ */
.faq-aeo { padding: 6rem 0; }

.section-title { text-align: center; margin-bottom: 3rem; font-size: 2rem; }

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

/* Footer */
.main-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 0.5rem 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

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

.footer-legal {
    color: var(--text-muted);
}

/* Reveal Elements */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .container { padding: 0 1.5rem; }
    .hero-grid, .about-grid, .grid-3, .faq-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 3rem; }
    .main-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem 1.5rem;
        border-top: 1px solid var(--border);
        background: rgba(5, 5, 7, 0.95);
    }
    .mobile-nav[hidden] {
        display: none;
    }
    .mobile-nav a {
        text-decoration: none;
        color: var(--text-muted);
        font-weight: 500;
    }
    .mobile-nav .btn-cta {
        text-align: center;
    }
    .hero-btns {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
