/* ===========================================
   SiPegawai - Modern CSS with Design System
   =========================================== */

/* CSS Variables - Design Tokens */
:root {
    /* Colors - Vibrant & Modern Palette */
    --color-primary: #6366F1;
    --color-primary-dark: #4F46E5;
    --color-primary-light: #818CF8;
    --color-secondary: #EC4899;
    --color-accent: #F59E0B;

    /* Neutrals */
    --color-background: #FAFAFA;
    --color-surface: #FFFFFF;
    --color-surface-elevated: #FFFFFF;

    /* Text */
    --color-text-primary: #0F172A;
    --color-text-secondary: #475569;
    --color-text-tertiary: #94A3B8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #EC4899 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.2) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
                     radial-gradient(at 100% 100%, rgba(245, 158, 11, 0.1) 0px, transparent 50%);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Typography */
    --font-display: 'Clash Display', sans-serif;
    --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ===========================================
   NAVBAR
   =========================================== */
/* Tambahkan atau update bagian NAVBAR ini di file CSS utama Anda */

/* ===========================================
   NAVBAR - UPDATED WITH MOBILE MENU
   =========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--color-text-primary);
    transition: transform var(--transition-fast);
    z-index: 1001;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-icon {
    width: 200px;
    height: auto;
}

.brand-icon img {
    width: 100%;
    height: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: var(--space-sm);
    z-index: 1001;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.navbar-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-text-primary);
    transition: all var(--transition-base);
    display: block;
    border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* User Menu Dropdown */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-avatar {
    cursor: pointer;
}

.user-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid transparent;
    transition: var(--transition-base);
}

.user-avatar img:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    width: 220px;
    display: none;
    flex-direction: column;
    padding: 8px;
    border: 1px solid #f3f4f6;
    z-index: 1050;
    animation: slideIn 0.2s ease-out;
}

