﻿/* ==========================
   THEME COLOR
========================== */
:root {
    --primary: #a855f7;
    --secondary: #d946ef;
    --accent: #8b5cf6;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --border: #e5e7eb;
}

/* ==========================
   GLOBAL
========================== */
.logo-img {
    height: 42px;
    width: auto;
    transition: 0.2s ease;
}

.navbar.scrolled .logo-img {
    height: 34px;
}

@font-face {
    font-family: 'Sarabun';
    src: url('/fonts/Sarabun-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('/fonts/Sarabun-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('/fonts/Sarabun-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: 'Sarabun', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sarabun', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* ==========================
   FOCUS STATE
========================== */

.btn:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(168, 85, 247, 0.25);
    border-color: var(--primary);
}

/* ==========================
   NAVBAR (CLEAN)
========================== */

.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

    .navbar .nav-link {
        color: var(--text-dark);
        font-weight: 500;
        transition: 0.2s;
        border-radius: 8px;
    }

        .navbar .nav-link:hover {
            color: var(--primary);
            background: rgba(168,85,247,0.08);
        }

        .navbar .nav-link.active {
            color: var(--primary);
            font-weight: 600;
        }

/* ==========================
   BUTTON
========================== */

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
}

    .btn-primary:hover {
        opacity: 0.92;
    }

/* ==========================
   LOGO
========================== */

.logo-finger {
    color: var(--primary);
    font-weight: 700;
}

.logo-thailand {
    color: var(--text-dark);
}

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

.hero {
    background: var(--bg-soft);
    color: var(--text-dark);
}

/* ==========================
   CARD
========================== */

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.25s ease;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }

/* ==========================
   TEXT STYLE
========================== */

p {
    color: var(--text-muted);
}

/* ==========================
   PAGINATION
========================== */

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .page-link {
    color: var(--text-dark);
    border-radius: 8px;
}

    .pagination .page-link:hover {
        background: rgba(168,85,247,0.08);
        color: var(--primary);
    }

/* ==========================
   CATEGORY MENU
========================== */

.category-menu {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
}

    .category-menu .card-header {
        background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
        color: #fff;
    }

    .category-menu .list-group-item a {
        color: var(--text-dark);
    }

        .category-menu .list-group-item a:hover {
            color: var(--primary);
        }






/* ==========================
   FOOTER LINKS (CLEAN PURPLE)
========================== */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    /* LINK */
    .footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.25s ease;
        position: relative;
    }

        /* ARROW */
        .footer-links a::before {
            content: "›";
            color: var(--primary);
            opacity: 0;
            transform: translateX(-4px);
            transition: all 0.25s ease;
        }

        /* HOVER */
        .footer-links a:hover {
            color: #ffffff;
            transform: translateX(6px);
        }

            /* SHOW ARROW */
            .footer-links a:hover::before {
                opacity: 1;
                transform: translateX(0);
            }

        /* UNDERLINE EFFECT */
        .footer-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0;
            height: 2px;
            background: linear-gradient( 90deg, var(--primary), var(--secondary) );
            transition: width 0.25s ease;
        }

        .footer-links a:hover::after {
            width: 100%;
        }

/* ==========================
   TRUST BOX
========================== */

.trust-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

    .trust-box:hover {
        box-shadow: 0 12px 30px rgba(168,85,247,0.12);
    }

/* ==========================
   LOGIN CARD
========================== */

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(168, 85, 247, 0.08);
    transition: all .3s ease;
}

    .login-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10), 0 8px 20px rgba(168, 85, 247, 0.12);
    }

    /* Title */
    .login-card h3 {
        color: #1f2937;
        font-weight: 700;
    }

    /* Input */
    .login-card .form-control {
        height: 50px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
    }

        .login-card .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 .2rem rgba(168,85,247,.15);
        }

    /* Login Button */
    .login-card .btn-primary {
        height: 50px;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        background: linear-gradient( 135deg, var(--primary), var(--secondary) );
        box-shadow: 0 10px 25px rgba(168,85,247,.20);
        transition: all .25s ease;
    }

        .login-card .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(168,85,247,.30);
        }


