/* ===== GifNeo Common Styles ===== */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Nav */
.nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-left { display: flex; align-items: center; gap: 20px; }
.nav-brand {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; color: #1a1a1a; flex-shrink: 0;
}
.nav-brand svg { width: 28px; height: 28px; }
.nav-brand span { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.nav-brand span em { font-style: normal; color: #ff5722; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
    color: #757575; text-decoration: none; font-size: 13px; font-weight: 500;
    padding: 6px 10px; border-radius: 6px; transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: #ff5722; background: #fff3e0; }
.nav-links a.active { color: #ff5722; background: #fff3e0; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Language Dropdown */
.lang-switch { position: relative; }
.lang-switch-btn {
    display: flex; align-items: center; gap: 5px;
    background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 6px;
    padding: 5px 10px; font-size: 12px; font-weight: 500; color: #757575;
    cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.lang-switch-btn:hover { border-color: #ff5722; color: #1a1a1a; }
.lang-switch-btn svg {
    width: 14px; height: 14px; stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s;
}
.lang-switch:hover .lang-switch-btn svg { transform: rotate(180deg); }
.lang-switch-menu {
    position: absolute; top: calc(100% + 4px); right: 0;
    background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); min-width: 140px; padding: 4px;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity 0.15s, visibility 0.15s, transform 0.15s; z-index: 200;
}
.lang-switch:hover .lang-switch-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch-menu a {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; font-size: 13px; color: #757575;
    text-decoration: none; border-radius: 5px; transition: background 0.15s, color 0.15s;
}
.lang-switch-menu a:hover { background: #fff3e0; color: #ff5722; }
.lang-switch-menu a.active { color: #ff5722; font-weight: 600; }
.lang-switch-menu a .check { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; }
.lang-switch-menu a .check svg { width: 12px; height: 12px; stroke: #ff5722; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.nav-blog { color: #757575; text-decoration: none; font-size: 13px; font-weight: 500; padding: 6px 10px; border-radius: 6px; transition: color 0.2s; }
.nav-blog:hover { color: #ff5722; }

@media (max-width: 768px) { .nav-links { display: none; } .nav { padding: 0 16px; } }

/* Why Section */
.why-section { background: #f5f5f5; padding: 56px 24px; }
.why-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.why-inner h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; color: #1a1a1a; }
.why-inner h2 span { color: #ff5722; }
.why-subtitle { font-size: 16px; color: #757575; margin-bottom: 36px; }
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
@media (max-width: 768px) { .why-cards { grid-template-columns: 1fr; } }
.why-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    padding: 24px 20px; text-align: center; display: flex; flex-direction: column; gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.why-card:hover { border-color: #ff5722; box-shadow: 0 4px 16px rgba(255, 87, 34, 0.12); transform: translateY(-2px); }
.why-card-icon {
    width: 44px; height: 44px; border-radius: 10px; background: #fff3e0;
    display: inline-flex; align-items: center; justify-content: center; margin: 0 auto;
}
.why-card-icon svg { width: 22px; height: 22px; stroke: #ff5722; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-size: 15px; font-weight: 600; color: #1a1a1a; }
.why-card p { font-size: 13px; color: #757575; line-height: 1.5; }
.why-badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.why-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid #e0e0e0; border-radius: 20px;
    padding: 6px 14px; font-size: 13px; color: #1a1a1a;
}
.why-badge svg { width: 14px; height: 14px; stroke: #4caf50; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.footer { background: #fff; border-top: 1px solid #e0e0e0; padding: 40px 24px 24px; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #1a1a1a; }
.footer-brand-logo svg { width: 24px; height: 24px; }
.footer-brand-logo span { font-size: 16px; font-weight: 700; }
.footer-brand-logo span em { font-style: normal; color: #ff5722; }
.footer-brand p { font-size: 13px; color: #757575; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: #1a1a1a; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 13px; color: #757575; text-decoration: none; padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: #ff5722; }
.footer-bottom {
    max-width: 1400px; margin: 28px auto 0; padding-top: 18px;
    border-top: 1px solid #e0e0e0; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom span { font-size: 12px; color: #9e9e9e; }
.footer-bottom span a { color: #9e9e9e; text-decoration: none; }
.footer-bottom span a:hover { color: #ff5722; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 12px; color: #9e9e9e; text-decoration: none; }
.footer-bottom-links a:hover { color: #ff5722; }
