/* Capital Compass Trading - Modern Professional Stylesheet */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1525;
    --bg-card: #141b2d;
    --bg-card-hover: #1a2340;
    --accent-primary: #4A90D9;
    --accent-secondary: #6BB3FF;
    --accent-bright: #8EC5FC;
    --accent-glow: rgba(74, 144, 217, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #b8c5d6;
    --text-muted: #6B7280;
    --text-heading: #e8f0fe;
    --border-color: rgba(74, 144, 217, 0.25);
    --border-hover: rgba(74, 144, 217, 0.5);
    --gradient-primary: linear-gradient(135deg, #4A90D9 0%, #6BB3FF 100%);
    --gradient-glow: linear-gradient(135deg, rgba(74, 144, 217, 0.25) 0%, rgba(107, 179, 255, 0.15) 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(74, 144, 217, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ensure all text elements use Inter */
h1, h2, h3, h4, h5, h6, p, span, a, button, li, div {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 20, 38, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(74, 144, 217, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(74, 144, 217, 0.5);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(74, 144, 217, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(74, 144, 217, 0.1);
}

.btn-youtube {
    background: #FF0000;
    color: white;
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-top: auto;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    background: #CC0000;
    transform: translateY(-2px);
}
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(74, 144, 217, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(107, 179, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Hero Logo */
.hero-logo {
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 0 60px rgba(74, 144, 217, 0.4);
    transition: all 0.4s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(74, 144, 217, 0.6);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Categories Section */
.categories {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

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

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(74, 144, 217, 0.2);
}

.hover-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover .hover-glow {
    opacity: 1;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

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

.category-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.doc-count {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(74, 144, 217, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Document Sections */
.doc-section {
    padding: 100px 0;
    background: var(--bg-primary);
    display: none;
}

.doc-section.active {
    display: block;
}

.back-btn {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.15);
}

.back-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.3);
}

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

.doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.doc-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.doc-card.featured {
    grid-column: span 3;
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(74, 144, 217, 0.1) 100%);
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.doc-tag {
    padding: 4px 12px;
    background: rgba(74, 144, 217, 0.15);
    color: var(--accent-primary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.doc-header i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.doc-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.doc-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Free and Locked Guide Styles */
.doc-tag.free-tag {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.doc-card.free {
    border-color: rgba(16, 185, 129, 0.3);
    position: relative;
}

.doc-card.free::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10B981, #34D399);
    border-radius: 16px 16px 0 0;
}

.doc-card.free:hover {
    border-color: #10B981;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
}

.doc-card.locked {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.doc-card.locked:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.doc-card.locked:hover .lock-overlay {
    background: rgba(10, 14, 26, 0.88);
}

.lock-overlay i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.lock-overlay p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.lock-overlay .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* Featured locked card */
.doc-card.featured.locked {
    position: relative;
    overflow: hidden;
}

.doc-card.featured.locked .lock-overlay {
    background: rgba(10, 14, 26, 0.94);
}

.doc-card.featured.locked .lock-overlay i {
    font-size: 4rem;
}

.doc-card.featured.locked .lock-overlay p {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.doc-points {
    list-style: none;
    margin-bottom: 24px;
}

.doc-points li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.doc-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Community Section */
.community {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.community-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.community-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.community-features {
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.feature i {
    color: #10B981;
}

.discord-preview {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.discord-dot {
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
}

.channel {
    padding: 8px 12px;
    color: var(--text-secondary);
    border-radius: 4px;
    margin-bottom: 4px;
}

.channel i {
    margin-right: 8px;
    color: var(--text-muted);
}

/* YouTube Section */
.youtube-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.youtube-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.youtube-info {
    max-width: 600px;
}

.youtube-icon {
    font-size: 5rem;
    color: #FF0000;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.3));
}

.youtube-info h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.youtube-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Social Section */
.social-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 360px;
}

.social-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--text-heading);
    line-height: 1.3;
}

.social-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 360px;
    flex-grow: 1;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.x-logo {
    font-size: 5rem;
    color: #ffffff;
    margin-bottom: 24px;
    display: block;
    line-height: 1;
}

.youtube-card .social-icon {
    font-size: 5rem;
    color: #FF0000;
    margin-bottom: 24px;
    display: block;
}

.social-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--text-heading);
}

.social-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 400px;
    flex-grow: 1;
}

.btn-x {
    background: #000000;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
    min-width: 220px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-x:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-x:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-quote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 24px;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 32px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-img {
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    box-shadow: 0 0 60px rgba(74, 144, 217, 0.3);
}
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.image-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 100px 40px;
    text-align: center;
    color: var(--text-muted);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px;
}

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

.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-social h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doc-card.featured {
        grid-column: span 2;
    }
    
    .community-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .doc-grid {
        grid-template-columns: 1fr;
    }
    
    .doc-card.featured {
        grid-column: span 1;
    }
    
    .youtube-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Modern Enhancements & Animations */

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo img {
    height: 45px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(74, 144, 217, 0.3);
    transition: all 0.3s ease;
}

.logo:hover img {
    box-shadow: 0 0 30px rgba(74, 144, 217, 0.5);
    transform: scale(1.05);
}

/* Enhanced category cards */
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

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

.category-card * {
    position: relative;
    z-index: 1;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.4);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(74, 144, 217, 0.5);
}

/* Enhanced document cards for better readability */
.doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.doc-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(74, 144, 217, 0.2);
    background: var(--bg-card-hover);
}

.doc-card:hover::before {
    transform: scaleX(1);
}

.doc-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-heading);
    font-weight: 700;
}

.doc-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.doc-points {
    list-style: none;
    margin-bottom: 24px;
}

.doc-points li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.doc-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.doc-tag {
    padding: 6px 14px;
    background: rgba(74, 144, 217, 0.15);
    color: var(--accent-secondary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-card.featured {
    grid-column: span 3;
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(74, 144, 217, 0.1) 100%);
}

.doc-card.featured::before {
    transform: scaleX(1);
}

/* Enhanced buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(74, 144, 217, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.5);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(74, 144, 217, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-secondary);
    border: 1.5px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(74, 144, 217, 0.15);
    transform: translateY(-2px);
}

/* Pulse animation for CTAs */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(74, 144, 217, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(74, 144, 217, 0.6);
    }
}

.btn-primary {
    animation: pulse 2s infinite;
}

/* Hero Background Logo */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('logo.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Glow effect for section titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(74, 144, 217, 0.3);
}

/* Improved document section */
.doc-section {
    padding: 100px 0;
    background: var(--bg-primary);
    display: none;
}

.doc-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-btn {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.15);
}

.back-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.3);
}

.back-btn i {
    font-size: 0.9rem;
}

/* Enhanced navigation */
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover {
    color: var(--accent-secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-primary);
}

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

/* Improved scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Loading animation for future use */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ============================================
   FOLLOW MY CONTENT (Capital Compass)
   ============================================ */

.cc-follow {
    margin-top: 28px;
}

.cc-follow__heading {
    margin-bottom: 14px;
}

.cc-follow__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.cc-follow__card {
    background: rgba(12,16,30,0.72);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.cc-follow__title {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.2px;
}

.cc-follow__logo {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
}

.cc-follow__logo svg {
    width: 46px;
    height: 46px;
    color: rgba(255,255,255,0.95);
}

.cc-follow__desc {
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.80;
    max-width: 42ch;
}

.cc-follow__btn {
    width: 100%;
    max-width: 520px;
    text-align: center;
    margin-top: 6px;
}

/* Mobile stack */
@media (max-width: 768px) {
    .cc-follow__grid {
        grid-template-columns: 1fr;
    }
    .cc-follow__btn {
        max-width: 100%;
    }
}

/* === Follow My Content visual polish === */

/* Center the heading */
.cc-follow__heading {
    text-align: center;
}

/* Make buttons real button size, not full-width bars */
.cc-follow__btn {
    width: auto !important;
    min-width: 180px;
    max-width: 240px;
    margin: 8px auto 0 auto;
    padding: 12px 22px;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
}

/* Ensure cards align content vertically */
.cc-follow__card {
    justify-content: space-between;
}

/* Keep button rows aligned across both cards */
.cc-follow__card .cc-follow__btn {
    align-self: center;
}