/* PAGE */
.login-page {
    min-height: calc(100vh - 180px); /* หักพื้นที่ header + footer */

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

/* CARD */
.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid rgba(168,85,247,.15);
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15,23,42,.08), 0 4px 12px rgba(168,85,247,.08);
}

/* ==========================
   SMALL UI FIX
========================== */

a {
    color: var(--primary);
}

    a:hover {
        opacity: 0.85;
    }


/* ==========================
   LINE PRO BUTTON (FIXED + PURPLE THEME)
========================== */

.line-pro-btn {
    position: fixed;
    right: 40px;
    bottom: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 12px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.25);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards, softBounce 3s infinite;
}

    /* hover */
    .line-pro-btn:hover {
        transform: scale(1.08);
        animation: none;
        color: #fff;
    }

/* icon */
.line-icon {
    font-size: 18px;
}

/* text */
.line-text {
    font-weight: 600;
    font-size: 14px;
}

/* badge */
.line-badge {
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
}

/* bounce */
@keyframes softBounce {
    0%, 100% {
        transform: translateY(0);
    }

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

/* glow */
.line-pro-btn::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50px;
    background: rgba(168,85,247,0.25);
    z-index: -1;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* mobile */
@media (max-width: 768px) {
    .line-text {
        display: none;
    }

    .line-pro-btn {
        right: 20px;
        bottom: 20px;
    }
}



/* ==========================
   REVEAL ANIMATION (CLEAN PURPLE THEME)
========================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
    will-change: transform, opacity;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* LEFT VARIANT */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s ease;
}

    .reveal-left.active {
        opacity: 1;
        transform: translateX(0);
    }

/* RIGHT VARIANT */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s ease;
}

    .reveal-right.active {
        opacity: 1;
        transform: translateX(0);
    }

/* ==========================
   WHY US SECTION (CLEAN SAAS)
========================== */

.why-us {
    background: #ffffff;
    border-radius: 24px;
    margin: 20px 10px;
    border: 1px solid rgba(168, 85, 247, 0.12);
    box-shadow: 0 10px 40px rgba(17, 24, 39, 0.06);
}

    .why-us h2 {
        font-weight: 700;
        letter-spacing: -0.5px;
        color: #1f2937;
    }

/* ==========================
   TRUST BOX (CLEAN PURPLE ACCENT)
========================== */

.trust-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid rgba(168, 85, 247, 0.12);
    box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
    transition: all 0.3s ease;
}

    .trust-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 50px rgba(168, 85, 247, 0.12);
    }





/* ==========================
   OUTLINE PRIMARY BUTTON (CLEAN PURPLE THEME)
========================== */

.btn-outline-primary {
    color: var(--primary);
    border: 1.5px solid var(--primary);
    background: transparent;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
}

    /* hover */
    .btn-outline-primary:hover {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: #fff;
        border-color: transparent;
        box-shadow: 0 10px 25px rgba(168, 85, 247, 0.25);
        transform: translateY(-2px);
    }

    /* active / click */
    .btn-outline-primary:active {
        transform: translateY(0);
        box-shadow: 0 6px 15px rgba(168, 85, 247, 0.18);
    }

    /* focus */
    .btn-outline-primary:focus {
        box-shadow: 0 0 0 0.2rem rgba(168, 85, 247, 0.25);
    }

/* ==========================
   CATEGORY 2 COLUMN (CLEAN PURPLE THEME)
========================== */

