/* ========================================
   TradeGinvest - Main Styles
   Color Theme: Blue (#0066CC primary)
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #0066CC;
    --primary-dark: #004999;
    --primary-light: #3399FF;
    --secondary-color: #00D4AA;
    --accent-color: #23FEFF;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --text-muted: #999999;
    --bg-dark: #0a1628;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #0066CC 0%, #004999 50%, #002d5c 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

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

.btn-accent {
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-accent:hover {
    background: #1de6e8;
    transform: translateY(-2px);
}

/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(0, 102, 204, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-actions .btn {
    padding: 10px 24px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--bg-gradient);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(35, 254, 255, 0.1) 0%, transparent 50%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(35, 254, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(35, 254, 255, 0.5);
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite, pulse 4s ease-in-out infinite;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 40%;
    left: 20%;
    animation: float 10s ease-in-out infinite 1s, pulse 5s ease-in-out infinite 1s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 15%;
    animation: float 7s ease-in-out infinite 2s, pulse 3.5s ease-in-out infinite 2s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 30%;
    right: 20%;
    animation: float 9s ease-in-out infinite 0.5s, pulse 4.5s ease-in-out infinite 0.5s;
}

.particle:nth-child(5) {
    width: 8px;
    height: 8px;
    top: 70%;
    right: 15%;
    animation: float 11s ease-in-out infinite 1.5s, pulse 5.5s ease-in-out infinite 1.5s;
}

.particle:nth-child(6) {
    width: 14px;
    height: 14px;
    top: 50%;
    right: 30%;
    animation: float 8.5s ease-in-out infinite 2.5s, pulse 4.25s ease-in-out infinite 2.5s;
}

.particle:nth-child(7) {
    width: 6px;
    height: 6px;
    top: 15%;
    left: 50%;
    animation: float 10.5s ease-in-out infinite 1.8s, pulse 5.25s ease-in-out infinite 1.8s;
}

.particle:nth-child(8) {
    width: 9px;
    height: 9px;
    top: 80%;
    left: 40%;
    animation: float 9.5s ease-in-out infinite 0.8s, pulse 4.75s ease-in-out infinite 0.8s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -30px);
    }
    50% {
        transform: translate(-15px, -60px);
    }
    75% {
        transform: translate(-30px, -30px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(35, 254, 255, 0.4), transparent);
    opacity: 0;
}

.line:nth-child(1) {
    width: 100%;
    height: 2px;
    top: 20%;
    animation: lineSlide1 6s ease-in-out infinite;
}

.line:nth-child(2) {
    width: 100%;
    height: 1px;
    top: 50%;
    animation: lineSlide1 8s ease-in-out infinite 2s;
}

.line:nth-child(3) {
    width: 2px;
    height: 100%;
    left: 30%;
    background: linear-gradient(180deg, transparent, rgba(35, 254, 255, 0.4), transparent);
    animation: lineSlide2 7s ease-in-out infinite 1s;
}

.line:nth-child(4) {
    width: 1px;
    height: 100%;
    right: 25%;
    background: linear-gradient(180deg, transparent, rgba(35, 254, 255, 0.4), transparent);
    animation: lineSlide2 9s ease-in-out infinite 3s;
}

@keyframes lineSlide1 {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

@keyframes lineSlide2 {
    0%, 100% {
        opacity: 0;
        transform: translateY(-100%);
    }
    50% {
        opacity: 1;
        transform: translateY(100%);
    }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 2.75rem;
}

.hero-content h1 .highlight {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(35, 254, 255, 0.5);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-feature .icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature .icon img {
    width: 24px;
    height: 24px;
}

.hero-feature h4 {
    color: var(--text-light);
    font-size: 1.25rem;
}

.hero-feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Hero Simple Variant (for internal pages) */
.hero-simple {
    min-height: 60vh;
    padding: 180px 0 100px;
    text-align: center;
}

.hero-simple .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-simple .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-simple .hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Common Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Trading Potential Section */
.trading-potential {
    background: var(--bg-light);
}

