:root {
    --primary: #F51AC6;
    --primary-glow: rgba(245, 26, 198, 0.3);
    --secondary: #180D1A;
    --accent: #81A6E3;
    --bg: #120B12;
    --surface: #241724;
    --text: #EEE9ED;
    --text-muted: #94628C;
    --border: #5D3F55;
    --success: #1CE55F;
    --danger: #D5221C;
    --gradient: linear-gradient(135deg, #F51AC6 0%, #81A6E3 100%);
    --gradient-dark: linear-gradient(135deg, #120B12 0%, #241724 100%);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(245, 26, 198, 0.2);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Prompt', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }

strong { color: var(--primary); font-weight: 600; }

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(18, 11, 18, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: transform var(--transition), background var(--transition);
}
.site-header.scrolled { background: rgba(18, 11, 18, 0.98); box-shadow: var(--shadow); }
.site-header.hide { transform: translateY(-100%); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--gradient); color: #fff; font-weight: 900; font-size: 16px; letter-spacing: -1px;
}
.logo-text { font-size: 1.4rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-desktop { display: flex; align-items: center; gap: 8px; }
.nav-desktop .nav-link {
    padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.9rem;
    color: var(--text); transition: all var(--transition);
}
.nav-desktop .nav-link:hover, .nav-desktop .nav-link.active {
    color: var(--primary); background: rgba(245, 26, 198, 0.1);
}

.btn-cta, .btn-cta-mobile {
    display: inline-flex; align-items: center; padding: 10px 24px;
    background: var(--gradient); color: #fff; font-weight: 700; font-size: 0.9rem;
    border-radius: 50px; transition: all var(--transition);
    box-shadow: 0 4px 16px var(--primary-glow);
}
.btn-cta:hover, .btn-cta-mobile:hover { transform: translateY(-2px); box-shadow: 0 6px 24px var(--primary-glow); color: #fff; }

.hamburger {
    display: none; flex-direction: column; gap: 5px; padding: 8px;
    background: none; border: none; cursor: pointer; z-index: 1001;
}
.hamburger span {
    display: block; width: 26px; height: 2px; background: var(--text);
    transition: all var(--transition); border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
    display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background-color: #120B12;
    flex-direction: column; padding: 30px 20px; gap: 8px; z-index: 9999;
    transform: translateX(100%); transition: transform var(--transition);
    overflow-y: auto;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile .nav-link {
    display: block; padding: 14px 20px; font-size: 1.1rem; font-weight: 500;
    color: var(--text); border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav-mobile .nav-link:hover, .nav-mobile .nav-link.active { background: rgba(245, 26, 198, 0.1); color: var(--primary); }
.nav-mobile .btn-cta-mobile { margin-top: 16px; justify-content: center; }

/* Main */
.site-main { margin-top: 70px; min-height: 60vh; }

/* Hero */
.hero {
    position: relative; padding: 80px 0 60px; overflow: hidden;
    background: var(--gradient-dark);
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -30%; width: 80%; height: 200%;
    background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 20px; }
.hero h1 .gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 30px; line-height: 1.9; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px;
    background: var(--gradient); color: #fff; font-weight: 700; font-size: 1rem;
    border-radius: 50px; border: none; cursor: pointer;
    transition: all var(--transition); box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px var(--primary-glow); color: #fff; }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px;
    background: transparent; color: var(--text); font-weight: 600; font-size: 1rem;
    border-radius: 50px; border: 2px solid var(--border); cursor: pointer;
    transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* Banner Slider */
.banner-section { padding: 0; }
.banner-slider { position: relative; overflow: hidden; border-radius: 0; }
.banner-track { display: flex; transition: transform 0.6s ease; }
.banner-slide { min-width: 100%; position: relative; }
.banner-slide img { width: 100%; height: 400px; object-fit: cover; border-radius: 0; }
.banner-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(18, 11, 18, 0.9));
    padding: 30px; display: flex; justify-content: center;
}
.banner-nav { display: flex; gap: 8px; margin-top: 16px; justify-content: center; padding: 16px 0; }
.banner-dot {
    width: 12px; height: 12px; border-radius: 50%; background: var(--border);
    border: none; cursor: pointer; transition: all var(--transition);
}
.banner-dot.active { background: var(--primary); box-shadow: 0 0 10px var(--primary-glow); width: 32px; border-radius: 6px; }

/* Sections */
.section { padding: 70px 0; }
.section-dark { background: var(--surface); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { margin-bottom: 12px; }
.section-title h2 .gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--primary); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); border-radius: 0; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-muted); }
.card-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; text-align: center; transition: all var(--transition);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.review-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; transition: all var(--transition);
}
.review-card:hover { border-color: var(--primary); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient); display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 1.1rem;
}
.review-info h4 { font-size: 1rem; margin-bottom: 2px; }
.stars { color: #FFD700; font-size: 1.1rem; letter-spacing: 2px; }
.review-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.review-date { margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); }

