/* Layanan Page Specific Styles */

/* --- Page Hero --- */
.page-hero {
    padding: clamp(2rem, 5vw + 1rem, 6rem) 0 clamp(4rem, 5vw + 2rem, 6rem);
    background-color: var(--color-bg-body);
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.page-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    padding: 0.5rem 1rem;
    background-color: rgba(37, 99, 235, 0.08);
    border-radius: 2rem;
}

.page-hero-headline h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0;
}

.page-hero-headline h1 span {
    color: var(--color-primary);
}

.page-hero-desc p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
}

/* --- Daftar Layanan (Premium Grid) --- */
.premium-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.premium-service-card {
    width: calc((100% - 4rem) / 3);
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.premium-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
}

.psc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.psc-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: #cbd5e1;
    font-family: monospace;
}

.psc-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.psc-icon svg {
    width: 100%;
    height: 100%;
}

.psc-body {
    flex-grow: 1;
}

.psc-body h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #0f172a;
}

.psc-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.psc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.psc-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-text-main);
}

.psc-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.psc-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.psc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.psc-link:hover {
    color: #1d4ed8;
}

.psc-link .arrow {
    transition: transform 0.2s ease;
}

.psc-link:hover .arrow {
    transform: translateX(4px);
}

/* --- Penjelasan Value (Premium Statement) --- */
.premium-statement-section {
    padding: 8rem 0;
    background-color: var(--color-bg-body);
    position: relative;
}

.premium-statement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: var(--color-primary);
    opacity: 0.3;
}

.statement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.statement-accent {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.statement-headline h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

.statement-headline h2 span {
    position: relative;
    display: inline-block;
    color: var(--color-primary);
}

.statement-headline h2 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(37, 99, 235, 0.15);
    z-index: -1;
}

.statement-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.statement-body p:last-child {
    margin-bottom: 0;
}

.statement-body strong {
    color: #0f172a;
    font-weight: 600;
}

/* --- Tahapan Pembuatan Website (Premium Workflow) --- */
.premium-workflow-section {
    padding: 8rem 0;
}

.pw-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.pw-header h2 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.pw-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.pw-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Vertical Center Line */
.pw-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: rgba(37, 99, 235, 0.15);
}

.pw-item {
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
}

.pw-item:last-child {
    margin-bottom: 0;
}

.pw-item.left {
    left: 0;
    padding-right: 4rem;
}

.pw-item.right {
    left: 50%;
    padding-left: 4rem;
}

/* Node/Dot on the timeline */
.pw-node {
    position: absolute;
    top: 2.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #ffffff;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.pw-item.left .pw-node {
    right: 0;
    transform: translateX(50%);
}

.pw-item.right .pw-node {
    left: 0;
    transform: translateX(-50%);
}

/* The Content Card */
.pw-card {
    position: relative;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.pw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.pw-item:hover .pw-node {
    background-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.pw-watermark {
    position: absolute;
    top: -0.5rem;
    right: 1.5rem;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.04);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    font-family: monospace;
}

.pw-card h4 {
    position: relative;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
    z-index: 1;
}

.pw-card p {
    position: relative;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
    z-index: 1;
}

/* --- CTA Services (Premium Asymmetrical) --- */
.premium-services-cta {
    background-color: var(--color-bg-footer); /* Seamless fusion with footer */
    color: #ffffff;
    padding: 10rem 0 8rem;
}

.psc-layout {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto;
}

.psc-title-zone h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
    max-width: 800px;
}

.psc-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 4rem 0;
}

.psc-action-zone {
    align-self: flex-end;
    max-width: 500px;
}

.psc-action-zone p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.btn-premium-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.25rem 3rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-premium-cta:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}

.btn-premium-cta .arrow {
    transition: transform 0.3s ease;
}

.btn-premium-cta:hover .arrow {
    transform: translateX(5px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1023px) {
    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .page-hero-desc p {
        margin: 0 auto;
    }

    /* Removed grid-template-columns from here since we use flexbox */
    .premium-service-card {
        width: calc((100% - 2rem) / 2);
    }

    .statement-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .premium-statement-section {
        padding: 6rem 0;
    }

    .pw-timeline::before {
        left: 24px;
    }

    .pw-item.left,
    .pw-item.right {
        width: 100%;
        left: 0;
        padding-left: 64px;
        padding-right: 0;
    }

    .pw-item.left .pw-node,
    .pw-item.right .pw-node {
        left: 24px;
        right: auto;
        transform: translateX(-50%);
    }

    .psc-action-zone {
        align-self: flex-start;
        max-width: 100%;
    }

    .psc-divider {
        margin: 3rem 0;
    }
}

@media (max-width: 767px) {
    .premium-service-card {
        width: 100%;
    }

    .premium-statement-section {
        padding: 4rem 0;
    }

    .pw-header {
        margin-bottom: 3rem;
    }

    .pw-timeline::before {
        left: 16px;
    }

    .pw-item.left,
    .pw-item.right {
        padding-left: 48px;
    }

    .pw-item.left .pw-node,
    .pw-item.right .pw-node {
        left: 16px;
    }

    .premium-services-cta {
        padding: 6rem 0 5rem;
    }

    .btn-premium-cta {
        width: 100%;
    }
}