.category-mega-menu {
    position: absolute;
    z-index: 9999;
    min-width: 650px;
    max-width: 700px;
    background: #fff;
    border: 1px solid rgba(168,85,247,.12);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
}

    /* dropdown item */
    .category-mega-menu .dropdown-item {
        border-radius: 10px;
        padding: 10px 14px;
        white-space: normal;
        color: #1f2937;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        /* hover */
        .category-mega-menu .dropdown-item:hover {
            background: rgba(168, 85, 247, 0.08);
            color: var(--primary);
            transform: translateX(4px);
        }

        /* active (ถ้าใช้ class active) */
        .category-mega-menu .dropdown-item.active {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
        }



/* ==========================
   CATEGORY MENU (ACTION STYLE - CLEAN PURPLE)
========================== */

.category-menu {
    border-radius: 30px;
    /* สำคัญ */
    overflow: visible;
    background: #fff;
    border: 1px solid rgba(168, 85, 247, 0.12);
    box-shadow: 0 8px 25px rgba(17, 24, 39, 0.06);
    position: sticky;
    top: 90px;
    z-index: 100;
}

    /* HEADER */
    .category-menu .card-header {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        font-size: 1rem;
        font-weight: 600;
        padding: 14px 18px;
        border: none;
        color: #fff;
    }

    /* LIST */
    .category-menu .list-group-item {
        border: none;
        padding: 0;
    }

        /* LINK (ACTION STYLE) */
        .category-menu .list-group-item a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            color: #1f2937;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.25s ease;
            position: relative;
        }

            /* LEFT INDICATOR */
            .category-menu .list-group-item a::before {
                content: "";
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 0;
                height: 60%;
                background: var(--primary);
                border-radius: 0 6px 6px 0;
                transition: all 0.25s ease;
            }

            /* HOVER ACTION */
            .category-menu .list-group-item a:hover {
                background: rgba(168, 85, 247, 0.06);
                color: var(--primary);
                padding-left: 26px;
            }

                /* SHOW LEFT BAR ON HOVER */
                .category-menu .list-group-item a:hover::before {
                    width: 4px;
                }

            /* ACTIVE STATE */
            .category-menu .list-group-item a.active {
                background: rgba(168, 85, 247, 0.10);
                color: var(--primary);
                font-weight: 600;
                padding-left: 26px;
            }

                /* ACTIVE BAR */
                .category-menu .list-group-item a.active::before {
                    width: 4px;
                }

            /* RIGHT ICON (optional action hint) */
            .category-menu .list-group-item a::after {
                content: "›";
                color: #94a3b8;
                font-size: 18px;
                transition: all 0.2s ease;
            }

            .category-menu .list-group-item a:hover::after {
                color: var(--primary);
                transform: translateX(3px);
            }

/* ==========================
   PRODUCT GRID - FULL IMAGE DISPLAY
========================== */

.product-grid {
    margin-top: 10px;
}

/* CARD */
.product-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(168, 85, 247, 0.10);
    transition: all 0.25s ease;
}

    /* HOVER */
    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(168, 85, 247, 0.12);
    }

