:root {
    --pk-primary: #2563eb;
    --pk-primary-dark: #1d4ed8;
    --pk-dark: #0f172a;
    --pk-text: #334155;
    --pk-muted: #64748b;
    --pk-border: #e2e8f0;
    --pk-light: #f8fafc;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--pk-text);
    background: #ffffff;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

.navbar {
    padding: 16px 0;
}

.brand-name,
.brand-highlight {
    font-size: 1.35rem;
    letter-spacing: -0.7px;
}

.brand-name {
    color: var(--pk-dark);
}

.brand-highlight {
    color: var(--pk-primary);
}

.navbar .nav-link {
    color: var(--pk-text);
    font-size: 0.92rem;
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--pk-primary);
}

.btn-primary {
    background: var(--pk-primary);
    border-color: var(--pk-primary);
}

.btn-primary:hover {
    background: var(--pk-primary-dark);
    border-color: var(--pk-primary-dark);
}

.hero-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at 90% 10%, #dbeafe 0, transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.hero-badge {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 30px;
    background: #eff6ff;
    color: var(--pk-primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-title {
    color: var(--pk-dark);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
}

.hero-title span {
    display: block;
    color: var(--pk-primary);
}

.hero-description {
    max-width: 590px;
    color: var(--pk-muted);
    font-size: 1.08rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    color: var(--pk-dark);
    font-size: 0.9rem;
}

.hero-stats span {
    color: var(--pk-muted);
    font-size: 0.8rem;
}

.hero-card {
    overflow: hidden;
    border: 1px solid #263449;
    border-radius: 16px;
    background: #0f172a;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

.code-window-header {
    display: flex;
    gap: 7px;
    padding: 16px;
    border-bottom: 1px solid #263449;
}

.code-window-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.code-window-body {
    min-height: 250px;
    padding: 28px;
    color: #e2e8f0;
    font-family: Consolas, monospace;
    font-size: 0.88rem;
}

.code-comment {
    color: #94a3b8;
}

.code-purple {
    color: #c4b5fd;
}

.code-yellow {
    color: #fde68a;
}

.code-green {
    color: #86efac;
}

.code-indent {
    padding-left: 25px;
}

.code-message {
    padding: 12px;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #bfdbfe;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.section-padding {
    padding: 85px 0;
}

.section-heading {
    max-width: 650px;
}

.section-label {
    color: var(--pk-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h2,
.about-card h2 {
    margin-top: 10px;
    color: var(--pk-dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-heading p,
.about-card p {
    color: var(--pk-muted);
}

.category-card {
    display: block;
    height: 100%;
    padding: 25px;
    border: 1px solid var(--pk-border);
    border-radius: 14px;
    background: #ffffff;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.07);
}

.category-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--pk-primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.category-card h5 {
    color: var(--pk-dark);
    font-weight: 700;
}

.category-card p {
    margin-bottom: 0;
    color: var(--pk-muted);
    font-size: 0.9rem;
}

.article-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--pk-border);
    border-radius: 14px;
    background: #ffffff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.07);
}

.article-placeholder {
    display: flex;
    height: 180px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: var(--pk-primary-dark);
    font-size: 1.5rem;
    font-weight: 800;
}

.article-content {
    padding: 24px;
}

.article-category {
    color: var(--pk-primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.article-content h5 {
    margin-top: 12px;
    color: var(--pk-dark);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
}

.article-content p {
    color: var(--pk-muted);
    font-size: 0.9rem;
}

.article-meta {
    color: #94a3b8;
    font-size: 0.8rem;
}

.about-card {
    max-width: 850px;
    margin: auto;
    padding: 50px;
    border: 1px solid var(--pk-border);
    border-radius: 20px;
    background: var(--pk-light);
}

.site-footer {
    background: var(--pk-dark);
}

.footer-description {
    max-width: 450px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-link {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-link:hover {
    color: #ffffff;
}

.footer-divider {
    margin: 35px 0 20px;
    border-color: #334155;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-stats {
        gap: 20px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .about-card {
        padding: 28px;
    }
}
/* ========================================
   BRAND LOGO - PENDEKAR KODING
======================================== */

.brand-logo {
    display: block;
    width: 190px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
    object-position: left center;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 991.98px) {
    .brand-logo {
        width: 170px;
        max-height: 48px;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        width: 145px;
        max-height: 42px;
    }
}

/* ========================================
   HERO SECTION - PENDEKAR DIGITAL
======================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(37, 99, 235, 0.12),
            transparent 35%
        ),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.hero-title {
    max-width: 650px;
    color: var(--pk-dark);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.8px;
}

.hero-title span {
    display: block;
    color: var(--pk-primary);
}

.hero-description {
    max-width: 560px;
    color: var(--pk-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 18px 35px rgba(15, 23, 42, 0.10));
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 55px 0;
    }

    .hero-visual {
        margin-top: 15px;
    }

    .hero-image {
        max-height: 420px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 45px 0;
    }

    .hero-title {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-image {
        max-height: 300px;
        border-radius: 12px;
    }

    .hero-stats {
        gap: 18px;
    }
}

/* ==========================================
   PENDEKAR KODING - CATEGORY CARDS
========================================== */

.categories-section {
    background: #ffffff;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 255px;
    padding: 25px;
    overflow: hidden;

    border: 1px solid var(--pk-border);
    border-radius: 16px;

    background: #ffffff;
    color: var(--pk-text);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    margin-bottom: 22px;

    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 800;
}

.category-icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.category-icon-purple {
    background: #f3e8ff;
    color: #7e22ce;
}

.category-icon-orange {
    background: #fff7ed;
    color: #c2410c;
}

.category-icon-green {
    background: #ecfdf5;
    color: #047857;
}

.category-card h3 {
    margin-bottom: 10px;
    color: var(--pk-dark);
    font-size: 1.08rem;
    font-weight: 750;
}

.category-card p {
    margin-bottom: 22px;
    color: var(--pk-muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

.category-link {
    margin-top: auto;
    color: var(--pk-primary);
    font-size: 0.84rem;
    font-weight: 700;
}


/* ==========================================
   PENDEKAR KODING - ARTICLE CARDS
========================================== */

.articles-section {
    background: #f8fafc;
}

.articles-more-btn {
    flex-shrink: 0;
}

.article-card {
    height: 100%;
    overflow: hidden;

    border: 1px solid var(--pk-border);
    border-radius: 16px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.article-thumbnail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 205px;
    overflow: hidden;

    isolation: isolate;
}

.article-thumbnail::before,
.article-thumbnail::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
}

.article-thumbnail::before {
    top: -60px;
    right: -30px;
    width: 190px;
    height: 190px;
    background: rgba(255, 255, 255, 0.25);
}

.article-thumbnail::after {
    bottom: -100px;
    left: -35px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.thumbnail-laravel {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #1d4ed8;
}

.thumbnail-database {
    background: linear-gradient(135deg, #ede9fe, #f5f3ff);
    color: #6d28d9;
}

.thumbnail-software {
    background: linear-gradient(135deg, #ffedd5, #fff7ed);
    color: #c2410c;
}

.thumbnail-icon {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.thumbnail-label {
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.article-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 205px);
    padding: 24px;
}

.article-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.article-category {
    display: inline-flex;
    align-items: center;

    padding: 5px 10px;
    border-radius: 30px;

    background: #eff6ff;
    color: #1d4ed8;

    font-size: 0.73rem;
    font-weight: 700;
}

.article-read-time {
    color: #94a3b8;
    font-size: 0.74rem;
}

.article-title {
    margin-bottom: 12px;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.5;
}

.article-title a {
    color: var(--pk-dark);
    transition: color 0.2s ease;
}

.article-title a:hover {
    color: var(--pk-primary);
}

.article-excerpt {
    margin-bottom: 24px;
    color: var(--pk-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: auto;
    padding-top: 16px;

    border-top: 1px solid #f1f5f9;
}

.article-date {
    color: #94a3b8;
    font-size: 0.76rem;
}

.article-read-more {
    color: var(--pk-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.article-read-more:hover {
    color: var(--pk-primary-dark);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767.98px) {
    .category-card {
        min-height: 235px;
        padding: 22px;
    }

    .article-thumbnail {
        height: 190px;
    }

    .article-content {
        height: calc(100% - 190px);
        padding: 20px;
    }

    .articles-more-btn {
        align-self: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-card,
    .article-card,
    .article-title a {
        transition: none;
    }

    .category-card:hover,
    .article-card:hover {
        transform: none;
    }
}




/* ==========================================
   ABOUT PAGE - PENDEKAR KODING
========================================== */

.about-hero {
    padding: 85px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(37, 99, 235, 0.12),
            transparent 35%
        ),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 30px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 700;
}

.about-hero-title {
    max-width: 700px;
    margin-top: 24px;
    color: var(--pk-dark);
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.about-hero-title span {
    color: var(--pk-primary);
}

.about-hero-description {
    max-width: 650px;
    margin-top: 22px;
    color: var(--pk-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-image {
    display: block;
    width: 100%;
    max-width: 460px;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 18px 35px rgba(15, 23, 42, 0.10));
}


/* Cerita Kami */

.about-story {
    background: #ffffff;
}

.about-story-card {
    padding: 45px;
    border: 1px solid var(--pk-border);
    border-radius: 22px;
    background: #f8fafc;
}

.about-story-card h2 {
    margin: 16px 0 24px;
    color: var(--pk-dark);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.3;
}

.about-story-card p {
    margin-bottom: 18px;
    color: var(--pk-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.about-story-card p:last-child {
    margin-bottom: 0;
}


/* Visi dan Misi */

.about-vision {
    background: #f8fafc;
}

.about-value-card {
    padding: 32px;
    border: 1px solid var(--pk-border);
    border-radius: 18px;
    background: #ffffff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
}

.about-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 800;
}

.about-value-card h3 {
    margin-bottom: 14px;
    color: var(--pk-dark);
    font-size: 1.25rem;
    font-weight: 750;
}

.about-value-card p {
    margin-bottom: 0;
    color: var(--pk-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}


/* Fokus Konten */

.about-focus {
    background: #ffffff;
}

.about-focus-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 265px;
    padding: 25px;
    border: 1px solid var(--pk-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.about-focus-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
}

.about-focus-card h3 {
    margin-bottom: 10px;
    color: var(--pk-dark);
    font-size: 1.08rem;
    font-weight: 750;
}

.about-focus-card p {
    margin-bottom: 22px;
    color: var(--pk-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.about-focus-card .category-link {
    margin-top: auto;
}


/* CTA */

.about-cta-section {
    padding-top: 30px;
    background: #ffffff;
}

.about-cta {
    padding: 60px 35px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(96, 165, 250, 0.30),
            transparent 30%
        ),
        linear-gradient(135deg, #1d4ed8, #0f172a);
    color: #ffffff;
    text-align: center;
}

.about-cta-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #bfdbfe;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-cta h2 {
    max-width: 760px;
    margin: 0 auto 18px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.3;
}

.about-cta p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: #dbeafe;
    font-size: 1rem;
    line-height: 1.8;
}


/* Responsive */

@media (max-width: 991.98px) {
    .about-hero {
        padding: 65px 0;
    }

    .about-hero-image {
        max-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        padding: 50px 0;
    }

    .about-hero-title {
        font-size: 2.3rem;
        letter-spacing: -1px;
    }

    .about-hero-description {
        font-size: 0.98rem;
    }

    .about-story-card {
        padding: 28px;
    }

    .about-value-card {
        padding: 25px;
    }

    .about-focus-card {
        min-height: 235px;
        padding: 22px;
    }

    .about-cta {
        padding: 45px 24px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-value-card,
    .about-focus-card {
        transition: none;
    }

    .about-value-card:hover,
    .about-focus-card:hover {
        transform: none;
    }
}

