/* IJIPAL Premium Modern Theme */
/* International Journal of Innovative Pedagogy And Learning */

/* CSS Variables for Premium Theme */
:root {
    /* Modern Color Palette - Deep Elegant */
    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --primary-dark: #020617;
    --secondary-color: #6366f1;
    --secondary-light: #818cf8;
    --secondary-dark: #4f46e5;
    --accent-color: #06b6d4;
    --accent-light: #22d3ee;
    --accent-dark: #0891b2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Neutral Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-soft: #f1f5f9;
    --background-dark: #0f172a;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.1) 0px, transparent 50%);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-glow-accent: 0 0 40px rgba(6, 182, 212, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-primary);
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-spring: 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--secondary-dark);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all var(--transition-normal);
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: var(--spacing-sm) 0;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.journal-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.journal-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    position: relative;
    margin: 0 var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    background-color: rgba(99, 102, 241, 0.05);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link i {
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.nav-link:hover i {
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION - Premium Design
   ============================================ */
.hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: calc(var(--spacing-5xl) + 80px) 0 var(--spacing-5xl);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.2) 0%, transparent 40%);
    animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Floating Elements */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 40px 40px;
    animation: floatDots 20s linear infinite;
}

@keyframes floatDots {
    0% { transform: translateY(0); }
    100% { transform: translateY(-40px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    color: var(--accent-light);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-xl);
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title span {
    background: linear-gradient(135deg, #22d3ee 0%, #818cf8 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.hero-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-2xl);
    text-align: center;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-2xl);
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.hero-card-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-xl);
    font-size: 3rem;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-card h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.hero-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

/* ============================================
   ABOUT JOURNAL SECTION
   ============================================ */
.about-section {
    padding: var(--spacing-5xl) 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.about-text h2 {
    margin-bottom: var(--spacing-xl);
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.about-feature p {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-card-stack {
    position: relative;
    height: 500px;
}

.about-stack-card {
    position: absolute;
    width: 100%;
    max-width: 350px;
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-slow);
}

.about-stack-card:nth-child(1) {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-3deg);
}

.about-stack-card:nth-child(2) {
    top: 40px;
    left: 40px;
    z-index: 2;
    transform: rotate(2deg);
}

.about-stack-card:nth-child(3) {
    top: 80px;
    left: 80px;
    z-index: 1;
    transform: rotate(-1deg);
}

.about-card-stack:hover .about-stack-card:nth-child(1) {
    transform: rotate(-3deg) translateY(-10px);
}

.about-card-stack:hover .about-stack-card:nth-child(2) {
    transform: rotate(2deg) translateY(-5px);
}

.about-stack-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.about-stack-card h4 {
    margin-bottom: var(--spacing-sm);
}

.about-stack-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================
   CARDS - Premium Design
   ============================================ */
.card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-body {
    padding: var(--spacing-xl);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Article Cards */
.article-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card .card-text {
    flex-grow: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.doi-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--secondary-color);
    background: rgba(99, 102, 241, 0.1);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* ============================================
   BUTTONS - Premium Design
   ============================================ */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.btn i {
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(3px);
}

/* Primary Button */
.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary::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 var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Secondary Button */
.btn-secondary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
    color: white;
}

/* Outline Buttons */
.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-3px);
}

.btn-light {
    background: white;
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: white;
    color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Large Buttons */
.btn-lg {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1.0625rem;
    border-radius: var(--radius-xl);
}

/* Small Buttons */
.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section {
    padding: var(--spacing-5xl) 0;
    background: var(--background-alt);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.stats-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.stats-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    transition: all var(--transition-normal);
}

.stats-card:hover .stats-card-icon {
    background: var(--gradient-secondary);
    transform: scale(1.1);
}

.stats-card-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: color var(--transition-normal);
}

.stats-card:hover .stats-card-icon i {
    color: white;
}

.stats-card h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.stats-card p {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* ============================================
   FEATURED ISSUE
   ============================================ */
.featured-issue {
    padding: var(--spacing-5xl) 0;
    background: var(--background);
}

.featured-card {
    background: var(--gradient-hero);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-4xl);
    color: white;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.featured-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.featured-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.featured-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.featured-meta {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.featured-meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    opacity: 0.9;
}

.featured-visual {
    text-align: center;
}

.featured-icon {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 4rem;
    animation: float 6s ease-in-out infinite;
}

/* ============================================
   LATEST ARTICLES SECTION
   ============================================ */
.articles-section {
    padding: var(--spacing-5xl) 0;
    background: var(--background-alt);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

/* ============================================
   FOOTER - Premium Design
   ============================================ */
.footer {
    background: var(--background-dark);
    color: white;
    padding: var(--spacing-5xl) 0 var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-brand {
    margin-bottom: var(--spacing-xl);
}

.footer-brand .journal-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer h5, .footer h6 {
    color: white;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-light) !important;
    text-decoration: none !important;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: 0.9375rem;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width var(--transition-fast);
}

.footer-links a:hover {
    color: white !important;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 15px;
}

.footer-contact {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.footer-contact i {
    color: var(--accent-light);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-xl);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LOADING & TRANSITIONS
   ============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-transition.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-light);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--background-soft) 25%, var(--background-alt) 50%, var(--background-soft) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .about-card-stack {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .about-stack-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        max-width: 100%;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .featured-meta {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: calc(var(--spacing-4xl) + 80px) 0 var(--spacing-4xl);
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .navbar-brand {
        max-width: 200px;
    }
    
    .journal-title {
        font-size: 1.25rem;
    }
    
    .journal-subtitle {
        font-size: 0.65rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .stats-card {
        padding: var(--spacing-lg);
    }
    
    .stats-card h3 {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .featured-card {
        padding: var(--spacing-2xl);
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-meta {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .section-title {
        margin-bottom: var(--spacing-2xl);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-section {
        padding: calc(var(--spacing-3xl) + 70px) 0 var(--spacing-3xl);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: var(--spacing-sm) var(--spacing-xl);
    }
    
    .card-body {
        padding: var(--spacing-lg);
    }
    
    .footer {
        padding: var(--spacing-3xl) 0 var(--spacing-xl);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar, .footer, .hero-section::before, .hero-section::after {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .card {
        border: 1px solid #ccc;
        box-shadow: none;
        break-inside: avoid;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

*:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--spacing-md);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    border: 2px solid var(--background-alt);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* Selection */
::selection {
    background: var(--secondary-color);
    color: white;
}

::-moz-selection {
    background: var(--secondary-color);
    color: white;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.rounded-3xl {
    border-radius: var(--radius-3xl);
}
