/* ============================================
   Variables & Reset
   ============================================ */
:root {
    --primary-color: #4a1969;
    --primary-dark: #3a1354;
    --primary-light: #6b2a8f;
    --secondary-color: #6366f1;
    --accent-color: #00bcd4;
    --accent-hover: #00acc1;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #4a1969;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(0, 188, 212, 0.3);
    --shadow-glow-primary: 0 0 20px rgba(74, 25, 105, 0.3);
    --transition: all 0.3s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 400;
    text-decoration: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.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 0.5s ease;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 25, 105, 0.4), var(--shadow-glow-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(74, 25, 105, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn--accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn--accent:hover::before {
    left: 100%;
}

.btn--accent:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.4), var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--accent:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--block {
    width: 100%;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav__logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.nav__logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav__logo .logo-link:hover .logo-img {
    transform: scale(1.05);
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

/* Hide CTA item on desktop - it's only visible in mobile menu */
.nav__item--cta {
    display: none;
}

/* Hide lang toggle item on desktop - it's only visible in mobile menu */
.nav__item--lang-mobile {
    display: none;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-dark);
    transition: var(--transition);
}

.lang-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav__cta {
    margin-left: 0.5rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 25, 105, 0.05) 0%, transparent 70%);
    animation: heroBackgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes heroBackgroundPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.8;
    }
}

.hero__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border-radius: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    animation: heroBadgeIn 0.8s ease-out forwards;
    will-change: transform, opacity;
}

@keyframes heroBadgeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rating {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: heroBadgeTextIn 0.5s ease-out 0.2s forwards;
}

.rating-text {
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-10px);
    animation: heroBadgeTextIn 0.5s ease-out 0.3s forwards;
}

.businesses {
    color: var(--text-light);
    margin-left: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: heroBadgeTextIn 0.5s ease-out 0.4s forwards;
}

/* Businesses Carousel */
.businesses-carousel {
    margin-left: 0.5rem;
    width: 140px;
    height: 32px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-10px);
    animation: heroBadgeTextIn 0.5s ease-out 0.4s forwards;
}

.businesses-carousel__track {
    display: flex;
    flex-direction: column;
    animation: businessesCarousel 9s infinite ease-in-out;
    will-change: transform;
}

.businesses-carousel__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 32px;
    flex-shrink: 0;
    padding: 0.25rem 0;
}

