/**
 * ServerTransaksi.net - Modern Homepage Stylesheet
 * Architecture: Mobile-First, Zero External CSS Dependencies, Highly Optimized
 */

:root {
    --st-primary: #0b192c;
    --st-primary-light: #1e3a5f;
    --st-accent: #0066ff;
    --st-accent-hover: #0052cc;
    --st-success: #10b981;
    --st-bg: #f8fafc;
    --st-surface: #ffffff;
    --st-text: #0f172a;
    --st-text-muted: #64748b;
    --st-border: #e2e8f0;
    --st-border-focus: #cbd5e1;
    
    --st-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --st-radius-sm: 6px;
    --st-radius-md: 10px;
    --st-radius-lg: 16px;
    --st-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    --st-shadow-hover: 0 10px 25px rgba(15, 23, 42, 0.08);
    --st-transition: all 0.2s ease-in-out;
}

/* CSS Reset Spesifik Area Template */
.st-main-container {
    font-family: var(--st-font);
    color: var(--st-text);
    background-color: var(--st-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.st-main-container * {
    box-sizing: border-box;
}

.st-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.st-wrapper-narrow {
    max-width: 840px;
}

.st-section {
    padding: 64px 0;
}

/* Section Header Typography */
.st-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.st-badge-sub {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--st-accent);
    background: rgba(0, 102, 255, 0.08);
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.st-section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--st-primary);
    line-height: 1.25;
    margin: 0 0 12px;
}

.st-section-desc {
    font-size: 1.0625rem;
    color: var(--st-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* Button Component */
.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--st-radius-md);
    transition: var(--st-transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.st-btn-primary {
    background-color: var(--st-accent);
    color: #ffffff;
}

.st-btn-primary:hover {
    background-color: var(--st-accent-hover);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.st-btn-secondary {
    background-color: var(--st-surface);
    color: var(--st-primary);
    border-color: var(--st-border);
}

.st-btn-secondary:hover {
    background-color: #f1f5f9;
    border-color: var(--st-border-focus);
}

.st-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.st-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Hero Section */
.st-hero-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--st-bg) 100%);
    padding: 64px 0 48px;
}

.st-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.st-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--st-border);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.st-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--st-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.st-pill-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--st-text-muted);
}

.st-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--st-primary);
    line-height: 1.2;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.st-hero-desc {
    font-size: 1.0625rem;
    color: var(--st-text-muted);
    margin: 0 0 28px;
    line-height: 1.65;
}

.st-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.st-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
}

.st-stat-number {
    display: block;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--st-primary);
}

.st-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--st-text-muted);
}

/* Visual Card Mockup (Pure CSS) */
.st-visual-card {
    background: var(--st-primary);
    border-radius: var(--st-radius-lg);
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(11, 25, 44, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.st-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.st-card-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 6px;
}

.st-card-badge {
    font-size: 0.6875rem;
    font-family: monospace;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.st-monitor-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--st-radius-md);
    padding: 16px;
    font-family: monospace;
    font-size: 0.8125rem;
    margin-bottom: 20px;
}

.st-monitor-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.st-monitor-row:last-child {
    border-bottom: none;
}

.st-tag-code {
    color: #94a3b8;
}

.st-tag-val {
    color: #f8fafc;
}

.st-tag-val.st-success {
    color: #34d399;
    font-weight: 700;
}

.st-mini-feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8125rem;
    color: #cbd5e1;
}

.st-check-icon {
    color: var(--st-success);
    font-weight: bold;
    margin-right: 4px;
}

/* Value Strip Section */
.st-value-strip {
    background: #ffffff;
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
    padding: 28px 0;
}

.st-value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.st-value-col {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.st-value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--st-radius-md);
    background: rgba(0, 102, 255, 0.08);
    color: var(--st-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-value-text strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--st-primary);
    margin-bottom: 2px;
}

.st-value-text span {
    font-size: 0.8125rem;
    color: var(--st-text-muted);
}

/* Topical Silo Grid */
.st-silo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.st-silo-card {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    padding: 28px;
    transition: var(--st-transition);
    display: flex;
    flex-direction: column;
}

.st-silo-card:hover {
    border-color: var(--st-accent);
    box-shadow: var(--st-shadow-hover);
    transform: translateY(-2px);
}

.st-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.st-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--st-radius-md);
    background: #f1f5f9;
    color: var(--st-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-silo-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--st-accent);
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 9999px;
}

.st-silo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-primary);
    margin: 0 0 10px;
}

.st-silo-summary {
    font-size: 0.875rem;
    color: var(--st-text-muted);
    margin: 0 0 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.st-silo-links {
    border-top: 1px solid var(--st-border);
    padding-top: 16px;
}

.st-pillar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--st-accent);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.st-pillar-link:hover {
    color: var(--st-accent-hover);
    text-decoration: underline;
}

.st-supporting-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.st-supporting-list li {
    margin-bottom: 6px;
}

.st-supporting-list a {
    font-size: 0.8125rem;
    color: var(--st-text-muted);
    text-decoration: none;
    display: inline-block;
}

.st-supporting-list a:hover {
    color: var(--st-primary);
    text-decoration: underline;
}

/* Steps Section ("Mulai Dari Sini") */
.st-steps-section {
    background: #ffffff;
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}

.st-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.st-step-card {
    background: var(--st-bg);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    padding: 24px;
}

.st-step-num {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--st-accent);
    margin-bottom: 8px;
    line-height: 1;
}

.st-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--st-primary);
    margin: 0 0 8px;
}

.st-step-text {
    font-size: 0.875rem;
    color: var(--st-text-muted);
    margin: 0 0 16px;
}

.st-step-action {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--st-accent);
    text-decoration: none;
}

.st-step-action:hover {
    text-decoration: underline;
}

/* Articles Section */
.st-articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.st-article-card {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.st-article-date {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--st-text-muted);
    margin-bottom: 8px;
}

.st-article-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}

.st-article-title a {
    color: var(--st-primary);
    text-decoration: none;
}

.st-article-title a:hover {
    color: var(--st-accent);
}

.st-article-excerpt {
    font-size: 0.875rem;
    color: var(--st-text-muted);
    margin: 0 0 16px;
    flex-grow: 1;
}

.st-article-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--st-accent);
    text-decoration: none;
}

/* Accordion FAQ */
.st-accordion-item {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.st-accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--st-primary);
    cursor: pointer;
    transition: var(--st-transition);
}

.st-accordion-trigger:hover {
    background: #f8fafc;
}

.st-chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.st-accordion-trigger[aria-expanded="true"] .st-chevron {
    transform: rotate(180deg);
}

.st-accordion-panel {
    border-top: 1px solid var(--st-border);
}

.st-accordion-content {
    padding: 18px 20px;
    font-size: 0.875rem;
    color: var(--st-text-muted);
    line-height: 1.6;
}

.st-accordion-content p {
    margin: 0;
}

/* Final CTA Section */
.st-cta-box {
    background: var(--st-primary);
    border-radius: var(--st-radius-lg);
    padding: 48px 28px;
    text-align: center;
    color: #ffffff;
}

.st-cta-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.25;
}

.st-cta-desc {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 28px;
}

.st-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Tablet & Desktop Responsiveness */
@media (min-width: 768px) {
    .st-section {
        padding: 80px 0;
    }
    
    .st-hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 56px;
    }
    
    .st-hero-title {
        font-size: 2.75rem;
    }

    .st-value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-silo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .st-cta-box {
        padding: 60px 48px;
    }
}

@media (min-width: 1024px) {
    .st-value-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .st-silo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .st-steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}