/* Article Content */
.article-header { padding: 60px 0 30px; background: var(--gradient-dark); position: relative; }
.article-header::before {
    content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
    background: radial-gradient(ellipse at right, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}
.article-header .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }
.article-date { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; }

.article-content { padding: 50px 0; }
.article-body { max-width: 900px; margin: 0 auto; }
.article-body h2 { margin: 40px 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.article-body h3 { margin: 30px 0 16px; color: var(--accent); }
.article-body p { margin-bottom: 18px; color: var(--text); font-size: 1rem; line-height: 1.9; }
.article-body ul, .article-body ol { margin: 16px 0 24px 24px; }
.article-body li { margin-bottom: 8px; color: var(--text); line-height: 1.7; }
.article-body img { margin: 24px 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.article-banner { margin: 30px 0; border-radius: var(--radius); overflow: hidden; }
.article-banner img { width: 100%; border-radius: 0; }

.article-cta {
    margin: 40px 0; padding: 36px; background: var(--surface); border: 2px solid var(--primary);
    border-radius: var(--radius); text-align: center;
}
.article-cta h3 { margin-bottom: 12px; }
.article-cta p { color: var(--text-muted); margin-bottom: 20px; }

.related-articles { padding: 50px 0; background: var(--surface); }

/* Info Section */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.info-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-text h2 { margin-bottom: 16px; }
.info-text p { color: var(--text-muted); margin-bottom: 16px; }

/* Table */
.table-wrapper { overflow-x: auto; margin: 24px 0; }
.styled-table {
    width: 100%; border-collapse: collapse; background: var(--surface);
    border-radius: var(--radius); overflow: hidden;
}
.styled-table th {
    background: var(--gradient); color: #fff; padding: 14px 20px;
    text-align: left; font-weight: 600; font-size: 0.9rem;
}
.styled-table td {
    padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.styled-table tr:hover td { background: rgba(245, 26, 198, 0.05); }

/* Form */
.form-section { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-control {
    width: 100%; padding: 14px 18px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text); font-family: inherit; font-size: 1rem;
    transition: all var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-btn {
    width: 100%; padding: 16px; background: var(--gradient); color: #fff;
    border: none; border-radius: var(--radius-sm); font-family: inherit;
    font-size: 1.05rem; font-weight: 700; cursor: pointer;
    transition: all var(--transition);
}
.form-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px var(--primary-glow); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question {
    width: 100%; padding: 18px 24px; background: var(--surface);
    border: none; color: var(--text); font-family: inherit; font-size: 1rem;
    font-weight: 600; text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: all var(--transition);
}
.faq-question:hover { background: rgba(245, 26, 198, 0.05); }
.faq-question .icon { transition: transform var(--transition); font-size: 1.2rem; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.faq-item.open .faq-answer { padding: 0 24px 18px; max-height: 500px; }
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--secondary); padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-col h3 { font-size: 1rem; margin-bottom: 16px; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary); }
.footer-col p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }
.footer-date { margin-top: 6px; }

/* Floating CTA */
.floating-cta { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.btn-floating {
    display: flex; align-items: center; padding: 14px 28px;
    background: var(--gradient); color: #fff; font-weight: 700;
    border-radius: 50px; box-shadow: 0 4px 24px var(--primary-glow);
    animation: pulse 2s infinite;
}
.btn-floating:hover { color: #fff; transform: scale(1.05); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 24px var(--primary-glow); }
    50% { box-shadow: 0 4px 40px rgba(245, 26, 198, 0.5); }
}

/* Fade in animation */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.article-body.fade-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 992px) {
    .nav-desktop { display: none; }
    .hamburger { display: flex; }
    .nav-mobile { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .banner-slide img { height: 280px; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero { padding: 50px 0 40px; }
    .hero h1 { font-size: 1.8rem; }
    .section { padding: 50px 0; }
    .cards-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .banner-slide img { height: 200px; }
    .floating-cta { bottom: 16px; right: 16px; }
    .btn-floating { padding: 12px 22px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; justify-content: center; }
}
