:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #64748b;
    --accent: #f59e0b;
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-theme {
    --bg-light: #0f172a;
    --bg-alt: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(30, 41, 59, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.alt-bg {
    background-color: var(--bg-alt);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-extra {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background: var(--bg-alt);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

.theme-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-main);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--bg-alt);
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-hero-card {
    width: 100%;
    max-width: 450px;
    z-index: 2;
}

.hero-card-header {
    background: rgba(0, 0, 0, 0.05);
    padding: 10px 15px;
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.7;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.hero-card-body {
    padding: 30px;
    background: var(--glass-bg);
}

.code-text {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--primary);
}

.code-text .k {
    color: #d73a49;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: float 10s infinite alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(37, 99, 235, 0.2);
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(245, 158, 11, 0.15);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s !important;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 40px);
    }
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.divider.left {
    margin: 15px 0;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 45px;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service_list {
    margin-top: 20px;
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Omnichannel & Advanced AI */
.omnichannel {
    background: radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.03), transparent);
}

.omni-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.omni-card {
    padding: 50px;
    text-align: center;
    background: var(--bg-light);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.omni-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.omni-detail {
    padding: 60px;
    background: var(--bg-alt);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.omni-detail h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--primary);
}

.cases-list {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.cases-list strong {
    color: var(--text-main);
    display: inline-block;
    min-width: 120px;
}

/* Workflow */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
}

.step h3 {
    margin-bottom: 10px;
    position: relative;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.port-item {
    padding: 40px;
    text-align: left;
}

.port-item h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* About */
.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-stats {
    flex: 0.5;
    display: grid;
    gap: 20px;
}

.stat-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-alt);
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {

    .hero-grid,
    .about-flex,
    .faq-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-flex {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .divider.left {
        margin: 15px auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}