/* IMAGE CONTAINER (สำคัญมาก) */
.product-img {
    width: 100%;
    background: #ffffff;
    /* ❗ ไม่ fix height */
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* IMAGE (SHOW FULL) */
    .product-img img {
        width: 100%;
        height: auto; /* ✅ สำคัญ */
        max-height: 260px; /* ป้องกันใหญ่เกิน */
        object-fit: contain; /* ✅ ไม่ crop */
    }


/* ==========================
   STAT CARD
========================== */

.stat-card {
    background: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: 18px;
    padding: 24px 18px;
    height: 100%;
    transition: all .3s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

    /* Hover */
    .stat-card:hover {
        transform: translateY(-5px);
        border-color: rgba(168, 85, 247, 0.25);
        box-shadow: 0 18px 40px rgba(168, 85, 247, 0.12);
    }

    /* Number */
    .stat-card h2 {
        font-size: 2rem;
        font-weight: 700;
        background: linear-gradient( 135deg, var(--primary), var(--secondary) );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 8px;
    }

    /* Title */
    .stat-card h5,
    .stat-card h6 {
        color: #1f2937;
        font-weight: 600;
        margin-bottom: 6px;
    }

    /* Description */
    .stat-card p {
        color: #6b7280;
        margin-bottom: 0;
        font-size: 14px;
    }



/* TITLE */
.product-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

/* PRICE */
.product-price {
    color: var(--primary);
    font-weight: 700;
}

/* BADGE */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
}



/* ==========================
   PRODUCT CONTENT
========================== */

.product-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #475569;
    background: #fff;
    border: 1px solid rgba(168,85,247,.10);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 25px rgba(15,23,42,.04);
}

    /* Heading */
    .product-content h2 {
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-size: 1.7rem;
        font-weight: 700;
        color: #1f2937;
        position: relative;
        padding-bottom: 10px;
    }

        /* Purple Accent Line */
        .product-content h2::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 4px;
            border-radius: 999px;
            background: linear-gradient( 90deg, var(--primary), var(--secondary) );
        }

    /* H3 */
    .product-content h3 {
        margin-top: 1.8rem;
        margin-bottom: .8rem;
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--primary);
    }

    /* Paragraph */
    .product-content p {
        color: #475569;
        margin-bottom: 1.25rem;
    }

    /* UL */
    .product-content ul {
        padding-left: 1.4rem;
        margin-bottom: 1.5rem;
    }

    /* LI */
    .product-content li {
        margin-bottom: .75rem;
        color: #475569;
    }

        /* Custom Bullet */
        .product-content li::marker {
            color: var(--primary);
        }

    /* Strong */
    .product-content strong {
        color: #1f2937;
        font-weight: 700;
    }

    /* Blockquote */
    .product-content blockquote {
        border-left: 4px solid var(--primary);
        background: rgba(168,85,247,.05);
        padding: 16px 20px;
        border-radius: 0 12px 12px 0;
        margin: 20px 0;
        color: #334155;
    }

    /* Table */
    .product-content table {
        width: 100%;
        margin: 20px 0;
        border-collapse: collapse;
    }

        .product-content table th {
            background: linear-gradient( 135deg, var(--primary), var(--secondary) );
            color: #fff;
            padding: 12px;
        }

        .product-content table td {
            border: 1px solid #e5e7eb;
            padding: 12px;
        }

    /* Image */
    .product-content img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        margin: 20px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

/* ==========================
   ACCORDION - CLEAN PURPLE THEME
========================== */

.accordion {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(168,85,247,.12);
    box-shadow: 0 8px 25px rgba(15,23,42,.05);
}

/* ITEM */
.accordion-item {
    border: none;
    border-bottom: 1px solid #eef2f7;
}

/* HEADER BUTTON */
.accordion-button {
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    padding: 16px 18px;
    transition: all .25s ease;
}

    /* HOVER */
    .accordion-button:hover {
        background: rgba(168,85,247,.06);
        color: var(--primary);
    }

    /* ACTIVE (OPEN) */
    .accordion-button:not(.collapsed) {
        background: linear-gradient( 135deg, rgba(168,85,247,.12), rgba(217,70,239,.08) );
        color: var(--primary);
        box-shadow: none;
    }

    /* REMOVE BOOTSTRAP ARROW COLOR */
    .accordion-button::after {
        filter: hue-rotate(220deg);
    }

/* BODY */
.accordion-body {
    background: #fff;
    color: #475569;
    padding: 18px 20px;
    line-height: 1.8;
}

/* BORDER FIX */
.accordion-item:last-child {
    border-bottom: none;
}


body {
    height: 100%;
    margin: 0;
}

/* Layout หลัก */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* เนื้อหาหลัก */
.main-content {
    flex: 1;
}

/* Footer */
.site-footer {
    background: linear-gradient( 135deg, #0f172a 0%, #1e1b4b 50%, #111827 100% );
    color: #cbd5e1;
    padding: 60px 0 25px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}




/* ==========================
       CONTACT HERO
    ========================== */
.contact-hero {
    background: linear-gradient( 135deg, var(--primary), var(--secondary) );
    color: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(168,85,247,.20);
}

.contact-hero h1 {
    font-weight: 700;
}

/* ==========================
       CONTACT CARD
    ========================== */

.contact-card {
    background: #fff;
    border: 1px solid rgba(168,85,247,.12);
    border-radius: 20px;
    transition: all .3s ease;
    box-shadow: 0 8px 25px rgba(15,23,42,.05);
}

    .contact-card:hover {
        transform: translateY(-5px);
        border-color: rgba(168,85,247,.25);
        box-shadow: 0 18px 45px rgba(168,85,247,.12);
    }

    /* ==========================
       FORM
    ========================== */

    .contact-card .form-control {
        border-radius: 12px;
        border: 1px solid #e5e7eb;
    }

        .contact-card .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 .2rem rgba(168,85,247,.15);
        }