.trading-potential .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trading-potential .image-side img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.trading-potential .text-side h2 {
    margin-bottom: 24px;
}

.trading-potential .text-side p {
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.feature-list {
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.feature-list .icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-list .icon i {
    color: var(--text-light);
    font-size: 18px;
}

.feature-list .text h4 {
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

.feature-list .text p {
    color: var(--text-gray);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Products Section */
.products-section {
    background: var(--bg-gradient);
    color: var(--text-light);
}

.products-section .section-header h2,
.products-section .section-header p {
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 166, 255, 0.3), rgba(0, 102, 204, 0.3));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    background: rgba(76, 166, 255, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.product-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card h4 {
    color: var(--text-light);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.product-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Platform Section */
.platform-section {
    background: #fff;
}

.platform-section .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.platform-section .text-side h2 {
    margin-bottom: 24px;
}

.platform-section .text-side p {
    color: var(--text-gray);
    /* margin-bottom: 20px; */
    line-height: 1.7;
}

.platform-logos {
    display: flex;
    gap: 24px;
    margin: 24px 0 20px 0;
}

.platform-logos img {
    height: 40px;
}

.platform-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.platform-btn:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.platform-btn img {
    width: 20px;
    height: 20px;
}

.platform-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Compact Feature List Variant */
.feature-list.compact {
    margin-bottom: 24px;
}

.feature-list.compact li {
    margin-bottom: 16px;
    padding: 16px;
}

.feature-list.compact .text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-list.compact .text p {
    font-size: 0.9rem;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    width: 100%;
}

.section-cta .btn {
    min-width: 200px;
}

/* Large Button Variant */
.btn-lg {
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card .icon i {
    font-size: 32px;
    color: var(--text-light);
}

.benefit-card h4 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Learning Section */
.learning-section {
    background: #fff;
}

.learning-section .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.learning-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.learning-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: var(--transition);
}

.learning-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.learning-card .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.learning-card .icon i {
    color: var(--text-light);
    font-size: 20px;
}

.learning-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.learning-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: #fff;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-toggle i {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--secondary-color);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

/* CTA Section */
.cta-section {
    background: var(--bg-gradient);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-section .btn {
    padding: 16px 40px;
    font-size: 18px;
}

/* Articles Section */
.articles-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.articles-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.article-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.2);
}

.article-card .article-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f5f5 100%);
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-card .article-content {
    padding: 28px;
}

.article-card .article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.article-card .article-category {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.article-card .article-date {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-card h3 {
    margin-bottom: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.25rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.article-card a:hover h3 {
    color: var(--primary-color);
}

.article-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.article-card .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.article-card .read-time {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-card .read-time i {
    color: var(--primary-color);
}

.article-card .article-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.article-card .article-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination a,
.pagination span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination li {
    list-style: none;
}

.pagination li.active span.current {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    font-weight: 600;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;
    }
    
    .pagination a,
    .pagination span.current {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo img {
    height: 40px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-social img {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    margin-bottom: 24px;
    font-size: 16px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-bottom .legal-links {
    display: flex;
    gap: 24px;
}

.footer-bottom .legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-bottom .legal-links a:hover {
    color: var(--text-light);
}

.footer-disclaimer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.7;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    z-index: 999;
    padding: 80px 24px 32px;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav ul li a {
    color: var(--text-light);
    font-size: 18px;
    padding: 12px 0;
    display: block;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .header {
        position: fixed;
        width: 100%;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .trading-potential .content-wrapper,
    .platform-section .content-wrapper,
    .learning-section .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .section-cta {
        margin-top: 32px;
    }
    
    .btn-lg {
        padding: 16px 36px;
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-simple {
        min-height: 50vh;
        padding: 140px 0 80px;
    }
    
    .hero-simple .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-simple .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-section {
        padding: 60px 0;
    }
    
    .articles-section .section-title {
        margin-bottom: 40px;
        font-size: 1.75rem;
    }
    
    .learning-cards {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 20px 20px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
        padding-right: 12px;
    }
    
    .faq-toggle {
        width: 32px;
        height: 32px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-cta {
        margin-top: 32px;
        padding-top: 24px;
    }
    
    .section-cta .btn {
        min-width: auto;
        width: 90%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Floating CTA Box */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    padding: 18px 28px;
    box-shadow: 0 -8px 32px rgba(0, 102, 204, 0.3);
    z-index: 900;
    max-width: 720px;
    width: auto;
    display: none;
    animation: slideInUp 0.6s ease forwards;
    transition: var(--transition);
}

.floating-cta.hidden {
    animation: slideOutDown 0.6s ease forwards;
}

.floating-cta:hover {
    box-shadow: 0 -12px 40px rgba(0, 102, 204, 0.4);
}

.floating-cta-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-light);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
}

.floating-cta-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.floating-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.floating-cta-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.floating-cta-icon i {
    font-size: 24px;
    color: var(--accent-color);
    animation: rocketShake 2s ease-in-out infinite;
}

.floating-cta-text {
    flex: 0 1 auto;
    text-align: left;
}

.floating-cta-content h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2px;
    font-weight: 700;
    line-height: 1.3;
}

.floating-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.floating-cta-content .btn {
    flex-shrink: 0;
    font-weight: 700;
    padding: 12px 28px;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(35, 254, 255, 0.3);
    white-space: nowrap;
}

.floating-cta-content .btn:hover {
    box-shadow: 0 6px 20px rgba(35, 254, 255, 0.5);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
        pointer-events: none;
    }
}

@keyframes rocketShake {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(-5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-4px) rotate(5deg);
    }
}

/* Floating CTA - Tablet */
@media (max-width: 992px) {
    .floating-cta {
        max-width: 90%;
        padding: 16px 24px;
    }
    
    .floating-cta-content {
        gap: 16px;
    }
    
    .floating-cta-icon {
        width: 44px;
        height: 44px;
    }
    
    .floating-cta-icon i {
        font-size: 22px;
    }
    
    .floating-cta-content h4 {
        font-size: 1rem;
    }
    
    .floating-cta-content p {
        font-size: 12px;
    }
    
    .floating-cta-content .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* Floating CTA - Mobile */
@media (max-width: 768px) {
    .floating-cta {
        width: calc(100% - 32px);
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: 20px 16px;
        box-shadow: 0 -8px 32px rgba(0, 102, 204, 0.3);
        animation: slideInUpMobile 0.6s ease forwards;
        margin: 0 16px;
    }
    
    .floating-cta.hidden {
        animation: slideOutDownMobile 0.6s ease forwards;
    }
    
    .floating-cta-content {
        gap: 16px;
    }
    
    .floating-cta-icon {
        width: 48px;
        height: 48px;
    }
    
    .floating-cta-icon i {
        font-size: 24px;
    }
    
    .floating-cta-content h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .floating-cta-content p {
        font-size: 12px;
        display: none;
    }
    
    .floating-cta-content .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .floating-cta-close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    @keyframes slideInUpMobile {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(100px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }
    
    @keyframes slideOutDownMobile {
        from {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
        to {
            opacity: 0;
            transform: translateX(-50%) translateY(100px);
            pointer-events: none;
        }
    }
}

/* Floating CTA - Small Mobile */
@media (max-width: 480px) {
    .floating-cta {
        padding: 16px 12px;
        width: calc(100% - 24px);
        margin: 0 12px;
    }
    
    .floating-cta-content {
        gap: 12px;
    }
    
    .floating-cta-icon {
        width: 40px;
        height: 40px;
    }
    
    .floating-cta-icon i {
        font-size: 20px;
    }
    
    .floating-cta-content h4 {
        font-size: 0.9rem;
    }
    
    .floating-cta-content .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ========================================
   Article Show Page Styles
   ======================================== */

/* Article Header */
.article-header {
    background: var(--bg-gradient);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.article-header .container {
    position: relative;
    z-index: 1;
}

.article-header h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.article-meta-item i {
    color: var(--accent-color);
    font-size: 16px;
}

/* Article Container */
.article-container {
    background: #fff;
    padding: 80px 0;
}

.article-container .container {
    max-width: 1000px;
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 48px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-content {
    color: var(--text-dark);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 48px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 700;
}

.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.25rem; }

.article-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 32px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 12px;
    color: var(--text-gray);
    line-height: 1.7;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-light);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
}

.article-content blockquote p {
    margin: 0;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--primary-dark);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
}

.article-content table th,
.article-content table td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.article-content table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.article-content table tr:hover {
    background: var(--bg-light);
}

.article-content code {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.article-content pre {
    background: var(--bg-dark);
    color: #f8f8f2;
    padding: 20px;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 24px 0;
}

.article-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Article Tags */
.article-tags {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    margin-bottom: 48px;
}

.article-tags .tags-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    flex-shrink: 0;
}

.article-tags .tags-label i {
    color: var(--primary-color);
}

.article-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.article-tag:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Article CTA */
.article-cta {
    background: var(--bg-gradient);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(35, 254, 255, 0.1) 0%, transparent 50%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

.article-cta-content {
    position: relative;
    z-index: 1;
}

.article-cta h3 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 16px;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta .btn {
    box-shadow: 0 8px 24px rgba(35, 254, 255, 0.3);
}

.article-cta .btn:hover {
    box-shadow: 0 12px 32px rgba(35, 254, 255, 0.5);
}

/* Related Articles */
.related-articles {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--bg-light);
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
    font-size: 2rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.related-article-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
}

.related-article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.related-article-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.related-article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.related-article-card:hover .related-article-image::before {
    opacity: 1;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-article-card:hover .related-article-image img {
    transform: scale(1.1);
}

.related-article-content {
    padding: 28px;
}

.related-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.related-article-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.related-article-date {
    color: var(--text-muted);
    font-size: 13px;
}

.related-article-content h3 {
    margin-bottom: 14px;
    line-height: 1.4;
    font-size: 1.2rem;
}

.related-article-content h3 a {
    color: var(--text-dark);
    transition: var(--transition);
}

.related-article-content h3 a:hover {
    color: var(--primary-color);
}

.related-article-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.related-article-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.related-article-link i {
    font-size: 12px;
}

/* Article Show Page - Responsive */
@media (max-width: 992px) {
    .article-header {
        padding: 120px 0 50px;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        gap: 20px;
    }
    
    .article-container {
        padding: 60px 0;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 100px 0 40px;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .article-meta-item {
        font-size: 14px;
    }
    
    .article-container {
        padding: 40px 0;
    }
    
    .article-featured-image {
        margin-bottom: 32px;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-content h1 { font-size: 1.75rem; }
    .article-content h2 { font-size: 1.5rem; }
    .article-content h3 { font-size: 1.25rem; }
    .article-content h4 { font-size: 1.1rem; }
    
    .article-tags {
        flex-direction: column;
        gap: 12px;
    }
    
    .article-cta {
        padding: 40px 24px;
    }
    
    .article-cta h3 {
        font-size: 1.5rem;
    }
    
    .article-cta p {
        font-size: 16px;
    }
    
    .related-articles {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .related-articles h2 {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 90px 0 30px;
    }
    
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 14px;
    }
    
    .article-content ul,
    .article-content ol {
        padding-left: 24px;
    }
    
    .article-tags {
        padding: 16px;
    }
    
    .article-tag {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .article-cta {
        padding: 32px 20px;
    }
    
    .article-cta h3 {
        font-size: 1.25rem;
    }
    
    .article-cta p {
        font-size: 14px;
    }
    
    .related-article-image {
        height: 180px;
    }
    
    .related-article-content {
        padding: 20px;
    }
    
    .related-article-content h3 {
        font-size: 1.1rem;
    }
    
    .related-article-content p {
        font-size: 14px;
    }
}

