/* ===== ERPX Landing Page Styles ===== */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #0ea5e9 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(139,92,246,0.05) 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 40px rgba(99,102,241,0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ===== Navbar ===== */
.navbar-landing {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar-landing.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.navbar-brand-landing {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-brand-landing .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.nav-link-landing {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link-landing:hover {
    color: var(--white) !important;
}

.btn-nav-demo {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
    padding: 0.55rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav-demo:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
    color: white !important;
}

/* ===== Hero ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-top: 0.2rem;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-mockup {
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1rem;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-body {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mockup-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-line {
    height: 10px;
    border-radius: 5px;
    flex: 1;
}

.mockup-line-short {
    height: 10px;
    border-radius: 5px;
    width: 60%;
}

.mockup-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.06);
}

/* ===== Section Common ===== */
.section-padding {
    padding: 6rem 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ===== Features ===== */
.feature-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: white;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--dark);
}

.feature-text {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== How it Works ===== */
.bg-light-custom {
    background: var(--light);
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--dark);
}

.step-text {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.7;
}

.step-connector {
    position: absolute;
    top: 4.5rem;
    right: -15%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), transparent);
    opacity: 0.3;
}

/* ===== Modules ===== */
.module-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.module-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    color: white;
}

.module-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.module-desc {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ===== Tech Stack ===== */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    transition: all 0.2s;
}

.tech-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ===== CTA ===== */
.cta-section {
    background: var(--gradient-hero);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    border-radius: 50%;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer-section {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-title {
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-social a {
    color: rgba(255,255,255,0.4);
    font-size: 1.2rem;
    margin-left: 1rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--primary-light);
}

/* ===== Responsive ===== */
@@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .step-connector {
        display: none;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

@@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary, .btn-hero-secondary {
        text-align: center;
        justify-content: center;
    }
}