/* ==========================================================================
   EazyTrax.Com - Clean Modern Enterprise Typography & Layout
   ========================================================================== */

:root {
    --brand-primary: #2563eb;
    --brand-primary-hover: #1d4ed8;
    --brand-dark: #0f172a;
    --brand-slate: #334155;
    --brand-slate-light: #64748b;
    --surface-bg: #ffffff;
    --surface-subtle: #f8fafc;
    --surface-card: #ffffff;
    --border-subtle: #e2e8f0;
    --border-hover: #cbd5e1;
}

/* Base Body with Google Font Plus Jakarta Sans & Noto Sans Thai */
body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    background-color: #ffffff;
    line-height: 1.65;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Crisp Clean Headings */
.hero-heading {
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-weight: 700;
    color: #0f172a;
}

.section-heading {
    letter-spacing: -0.02em;
    line-height: 1.22;
    font-weight: 700;
    color: #0f172a;
}

/* Minimalist Soft Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Clean Airy Cards */
.ez-card-interactive {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.ez-card-interactive:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

/* Live Pulse Indicator */
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
}

/* Feature Check Item */
.feature-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
}

.feature-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ==========================================================================
   Enterprise Mega-Menu Navigation System
   ========================================================================== */

.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 64px;
}

.nav-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    cursor: pointer;
    background: transparent;
    border: none;
}

.nav-dropdown-btn:hover,
.nav-item-dropdown:hover .nav-dropdown-btn {
    color: #0f172a;
    background-color: #f8fafc;
}

.nav-dropdown-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
    color: #94a3b8;
}

.nav-item-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
    color: #2563eb;
}

/* Dropdown Container */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.25rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 100;
    overflow: hidden;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-products {
    width: 660px;
    left: -100px;
}

.mega-menu-solutions {
    width: 560px;
    left: -60px;
}

.mega-menu-platform {
    width: 480px;
    left: -50px;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.625rem;
    transition: all 0.15s ease;
    text-decoration: none;
}

.mega-menu-item:hover {
    background-color: #f8fafc;
}

.mega-menu-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.mega-menu-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.35;
    margin-top: 0.125rem;
}

.mega-menu-category-header {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    padding: 0.25rem 0.75rem 0.5rem 0.75rem;
}

.mega-menu-footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}
