/* ====================================================
   WEBSITE SERVICES LANDING PAGE STYLES (website.css)
   PT. Mitra Cerdas Nusantara
   ==================================================== */

/* ---------- 1. Global & Section Layout Clearance ---------- */
.website-page {
    background-color: #f9fafb;
    color: #111827;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.website-container {
    width: 100%;
    max-width: var(--site-max-width, 1520px);
    margin: 0 auto;
    padding: 0 var(--site-gutter, clamp(1.25rem, 3.5vw, 4rem));
    box-sizing: border-box;
}

.website-section-padding {
    padding: clamp(45px, 5vw, 70px) 0;
}

.website-section-title {
    font-size: clamp(1.85rem, 2.6vw, 2.4rem);
    font-weight: 800;
    color: #111827;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.website-section-subtitle {
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    color: #4b5563;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

/* ---------- 2. Hero Section ---------- */
.website-hero-section {
    background-color: #f9fafb;
    padding: 25px 0 35px;
}

.website-hero-card {
    background: linear-gradient(135deg, #D81251 0%, #c00e44 50%, #9e0935 100%);
    border-radius: 24px;
    padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3.5vw, 44px);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.website-hero-card::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.website-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.website-hero-content {
    text-align: left;
}

.website-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.highlight-gold {
    color: #FFD700;
}

.website-hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
    max-width: 520px;
}

.website-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    background-color: #ffffff;
    color: #D81251;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.btn-cta-white:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    background-color: transparent;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid #ffffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.website-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.website-hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    padding: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.website-hero-img-wrapper img {
    width: 85%;
    height: 85%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin: auto;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

/* ---------- 3. Section "Mengapa Memilih Layanan Website Kami" ---------- */
.website-why-section {
    background-color: #ffffff;
}

.website-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.website-why-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.website-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(216, 18, 81, 0.3);
    background-color: #ffffff;
}

