/* KopCore Landing — modern marketing theme */

:root {
    --kopcore-primary: #0ab39c;
    --kopcore-primary-dark: #088f7c;
    --kopcore-primary-light: #e8faf7;
    --kopcore-accent: #405189;
    --kopcore-accent-dark: #2d3a63;
    --kopcore-gradient: linear-gradient(135deg, #0ab39c 0%, #405189 100%);
    --kopcore-shadow: 0 20px 50px rgba(64, 81, 137, 0.12);
    --kopcore-radius: 1rem;
    --kopcore-font: "Poppins", system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--kopcore-font);
}

.kopcore-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    color: var(--kopcore-accent);
}

.kopcore-brand span {
    color: var(--kopcore-primary);
}

/* ── Hero ── */
.kopcore-hero {
    position: relative;
    overflow: hidden;
    padding-top: 5.5rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #f0fdf9 0%, #f8fafc 45%, #fff 100%);
}

.kopcore-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
}

.kopcore-hero-blob--1 {
    width: 420px;
    height: 420px;
    background: rgba(10, 179, 156, 0.35);
    top: -80px;
    right: -100px;
}

.kopcore-hero-blob--2 {
    width: 320px;
    height: 320px;
    background: rgba(64, 81, 137, 0.2);
    bottom: 0;
    left: -80px;
}

.kopcore-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    background: #fff;
    border: 1px solid rgba(10, 179, 156, 0.25);
    color: var(--kopcore-primary-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(10, 179, 156, 0.1);
}

.kopcore-hero-title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--kopcore-accent-dark);
}

.kopcore-hero-title .text-gradient {
    background: var(--kopcore-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kopcore-hero-actions .btn {
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    border-radius: 0.65rem;
}

.kopcore-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.kopcore-hero-metric strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--kopcore-accent);
    line-height: 1.3;
}

.kopcore-hero-metric-desc {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

/* ── Screenshot frame ── */
.kopcore-screenshot-frame {
    position: relative;
    border-radius: 1rem;
    background: #fff;
    padding: 0.65rem;
    box-shadow: var(--kopcore-shadow);
    border: 1px solid rgba(64, 81, 137, 0.08);
}

.kopcore-screenshot-frame::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--kopcore-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.35;
}

.kopcore-screenshot {
    position: relative;
    border-radius: 0.65rem;
    overflow: hidden;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    aspect-ratio: 16 / 10;
}

.kopcore-screenshot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.kopcore-screenshot-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
}

.kopcore-screenshot-placeholder i {
    font-size: 2.5rem;
    color: var(--kopcore-primary);
    opacity: 0.7;
}

.kopcore-screenshot-placeholder small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.kopcore-screenshot.is-placeholder img {
    display: none;
}

.kopcore-screenshot.is-placeholder .kopcore-screenshot-placeholder {
    display: flex;
}

.kopcore-screenshot-label {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 50rem;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
}

/* ── Stats highlight band ── */
.kopcore-stats-band {
    position: relative;
    z-index: 2;
    margin-top: -2.75rem;
    padding-bottom: 1rem;
}

.kopcore-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 1.35rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(64, 81, 137, 0.08);
    box-shadow: 0 16px 40px rgba(64, 81, 137, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kopcore-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(10, 179, 156, 0.15);
}

/* AOS mengunci transform setelah animasi — pulihkan hover lift */
.kopcore-stat-card[data-aos].aos-animate {
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.8s ease !important;
}

.kopcore-stat-card[data-aos].aos-animate:hover {
    transform: translate3d(0, -6px, 0) !important;
    box-shadow: 0 22px 48px rgba(10, 179, 156, 0.15);
}

.kopcore-stat-card-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    font-size: 1.5rem;
    color: #fff;
    background: var(--kopcore-gradient);
    box-shadow: 0 8px 20px rgba(10, 179, 156, 0.28);
}

.kopcore-stat-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--kopcore-accent-dark) !important;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.kopcore-stat-card-desc {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b !important;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .kopcore-stats-band {
        margin-top: -1.5rem;
    }

    .kopcore-stat-card {
        padding: 1rem 0.75rem;
    }

    .kopcore-stat-card-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.25rem;
    }

    .kopcore-stat-card-title {
        font-size: 0.9375rem;
    }
}

/* ── Section headers ── */
.kopcore-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--kopcore-primary);
    margin-bottom: 0.5rem;
}

.kopcore-section-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--kopcore-accent-dark);
}

