/* Menghapus header fixed, karena header default dari style.css sudah digunakan */

.landing-main {
    padding-top: 2rem; /* Mengurangi jarak atas karena header tidak lagi fixed */
    padding-bottom: 4rem;
    width: 100%;
    max-width: 1200px; /* Sedikit lebih lebar untuk layout 2 kolom */
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.hero-section, .pricelist-section, .contact-section {
    text-align: center;
    padding: 0 24px;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--brand-strong), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
[data-theme="dark"] .hero-section h1 {
    background: linear-gradient(90deg, var(--brand), #fff);
    -webkit-background-clip: text;
    background-clip: text;
}
.subtitle {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-secondary);
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: white;
    box-shadow: 0 6px 18px rgba(37,99,235,0.25);
}
.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37,99,235,0.32);
}

.pricelist-section h2, .contact-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    margin-bottom: 2rem;
}

.pricelist-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default 1 kolom untuk mobile */
    gap: 24px;
    text-align: left;
}

/* [PERBAIKAN] Tampilan 2 kolom untuk layar tablet dan desktop */
@media (min-width: 768px) {
    .pricelist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--brand);
}

.price-card.featured {
    border-color: var(--brand);
    border-width: 2px;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: -40px;
    background: var(--brand);
    color: white;
    padding: 4px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
}

.price-card .card-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.price-card h3 {
    margin: 0;
    font-size: 1.2rem;
    min-height: 48px;
}

.price-card .price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: var(--brand);
}
.price-card .price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list li::before {
    content: '✔️';
    color: var(--success);
}

.admin-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--brand);
    color: var(--brand);
}
.cta-button.secondary:hover {
    background-color: var(--brand);
    color: white;
}

.announcements-section {
    text-align: center;
    padding: 0 24px;
}

.announcements-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    margin-bottom: 2rem;
}

#announcements-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.announcement-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
    box-shadow: var(--shadow);
}

.announcement-card img {
    border-radius: 8px;
}

.announcement-card p {
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.announcement-card small {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--card-bg);
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease;
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close:hover,
.close:focus {
    color: var(--brand);
    text-decoration: none;
}

#announcement-body {
    text-align: center;
    margin-top: 10px;
}

#announcement-body h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

#announcement-body p {
    margin: 10px 0;
    color: var(--text-primary);
    line-height: 1.5;
}

#announcement-body small {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
}

#announcement-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 15px;
    }
}
