* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode {
    background: #0f0f1a;
    color: #e0e0e0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: background 0.3s;
}

body.dark-mode header {
    background: rgba(15,15,26,0.9);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e94560, #0f3460);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-weight: 500;
}

.nav-links a {
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 3px;
    transition: 0.3s;
}

body.dark-mode .menu-toggle span {
    background: #e0e0e0;
}

.dark-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 0.9rem;
}

body.dark-mode .dark-toggle {
    border-color: #555;
    color: #e0e0e0;
}

.hero {
    margin-top: 70px;
    padding: 80px 0;
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(233,69,96,0.15), transparent 60%);
    animation: heroGlow 8s infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0,0); }
    100% { transform: translate(30px,30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #e94560;
    color: #fff;
    box-shadow: 0 8px 25px rgba(233,69,96,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233,69,96,0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e94560;
    margin: 12px auto 0;
    border-radius: 4px;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

body.dark-mode .card {
    background: #1a1a2e;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card p {
    line-height: 1.7;
    color: #555;
}

body.dark-mode .card p {
    color: #bbb;
}

.badge {
    display: inline-block;
    background: #e94560;
    color: #fff;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.brand-visual {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

body.dark-mode .brand-visual {
    background: #12121e;
}

footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 50px 0 30px;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

footer h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a:hover {
    color: #e94560;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9rem;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 18px 0;
    cursor: pointer;
}

body.dark-mode .faq-item {
    border-color: #333;
}

.faq-question {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s;
    padding-top: 0;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 15px;
}

.back-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(233,69,96,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s, transform 0.7s;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    body.dark-mode .nav-links {
        background: rgba(15,15,26,0.98);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    footer .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    footer .container {
        grid-template-columns: 1fr;
    }

    .hero p {
        font-size: 1rem;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: #e94560;
}

.num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #e94560;
}

body.dark-mode .num {
    color: #ff6b81;
}

.svg-icon {
    width: 60px;
    height: 60px;
    display: block;
    margin-bottom: 16px;
}

.svg-icon-small {
    width: 40px;
    height: 40px;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
}

body.dark-mode .search-box input {
    background: #1a1a2e;
    border-color: #333;
    color: #e0e0e0;
}

.search-box button {
    padding: 12px 28px;
    border: none;
    background: #e94560;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #888;
}

.breadcrumb a {
    color: #e94560;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    margin: 3px;
}

body.dark-mode .tag {
    background: #2a2a3e;
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    margin: 8px;
    min-width: 120px;
}

body.dark-mode .partner-logo {
    background: #1e1e30;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e94560;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #e94560;
    border-radius: 50%;
}

.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
    margin: 30px 0;
}

body.dark-mode .author-box {
    background: #1e1e30;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e94560;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
}