.website-why-icon-box {
    width: 64px;
    height: 64px;
    background-color: rgba(216, 18, 81, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #D81251;
}

.website-why-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.website-why-card-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

/* ---------- 4. Section "Layanan Website Kami Mencakup" (Interactive Tabs) ---------- */
.website-tabs-section {
    background-color: #f4f5f7;
}

.website-tabs-header {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.tab-btn {
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    border: 1.5px solid #d1d5db;
    background-color: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 0.5rem;
}

.tab-btn:hover {
    border-color: #D81251;
    color: #D81251;
}

/* Active status for all tab buttons (Red theme) */
.tab-btn.active {
    background-color: #D81251;
    color: #ffffff;
    border-color: #D81251;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.website-tab-content-wrapper {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.website-tab-pane {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
    opacity: 1;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.website-tab-pane.fade-enter {
    opacity: 0;
    transform: translateY(12px);
}

.website-tab-visual {
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.website-tab-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.website-tab-details {
    text-align: left;
}

.website-tab-details-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.website-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.website-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1.025rem;
    color: #374151;
    font-weight: 500;
}

.icon-check-red {
    width: 22px;
    height: 22px;
    background-color: #fee2e2;
    color: #dc2626;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- 5. Section "Proses Pengembangan Website Kami" ---------- */
.website-process-section {
    background: linear-gradient(135deg, #D81251 0%, #ba0e42 100%);
    color: #ffffff;
}

.website-process-section .website-section-title {
    color: #ffffff;
}

.website-process-title-line {
    width: 70px;
    height: 4px;
    background-color: #FFD700;
    margin: 0.75rem auto 3rem;
    border-radius: 2px;
}

.website-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

.website-process-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.website-process-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.website-process-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #ffffff;
    flex-shrink: 0;
}

.website-process-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.website-process-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.website-process-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

/* White Background Variant for Process Section */
.website-process-section-white {
    background-color: #ffffff;
    color: #111827;
}

.website-process-section-white .website-section-title {
    color: #111827;
}

.website-process-section-white .website-process-title-line {
    background-color: #D81251;
}

.website-process-box-white {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.website-process-box-white:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(216, 18, 81, 0.3);
}

.website-process-box-white .website-process-num {
    color: #D81251;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.website-process-box-white .website-process-icon {
    width: 54px;
    height: 54px;
    background-color: rgba(216, 18, 81, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #D81251;
}

.website-process-box-white .website-process-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}

.website-process-box-white .website-process-desc {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
}

/* ---------- 6. Section "Teknologi Yang Kami Gunakan" ---------- */
.website-tech-section {
    background-color: #ffffff;
}

.website-tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem;
    align-items: stretch;
}

.website-tech-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem 0.85rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    transition: all 0.25s ease;
}

.website-tech-card:hover {
    border-color: rgba(216, 18, 81, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    background-color: #ffffff;
}

.website-tech-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.website-tech-icon svg {
    width: 48px;
    height: 48px;
}

.website-tech-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.website-tech-desc {
    font-size: 0.78rem;
    color: #4b5563;
    line-height: 1.4;
    margin-top: 0.15rem;
}

/* ---------- 7. Final Call To Action (CTA) Section ---------- */
.website-cta-section {
    background: linear-gradient(135deg, #D81251 0%, #a80a3c 100%);
    color: #ffffff;
    text-align: center;
    padding: 70px 0;
}

.website-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.website-cta-divider {
    width: 100%;
    max-width: 720px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin: 1.25rem auto 1.5rem;
    border: none;
}

.website-cta-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 950px;
    margin: 0 auto 2.25rem;
    white-space: nowrap;
}

/* ---------- 8. Horizontal Tab Navigation Header (Arrows on Mobile for Website & Digital) ---------- */
.website-tabs-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.website-tabs-header-scroll,
.digital-tabs-header,
.blog-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 0.5rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    margin: 0;
}

.website-tabs-header-scroll::-webkit-scrollbar,
.digital-tabs-header::-webkit-scrollbar,
.blog-filter-tabs::-webkit-scrollbar {
    display: none;
}

/* Arrows hidden on desktop by default */
.tab-nav-arrow {
    display: none !important;
}

/* Arrows active only on mobile HP layout (max-width: 768px) for pages containing arrow buttons */
@media (max-width: 768px) {
    .website-tabs-nav-wrapper:has(.tab-nav-arrow) {
        padding: 0 52px;
    }

    .website-tabs-header-scroll,
    .digital-tabs-header,
    .blog-filter-tabs {
        justify-content: flex-start;
    }

    .tab-nav-arrow {
        display: flex !important;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 50%;
        background-color: #ffffff;
        border: 1.5px solid #d1d5db;
        color: #374151;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        user-select: none;
    }

    .tab-nav-prev {
        left: 0;
    }

    .tab-nav-next {
        right: 0;
    }

    .tab-nav-arrow:hover,
    .tab-nav-arrow:active {
        background-color: #D81251;
        color: #ffffff;
        border-color: #D81251;
    }

    .tab-nav-arrow.hidden {
        display: none !important;
    }
}

/* ---------- 9. Responsiveness ---------- */
@media (max-width: 1024px) {
    .website-container {
        padding: 0 1.25rem;
    }

    .website-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .website-hero-visual {
        order: 1;
        width: 100%;
        margin: 0 auto;
    }

    .website-hero-content {
        order: 2;
        text-align: center;
    }

    .website-hero-desc {
        margin-inline: auto;
    }

    .website-hero-cta {
        justify-content: center;
    }

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

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

    .website-tab-pane {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .website-cta-desc {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .website-hero-title {
        font-size: 2.15rem;
    }

    .website-hero-title .hero-title-line,
    .website-hero-title .hero-title-amp {
        display: block;
        text-align: center;
    }

    .website-hero-title .hero-title-amp {
        margin: 0.15rem 0;
    }

    .website-section-title {
        font-size: 1.85rem;
    }

    .website-why-grid {
        grid-template-columns: 1fr;
    }

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

    .website-tab-content-wrapper {
        padding: 1.5rem;
    }

    .tab-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .website-process-grid {
        grid-template-columns: 1fr;
    }

    .website-process-box {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
}