/* ── Module tabs ── */
.kopcore-module-nav {
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

.kopcore-module-nav::-webkit-scrollbar {
    display: none;
}

.kopcore-module-nav .nav-link {
    white-space: nowrap;
    border-radius: 50rem !important;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.kopcore-module-nav .nav-link.active {
    background: var(--kopcore-gradient) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.kopcore-module-card {
    border: 1px solid #e8ecf3;
    border-radius: var(--kopcore-radius);
    padding: 1.25rem;
    height: 100%;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.kopcore-module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(64, 81, 137, 0.08);
    border-color: rgba(10, 179, 156, 0.3);
}

.kopcore-module-card[data-aos].aos-animate {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.8s ease !important;
}

.kopcore-module-card[data-aos].aos-animate:hover {
    transform: translate3d(0, -3px, 0) !important;
    box-shadow: 0 12px 32px rgba(64, 81, 137, 0.08);
    border-color: rgba(10, 179, 156, 0.3);
}

.kopcore-module-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--kopcore-primary-light);
    color: var(--kopcore-primary);
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.kopcore-module-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--kopcore-accent-dark);
}

.kopcore-module-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.kopcore-module-card ul li {
    margin-bottom: 0.25rem;
}

/* ── Screenshot gallery ── */
.kopcore-gallery-card {
    border-radius: var(--kopcore-radius);
    overflow: hidden;
    border: 1px solid #e8ecf3;
    background: #fff;
    transition: box-shadow 0.2s;
}

.kopcore-gallery-card:hover {
    box-shadow: var(--kopcore-shadow);
}

.kopcore-gallery-card .kopcore-screenshot {
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.kopcore-gallery-card-body {
    padding: 1rem 1.15rem;
}

.kopcore-gallery-card-body h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ── Pill tags ── */
.kopcore-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* ── CTA ── */
.kopcore-cta-card {
    background: var(--kopcore-gradient);
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
}

.kopcore-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/landing/bg-pattern.png") center / cover;
    opacity: 0.06;
    pointer-events: none;
}

.kopcore-cta-actions {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
    position: relative;
    z-index: 1;
}

.kopcore-cta-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
}

.kopcore-pricing-card {
    border: 2px solid rgba(10, 179, 156, 0.2);
    border-radius: 1.25rem;
    background: #fff;
}

.kopcore-pricing-card .price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--kopcore-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kopcore-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.kopcore-check-list i {
    color: var(--kopcore-primary);
    margin-top: 0.2rem;
}

.layout-wrapper.landing .navbar-landing.is-sticky {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(64, 81, 137, 0.08);
}

.landing-back-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99;
    display: none;
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
}

@media (max-width: 991.98px) {
    .kopcore-hero {
        padding-top: 4.5rem;
        text-align: center;
    }

    .kopcore-hero-metrics {
        justify-content: center;
    }

    .kopcore-hero-actions {
        justify-content: center;
    }
}

/* ── Legal pages ── */
.kopcore-legal-hero {
    padding: 6.5rem 0 2rem;
    background: linear-gradient(180deg, rgba(10, 179, 156, 0.06) 0%, transparent 100%);
}

.kopcore-legal-hero h1 {
    font-weight: 700;
    color: var(--kopcore-accent-dark);
    letter-spacing: -0.02em;
}

.kopcore-legal-body {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.kopcore-legal-body h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--kopcore-accent-dark);
    margin: 2rem 0 0.75rem;
}

.kopcore-legal-body h2:first-child {
    margin-top: 0;
}

.kopcore-legal-body p {
    margin-bottom: 0.85rem;
}

.kopcore-legal-body ul {
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
}

.kopcore-legal-body li {
    margin-bottom: 0.35rem;
}

.kopcore-footer-legal a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.kopcore-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 0.35rem;
}

/* ── FAQ accordion ── */
.kopcore-faq .accordion-item {
    border: 1px solid #e8ecf3;
    border-radius: var(--kopcore-radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.kopcore-faq .accordion-button {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--kopcore-accent-dark);
    padding: 1rem 1.15rem;
    box-shadow: none !important;
}

.kopcore-faq .accordion-button:not(.collapsed) {
    color: var(--kopcore-primary-dark);
    background: var(--kopcore-primary-light);
}

.kopcore-faq .accordion-button:focus {
    border-color: rgba(10, 179, 156, 0.35);
    box-shadow: none;
}

.kopcore-faq .accordion-body {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #475569;
    padding: 0 1.15rem 1.1rem;
}

.kopcore-faq .accordion-button::after {
    filter: hue-rotate(-20deg);
}

/* ── Halaman kontak ── */
.kopcore-contact-card {
    border: 1px solid #e8ecf3;
    border-radius: var(--kopcore-radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(64, 81, 137, 0.06);
}

.kopcore-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9375rem;
    color: #475569;
}

.kopcore-contact-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.kopcore-contact-list li i {
    font-size: 1.25rem;
    color: var(--kopcore-primary);
    margin-top: 0.15rem;
}

.kopcore-contact-list strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.kopcore-contact-list a {
    color: var(--kopcore-primary-dark);
    text-decoration: none;
}

.kopcore-contact-list a:hover {
    text-decoration: underline;
}