.dropdown-header {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-header strong {
    display: block;
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

.dropdown-header small {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.dropdown-menu a,
.dropdown-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    border-radius: 8px;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: left;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: #f9fafb;
    color: var(--color-primary);
}

.dropdown-menu form {
    width: 100%;
}

.dropdown-menu form button {
    color: #ef4444;
    margin-top: 5px;
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
}

.dropdown-menu form button:hover {
    background: #fef2f2;
    color: #dc2626;
}

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

/* Mobile Auth Buttons - Hidden by default */
.mobile-auth-buttons {
    display: none;
}

/* Navbar Overlay */
.navbar-overlay {
    display: none;
}

/* ===========================================
   MOBILE RESPONSIVE - NAVBAR
   =========================================== */

@media (max-width: 768px) {
    .navbar-container {
        padding: var(--space-sm) var(--space-md);
    }

    .brand-icon {
        width: 150px;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Hide desktop auth buttons on mobile */
    .navbar-actions .btn {
        display: none;
    }

    /* Mobile Menu Styles */
    .navbar-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left var(--transition-base);
        z-index: 1001;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .navbar-menu.active {
        left: 0;
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:last-of-type {
        border-bottom: none;
    }

    /* Show mobile auth buttons inside burger menu */
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        width: 100%;
        padding-top: var(--space-lg);
        /* margin-top: auto; */
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-auth-buttons .btn {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* Overlay */
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 998;
        transition: opacity var(--transition-base);
    }

    .navbar-overlay.active {
        display: block;
    }

    /* User dropdown position fix on mobile */
    .dropdown-menu {
        right: -10px;
    }
}

@media (max-width: 480px) {
    .brand-icon {
        width: 120px;
    }

    .navbar-menu {
        width: 85%;
    }
}

/* Desktop - ensure mobile buttons are hidden */
@media (min-width: 769px) {
    .mobile-auth-buttons {
        display: none !important;
    }

    .navbar-overlay {
        display: none !important;
    }
}

/* ===========================================
   BUTTONS
   =========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: var(--font-size-base);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    border: 2px solid var(--color-text-tertiary);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-white {
    background: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

/* ===========================================
   HERO SECTION
   =========================================== */

.hero {
    position: relative;
    padding: calc(80px + var(--space-3xl)) var(--space-lg) var(--space-3xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent);
    top: 30%;
    right: -5%;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent);
    bottom: -10%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: white;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
    animation: fadeIn 1s ease-out 0.2s both;
}

.badge-icon {
    font-size: var(--font-size-lg);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.1;
    animation: fadeIn 1s ease-out 0.4s both;
}

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

.hero-description {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    animation: fadeIn 1s ease-out 0.8s both;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: fadeIn 1s ease-out 1s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-text-tertiary);
    opacity: 0.3;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: floatCard 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 0;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

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

.card-icon {
    font-size: var(--font-size-3xl);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: var(--radius-md);
}

.card-title {
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.card-subtitle {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ===========================================
   FEATURED SECTION
   =========================================== */

.featured-section {
    padding: var(--space-3xl) var(--space-lg);
    background: white;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
}

.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.material-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.material-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-placeholder svg {
    color: var(--color-primary);
}

.material-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.5rem 1rem;
    background: white;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.material-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.material-category {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.material-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.material-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.material-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
}

.material-card:hover .material-action {
    background: var(--gradient-primary);
    color: white;
}

/* ===========================================
   FEATURES SECTION
   =========================================== */

.features-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-card {
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

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

.feature-icon {
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===========================================
   CTA SECTION
   =========================================== */

.cta-section {
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    overflow: hidden;
}

.cta-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-description {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
    top: -50%;
    right: -10%;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    bottom: -30%;
    left: -5%;
}

/* ===========================================
   FOOTER
   =========================================== */

.footer {
    background: var(--color-text-primary);
    color: white;
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: var(--space-md);
    color: white;
}

.footer-column p {
    opacity: 0.7;
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul li a {
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-brand .brand-icon {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: var(--font-size-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Large Desktop */
@media (min-width: 1200px) {
    .hero-container {
        gap: var(--space-3xl);
    }

    .materials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 1025px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-description {
        max-width: none;
    }

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

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .cta-container {
        padding: var(--space-xl);
    }

    .cta-title {
        font-size: var(--font-size-3xl);
    }

    .cta-description {
        font-size: var(--font-size-lg);
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    :root {
        --space-lg: 1.25rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
    }

    .navbar-container {
        padding: var(--space-sm) var(--space-md);
    }

    .navbar-brand {
        font-size: var(--font-size-lg);
    }

    .brand-icon {
        width: 150px;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero {
        padding: calc(80px + var(--space-xl)) var(--space-md) var(--space-xl);
        min-height: auto;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--space-lg);
    }

    .hero-description {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-lg);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-xs);
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .section-container {
        padding: 0 var(--space-md);
    }

    .section-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
        margin-bottom: var(--space-lg);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .materials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .material-card {
        max-width: 100%;
    }

    .material-thumbnail {
        height: 180px;
    }

    .material-content {
        padding: var(--space-md);
    }

    .material-title {
        font-size: var(--font-size-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-title {
        font-size: var(--font-size-lg);
    }

    .cta-section {
        padding: var(--space-xl) var(--space-md);
    }

    .cta-container {
        padding: var(--space-lg);
    }

    .cta-title {
        font-size: var(--font-size-2xl);
    }

    .cta-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-lg);
    }

    .cta-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer {
        padding: var(--space-xl) var(--space-md) var(--space-md);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        margin-bottom: var(--space-lg);
    }

    .footer-column {
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    :root {
        --font-size-xl: 1.125rem;
        --font-size-2xl: 1.375rem;
        --font-size-3xl: 1.75rem;
        --font-size-4xl: 2rem;
        --font-size-5xl: 2.5rem;
    }

    .navbar-container {
        padding: var(--space-xs) var(--space-sm);
    }

    .navbar-brand {
        font-size: var(--font-size-base);
    }

    .brand-icon {
        width: 120px;
    }

    .hero {
        padding: calc(80px + var(--space-lg)) var(--space-sm) var(--space-lg);
    }

    .hero-badge {
        padding: 0.375rem 0.75rem;
        font-size: var(--font-size-xs);
        margin-bottom: var(--space-md);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
        line-height: 1.2;
    }

    .hero-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-md);
    }

    .hero-actions {
        margin-bottom: var(--space-md);
    }

    .hero-stats {
        padding: var(--space-sm);
    }

    .stat-value {
        font-size: var(--font-size-2xl);
    }

    .section-container {
        padding: 0 var(--space-sm);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .material-thumbnail {
        height: 160px;
    }

    .material-content {
        padding: var(--space-sm);
    }

    .material-title {
        font-size: var(--font-size-base);
    }

    .material-meta {
        margin-bottom: var(--space-md);
    }

    .feature-card {
        padding: var(--space-md);
    }

    .feature-icon {
        margin-bottom: var(--space-sm);
    }

    .feature-title {
        font-size: var(--font-size-base);
    }

    .cta-container {
        padding: var(--space-md);
    }

    .cta-title {
        font-size: var(--font-size-xl);
    }

    .footer {
        padding: var(--space-lg) var(--space-sm) var(--space-sm);
    }

    .footer-brand p {
        font-size: var(--font-size-sm);
    }

    .footer-column h4 {
        font-size: var(--font-size-base);
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }
}
/* ===========================================
   AUTH FORMS
   =========================================== */

.guest-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--color-background);
    padding: var(--space-lg);
}

.auth-container {
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    margin: auto;
}

.auth-card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.auth-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-text-tertiary);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    background: var(--color-surface);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2); /* Assuming RGB for primary color */
}

.form-error {
    font-size: var(--font-size-xs);
    color: var(--color-secondary); /* Using secondary color for errors */
    margin-top: var(--space-xs);
    display: block;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-md);
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-checkbox {
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--color-text-tertiary);
    border-radius: var(--radius-sm);
    margin-right: var(--space-xs);
    appearance: none; /* Hide default checkbox */
    -webkit-appearance: none;
    background-color: var(--color-surface);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.form-checkbox:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-checkbox-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.form-actions .btn {
    width: 100%;
    border-radius: var(--radius-md); /* Slightly less rounded for forms */
}

.text-link {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.text-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Responsive adjustments for auth forms */
@media (max-width: 600px) {
    .auth-card {
        padding: var(--space-lg);
    }

    .auth-title {
        font-size: var(--font-size-xl);
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
}
/* ===========================================
   ARTICLES SECTION
   =========================================== */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.article-card {
    background: var(--color-surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.article-thumbnail {
    height: 200px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.05);
}

.article-content {
    padding: var(--space-lg);
}

.article-category {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.article-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.article-excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    /* Added for consistent height and truncation */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1; /* Allow it to take available space but still be limited */
}

.article-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: var(--color-text-tertiary);
    font-size: var(--font-size-sm);
}

.article-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
}

.article-card:hover .article-action {
    background: var(--gradient-primary);
    color: white;
}
/* ===========================================
   ARTICLE DETAIL SECTION
   =========================================== */

.article-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-md);
}

.article-detail-content th,
.article-detail-content td {
    border: 1px solid var(--color-text-tertiary);
    padding: var(--space-sm);
    text-align: left;
}

.article-detail-content th {
    background-color: var(--color-background);
    font-weight: 600;
}

.article-detail-section {
    padding: calc(80px + var(--space-xl)) var(--space-lg) var(--space-3xl); /* Adjust top padding for navbar */
    background: var(--color-background);
}

.article-detail-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.article-detail-header {
    padding: var(--space-xl);
    text-align: center;
}

.article-detail-category {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.article-detail-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.2;
    color: var(--color-text-primary);
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.article-detail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-detail-content {
    padding: var(--space-xl);
    line-height: 1.8;
    color: var(--color-text-primary);
    position: relative; /* Added for gradient overlay */
    max-height: 500px; /* Initial limited height */
    overflow: hidden; /* Hide overflowing content */
    transition: max-height 0.5s ease-out; /* Smooth transition for expansion */
}

.article-detail-content.expanded {
    max-height: none; /* Full height when expanded */
}

.article-detail-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* Height of the fade effect */
    background: linear-gradient(to top, var(--color-surface) 0%, transparent 100%); /* Fade effect */
    pointer-events: none; /* Allow clicks on content below */
    transition: opacity 0.5s ease-out;
}

.article-detail-content.expanded::after {
    opacity: 0; /* Hide fade effect when expanded */
}

.article-detail-content p {
    margin-bottom: var(--space-md);
}

.article-detail-footer {
    padding: var(--space-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Responsive adjustments for article detail */
@media (max-width: 768px) {
    .article-detail-title {
        font-size: var(--font-size-3xl);
    }

    .article-detail-image {
        height: 250px;
    }

    .article-detail-content {
        padding: var(--space-lg);
    }

    .article-detail-footer {
        padding: var(--space-lg);
    }
}


/* Modal Popup Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-md);
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: var(--color-surface);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 2rem;
    color: var(--color-text-tertiary);
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--color-secondary);
}

.modal-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
}

.modal-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.modal-info-box {
    background: rgba(99, 102, 241, 0.05);
    border: 1px dashed var(--color-primary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
}

/* Animasi Muncul */
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-card.animate-in {
    animation: modalFadeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Perbaikan untuk Container Form agar tidak terlalu lebar */
.auth-container {
    max-width: 550px; /* Diperlebar sedikit dari 400px agar nyaman */
    margin: 0 auto;
}

/* Animasi simpel untuk Card */
.animate-in {
    animation: modalFadeIn 0.5s ease-out;
}

/* Menyamakan style input yang readonly agar terlihat tidak bisa diedit tapi tetap bersih */
.form-input[readonly] {
    background-color: #f1f5f9;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

/* Styling Checkbox agar tidak default kaku */
.form-checkbox {
    accent-color: var(--color-primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Form Group Spacing */
.form-group {
    margin-bottom: var(--space-md);
    text-align: left;
}

/* Perbaikan Input Focus */
.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

/* Responsif untuk Grid di Form */
@media (max-width: 480px) {
    .row {
        grid-template-columns: 1fr !important;
    }
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   =========================================== */

/* Mobile - Extra Small (< 375px) */
@media (max-width: 374px) {
    :root {
        font-size: 14px;
    }

    .section-container {
        padding: var(--space-sm);
    }

    .material-card {
        border-radius: var(--radius-lg);
    }

    .material-thumbnail {
        height: 150px;
    }

    .material-content {
        padding: var(--space-md);
    }

    .material-title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-sm);
    }

    .material-badge {
        padding: 0.25rem 0.75rem;
        font-size: var(--font-size-xs);
        top: var(--space-sm);
        right: var(--space-sm);
    }

    .material-action {
        padding: 0.75rem 1rem;
        font-size: var(--font-size-sm);
    }

    .material-meta {
        gap: var(--space-sm);
        flex-wrap: wrap;
    }

    .meta-item {
        font-size: var(--font-size-xs);
    }

    .section-header {
        gap: var(--space-sm);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-sm);
    }
}

/* Mobile - Small (375px - 480px) */
@media (max-width: 480px) and (min-width: 375px) {
    .section-container {
        padding: var(--space-sm);
    }

    .materials-grid {
        gap: var(--space-md);
    }

    .material-card {
        border-radius: var(--radius-lg);
    }

    .material-thumbnail {
        height: 180px;
    }

    .material-content {
        padding: var(--space-md);
    }

    .material-title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-sm);
    }

    .material-excerpt {
        font-size: var(--font-size-sm);
    }

    .article-excerpt {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }

    .material-action {
        padding: 0.75rem 1rem;
        font-size: var(--font-size-sm);
        border-radius: var(--radius-md);
    }

    .material-meta {
        gap: var(--space-sm);
        flex-wrap: wrap;
    }

    .meta-item {
        font-size: var(--font-size-xs);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-sm);
    }

    .featured-section {
        padding-top: calc(80px + var(--space-md)) !important;
    }
}

/* Mobile - Medium (480px - 640px) */
@media (max-width: 640px) {
    .section-container {
        padding: var(--space-md);
    }

    .materials-grid {
        gap: var(--space-md);
    }

    .material-card {
        border-radius: var(--radius-lg);
    }

    .material-thumbnail {
        height: 200px;
    }

    .material-content {
        padding: var(--space-md);
    }

    .material-title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-sm);
    }

    .material-action {
        padding: 0.875rem 1.25rem;
        font-size: var(--font-size-sm);
    }

    .section-header {
        gap: var(--space-md);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .navbar-actions {
        /* display: none; */
    }

    .pagination-links {
        overflow-x: auto;
    }

    .pagination-links a,
    .pagination-links span {
        padding: 0.5rem 0.75rem;
        font-size: var(--font-size-sm);
    }
}

/* Tablet - Small (640px - 768px) */
@media (max-width: 768px) and (min-width: 641px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .material-card {
        border-radius: var(--radius-xl);
    }

    .material-thumbnail {
        height: 200px;
    }

    .material-content {
        padding: var(--space-lg);
    }

    .material-title {
        font-size: var(--font-size-xl);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }
}

/* Tablet - Medium to Large (768px - 1024px) - Already handled above */
@media (max-width: 1024px) and (min-width: 769px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

/* Desktop - Large (> 1024px) */
@media (min-width: 1025px) {
    .materials-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: var(--space-lg);
    }

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

/* Touch Device Improvements - Disable hover effects on mobile */
@media (hover: none) and (pointer: coarse) {
    .material-card:hover,
    .article-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }

    .material-action {
        padding: 1rem 1.25rem;
        font-size: var(--font-size-base);
        min-height: 48px;
        border-radius: var(--radius-md);
    }

    .btn {
        min-height: 48px;
        min-width: 48px;
    }

    .meta-item {
        padding: 0.5rem 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-container,
    .pagination-links,
    .material-action,
    .featured-section .section-header {
        display: none;
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .material-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}



/* ===========================================
   FIX FOR TERMS & CONDITIONS PAGE
   Add this to your CSS file
   =========================================== */

/* Override the max-height limitation for static pages like Terms & Conditions */
.article-detail-content.full-content {
    max-height: none !important; /* Remove height limitation */
    overflow: visible !important; /* Show all content */
}

/* Remove the fade gradient overlay for full content pages */
.article-detail-content.full-content::after {
    display: none !important; /* Hide the gradient fade effect */
}

/* Optional: Add spacing for better readability on full content pages */
.article-detail-content.full-content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text-primary);
}

.article-detail-content.full-content ul {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.article-detail-content.full-content ul li {
    margin-bottom: var(--space-xs);
    line-height: 1.8;
}

.article-detail-content.full-content p {
    margin-bottom: var(--space-lg);
}

/* Responsive adjustments for full content */
@media (max-width: 768px) {
    .article-detail-content.full-content h3 {
        font-size: var(--font-size-xl);
        margin-top: var(--space-lg);
    }

    .article-detail-content.full-content ul {
        margin-left: var(--space-md);
    }
}