/* ==========================
       TRUST LIST
    ========================== */

.trust-list {
    list-style: none;
    padding-left: 0;
}

    .trust-list li {
        margin-bottom: 10px;
        color: #475569;
        font-weight: 500;
    }

/* ==========================
       SECTION TITLE
    ========================== */

.contact-card h3,
.contact-card h5 {
    color: #1f2937;
    font-weight: 700;
}

/* ==========================
       INFO TEXT
    ========================== */

.contact-card p {
    color: #64748b;
}

/* ==========================
       LINE BUTTON
    ========================== */

.btn-outline-success {
    border-color: var(--primary);
    color: var(--primary);
}

    .btn-outline-success:hover {
        background: linear-gradient( 135deg, var(--primary), var(--secondary) );
        border-color: transparent;
        color: #fff;
    }

/* ==========================
       PHONE BUTTON
    ========================== */

.btn-success {
    border: none;
    background: linear-gradient( 135deg, var(--primary), var(--secondary) );
    box-shadow: 0 10px 25px rgba(168,85,247,.20);
}

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(168,85,247,.30);
    }

/* ==========================
   ARTICLE CONTENT
========================== */

.article-content {
    background: #fff;
    border: 1px solid rgba(168,85,247,.10);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 25px rgba(15,23,42,.04);
}

    /* ==========================
   IMAGE
========================== */

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        margin: 24px 0;
        box-shadow: 0 10px 30px rgba(15,23,42,.08);
    }

    /* ==========================
   VIDEO / IFRAME
========================== */

    .article-content iframe {
        width: 100%;
        min-height: 450px;
        border: 0;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(15,23,42,.08);
    }

    /* ==========================
   TABLE
========================== */

    .article-content table {
        width: 100%;
        margin: 24px 0;
        border-collapse: collapse;
        overflow: hidden;
        border-radius: 12px;
    }

        .article-content table th {
            background: linear-gradient( 135deg, var(--primary), var(--secondary) );
            color: #fff;
            padding: 12px;
        }

        .article-content table td {
            padding: 12px;
            border: 1px solid #e5e7eb;
        }

    /* ==========================
   HEADINGS
========================== */

    .article-content h2 {
        margin-top: 40px;
        margin-bottom: 16px;
        font-weight: 700;
        color: #1f2937;
        position: relative;
        padding-bottom: 12px;
    }

        .article-content h2::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 70px;
            height: 4px;
            border-radius: 999px;
            background: linear-gradient( 90deg, var(--primary), var(--secondary) );
        }

    .article-content h3 {
        margin-top: 32px;
        margin-bottom: 12px;
        font-weight: 600;
        color: var(--primary);
    }

    /* ==========================
   TEXT
========================== */

    .article-content p {
        line-height: 1.9;
        color: #475569;
        margin-bottom: 18px;
    }

    /* ==========================
   LIST
========================== */

    .article-content ul,
    .article-content ol {
        padding-left: 24px;
    }

    .article-content li {
        margin-bottom: 10px;
        color: #475569;
    }

        .article-content li::marker {
            color: var(--primary);
        }

    /* ==========================
   LINKS
========================== */

    .article-content a {
        color: var(--primary);
        font-weight: 500;
        text-decoration: none;
    }

        .article-content a:hover {
            color: var(--secondary);
            text-decoration: underline;
        }

    /* ==========================
   BLOCKQUOTE
========================== */

    .article-content blockquote {
        margin: 24px 0;
        padding: 18px 22px;
        border-left: 4px solid var(--primary);
        background: rgba(168,85,247,.05);
        border-radius: 0 12px 12px 0;
        color: #334155;
    }