/* ============================================
   AI INSIGHTS BLOG - COMPLETE MODERN DESIGN 2026
   Original CSS + Modern Enhancements
   ============================================ */

/* CSS Variables - Modern Color Palette */
:root {
    /* Primary Colors - Purple/Blue Gradient Theme */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    
    /* Neutral Colors */
    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   ORIGINAL NAVIGATION BAR (Preserved)
   ============================================ */

.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.nav-link {
    color: var(--gray-light);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--gray-light);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px 15px;
    margin-left: auto;
}

.search-input {
    background: none;
    border: none;
    color: var(--white);
    outline: none;
    width: 200px;
    font-size: 14px;
}

.search-input::placeholder {
    color: var(--gray);
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.search-btn:hover {
    transform: scale(1.1);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   MODERN NAVBAR (Additional - for new design)
   ============================================ */

.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar-modern.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-modern:hover {
    transform: translateY(-2px);
}

.logo-icon-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-modern {
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(10px);
    opacity: 0.6;
    z-index: 0;
}

.logo-text-modern {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.nav-links-modern {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-modern {
    position: relative;
    padding: 10px 18px;
    color: var(--gray-light);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link-modern:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link-modern.active {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.15);
}

.nav-link-modern.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-dropdown-modern {
    position: relative;
}

.dropdown-toggle-modern {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown-modern:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu-modern {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown-modern:hover .dropdown-menu-modern {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--gray-light);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
}

.dropdown-item-modern:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
}

.dropdown-icon {
    font-size: 16px;
}

.nav-actions-modern {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-toggle-modern {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-toggle-modern:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
    border-color: rgba(99, 102, 241, 0.3);
}

.search-bar-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar-modern.active {
    max-height: 100px;
    padding: 20px 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    transition: var(--transition);
}

.search-input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--gray-light);
}

.search-input-modern {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 50px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
}

.search-input-modern::placeholder {
    color: var(--gray);
}

.search-close-modern {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: var(--gray-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-close-modern:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.mobile-toggle-modern {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle-modern:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.toggle-line {
    width: 100%;
    height: 2px;
    background: var(--gray-light);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle-modern.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.mobile-toggle-modern.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle-modern.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

.mobile-menu-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-modern.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-modern.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--gray-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

.mobile-link-icon {
    font-size: 20px;
}

.mobile-categories {
    margin-top: 8px;
}

.mobile-categories-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.mobile-categories-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 16px;
}

.mobile-category-link {
    padding: 10px 16px;
    color: var(--gray-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.mobile-category-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.5;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    font-size: 32px;
}

.card-text {
    font-weight: 600;
    font-size: 16px;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

.card-4 {
    top: 60%;
    left: 50%;
    animation-delay: 1.5s;
}

/* Modern Hero Elements */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particles-move 20s linear infinite;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content-wrapper {
    max-width: 600px;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badge-glow 3s infinite;
}

.badge-icon {
    font-size: 18px;
}

.badge-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.hero-heading-modern {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text-animated {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

.hero-description-modern {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-modern {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-icon {
    transition: var(--transition);
}

.btn-modern:hover .btn-icon {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual-wrapper {
    position: relative;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.visual-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.visual-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visual-card:hover .card-glow {
    opacity: 1;
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.card-icon-modern {
    font-size: 36px;
}

.visual-card h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.visual-card p {
    color: var(--gray);
    font-size: 14px;
}

.hero-circle-modern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.1);
    z-index: 0;
    animation: pulse-circle 4s ease-in-out infinite;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */

.categories-section {
    padding: var(--section-padding);
}

.category-block {
    margin-bottom: 80px;
    position: relative;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-description {
    color: var(--gray-light);
    font-size: 16px;
}

.view-all-btn {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.view-all-btn:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
}

/* Modern Categories */
.categories-modern {
    padding: 100px 0;
    background: var(--dark);
}

.category-section-modern {
    margin-bottom: 100px;
}

.category-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-icon-badge {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.category-title-modern {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.category-desc-modern {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
}

.view-all-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.view-all-modern:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* Post Grids - Different Layouts */
.posts-grid-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.posts-grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}

.posts-grid-2 .post-card:first-child {
    grid-row: 1 / 3;
}

.posts-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.posts-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Post Cards */
.post-card {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.post-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.placeholder-thumbnail {
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 64px;
    opacity: 0.3;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.post-category {
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.post-date {
    color: var(--gray);
    font-size: 13px;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.post-title a {
    color: var(--white);
    transition: var(--transition);
}

.post-title a:hover {
    color: var(--primary-light);
}

.post-excerpt {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reading-time,
.post-views {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modern Post Cards */
.post-card-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.post-card-modern:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.post-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.post-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.post-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card-modern:hover .post-image-modern {
    transform: scale(1.1) rotate(2deg);
}

.post-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--dark-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.15;
}

.placeholder-icon-modern {
    font-size: 64px;
    opacity: 0.3;
    position: relative;
    z-index: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.post-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.post-body-modern {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.meta-date,
.meta-views {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: 13px;
}

.post-title-modern {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.post-card-modern:hover .post-title-modern {
    color: var(--primary-light);
}

.post-excerpt-modern {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.post-card-modern:hover .read-more {
    gap: 10px;
}

.reading-time-modern {
    font-size: 13px;
    color: var(--gray);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    padding: 60px 0;
}

.newsletter-box {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.newsletter-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form-inline {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-inline {
    flex: 1;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    outline: none;
}

.newsletter-btn-inline {
    padding: 15px 35px;
    border-radius: 50px;
    background: var(--dark);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn-inline:hover {
    background: var(--dark-secondary);
    transform: translateY(-2px);
}

/* Modern Newsletter */
.newsletter-modern {
    padding: 100px 0;
    background: var(--dark);
}

.newsletter-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    overflow: hidden;
}

.newsletter-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    animation: newsletter-glow 8s ease-in-out infinite;
}

.newsletter-content-wrapper {
    position: relative;
    z-index: 1;
}

.newsletter-icon-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 36px;
    margin-bottom: 24px;
}

.icon-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse-ring 2s ease-out infinite;
}

.newsletter-title-modern {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.newsletter-subtitle {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form-modern {
    max-width: 600px;
    margin: 0 auto;
}

.input-wrapper-modern {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    transition: var(--transition);
}

.input-wrapper-modern:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-icon {
    position: absolute;
    left: 20px;
    color: var(--gray);
}

.newsletter-input-modern {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 20px 16px 50px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
}

.newsletter-input-modern::placeholder {
    color: var(--gray);
}

.newsletter-btn-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn-modern:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.newsletter-privacy {
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-desc {
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    font-size: 20px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.newsletter-text {
    color: var(--gray-light);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--dark);
    color: var(--white);
    outline: none;
}

.newsletter-btn {
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

.footer-note {
    margin-top: 10px;
    font-size: 14px;
    color: var(--accent);
}

/* ============================================
   AD ZONES
   ============================================ */

.ad-zone {
    margin: 20px 0;
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.ad-header {
    margin-bottom: 0;
}

.ad-sidebar {
    margin: 30px 0;
}

/* ============================================
   BLOG & ARTICLE PAGES STYLING
   ============================================ */

/* Page Header */
.page-header {
    padding: 60px 0;
    text-align: center;
    background: var(--gradient-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    color: var(--gray-light);
    font-size: 18px;
}

/* Blog Layout */
.blog-section,
.category-section {
    padding: var(--section-padding);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.blog-content {
    min-width: 0;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.blog-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-category {
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.blog-category:hover {
    background: var(--primary-dark);
}

.blog-date {
    color: var(--gray);
    font-size: 13px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--white);
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--primary-light);
}

.blog-excerpt {
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: auto;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* No Posts State */
.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-icon {
    font-size: 80px;
    display: block;
    margin-bottom: 20px;
}

.no-posts h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.no-posts p {
    color: var(--gray-light);
    margin-bottom: 30px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.pagination-btn {
    padding: 12px 24px;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.pagination-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    color: var(--gray-light);
    transition: var(--transition);
}

.category-list li a:hover,
.category-list li.active a {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding-left: 20px;
}

.category-count {
    background: var(--dark-tertiary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Category Header */
.category-header-content {
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gray-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb-sep {
    color: var(--gray);
}

/* Article Page */
.article-page {
    padding: var(--section-padding);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.article-main {
    min-width: 0;
}

.article-header {
    margin-bottom: 40px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.article-category {
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.article-category:hover {
    background: var(--primary-dark);
}

.article-date {
    color: var(--gray);
    font-size: 14px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.article-meta-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 14px;
}

.article-reading-time,
.article-views,
.article-updated {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--white);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin: 40px 0 20px;
    scroll-margin-top: 100px;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    margin: 30px 0 15px;
    scroll-margin-top: 100px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--primary);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 30px 0;
}

.article-content code {
    background: var(--dark-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

.article-content pre {
    background: var(--dark-secondary);
    padding: 20px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 30px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

/* Article Footer */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tag {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.article-share h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
}

.share-btn.copy {
    background: var(--dark-secondary);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.related-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.related-thumbnail {
    height: 150px;
    overflow: hidden;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-thumbnail img {
    transform: scale(1.1);
}

.related-content {
    padding: 20px;
}

.related-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-card-title a {
    color: var(--white);
    transition: var(--transition);
}

.related-card-title a:hover {
    color: var(--primary-light);
}

.related-date {
    color: var(--gray);
    font-size: 13px;
}

/* Table of Contents */
.toc-widget {
    position: sticky;
    top: 90px;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: var(--gray-light);
    font-size: 14px;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.toc-list a:hover {
    color: var(--primary-light);
    padding-left: 10px;
}

.toc-subitem a {
    padding-left: 15px;
    font-size: 13px;
}

.article-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes particles-move {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50px);
    }
}

@keyframes badge-glow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-circle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes newsletter-glow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10%, 10%);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .posts-grid-1,
    .posts-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero .container,
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-heading-modern {
        font-size: 48px;
    }
    
    .posts-grid-1,
    .posts-grid-2,
    .posts-grid-3,
    .posts-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .blog-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 36px;
    }
    
    .nav-links-modern {
        display: none;
    }
    
    .mobile-toggle-modern {
        display: flex;
    }
    
    .category-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 75px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--dark-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: left 0.3s ease;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .search-box {
        width: 100%;
        margin-left: 0;
    }
    
    .search-input {
        width: 100%;
    }
    
    .posts-grid-1,
    .posts-grid-2,
    .posts-grid-3,
    .posts-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-heading-modern {
        font-size: 36px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .page-title,
    .category-title {
        font-size: 32px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .navbar-wrapper {
        padding: 16px 0;
    }
    
    .logo-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon-modern {
        font-size: 20px;
    }
    
    .logo-text-modern {
        font-size: 18px;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .visual-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .category-title-modern {
        font-size: 28px;
    }
    
    .newsletter-card {
        padding: 40px 24px;
    }
    
    .newsletter-title-modern {
        font-size: 28px;
    }
    
    .input-wrapper-modern {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-input-modern {
        padding: 16px 20px;
    }
    
    .newsletter-btn-modern {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-heading-modern {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}

/* ============================================
   UNIQUE HERO SECTION - ADD THIS TO END OF style.css
   ============================================ */

/* Modern Unique Hero */
.hero-modern-unique {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: bg-float 20s ease-in-out infinite;
}

@keyframes bg-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-layout-modern {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Hero Content */
.hero-content-modern {
    max-width: 600px;
}

.hero-tag-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    overflow: hidden;
}

.tag-pulse {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: pulse-tag 2s infinite;
}

@keyframes pulse-tag {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(1.3); }
}

.tag-icon {
    font-size: 16px;
    margin-left: 12px;
}

.tag-text {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.hero-heading-unique {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.heading-top,
.heading-bottom {
    color: var(--white);
    font-size: 48px;
}

.heading-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-move 5s ease infinite;
}

@keyframes gradient-move {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-desc-modern {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-light);
    margin-bottom: 40px;
}

.hero-actions-modern {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-btn-primary,
.hero-btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    overflow: hidden;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    to { left: 100%; }
}

.btn-text-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    gap: 30px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.metric-icon {
    font-size: 32px;
}

.metric-num {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual-modern {
    position: relative;
    height: 600px;
}

.visual-glow-1,
.visual-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float-glow 15s ease-in-out infinite;
}

.visual-glow-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: 10%;
    right: 10%;
}

.visual-glow-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.feature-grid-modern {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-box 6s ease-in-out infinite;
}

.fb-1 { animation-delay: 0s; }
.fb-2 { animation-delay: 1.5s; }
.fb-3 { animation-delay: 3s; }
.fb-4 { animation-delay: 4.5s; }

@keyframes float-box {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.fb-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.fb-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.fb-desc {
    font-size: 13px;
    color: var(--gray);
}

.hero-circle-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    z-index: 0;
    animation: pulse-circle-grow 4s ease-in-out infinite;
}

@keyframes pulse-circle-grow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-layout-modern {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-heading-unique {
        font-size: 52px;
    }
    
    .heading-top,
    .heading-bottom {
        font-size: 40px;
    }
    
    .hero-visual-modern {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-modern-unique {
        padding: 100px 0 60px;
    }
    
    .hero-heading-unique {
        font-size: 40px;
    }
    
    .heading-top,
    .heading-bottom {
        font-size: 32px;
    }
    
    .hero-actions-modern {
        flex-direction: column;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
    }
    
    .hero-metrics {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .metric-item {
        flex: 1;
        min-width: 140px;
    }
    
    .hero-visual-modern {
        height: 400px;
    }
    
    .feature-grid-modern {
        gap: 12px;
    }
    
    .feature-box {
        padding: 20px 16px;
    }
    
    .fb-icon {
        font-size: 36px;
    }
    
    .fb-title {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-heading-unique {
        font-size: 32px;
    }
    
    .heading-top,
    .heading-bottom {
        font-size: 26px;
    }
    
    .metric-item {
        min-width: 100%;
    }
}

/* ============================================
   FOOTER MODERN ENHANCEMENTS - ADD TO END OF style.css
   ============================================ */

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark) 100%);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    min-width: 0;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.footer-title .logo-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

.footer-desc {
    line-height: 1.8;
    color: var(--gray-light);
    margin-bottom: 25px;
    font-size: 15px;
}

/* Social Links - Modern Style */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Footer Headings */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-light);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Newsletter Form in Footer */
.newsletter-text {
    color: var(--gray-light);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: var(--gray);
}

.newsletter-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.newsletter-btn {
    padding: 14px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.newsletter-btn:hover::before {
    left: 100%;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

.footer-bottom p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-note {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 13px;
    margin-top: 10px;
}

/* Ad Zone in Footer */
.ad-footer {
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-heading::after {
        left: 0;
    }
}

@media (max-width: 576px) {
    .footer-title {
        font-size: 20px;
    }
    
    .footer-desc {
        font-size: 14px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}


/* ============================================
   CRITICAL FIXES - ADD THESE TO END OF style.css
   ============================================ */

/* FIX 1: Header Overlap Issue */
body {
    padding-top: 85px !important;
}

.article-page,
.blog-section,
.category-section {
    padding-top: 40px;
}

/* FIX 2: Page Header Modern Style (for All Articles page) */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    color: var(--gray-light);
    font-size: 18px;
    position: relative;
    z-index: 1;
}

/* FIX 3: Blog Cards - Make them actually look modern */
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.blog-thumbnail {
    height: 240px;
}

.blog-card-content {
    padding: 30px;
}

.blog-category {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 14px;
}

/* FIX 4: Sidebar Modern Style */
.blog-sidebar,
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 28px;
}

.widget-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--primary), var(--secondary)) 1;
}

.category-list li a {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.category-list li a:hover,
.category-list li.active a {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--primary-light);
    padding-left: 24px;
}

.category-count {
    background: rgba(99, 102, 241, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

/* FIX 5: Article Page Header Fix */
.article-header {
    margin-bottom: 50px;
    padding-top: 20px;
}

.article-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-category {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

/* FIX 6: Breadcrumb Fix */
.breadcrumb {
    margin-bottom: 40px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.breadcrumb a {
    color: var(--primary-light);
}

.breadcrumb a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* FIX 7: Related Posts Modern */
.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.related-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

/* FIX 8: Share Buttons Modern */
.share-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.share-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.share-btn.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
    body {
        padding-top: 75px !important;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .article-title {
        font-size: 32px;
    }
}

/* ============================================
   ARTICLE PAGE CRITICAL FIXES ONLY
   Add these AFTER existing CSS in style.css
   ============================================ */

/* Fix 1: Article page body padding (header overlap) */
.article-page {
    padding-top: 40px;
}

/* Fix 2: Breadcrumb modern style (if not already styled) */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-sep {
    color: var(--gray);
    opacity: 0.5;
}

/* Fix 3: Article header improvements */
.article-header {
    margin-bottom: 50px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.article-category {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.article-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.article-date {
    color: var(--gray-light);
    font-size: 14px;
}

.article-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta-bottom {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--gray);
    font-size: 14px;
    flex-wrap: wrap;
}

/* Fix 4: Featured image modern style */
.article-featured-image {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Fix 5: Article content spacing and typography */
.article-content {
    font-size: 18px;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 60px 0 24px;
    padding-top: 20px;
    scroll-margin-top: 100px;
    position: relative;
}

.article-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.article-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 40px 0 20px;
    scroll-margin-top: 100px;
}

.article-content code {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 16px;
    color: var(--primary-light);
}

.article-content pre {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 32px 0;
}

.article-content pre code {
    background: none;
    border: none;
    padding: 0;
}

.article-content img {
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Fix 6: Article footer (tags & share) */
.article-footer {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.tag:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.article-share {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
}

.article-share h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.share-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.share-btn.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.share-btn.copy:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

/* Fix 7: Related posts styling */
.related-posts {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.related-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.related-thumbnail {
    height: 180px;
    overflow: hidden;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-thumbnail img {
    transform: scale(1.1);
}

/* Fix 8: Table of Contents widget */
.toc-widget {
    position: sticky;
    top: 100px;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    display: block;
    padding: 8px 12px;
    color: var(--gray-light);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
}

.toc-list a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    padding-left: 16px;
}

.toc-subitem a {
    padding-left: 24px;
    font-size: 13px;
}

/* Responsive fixes */
@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 36px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-content h2 {
        font-size: 28px;
    }
    
    .article-content h3 {
        font-size: 22px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   TOC BOX + TRENDING POSTS - ADD TO END
   ============================================ */

/* Collapsible Table of Contents Box (in content area) */
.toc-box-container {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    margin: 30px 0 40px;
    overflow: hidden;
    transition: var(--transition);
}

.toc-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(99, 102, 241, 0.08);
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.toc-box-header:hover {
    background: rgba(99, 102, 241, 0.12);
}

.toc-box-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
}

.toc-box-title svg {
    color: var(--primary-light);
}

.toc-toggle-icon {
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.toc-box-container.open .toc-toggle-icon {
    transform: rotate(180deg);
}

.toc-box-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.toc-box-container.open .toc-box-content {
    max-height: 600px;
    padding: 20px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item-h2,
.toc-item-h3 {
    margin-bottom: 10px;
}

.toc-item-h3 {
    padding-left: 20px;
}

.toc-list a {
    display: block;
    padding: 8px 12px;
    color: var(--gray-light);
    border-radius: 6px;
    transition: var(--transition);
    font-size: 14px;
    line-height: 1.5;
}

.toc-list a:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding-left: 16px;
}

.toc-empty {
    color: var(--gray);
    font-size: 14px;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* Trending Posts Widget */
.trending-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.trending-post-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(5px);
}

.trending-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--white);
    flex-shrink: 0;
}

.trending-content {
    flex: 1;
    min-width: 0;
}

.trending-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--gray);
}

/* Widget Title with Icon */
.widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    color: var(--white);
}

.widget-title svg {
    color: var(--primary-light);
}

/* Category List - Clean Style */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--gray-light);
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
}

.category-list a:hover,
.category-list li.active a {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--primary-light);
    transform: translateX(5px);
}

.category-count {
    background: rgba(99, 102, 241, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
}

/* Sidebar spacing fix */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .toc-box-container.open .toc-box-content {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .toc-box-header {
        padding: 14px 16px;
    }
    
    .toc-box-title {
        font-size: 15px;
    }
    
    .trending-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .trending-title {
        font-size: 13px;
    }
}

/* ============================================
   CATEGORY PAGE CSS - ADD TO END
   ============================================ */

/* Category Header Improvements */
.category-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.category-header-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 20px;
}

.category-icon {
    font-size: 64px;
    opacity: 0.8;
}

.category-header-text {
    flex: 1;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-description {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.category-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
}

.category-count-badge svg {
    color: var(--primary-light);
}

/* Pagination Dots */
.pagination-dots {
    padding: 0 8px;
    color: var(--gray);
    font-size: 16px;
    user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
    .category-header-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .category-icon {
        font-size: 48px;
    }
    
    .category-title {
        font-size: 32px;
    }
    
    .category-description {
        font-size: 15px;
    }
}

/* ============================================
   STATIC PAGE CSS - ADD TO END
   All inline CSS from page.php moved here
   ============================================ */

/* Page Wrapper - Prevent header overlap */
.page-wrapper {
    padding-top: 30px;
    min-height: 100vh;
}

.page-container {
    padding: 60px 0;
    min-height: 70vh;
}

.page-layout {
    max-width: 900px;
    margin: 0 auto;
}

/* Breadcrumb with icon */
.page-container .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 14px;
}

.page-container .breadcrumb a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    transition: var(--transition);
}

.page-container .breadcrumb a:hover {
    color: var(--primary);
}

.page-container .breadcrumb svg {
    opacity: 0.8;
}

/* Page Header */
.page-header-content {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    position: relative;
}

.page-header-content::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.page-main-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
}

.page-meta svg {
    color: var(--primary-light);
}

/* Page Content */
.page-content {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin: 50px 0 25px;
    color: var(--white);
    position: relative;
    padding-top: 20px;
}

.page-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.page-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--white);
}

.page-content p {
    margin-bottom: 24px;
}

.page-content ul, 
.page-content ol {
    margin: 24px 0;
    padding-left: 32px;
}

.page-content li {
    margin-bottom: 14px;
}

.page-content a {
    color: var(--primary-light);
    text-decoration: underline;
    transition: var(--transition);
}

.page-content a:hover {
    color: var(--primary);
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.page-content strong {
    color: var(--white);
    font-weight: 700;
}

.page-content em {
    font-style: italic;
    color: var(--gray-light);
}

.page-content code {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 16px;
    color: var(--primary-light);
    font-family: 'Courier New', monospace;
}

.page-content pre {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 32px 0;
}

.page-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--white);
}

.page-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--gray-light);
    background: rgba(99, 102, 241, 0.05);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
}

/* Page Footer */
.page-footer {
    margin-top: 60px;
}

.page-footer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    margin-bottom: 30px;
}

.page-footer-content {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.page-footer-content p {
    color: var(--gray-light);
    font-size: 15px;
    margin: 0;
}

.page-footer-content a {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.page-footer-content a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .page-wrapper {
        padding-top: 20px;
    }
    
    .page-container {
        padding: 40px 0;
    }
    
    .page-main-title {
        font-size: 36px;
    }
    
    .page-content {
        font-size: 16px;
    }
    
    .page-content h2 {
        font-size: 28px;
    }
    
    .page-content h3 {
        font-size: 22px;
    }
}