:root {
    /* Core Background Colors */
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Accent Colors */
    --accent-glow: #2563eb;
    --accent-vibrant: #2563eb;
    --accent-purple: #7c3aed;
    --accent-gradient: linear-gradient(135deg, var(--accent-vibrant) 0%, var(--accent-purple) 100%);
    --accent-gradient-text: linear-gradient(135deg, var(--accent-vibrant) 0%, var(--accent-purple) 100%);
    
    /* UI Elements */
    --border-glass: rgba(15, 23, 42, 0.1);
    --primary-shadow: 0 4px 24px rgba(37, 99, 235, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

/* Utilities */
.text-gradient {
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    border-color: rgba(15, 23, 42, 0.2);
    background: rgba(15, 23, 42, 0.05);
}

/* Navbar styles */
.lang-toggle-btn {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
    background: rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 23, 42, 0.2);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border-glass);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    padding: 2rem;
    width: 100%;
    transform: translateY(-20px);
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.close-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--accent-vibrant);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Base Sections */
section {
    padding: 6rem 0;
    position: relative;
}

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

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Glass Card */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    box-shadow: var(--glass-shadow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-vibrant);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-vibrant);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-trust {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Dashboard Mockup */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.dashboard-mockup {
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    border: 1px solid var(--border-glass);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-glass);
}
.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #eab308; }
.dots span:nth-child(3) { background: #22c55e; }

.mockup-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(241, 245, 249, 0.6);
    border-radius: 0.5rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.mockup-stat:hover {
    background: rgba(241, 245, 249, 0.9);
}

.mockup-stat.card-glow {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.1);
}

.mockup-stat i:not(.status-success i, .status-pending i) {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.mockup-stat .stat-title {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.mockup-stat span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.status-success {
    margin-left: auto;
    color: #22c55e;
}
.status-pending {
    margin-left: auto;
    color: var(--accent-vibrant);
}

/* Background Blurs */
.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.blur-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    opacity: 0.2;
}

.blur-2 {
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--accent-vibrant);
    opacity: 0.15;
}

/* Problem Section */
.problem-section {
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-glass);
}

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

.pain-card {
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: var(--bg-glass-hover);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: var(--bg-glass);
}

.icon-box.warning { color: #ef4444; }
.icon-box.danger { color: #eab308; }
.icon-box.alert { color: #3b82f6; }

.pain-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pain-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    position: relative;
    z-index: 1;
}

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

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.border-glow {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Social Proof */
.social-proof {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2.5rem;
}

.stars {
    color: #eab308;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 5px;
}

.review {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.client-name {
    margin: 0;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Bottom CTA */
.cta-box {
    padding: 5rem 2rem;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

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

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.link-group h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--accent-vibrant);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Image Styles */
.styled-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
    object-fit: cover;
}

/* About Section */
.about-section {
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
}

/* CTA Split */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    text-align: left;
}

.cta-split .cta-content p {
    margin: 0 0 2.5rem 0;
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    section {
        padding: 4rem 0;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    .hero-cta {
        justify-content: center;
    }
    h2.section-title {
        font-size: 2rem;
    }
    .cta-split {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .footer-brand p {
        margin: 1rem auto 0;
    }
}
