/* ceee.ai Override CSS */
/* Header สีขาว + Logo ใหญ่ขึ้น + ตัวหนังสือชัดเจน */

:root {
    --navy: #1d3557;
    --blue: #2d4a6f;
    --teal: #2ec4b6;
    --coral: #ff6b6b;
    --light-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

/* ===== HEADER ===== */
header {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Logo ใหญ่ขึ้น */
.logo img {
    height: 70px !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.logo-text {
    font-family: 'Nunito', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
}

/* Nav links สีเข้มชัดเจน */
nav ul li a {
    color: var(--navy) !important;
    font-weight: 600 !important;
}

nav ul li a:hover {
    color: var(--teal) !important;
    background-color: rgba(46, 196, 182, 0.1) !important;
}

/* Menu toggle สำหรับ mobile */
.menu-toggle {
    color: var(--navy) !important;
}

/* User dropdown */
.user-dropdown {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

.user-dropdown li a {
    color: var(--navy) !important;
}

.user-dropdown li a:hover {
    background: var(--light-bg) !important;
    color: var(--teal) !important;
}

/* Language dropdown */
.language-dropdown {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
}

.language-dropdown li a {
    color: var(--navy) !important;
}

/* ===== FONTS ===== */
body {
    font-family: 'Sarabun', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, 
.btn, .btn-pricing, nav {
    font-family: 'Nunito', sans-serif !important;
}

/* ===== BUTTONS ===== */
.btn, .btn-pricing, .btn-enterprise {
    background: linear-gradient(135deg, var(--teal), #26a69a) !important;
    border: none !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46,196,182,0.4) !important;
}

/* ===== HIGHLIGHT COLORS ===== */
.highlight, .text-gradient {
    color: var(--teal) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
}

/* ===== ECM BADGE ===== */
.ecm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--teal), #26a69a);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ===== ECM HIGHLIGHT CARD ===== */
.ecm-highlight {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%) !important;
    border: 3px solid var(--teal) !important;
    position: relative;
    overflow: hidden;
}

.ecm-highlight::before {
    content: '🚀 ระบบใหม่';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--teal);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    transform: rotate(45deg);
    z-index: 10;
}

.ecm-highlight .feature-content h3,
.ecm-highlight .feature-content p {
    color: white !important;
}

/* ===== DEPLOY OPTIONS ===== */
.deploy-options {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.deploy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.deploy-badge i {
    color: var(--teal);
}

/* ===== TECH STACK SECTION ===== */
.tech-stack {
    background: var(--light-bg);
    padding: 60px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 15px;
    display: block;
}

.tech-item h4 {
    color: var(--navy);
    margin-bottom: 5px;
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* ===== CODE BLOCK ===== */
.code-block {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block .comment { color: #6a9955; }
.code-block .command { color: #4ec9b0; }
.code-block .string { color: #ce9178; }

/* ===== FOOTER ===== */
.footer-logo img {
    height: 60px !important;
}

.footer-logo-text {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .logo img {
        height: 50px !important;
    }
    
    .logo-text {
        font-size: 1.4rem !important;
    }
    
    nav.active {
        background: white !important;
    }
    
    nav.active ul li a {
        color: var(--navy) !important;
    }
    
    .deploy-options {
        justify-content: center;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
