/* ======================= */
/* CSS Variables & Reset */
/* ======================= */
:root {
    /* EDIT: Warna utama - sesuaikan dengan brand Anda */
    --primary-color: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #22c55e;
    
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --font-family: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ======================= */
/* Utility Classes */
/* ======================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

.text-success {
    color: var(--primary-color);
}

.text-danger {
    color: #dc2626;
}

/* ======================= */
/* Buttons */
/* ======================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ======================= */
/* Header */
/* ======================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links a {
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ======================= */
/* Hero Section */
/* ======================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(6, 95, 70, 0.85) 50%, rgba(4, 120, 87, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #86efac;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-desc strong {
    color: #86efac;
}

/* ======================= */
/* Reasons Section */
/* ======================= */
.reasons {
    background-color: var(--bg-light);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.reason-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reason-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.reason-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.reason-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ======================= */
/* Demo Section */
/* ======================= */
.demos {
    background-color: var(--bg-white);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.demo-card {
    display: block;
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
}

.demo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.demo-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.demo-card:hover .demo-image img {
    transform: scale(1.05);
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 163, 74, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.demo-card:hover .demo-overlay {
    opacity: 1;
}

.demo-overlay span {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    border: 2px solid var(--text-white);
}

.demo-card h3 {
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* ======================= */
/* Features Section */
/* ======================= */
.features {
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    background-color: #dcfce7;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1rem;
    color: var(--text-dark);
}

/* ======================= */
/* Pricing Section */
/* ======================= */
.pricing {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: #dc2626;
    color: var(--text-white);
    padding: 8px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.pricing-header p {
    opacity: 0.9;
}

.pricing-body {
    padding: 30px;
    text-align: center;
}

.price-main {
    margin-bottom: 10px;
}

.price-main .currency {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: top;
}

.price-main .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-main .period {
    font-size: 1rem;
    color: var(--text-light);
}

.price-monthly {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.price-renewal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fef3c7;
    color: #92400e;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 25px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
}

/* ======================= */
/* Comparison Section */
/* ======================= */
.comparison {
    background-color: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table th.highlight {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.comparison-table td.highlight {
    background-color: #f0fdf4;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

/* ======================= */
/* Savings Section */
/* ======================= */
.savings {
    background-color: var(--bg-light);
}

.savings-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.savings-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.savings-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.savings-card ul {
    margin-bottom: 20px;
}

.savings-card li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.savings-card li:last-child {
    border-bottom: none;
}

.savings-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid var(--text-dark);
    font-size: 1.1rem;
}

.savings-other {
    border: 2px solid #fca5a5;
}

.savings-other .savings-total strong {
    color: #dc2626;
}

.savings-beresweb {
    border: 3px solid var(--primary-color);
}

.savings-beresweb .savings-total strong {
    color: var(--primary-color);
}

.savings-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.savings-result {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.savings-amount {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.savings-amount span {
    font-size: 1.1rem;
}

.savings-amount strong {
    font-size: 2rem;
    font-weight: 700;
}

/* ======================= */
/* Support Section */
/* ======================= */
.support {
    background-color: var(--bg-white);
}

.support-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.support-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.support-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.support-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.support-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.support-text ol {
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.support-text ol li {
    margin-bottom: 8px;
}

/* ======================= */
/* FAQ Section */
/* ======================= */
.faq {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* ======================= */
/* CTA Final Section */
/* ======================= */
.cta-final {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
    padding: 60px 20px;
}

.cta-final h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.cta-final p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.cta-final .btn-primary {
    background-color: var(--text-white);
    color: var(--primary-color);
}

.cta-final .btn-primary:hover {
    background-color: #f0fdf4;
}

/* ======================= */
/* Footer */
/* ======================= */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    color: var(--primary-light);
    width: 20px;
}

.footer-contact ul li a:hover {
    color: var(--primary-light);
}

.footer-address p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    gap: 10px;
}

.footer-address i {
    color: var(--primary-light);
    margin-top: 4px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* ======================= */
/* Back to Top Button */
/* ======================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ======================= */
/* Responsive Design */
/* ======================= */
@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .btn-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .support-content {
        flex-direction: column;
        text-align: center;
    }
    
    .support-icon {
        margin: 0 auto;
    }
    
    .support-text ol {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .demos-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-image {
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        margin: 0 10px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .savings-cards {
        grid-template-columns: 1fr;
    }
    
    .savings-result {
        padding: 20px;
    }
    
    .savings-amount {
        flex-direction: column;
        gap: 5px;
    }
    
    .savings-amount strong {
        font-size: 1.8rem;
    }
    
    .support-content {
        padding: 25px;
    }
    
    .cta-final h2 {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact ul li,
    .footer-address p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .price-main .amount {
        font-size: 2.5rem;
    }
}
