:root {
    --primary: #0f172a;
    --primary-light: #334155;
    --accent: #d81b60;
    /* Pinkish-red from logo */
    --accent-hover: #ad1457;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --white: #ffffff;
    --card-bg: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.05);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Announcement Bar */
.top-bar {
    height: 40px;
    background: #0f172a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar span {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        transform: scale(1.01);
    }

    100% {
        opacity: 0.8;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    z-index: 1000;
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-logo span {
    color: var(--accent);
}

.footer .nav-logo,
.footer .nav-logo span {
    color: white !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

/* Hero Section - Academic Banner Style */
.hero-section {
    padding: 0;
    height: 60vh;
    min-height: 550px;
    background: linear-gradient(rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.6)), url('../images/banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8%;
    padding-top: 80px;
    /* Space for nav */
    padding-bottom: 60px;
    /* Space at bottom */
    text-align: left;
    max-width: 100%;
    margin-top: 120px;
}

.hero-issn {
    background: var(--accent);
    color: white;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    border-radius: 6px;
    display: inline-block;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: white;
    max-width: 100%;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-logo-container {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-large-logo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 15px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    animation: floating 4s ease-in-out infinite;
    background: white;
    padding: 12px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-top: 3rem;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-section h1 span.highlight {
    color: var(--accent);
    font-style: italic;
}

.hero-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    margin-top: 1rem;
}

/* Page Header Banner */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('../images/banner.png');
    background-size: cover;
    background-position: center;
    padding: 3.5rem 8%;
    margin-top: 120px;
    color: white;
    display: flex;
    align-items: center;
}

.page-header h1 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    margin: 0;
    border-left: 6px solid var(--accent);
    padding-left: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 3.5fr 1fr;
    gap: 3rem;
    padding: 80px 5% 100px;
    max-width: 1700px;
    margin: 0 auto;
    align-items: stretch;
}

.glass-card {
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 0;
    /* Removed top/all padding to allow title banner */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Keep title within rounded corners */
}

.glass-card>div:first-child {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glass-card>div:first-child> :not(.card-title) {
    padding: 0 2.5rem;
}

.card-title {
    background: #0f172a;
    color: white !important;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title-light {
    background: #0f172a !important;
    /* Dark Blue Background */
    color: white !important;
    justify-content: center;
    padding: 1.25rem;
    margin-bottom: 0;
    font-weight: 800;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    padding-bottom: 0.8rem;
    align-items: baseline;
    text-decoration: none !important;
}

.stat-label {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

/* Specific class for cards that need colons (like Status) */
.with-colon .stat-label {
    padding-right: 25px;
}

.with-colon .stat-label::after {
    content: ":";
    position: absolute;
    right: 10px;
    color: var(--text-muted);
    font-weight: 400;
}

.stat-value {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent);
    text-align: left;
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
    .stat-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .stat-label::after {
        display: none;
    }
}

/* Button override for card */
.card-btn {
    display: inline-block;
    background: var(--accent);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
}

.card-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.3);
}

.card-footer-text {
    margin-top: auto;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.card-watermark {
    font-size: 3rem;
    font-weight: 900;
    color: #f1f5f9;
    letter-spacing: -2px;
    text-align: center;
    margin-top: auto;
    padding-top: 2rem;
    user-select: none;
}

/* Scope Container */
.scope-container {
    grid-column: span 12;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pill {
    padding: 0.6rem 1.25rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s;
}

.pill:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Cards Alignment */
.card-authors {
    grid-column: span 4;
}

.card-status {
    grid-column: span 4;
}

.card-downloads {
    grid-column: span 4;
}

/* Download Cards */
.download-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s;
}

.download-card i {
    font-size: 1.5rem;
    color: var(--accent);
}

.download-card:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
    border-color: var(--accent);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: white !important;
}

.btn-premium {
    padding: 0.875rem 2rem;
    background: var(--accent);
    color: white !important;
    text-decoration: none !important;
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
    border: none;
}

.btn-premium:hover {
    background: var(--accent);
    transform: scale(1.02);
}

.btn-outline {
    padding: 0.875rem 2rem;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: var(--accent);
}

/* Footer */
.footer {
    background: #0f172a;
    padding: 80px 8% 40px;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.footer-col p,
.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: block;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1024px) {

    .card-authors,
    .card-status,
    .card-downloads {
        grid-column: span 12;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-section {
        align-items: center;
        padding-top: 100px;
        height: auto;
        min-height: unset;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-large-logo {
        width: 250px;
        height: 250px;
    }
}