:root {
    --primary: #0a1a3a;
    --secondary: #001f5b;
    --gold: #d4a520;
    --gold-light: #f0d060;
    --gold-dark: #b8860b;
    --dark: #060e1f;
    --darker: #030811;
    --text: #e8e8e8;
    --text-muted: #a0a8b8;
    --white: #ffffff;
    --border: rgba(212, 165, 32, 0.15);
    --gradient-gold: linear-gradient(135deg, #d4a520, #f0d060, #d4a520);
    --gradient-blue: linear-gradient(180deg, #0a1a3a, #060e1f);
    --gradient-hero: linear-gradient(135deg, #0a1a3a 0%, #001f5b 50%, #0a1a3a 100%);
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-gold: 0 4px 20px rgba(212, 165, 32, 0.2);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Prompt', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.section-padding { padding: 4rem 0; }

.text-center { text-align: center; }

.text-gold { color: var(--gold); }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 165, 32, 0.4);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary);
}

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.9rem; }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ==================== HEADER ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 14, 31, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(6, 14, 31, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 800;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.main-nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    white-space: nowrap;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--gold);
}

.has-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    box-shadow: var(--shadow);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-menu li:last-child a { border-bottom: none; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ==================== HAMBURGER ==================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO ==================== */
.hero {
    background: var(--gradient-hero);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(212, 165, 32, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 31, 91, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==================== BANNER SLIDER ==================== */
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 3rem;
}

.banner-track {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 165, 32, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.banner-dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 5px;
}

/* ==================== CARDS ==================== */
.card {
    background: linear-gradient(145deg, rgba(10, 26, 58, 0.8), rgba(6, 14, 31, 0.9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 165, 32, 0.3);
    box-shadow: var(--shadow-gold);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card-image {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

/* ==================== ARTICLE CONTENT ==================== */
.article-header {
    background: var(--gradient-hero);
    padding: 7rem 0 3rem;
    position: relative;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(212, 165, 32, 0.06) 0%, transparent 50%);
}

.article-header .container { position: relative; z-index: 2; }

.article-body {
    padding: 3rem 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content h2 {
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--gold);
}

.article-content h3 {
    margin-top: 2rem;
    color: var(--gold-light);
}

.article-content p {
    margin-bottom: 1.2rem;
    color: var(--text);
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text);
}

.article-content li { margin-bottom: 0.5rem; }

.article-content strong { color: var(--gold-light); }

.article-content img {
    border-radius: var(--radius);
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.article-featured-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin: -2rem auto 2rem;
    max-width: 800px;
    box-shadow: var(--shadow);
}

.article-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-sidebar {
    position: sticky;
    top: 90px;
}

.toc {
    background: rgba(10, 26, 58, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.toc h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.toc ul { list-style: none; }

.toc ul li a {
    display: block;
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-left: 2px solid transparent;
    padding-left: 0.8rem;
    transition: all var(--transition);
}

.toc ul li a:hover {
    color: var(--gold);
    border-left-color: var(--gold);
}

/* ==================== REVIEWS ==================== */
.reviews-section { padding: 4rem 0; }

.review-card {
    background: linear-gradient(145deg, rgba(10, 26, 58, 0.7), rgba(6, 14, 31, 0.8));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.review-card .reviewer { font-weight: 600; color: var(--gold); margin-bottom: 0.3rem; }

.stars { display: inline-flex; gap: 2px; }

.star { color: #555; font-size: 1.1rem; }
.star.filled { color: var(--gold); }
.star.half {
    color: var(--gold);
    position: relative;
}

.review-text { margin-top: 0.8rem; font-size: 0.95rem; color: var(--text-muted); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ==================== FEATURES ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, rgba(10, 26, 58, 0.6), rgba(6, 14, 31, 0.7));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.feature-item:hover {
    border-color: rgba(212, 165, 32, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* ==================== PROMO ==================== */
.promo-card {
    background: linear-gradient(145deg, rgba(10, 26, 58, 0.8), rgba(6, 14, 31, 0.9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.promo-card:hover {
    border-color: rgba(212, 165, 32, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.promo-card-image {
    height: 220px;
    overflow: hidden;
}

.promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.promo-card:hover .promo-card-image img { transform: scale(1.05); }

.promo-card-body { padding: 1.5rem; }

.promo-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-gold);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* ==================== FORM ==================== */
.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(10, 26, 58, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: 'Prompt', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 32, 0.1);
}

.form-box {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(10, 26, 58, 0.8), rgba(6, 14, 31, 0.9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

/* ==================== FAQ ==================== */
.faq-item {
    background: linear-gradient(145deg, rgba(10, 26, 58, 0.6), rgba(6, 14, 31, 0.7));
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 1rem;
}

/* ==================== TABLE ==================== */
.table-responsive { overflow-x: auto; margin: 1.5rem 0; }

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 26, 58, 0.5);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

th {
    background: var(--gradient-gold);
    color: var(--primary);
    padding: 0.85rem 1rem;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

tr:hover td { background: rgba(212, 165, 32, 0.05); }

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin-right: 0.3rem;
    color: var(--text-muted);
}

.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.current span { color: var(--text-muted); }

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--darker);
    border-top: 1px solid var(--border);
}

.footer-top { padding: 3.5rem 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--gold);
}

.footer-col h3 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-list li { color: var(--text-muted); font-size: 0.9rem; }

/* ==================== MOBILE OVERLAY ==================== */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: var(--gradient-hero);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at center, rgba(212, 165, 32, 0.08) 0%, transparent 60%);
}

.cta-section .container { position: relative; z-index: 2; }

/* ==================== INTERNAL LINK BOX ==================== */
.related-articles {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(10, 26, 58, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.related-articles h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.related-articles ul { list-style: none; }

.related-articles ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.related-articles ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ==================== INFO BOX ==================== */
.info-box {
    background: linear-gradient(145deg, rgba(212, 165, 32, 0.08), rgba(10, 26, 58, 0.6));
    border: 1px solid rgba(212, 165, 32, 0.2);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: var(--gradient-hero);
    padding: 7rem 0 3rem;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(212, 165, 32, 0.06) 0%, transparent 50%);
}

.page-header .container { position: relative; z-index: 2; }

/* ==================== STEPS ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    counter-reset: steps;
}

.step-item {
    text-align: center;
    padding: 2rem 1.2rem;
    background: linear-gradient(145deg, rgba(10, 26, 58, 0.6), rgba(6, 14, 31, 0.7));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    counter-increment: steps;
    position: relative;
}

.step-item::before {
    content: counter(steps);
    display: flex;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--primary);
        z-index: 1000;
        transition: right var(--transition);
        padding: 5rem 0 2rem;
        overflow-y: auto;
        border-left: 1px solid var(--border);
    }

    .main-nav.open { right: 0; }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li a {
        padding: 0.8rem 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        display: none;
    }

    .has-dropdown.open .dropdown-menu { display: block; }

    .header-actions .btn { display: none; }

    .hero { padding: 6rem 0 3rem; min-height: auto; }

    .banner-slide img { height: 200px; }

    .article-featured-image img { height: 250px; }

    .footer-grid { grid-template-columns: 1fr; }

    .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .hero-content h1 { font-size: 1.6rem; }
    .section-padding { padding: 2.5rem 0; }
    .form-box { padding: 1.5rem; }
}