.businesses-carousel__image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.businesses-carousel__fallback {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.businesses-carousel__name {
    color: var(--text-light);
    font-size: 0.875rem;
    white-space: nowrap;
    font-weight: 500;
}

@keyframes businessesCarousel {
    0% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-32px);
    }
    45% {
        transform: translateY(-32px);
    }
    50% {
        transform: translateY(-64px);
    }
    70% {
        transform: translateY(-64px);
    }
    75% {
        transform: translateY(-96px);
    }
    95% {
        transform: translateY(-96px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes heroBadgeTextIn {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: heroTitleIn 1s ease-out 0.3s forwards;
    will-change: transform, opacity;
}

.hero__title span {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: heroTitleSpanIn 0.8s ease-out forwards;
}

.hero__title span:nth-child(1) {
    animation-delay: 0.5s;
}

.hero__title span:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitleSpanIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 2.5rem;
    transform: translateY(25px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: heroSubtitleIn 1s ease-out 1s forwards;
    will-change: transform, opacity;
}

@keyframes heroSubtitleIn {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    flex-wrap: wrap;
    animation: heroCtaIn 1s ease-out 1.3s forwards;
}

.hero__cta .btn {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: heroBtnIn 0.6s ease-out forwards;
}

.hero__cta .btn:nth-child(1) {
    animation-delay: 1.5s;
}

.hero__cta .btn:nth-child(2) {
    animation-delay: 1.7s;
}

@keyframes heroCtaIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBtnIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    50% {
        transform: translateY(-3px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   Section Header
   ============================================ */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: var(--text-dark);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.services-features {
    margin-bottom: 4rem;
    text-align: center;
}

.services-features__title {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-feature {
    background: transparent;
    padding: 0;
    text-align: left;
    border: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.services-feature {
    flex-direction: row;
}

.services-feature--row1 .services-feature__icon {
    order: 1;
}

.services-feature--row1 .services-feature__content {
    order: 2;
}

.services-feature--row2 .services-feature__icon {
    order: 2;
}

.services-feature--row2 .services-feature__content {
    order: 1;
}

.services-feature:hover {
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.services-feature__icon {
    flex: 0 0 33.333%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.services-feature__icon i {
    font-size: inherit;
    color: inherit;
}

.services-feature__img {
    width: 100%;
    max-width: 100%;
    height: 300px;
    display: block;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
}

.services-feature:hover .services-feature__img {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}


.services-feature__content {
    flex: 0 0 66.666%;
}

.services-feature__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.services-feature__description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
}

/* ============================================
   Use Cases Section
   ============================================ */
.use-cases {
    padding: 6rem 0;
    background: var(--bg-white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card__number {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card__demo {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.demo-chat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-message {
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 1rem 1rem 1rem 0.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    position: relative;
    max-width: 85%;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.chat-message::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 0;
    height: 0;
    /*border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent var(--primary-color) transparent transparent;*/
}

.chat-message.response {
    background: var(--primary-color);
    color: var(--bg-white);
    margin-left: auto;
    max-width: 80%;
}

.demo-integrations {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.demo-integrations span {
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

/* ============================================
   Introduction Section
   ============================================ */
.introduction {
    padding: 6rem 0;
    background: var(--bg-light);
}

.introduction__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
}

.introduction__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.introduction__heading {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.introduction__title {
    font-size: clamp(1rem, 3vw, 1rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-light);
    text-align: justify;
}

.introduction__image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 400px;
    width: 100%;
}

.introduction__img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: 6rem 0;
    background: var(--bg-white);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    transform: scale(1.05);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 400;
}

.pricing-card__header {
    margin-bottom: 2rem;
}

.pricing-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card__subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-period {
    color: var(--text-light);
    font-size: 1rem;
}

.pricing-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card__features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card__icon i {
    font-size: inherit;
    color: inherit;
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card__description {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
}

.testimonials__slider {
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonials__track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.testimonial-card__name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-card__handle {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-card__text {
    color: var(--text-dark);
    line-height: 1.7;
}

.testimonials__controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonials__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials__btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ============================================
   Featured Testimonial
   ============================================ */
.featured-testimonial {
    padding: 4rem 0;
    background: var(--bg-light);
}

.featured-testimonial__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.featured-testimonial__quote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.featured-testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.featured-testimonial__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.featured-testimonial__name {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.featured-testimonial__role {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   How it Works Section
   ============================================ */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-white);
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-card__number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card__description {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
    background-image: url('../assets/image1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4a1969;
    opacity: 0.8;
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.about__description {
    font-size: 1.125rem;
    color: var(--bg-white);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about .btn--primary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.about .btn--primary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.stat-card__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card__label {
    color: var(--text-light);
    font-size: 1rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    padding: 6rem 0;
    background: var(--bg-white);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item__question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item__question h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 400;
    color: inherit;
    flex: 1;
    text-align: left;
}

.faq-item__question:hover {
    color: var(--primary-color);
}

.faq-item__question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-item__question::after {
    content: '−';
    transform: rotate(180deg);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact__info-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact__info-content {
    flex: 1;
}

.contact__info-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact__info-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact__form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    font-family: inherit;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 25, 105, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__form .btn {
    width: 100%;
    margin-top: 1rem;
}

.section__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    opacity: 0.85;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section Responsive */
@media (max-width: 968px) {
    .contact__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 500px;
}

.faq-item__answer p {
    padding: 0 0 1.5rem 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta__content {
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--bg-white);
}

.cta__title strong {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Video Modal
   ============================================ */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    z-index: 10001;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10002;
    line-height: 1;
    padding: 0;
}

.video-modal__close:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: rotate(90deg);
}

.video-modal__iframe-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-modal__iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-dark);
    color: var(--bg-white);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    display: block;
}

.footer__logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer__tagline {
    color: var(--text-lighter);
    line-height: 1.7;
}

.footer__links {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer__menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.footer__item {
    display: flex;
    align-items: center;
}

.footer__column {
    display: flex;
    flex-direction: column;
}

.footer__title {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__list--social {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    font-size: 1.25rem;
}

.footer__social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--bg-white);
}

.footer__link {
    color: var(--text-lighter);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.footer__link:hover {
    color: var(--bg-white);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-page {
    padding: 8rem 0 4rem;
    background: var(--bg-white);
    margin-top: 80px;
}

.legal-page.animate-on-scroll {
    opacity: 1 !important;
}

.legal-page__content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 1 !important;
}

.legal-page__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    opacity: 1 !important;
}

.legal-page__date {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    opacity: 1 !important;
}

.legal-page__content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1rem;
    opacity: 1 !important;
}

.legal-page__content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    opacity: 1 !important;
}

.legal-page__content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    opacity: 1 !important;
}

.legal-page__content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-page__content li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    opacity: 1 !important;
}

.legal-page__content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-page__content a:hover {
    color: var(--primary-dark);
}

.legal-page__copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   Create Article Page
   ============================================ */
.create-article {
    padding: 8rem 0 4rem;
    background: var(--bg-white);
    margin-top: 80px;
}

.create-article__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.create-article__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
}

.article-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.form__textarea--large {
    min-height: 300px;
}

/* Image Upload */
.image-upload {
    position: relative;
}

.image-upload__input {
    display: none;
}

.image-upload__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    gap: 1rem;
}

.image-upload__label:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.image-upload__label i {
    font-size: 3rem;
    color: var(--primary-color);
}

.image-upload__label span {
    color: var(--text-dark);
    font-weight: 500;
}

.image-upload__preview {
    position: relative;
    margin-top: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 500px;
}

.image-upload__preview img {
    width: 100%;
    height: auto;
    display: block;
}

.image-upload__remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--bg-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.image-upload__remove:hover {
    background: rgba(220, 38, 38, 0.9);
}

/* Quill Editor Styles */
#article-content-editor {
    background: var(--bg-white);
    border-radius: var(--radius);
}

.ql-container {
    font-family: inherit;
    font-size: 1rem;
    min-height: 400px;
}

.ql-editor {
    min-height: 400px;
}

.ql-editor.ql-blank::before {
    color: var(--text-lighter);
    font-style: normal;
}

.ql-toolbar {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.ql-container {
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.ql-snow .ql-stroke {
    stroke: var(--text-dark);
}

.ql-snow .ql-fill {
    fill: var(--text-dark);
}

.ql-snow .ql-picker-label {
    color: var(--text-dark);
}

.ql-snow.ql-toolbar button:hover,
.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button.ql-active,
.ql-snow .ql-toolbar button.ql-active {
    color: var(--primary-color);
}

.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--primary-color);
}

.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-fill {
    fill: var(--primary-color);
}

.form__actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.form__actions .btn {
    min-width: 150px;
}

/* ============================================
   Articles List Page
   ============================================ */
.articles-page {
    padding: 8rem 0 4rem;
    background: var(--bg-light);
    margin-top: 80px;
}

.articles-page__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.articles-page__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
}

.articles-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Latest Articles Section */
.latest-articles {
    padding: 6rem 0;
    background: var(--bg-white);
}

.latest-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.latest-articles__footer {
    text-align: center;
    margin-top: 3rem;
}

.latest-article-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: relative;
}

.latest-article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.latest-article-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.latest-article-card__image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.latest-article-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.latest-article-card:hover .latest-article-card__image {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.latest-article-card:hover .latest-article-card__image-wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.latest-article-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(74, 25, 105, 0.8) 100%);
    color: var(--bg-white);
    height: 100%;
}

.latest-article-card__image--placeholder i {
    font-size: 3rem;
    opacity: 0.6;
}

.latest-article-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.latest-article-card:hover .latest-article-card__title {
    color: var(--primary-color);
}

.latest-article-card__read-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

@media (max-width: 768px) {
    .latest-articles__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .latest-article-card__image-wrapper {
        height: 150px;
    }
    
    .latest-article-card__content {
        padding: 1rem;
    }
    
    .latest-article-card__title {
        font-size: 1rem;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .latest-articles__grid {
        grid-template-columns: 1fr;
    }
}

.articles-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.articles-empty i {
    font-size: 4rem;
    color: var(--text-lighter);
    margin-bottom: 1rem;
}

.articles-empty p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.article-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.article-card__image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-card__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.article-card:hover .article-card__image img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.article-card:hover .article-card__image-wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(74, 25, 105, 0.8) 100%);
    color: var(--bg-white);
}

.article-card__image--placeholder i {
    font-size: 4rem;
    opacity: 0.6;
}

/* Overlay removed - using card layout instead */

.article-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-card__meta-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-card__views {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 1rem;
}

.article-card__views i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.article-card__category {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card__date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.article-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.article-card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-card__category {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-card__date {
    color: var(--text-light);
}

.article-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-card__excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

/* Removed article-card__footer, article-card__author, article-card__actions as they're no longer used */

.article-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn--danger {
    background: #dc2626;
    color: var(--bg-white);
}

.btn--danger:hover {
    background: #b91c1c;
}

/* ============================================
   Article Modal
   ============================================ */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
}

.article-modal.active {
    display: block;
}

.article-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.article-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-white);
    border-radius: var(--radius);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.article-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.article-modal__close:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.article-modal__image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
}

.article-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-modal__body {
    padding: 2rem;
}

.article-modal__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    flex-wrap: wrap;
    gap: 1rem;
}

.article-modal__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.article-modal__excerpt {
    font-size: 1.125rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-modal__content-text {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.article-modal__content-text p {
    margin-bottom: 1rem;
}

.article-modal__content-text h1,
.article-modal__content-text h2,
.article-modal__content-text h3,
.article-modal__content-text h4,
.article-modal__content-text h5,
.article-modal__content-text h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.article-modal__content-text ul,
.article-modal__content-text ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.article-modal__content-text li {
    margin-bottom: 0.5rem;
}

.article-modal__content-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1rem 0;
}

.article-modal__content-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-modal__content-text a:hover {
    color: var(--primary-dark);
}

.article-modal__content-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-light);
}

.article-modal__content-text code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-modal__content-text pre {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1rem 0;
}

.article-modal__content-text pre code {
    background: transparent;
    padding: 0;
}

/* ============================================
   Authentication Pages
   ============================================ */
.auth-page {
    padding: 8rem 0 4rem;
    background: var(--bg-light);
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 3rem;
}

.auth-card__header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.auth-card__subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form__help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.btn--block {
    width: 100%;
}

.auth-card__footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

.auth-card__footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-card__footer a:hover {
    text-decoration: underline;
}

.auth-message {
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    text-align: center;
}

.auth-message--success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.auth-message--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ============================================
   Admin Users Page
   ============================================ */
.admin-users {
    padding: 8rem 0 4rem;
    background: var(--bg-light);
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.admin-users__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-users__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
}

.admin-users__filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.users-table-container {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.users-table thead {
    background: var(--bg-light);
}

.users-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.users-table tbody tr:hover {
    background: var(--bg-light);
}

.users-table tbody tr:last-child td {
    border-bottom: none;
}

.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.role-badge--admin {
    background: #fee2e2;
    color: #991b1b;
}

.role-badge--author {
    background: #dbeafe;
    color: #1e40af;
}

.role-badge--editor {
    background: #fef3c7;
    color: #92400e;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge--active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge--inactive {
    background: #e5e7eb;
    color: #374151;
}

.status-badge--suspended {
    background: #fee2e2;
    color: #991b1b;
}

.users-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.users-empty i {
    font-size: 4rem;
    color: var(--text-lighter);
    margin-bottom: 1rem;
}

/* User Modal */
.user-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.user-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.user-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-white);
    border-radius: var(--radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
}

.user-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.user-modal__close:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.user-modal__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.user-form {
    margin-top: 1rem;
}

/* Responsive for Admin Users */
@media (max-width: 968px) {
    .admin-users__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .users-table {
        font-size: 0.875rem;
    }

    .users-table th,
    .users-table td {
        padding: 0.75rem 0.5rem;
    }

    .user-modal__content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* ============================================
   Admin Contact Messages
   ============================================ */
.admin-contact {
    padding: 8rem 0 4rem;
    background: var(--bg-light);
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.admin-contact .container {
    max-width: 100%;
    padding: 0 2rem;
}

.admin-contact__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.admin-contact__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
}

.admin-contact__stats {
    flex: 1;
    min-width: 300px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-item {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-item--new {
    border-left: 4px solid var(--primary-color);
}

.stat-item--read {
    border-left: 4px solid var(--accent-color);
}

.stat-item--replied {
    border-left: 4px solid #10b981;
}

.stat-item--archived {
    border-left: 4px solid #6b7280;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-contact__filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

/* Admin Contact Table Container */
.admin-contact__table-container {
    background: var(--bg-white);
    border-radius: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
    border: none;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.admin-contact__messages {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.messages-table-container {
    overflow-x: auto;
    width: 100%;
}

.messages-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100%;
    background: var(--bg-white);
    table-layout: auto;
}

.messages-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(74, 25, 105, 0.95) 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.messages-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--bg-white);
    border-bottom: none;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.messages-table th:first-child {
    padding-left: 2rem;
}

.messages-table th:last-child {
    padding-right: 2rem;
}

.messages-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.9375rem;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.messages-table td:first-child {
    padding-left: 2rem;
}

.messages-table td:last-child {
    padding-right: 2rem;
}

.messages-table tbody tr {
    transition: all 0.2s ease;
    background: var(--bg-white);
}

.messages-table tbody tr:hover {
    background: rgba(74, 25, 105, 0.03);
    transform: scale(1.001);
}

.messages-table tbody tr:last-child td {
    border-bottom: none;
}

.messages-table tbody tr[data-status="new"] {
    border-left: 3px solid var(--primary-color);
}

.messages-table tbody tr[data-status="read"] {
    border-left: 3px solid var(--accent-color);
}

.messages-table tbody tr[data-status="replied"] {
    border-left: 3px solid #10b981;
}

.messages-table tbody tr[data-status="archived"] {
    border-left: 3px solid #6b7280;
    opacity: 0.85;
}

.messages-table__date {
    white-space: nowrap;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 180px;
}

.messages-table__name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
    min-width: 150px;
}

.messages-table__email {
    color: var(--text-light);
    font-size: 0.875rem;
    min-width: 200px;
    word-break: break-word;
}

.messages-table__subject {
    font-weight: 500;
    color: var(--text-dark);
    max-width: 250px;
    min-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.messages-table__message {
    color: var(--text-light);
    max-width: 300px;
    min-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    line-height: 1.5;
}

.messages-table__status {
    white-space: nowrap;
    min-width: 120px;
}

.messages-table__status .status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.messages-table__actions {
    white-space: nowrap;
    min-width: 80px;
}

.messages-table__actions .btn {
    padding: 0.625rem;
    min-width: auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.messages-table__actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.messages-table__actions .btn i {
    font-size: 1rem;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.pagination__btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination__btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(74, 25, 105, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 25, 105, 0.15);
}

.pagination__btn:active:not(:disabled) {
    transform: translateY(0);
}

.pagination__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-light);
}

.pagination__pages {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.pagination__page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination__page-btn:hover:not(.pagination__page-btn--active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(74, 25, 105, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 25, 105, 0.15);
}

.pagination__page-btn--active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 8px rgba(74, 25, 105, 0.25);
    cursor: default;
}

.pagination__page-btn--active:hover {
    transform: none;
}

.pagination__ellipsis {
    padding: 0 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    user-select: none;
}

.message-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.message-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.message-card[data-status="new"] {
    border-left: 4px solid var(--primary-color);
}

.message-card[data-status="read"] {
    border-left: 4px solid var(--accent-color);
}

.message-card[data-status="replied"] {
    border-left: 4px solid #10b981;
}

.message-card[data-status="archived"] {
    border-left: 4px solid #6b7280;
    opacity: 0.7;
}

.message-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.message-card__info {
    flex: 1;
}

.message-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.message-card__email {
    font-size: 0.875rem;
    color: var(--text-light);
}

.message-card__body {
    margin-bottom: 1rem;
}

.message-card__subject {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.message-card__preview {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.message-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.message-card__date {
    font-size: 0.75rem;
    color: var(--text-lighter);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.status-badge--new {
    background: var(--primary-color);
    color: var(--bg-white);
}

.status-badge--read {
    background: var(--accent-color);
    color: var(--bg-white);
}

.status-badge--replied {
    background: #10b981;
    color: var(--bg-white);
}

.status-badge--archived {
    background: #6b7280;
    color: var(--bg-white);
}

/* Message Modal */
.message-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
}

.message-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.message-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    z-index: 1001;
}

.message-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.message-modal__close:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.message-modal__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.message-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.message-modal__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.message-modal__email {
    font-size: 0.875rem;
    color: var(--text-light);
}

.message-modal__date {
    font-size: 0.75rem;
    color: var(--text-lighter);
}

.message-modal__body {
    margin-bottom: 1.5rem;
}

.message-modal__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    white-space: pre-wrap;
}

.message-modal__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn--danger {
    background: #ef4444;
    color: var(--bg-white);
}

.btn--danger:hover {
    background: #dc2626;
}

@media (max-width: 768px) {
    .admin-contact__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-contact__table-container {
        border-radius: 8px;
        margin-bottom: 1.5rem;
    }

    .messages-table {
        font-size: 0.875rem;
        min-width: 800px;
    }

    .messages-table th {
        padding: 1rem 0.75rem;
        font-size: 0.75rem;
    }

    .messages-table th:first-child {
        padding-left: 1rem;
    }

    .messages-table th:last-child {
        padding-right: 1rem;
    }

    .messages-table td {
        padding: 1rem 0.75rem;
    }

    .messages-table td:first-child {
        padding-left: 1rem;
    }

    .messages-table td:last-child {
        padding-right: 1rem;
    }

    .messages-table__date {
        min-width: 140px;
        font-size: 0.8125rem;
    }

    .messages-table__name {
        min-width: 120px;
        font-size: 0.875rem;
    }

    .messages-table__email {
        min-width: 150px;
        font-size: 0.8125rem;
    }

    .messages-table__subject {
        max-width: 150px;
        min-width: 120px;
        font-size: 0.8125rem;
    }

    .messages-table__message {
        max-width: 150px;
        min-width: 120px;
        font-size: 0.8125rem;
    }

    .messages-table__status {
        min-width: 100px;
    }

    .messages-table__status .status-badge {
        padding: 0.25rem 0.625rem;
        font-size: 0.6875rem;
    }

    .messages-table__actions .btn {
        width: 36px;
        height: 36px;
        padding: 0.5rem;
    }

    .pagination {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .pagination__pages {
        order: -1;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0.5rem 0;
    }
    
    .pagination__page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.8125rem;
        padding: 0.375rem 0.625rem;
    }

    .pagination__btn {
        width: 100%;
        justify-content: center;
    }

    .message-modal__content {
        width: 95%;
        padding: 1.5rem;
    }

    .message-modal__actions {
        flex-direction: column;
    }

    .message-modal__actions .btn {
        width: 100%;
    }
}

/* Responsive for Article Pages */
@media (max-width: 968px) {
    .create-article__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .form__actions {
        flex-direction: column;
    }

    .form__actions .btn {
        width: 100%;
    }

    .article-modal__content {
        width: 95%;
        max-height: 95vh;
    }

    .articles-page__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .articles-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        white-space: nowrap;
    }
}

.article-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer__copyright {
    color: var(--text-lighter);
    font-size: 0.875rem;
}

/* ============================================
   Animations
   ============================================ */
/* Initial state for animated elements */
.animate-on-scroll {
    opacity: 0;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Fade In Left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

/* Fade In Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Slide In Up */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.7s ease-out forwards;
}

/* Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Stagger delay classes */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    min-width: 300px;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.toast--success {
    border-left-color: (--primary-color);
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1) 0%, var(--bg-white) 4px);
}

.toast--error {
    border-left-color: #ef4444;
    background: linear-gradient(to right, rgba(239, 68, 68, 0.1) 0%, var(--bg-white) 4px);
}

.toast--info {
    border-left-color: var(--accent-color);
    background: linear-gradient(to right, rgba(0, 188, 212, 0.1) 0%, var(--bg-white) 4px);
}

.toast__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast--success .toast__icon {
    color: var(--primary-color);
}

.toast--error .toast__icon {
    color: #ef4444;
}

.toast--info .toast__icon {
    color: var(--accent-color);
}

.toast__content {
    flex: 1;
}

.toast__message {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

.toast__close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast__close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast--closing {
    animation: slideOutRight 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    .toast-container {
        top: 80px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .pricing-card--featured {
        transform: scale(1);
    }
    
    .footer__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0.75rem 1rem;
    }
    
    .nav__logo .logo-img {
        height: 35px;
    }
    
    .nav__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 1.5rem 1rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        gap: 0;
    }

    .nav__menu.active {
        left: 0;
    }
    
    .nav__item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav__item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav__item:last-child:not(.nav__item--cta):not(.nav__item--lang-mobile) {
        border-bottom: none;
    }
    
    /* CTA item in mobile menu */
    .nav__item--cta {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 2px solid var(--border-color);
        border-bottom: none;
    }
    
    /* Lang toggle item in mobile menu */
    .nav__item--lang-mobile {
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding: 0;
    }
    
    .lang-toggle--mobile {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        border: none;
        border-radius: 0;
        background: transparent;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .lang-toggle--mobile:hover {
        background: var(--bg-light);
        border-color: transparent;
        color: var(--primary-color);
    }

    .nav__link {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
        width: 100%;
    }
    
    .nav__link::after {
        display: none;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
        position: relative;
        padding: 0.5rem;
        margin-left: 0.5rem;
    }
    
    .nav__toggle span {
        width: 22px;
        height: 2.5px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav__actions {
        gap: 0.5rem;
    }
    
    /* Hide CTA and lang toggle in nav__actions on mobile */
    .nav__cta {
        display: none;
    }
    
    .nav__actions .lang-toggle {
        display: none;
    }
    
    /* Show lang toggle in mobile menu */
    .nav__item--lang-mobile {
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding: 0;
    }
    
    .lang-toggle--mobile {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        border: none;
        border-radius: 0;
        background: transparent;
        font-size: 1rem;
        justify-content: flex-start;
    }
    
    .lang-toggle--mobile:hover {
        background: var(--bg-light);
        border-color: transparent;
        color: var(--primary-color);
    }
    
    /* CTA button in mobile menu */
    .nav__cta-mobile {
        width: 100%;
        padding: 0.875rem 1.5rem;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.95rem;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .nav__cta-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(74, 25, 105, 0.2);
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero__cta {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero__cta .btn {
        width: auto;
    }

    .hero__badge {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.375rem;
        max-width: 100%;
    }

    .rating {
        font-size: 0.875rem;
    }

    .rating-text {
        font-size: 0.75rem;
    }

    .businesses-carousel {
        margin-left: 0.25rem;
        width: 100px;
        height: 28px;
    }

    .businesses-carousel__item {
        height: 28px;
        gap: 0.375rem;
    }

    .businesses-carousel__image,
    .businesses-carousel__fallback {
        width: 20px;
        height: 20px;
    }

    .businesses-carousel__fallback {
        font-size: 1rem;
    }

    .businesses-carousel__name {
        font-size: 0.75rem;
    }

    .businesses-carousel__track {
        animation: businessesCarouselMobile 9s infinite ease-in-out;
    }

    @keyframes businessesCarouselMobile {
        0% {
            transform: translateY(0);
        }
        20% {
            transform: translateY(0);
        }
        25% {
            transform: translateY(-28px);
        }
        45% {
            transform: translateY(-28px);
        }
        50% {
            transform: translateY(-56px);
        }
        70% {
            transform: translateY(-56px);
        }
        75% {
            transform: translateY(-84px);
        }
        95% {
            transform: translateY(-84px);
        }
        100% {
            transform: translateY(0);
        }
    }

    .introduction__row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .introduction__image {
        order: -1;
    }

    .services-features__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-feature {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .services-feature__icon {
        flex: 0 0 auto;
    }

    .services-feature__content {
        flex: 1 1 auto;
    }

    .services__grid,
    .features__grid,
    .pricing__grid,
    .how-it-works__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__track {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        grid-template-columns: 1fr;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__menu {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.65rem 0.75rem;
    }
    
    .nav__logo .logo-img {
        height: 24px;
    }
    
    .nav__menu {
        top: 55px;
        height: calc(100vh - 55px);
        padding: 1.25rem 0.75rem;
    }
    
    .nav__link {
        font-size: 0.95rem;
        padding: 0.875rem 0;
    }
    
    .nav__toggle span {
        width: 20px;
        height: 2px;
    }
    
    .nav__cta-mobile {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }

    .hero__badge {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
        gap: 0.25rem;
        margin-bottom: 1.5rem;
    }

    .rating {
        font-size: 0.75rem;
    }

    .rating-text {
        font-size: 0.7rem;
    }

    .businesses-carousel {
        margin-left: 0.25rem;
        width: 80px;
        height: 24px;
    }

    .businesses-carousel__item {
        height: 24px;
        gap: 0.25rem;
    }

    .businesses-carousel__image,
    .businesses-carousel__fallback {
        width: 18px;
        height: 18px;
    }

    .businesses-carousel__fallback {
        font-size: 0.9rem;
    }

    .businesses-carousel__name {
        font-size: 0.65rem;
    }

    .businesses-carousel__track {
        animation: businessesCarouselSmall 9s infinite ease-in-out;
    }

    @keyframes businessesCarouselSmall {
        0% {
            transform: translateY(0);
        }
        20% {
            transform: translateY(0);
        }
        25% {
            transform: translateY(-24px);
        }
        45% {
            transform: translateY(-24px);
        }
        50% {
            transform: translateY(-48px);
        }
        70% {
            transform: translateY(-48px);
        }
        75% {
            transform: translateY(-72px);
        }
        95% {
            transform: translateY(-72px);
        }
        100% {
            transform: translateY(0);
        }
    }

    .container {
        padding: 0 1rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .video-modal__content {
        width: 95%;
    }

    .video-modal__close {
        top: -50px;
        right: -10px;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
}

/* ============================================
   Article View Page
   ============================================ */
.article-page {
    padding: 8rem 0 4rem;
    background: var(--bg-light);
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.article-page__header {
    margin-bottom: 2rem;
}

.article-view {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.article-view__image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--bg-light);
}

.article-view__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-view__content {
    padding: 3rem;
}

.article-view__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-view__meta-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-view__views {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 1rem;
}

.article-view__views i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.article-view__category {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-view__date {
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-view__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-view__excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius);
}

.article-view__body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.article-view__body h1,
.article-view__body h2,
.article-view__body h3,
.article-view__body h4,
.article-view__body h5,
.article-view__body h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.article-view__body h2 {
    font-size: 2rem;
}

.article-view__body h3 {
    font-size: 1.5rem;
}

.article-view__body p {
    margin-bottom: 1.5rem;
}

.article-view__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.article-view__body ul,
.article-view__body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-view__body li {
    margin-bottom: 0.5rem;
}

.article-view__body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-view__body a:hover {
    color: var(--primary-color-dark);
}

.article-view__body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.article-view__body code {
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-view__body pre {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 2rem 0;
}

.article-view__body pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.article-view__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-view__tags .tag {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Mobile optimizations for article page */
@media (max-width: 768px) {
    .article-page {
        padding: 6rem 0 2rem;
        margin-top: 70px;
    }
    
    .article-page__header {
        margin-bottom: 1.5rem;
    }
    
    .article-page__header {
        position: sticky;
        top: 70px;
        background: var(--bg-light);
        padding: 1rem 0;
        margin: -1rem 0 1.5rem;
        z-index: 10;
    }
    
    .article-back-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        display: flex;
        align-items: center;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .article-back-btn:hover {
        transform: translateX(-2px);
    }
    
    .article-back-btn i {
        font-size: 0.9rem;
    }
    
    .article-back-btn .btn-text {
        display: inline;
    }
    
    .article-view {
        border-radius: 0;
        margin: 0 -1rem;
        max-width: none;
    }
    
    .article-view__content {
        padding: 1.5rem 1rem;
    }
    
    .article-view__image {
        height: 220px;
        border-radius: 0;
    }
    
    .article-view__image img {
        object-fit: cover;
        object-position: center;
    }
    
    .article-view__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .article-view__meta-right {
        width: 100%;
        justify-content: space-between;
        font-size: 0.85rem;
    }
    
    .article-view__category {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .article-view__title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .article-view__excerpt {
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .article-view__body {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .article-view__body h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .article-view__body h3 {
        font-size: 1.25rem;
    }
    
    .article-view__body p {
        margin-bottom: 1rem;
    }
    
    .article-view__body img {
        margin: 1.5rem 0;
        border-radius: 8px;
    }
    
    .article-view__tags {
        padding-top: 1.5rem;
        gap: 0.5rem;
    }
    
    .article-view__tags .tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .article-page {
        padding: 5rem 0 1.5rem;
    }
    
    .article-view__image {
        height: 180px;
    }
    
    .article-view__content {
        padding: 1.25rem 0.75rem;
    }
    
    .article-view__title {
        font-size: 1.35rem;
    }
    
    .article-view__body {
        font-size: 0.95rem;
    }
    
    .article-page__header {
        top: 55px;
        padding: 0.75rem 0;
    }
    
    .article-back-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    
    .article-back-btn .btn-text {
        font-size: 0.85rem;
    }
}

/* ============================================
   Admin Dashboard
   ============================================ */
.admin-dashboard {
    padding: 8rem 0 4rem;
    background: var(--bg-light);
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.dashboard__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
}

.dashboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.dashboard-loading i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dashboard-loading p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.dashboard-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.dashboard-error i {
    font-size: 3rem;
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.dashboard-error p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Statistics Cards Grid */
.dashboard__stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-card--users .stat-card__icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.stat-card--articles .stat-card__icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stat-card--messages .stat-card__icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.stat-card--views .stat-card__icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-card__content {
    flex: 1;
}

.stat-card__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-card__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-card__details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-light);
}

.stat-card__link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.stat-card__link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

/* Quick Actions */
.dashboard__quick-actions {
    margin-bottom: 3rem;
}

.dashboard__section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.quick-actions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-action-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.quick-action-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.quick-action-card span {
    font-weight: 500;
    font-size: 0.875rem;
}

/* Recent Activity */
.dashboard__activity {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.activity__section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.activity__list {
    margin-bottom: 1rem;
}

.activity__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.activity__item:last-child {
    border-bottom: none;
}

.activity__item:hover {
    background: var(--bg-light);
    border-radius: 6px;
}

.activity__item-content {
    flex: 1;
}

.activity__item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.activity__item-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--text-light);
}

.activity__item-author,
.activity__item-date {
    display: inline-block;
}

.activity__item-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.activity__item-status--published {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.activity__item-status--draft {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.activity__item-status--archived {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.activity__item-status--admin {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.activity__item-status--author {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.activity__item-status--editor {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.activity__item-status--new {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.activity__item-status--read {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.activity__item-status--replied {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.activity__item-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.activity__item-link:hover {
    color: var(--primary-color);
}

.activity__empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.activity__view-all {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.activity__view-all:hover {
    color: var(--primary-color-dark);
}

/* Activity Statistics */
.dashboard__activity-stats {
    margin-bottom: 3rem;
}

.activity-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.activity-stat-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.activity-stat-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.activity-stat__items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-stat__items span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.activity-stat__items i {
    color: var(--primary-color);
    width: 20px;
}

/* Responsive Dashboard */
@media (max-width: 968px) {
    .dashboard__stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card__number {
        font-size: 2rem;
    }
    
    .dashboard__activity {
        grid-template-columns: 1fr;
    }
    
    .activity-stats__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard__header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-card__icon {
        margin: 0 auto;
    }
    
    .quick-actions__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}