/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Navigation ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: background 0.3s;
}
header.scrolled { background: rgba(255,255,255,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 700; color: #1e3a5f; letter-spacing: 1px; }
.logo i { color: #3b82f6; margin-right: 8px; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-weight: 500; color: #334155; transition: color 0.3s; position: relative; padding-bottom: 4px; }
.nav-menu a::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
    background: #3b82f6; transition: width 0.3s;
}
.nav-menu a:hover, .nav-menu a.active { color: #1e3a5f; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.hamburger { display: none; font-size: 1.6rem; color: #1e3a5f; cursor: pointer; }

/* ===== Hero ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #3b82f6 100%);
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white; position: relative; overflow: hidden;
    padding-top: 70px;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(59,130,246,0.3) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-content h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 35px; }
.btn-primary {
    background: #f59e0b; color: #0f172a; padding: 14px 38px; border-radius: 50px;
    font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s; box-shadow: 0 10px 25px rgba(245,158,11,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(245,158,11,0.4); background: #fbbf24; }

/* ===== Section Common ===== */
.section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.section-title p { color: #64748b; font-size: 1.1rem; }

/* ===== Ranking ===== */
.ranking-section { background: #ffffff; }
.filter-bar { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 24px; border-radius: 30px; border: 2px solid #e2e8f0; background: transparent;
    font-weight: 500; color: #475569; cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: #3b82f6; color: white; border-color: #3b82f6; }
.ranking-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px;
}
.brand-card {
    background: white; border-radius: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    padding: 30px 25px; transition: all 0.4s; border: 1px solid #f1f5f9;
    position: relative; overflow: hidden;
}
.brand-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.brand-card .rank-badge {
    position: absolute; top: 15px; right: 15px; background: #f59e0b; color: white;
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(245,158,11,0.3);
}
.brand-card .brand-icon { font-size: 3rem; margin-bottom: 15px; }
.brand-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; }
.brand-card .brand-tag { display: inline-block; background: #e0f2fe; color: #0284c7; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; margin-bottom: 12px; }
.brand-card p { color: #64748b; font-size: 0.95rem; margin-bottom: 15px; }
.brand-card .brand-stats { display: flex; justify-content: space-between; font-size: 0.9rem; color: #334155; border-top: 1px solid #f1f5f9; padding-top: 15px; margin-top: 10px; }
.brand-card .brand-stats span { display: flex; align-items: center; gap: 5px; }
.brand-card .brand-stats i { color: #3b82f6; }

/* ===== Features ===== */
.features-section { background: #f8fafc; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.feature-card {
    background: white; border-radius: 20px; padding: 40px 30px; text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04); transition: 0.3s; border: 1px solid #e2e8f0;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.feature-card i { font-size: 3rem; color: #3b82f6; margin-bottom: 20px; background: #e0f2fe; padding: 18px; border-radius: 20px; }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.feature-card p { color: #64748b; }

/* ===== Process ===== */
.process-section { background: linear-gradient(135deg, #0f172a, #1e3a5f); color: white; }
.process-section .section-title h2, .process-section .section-title p { color: white; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px; }
.step {
    text-align: center; background: rgba(255,255,255,0.08); backdrop-filter: blur(4px);
    border-radius: 20px; padding: 40px 20px; border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.step:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.step-number { display: inline-block; width: 50px; height: 50px; line-height: 50px; border-radius: 50%; background: #f59e0b; color: #0f172a; font-weight: 700; font-size: 1.3rem; margin-bottom: 20px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { opacity: 0.8; }

/* ===== FAQ ===== */
.faq-section { background: white; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid #e2e8f0; padding: 20px 0; cursor: pointer;
}
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; }
.faq-question i { transition: transform 0.3s; color: #3b82f6; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: #475569; padding-top: 0; }
.faq-item.open .faq-answer { max-height: 200px; padding-top: 15px; }

/* ===== Contact ===== */
.contact-section { background: #f8fafc; }
.contact-form {
    max-width: 550px; margin: 0 auto; background: white; padding: 40px; border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 18px;
}
.contact-form input, .contact-form select {
    padding: 14px 18px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 1rem;
    transition: border 0.3s; background: #f8fafc;
}
.contact-form input:focus, .contact-form select:focus { border-color: #3b82f6; outline: none; }
.btn-block { width: 100%; border: none; cursor: pointer; padding: 16px; font-size: 1.1rem; }
.contact-info { text-align: center; margin-top: 40px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; color: #475569; }
.contact-info i { color: #3b82f6; margin-right: 6px; }

/* ===== Footer ===== */
.footer { background: #0f172a; color: #94a3b8; text-align: center; padding: 30px 0; font-size: 0.95rem; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 20px 0; }
    .nav-menu.active { display: flex; }
    .nav-menu a { padding: 12px 30px; border-bottom: 1px solid #f1f5f9; }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .section { padding: 70px 0; }
    .section-title h2 { font-size: 2rem; }
    .contact-info { flex-direction: column; gap: 15px; }
    .ranking-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .filter-bar { gap: 8px; }
    .filter-btn { padding: 6px 16px; font-size: 0.85rem; }
}