/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #1a56db;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --green: #10b981;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.1);
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== Nav ========== */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { font-size: 1.25rem; font-weight: 700; color: var(--dark); white-space: nowrap; }
.nav-links { display: flex; gap: 8px; flex: 1; }
.nav-links a {
    padding: 8px 14px; border-radius: 8px; font-size: .9rem; font-weight: 500;
    color: var(--gray); transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: #eff6ff; }
.lang-switch { display: flex; gap: 4px; margin-left: auto; flex-shrink: 0; }
.lang-btn {
    padding: 4px 10px; border-radius: 6px; font-size: .8rem; font-weight: 600;
    color: var(--gray); border: 1px solid #e2e8f0; transition: all .2s;
}
.lang-btn:hover, .lang-btn.active { color: var(--white); background: var(--primary); border-color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }

/* ========== Hero ========== */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a365d 100%);
    color: var(--white); padding: 100px 0 80px; text-align: center;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,.15), transparent 70%);
}
.hero-badge {
    display: inline-block; padding: 6px 16px; background: rgba(59,130,246,.2);
    border: 1px solid rgba(59,130,246,.3); border-radius: 20px;
    font-size: .85rem; color: #93c5fd; margin-bottom: 24px;
}
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.gradient-text {
    background: linear-gradient(90deg, #60a5fa, #fbbf24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.2rem; color: #94a3b8; max-width: 640px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 20px 16px; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: #fbbf24; }
.stat-label { font-size: .8rem; color: #94a3b8; margin-top: 4px; }

/* ========== Buttons ========== */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: 10px; font-weight: 600;
    font-size: .95rem; transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #1d4ed8; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: .85rem; border-radius: 8px; }

/* ========== Sections ========== */
.section { padding: 80px 0; }
.alt-bg { background: var(--light); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block; padding: 4px 14px; background: #eff6ff; color: var(--primary);
    border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 12px;
}
.section-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--gray); font-size: 1.1rem; }

/* ========== Card Grids ========== */
.card-grid { display: grid; gap: 24px; }
.three-col { grid-template-columns: repeat(3,1fr); }
.four-col { grid-template-columns: repeat(4,1fr); }

.tool-card {
    background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius);
    padding: 32px; transition: all .3s;
}
.tool-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tool-icon { font-size: 2.5rem; margin-bottom: 16px; }
.tool-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.tool-card p { color: var(--gray); font-size: .9rem; margin-bottom: 16px; }
.feature-list { list-style: none; margin-bottom: 20px; }
.feature-list li { padding: 4px 0; font-size: .85rem; color: var(--gray); }
.feature-list li::before { content: '✓ '; color: var(--green); font-weight: 700; }

.guide-card {
    display: block; background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius);
    padding: 28px; transition: all .3s;
}
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.guide-tag {
    display: inline-block; padding: 2px 10px; background: #fef3c7; color: #92400e;
    border-radius: 6px; font-size: .75rem; font-weight: 600; margin-bottom: 12px;
}
.guide-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.guide-card p { color: var(--gray); font-size: .85rem; }

.dir-card {
    background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius);
    padding: 24px; text-align: center; transition: all .3s;
}
.dir-card:hover { border-color: var(--primary-light); }
.dir-icon { font-size: 2rem; margin-bottom: 8px; }
.dir-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.dir-card p { font-size: .8rem; color: var(--gray); }

.blog-card {
    display: block; background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius);
    padding: 28px; transition: all .3s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.blog-date { font-size: .8rem; color: var(--primary); font-weight: 600; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin: 8px 0; color: var(--dark); }
.blog-card p { color: var(--gray); font-size: .85rem; }

/* ========== CTA ========== */
.cta-section { background: linear-gradient(135deg, #0f172a, #1e3a5f); color: var(--white); }
.cta-box { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-box p { color: #94a3b8; margin-bottom: 28px; }
.cta-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-input {
    padding: 12px 20px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1); color: var(--white); font-size: .95rem;
    min-width: 260px;
}
.cta-input::placeholder { color: #64748b; }
.cta-input:focus { outline: none; border-color: var(--primary-light); }
.sub-msg { color: var(--green); font-weight: 600; }
.cta-note { font-size: .8rem; color: #64748b; margin-top: 16px; }

/* ========== Disclaimer ========== */
.disclaimer-bar { background: #fef3c7; padding: 16px 0; }
.disclaimer-bar p { font-size: .8rem; color: #92400e; }

/* ========== Footer ========== */
.footer { background: var(--dark); color: #94a3b8; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-desc { font-size: .85rem; margin-bottom: 12px; }
.footer-lang a { color: #60a5fa; }
.footer-col h4 { color: var(--white); font-weight: 700; margin-bottom: 12px; }
.footer-col a { display: block; font-size: .85rem; color: #94a3b8; padding: 3px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; }
.footer-bottom p { font-size: .75rem; color: #64748b; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .three-col { grid-template-columns: repeat(2,1fr); }
    .four-col { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid #e2e8f0; box-shadow: var(--shadow); }
    .menu-toggle { display: block; }
    .lang-switch { margin-left: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { grid-template-columns: repeat(2,1fr); }
    .three-col, .four-col { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-form { flex-direction: column; align-items: stretch; }
    .cta-input { min-width: auto; }
}
