/* ------------------------------------------- */
/* Global & Reset */
/* ------------------------------------------- */
:root {
    --brand-red: #ea5454; /* Dominan Merah/Coral */
    --brand-orange: #ff9800; /* Oranye untuk Subscription CTA */
    --text-dark: #333;
    --text-light: #555;
    --logo-red: #e91e63; /* Warna TOM logo */
    /* Warna untuk Pricing Section */
    --color-free: #ff9800; /* Oranye */
    --color-premium: #5b9bd5; /* Biru */
    --color-vip: #5ac45e; /* Hijau */
    --card-border: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ------------------------------------------- */
/* Header & Navigation */
/* ------------------------------------------- */
.header-area {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.header-area.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--logo-red);
    line-height: 1;
}
.logo span {
    display: block;
    font-size: 0.3em;
    font-weight: 600;
    color: var(--text-light);
}

.nav-actions-desktop a {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    margin-left: 10px;
}
.nav-actions-desktop .sign-in-btn {
    color: var(--brand-red);
    background: white;
    border: 1px solid var(--brand-red);
}
.nav-actions-desktop .daftar-btn {
    background-color: var(--brand-red);
    color: white;
    border: 1px solid var(--brand-red);
}

/* Burger Menu Icon (Hidden on Desktop) */
.burger-menu {
    display: none; 
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--brand-red);
    margin: 5px 0;
    transition: 0.4s;
}

/* Burger Menu Active (Animasi X) */
.burger-menu.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-menu.open .bar:nth-child(2) { opacity: 0; }
.burger-menu.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Mobile Nav (Hidden by Default) */
.main-nav { 
    display: none; 
    position: absolute;
    top: 80px; 
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}
.main-nav.active {
    display: block; 
}
.main-nav ul {
    list-style: none;
}
.main-nav ul li a {
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
    font-weight: 600;
}
.nav-actions-mobile {
    display: none; 
    padding: 15px 25px;
    gap: 10px;
    border-top: 1px solid #eee;
}
.main-nav.active .nav-actions-mobile {
    display: flex;
    flex-direction: column;
}
.nav-actions-mobile a {
    display: block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
}
.nav-actions-mobile .login-btn {
    color: var(--brand-red);
    border: 1px solid var(--brand-red);
}
.nav-actions-mobile .register-btn {
    background-color: var(--brand-red);
    color: white;
}


/* ------------------------------------------- */
/* Hero Section */
/* ------------------------------------------- */
.hero-section {
    background-color: var(--brand-red);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="0"><stop offset="0%" stop-color="%23ea5454"/><stop offset="100%" stop-color="%23d14646"/></linearGradient></defs><path fill="url(%23g)" d="M0,0 L1000,0 L1000,400 Q750,550 500,400 T0,350 Z" /></svg>');
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center bottom;
    padding: 60px 0 120px 0; 
    position: relative;
    overflow: hidden; 
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Kiri: Teks */
.hero-text-content {
    flex: 1;
    max-width: 50%;
    color: white; 
}
.hero-text-content .subtitle {
    color: white; 
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 5px;
}
.hero-text-content h1 {
    font-size: 2.8em;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}
.hero-text-content .highlight-red {
    color: #ffd6d6; 
}
.hero-text-content .description {
    font-size: 1em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-buttons .btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 15px;
    transition: opacity 0.3s;
}
.cta-buttons .subscription-btn {
    background-color: var(--brand-orange);
    color: white;
}
.cta-buttons .tutorial-btn {
    background-color: white;
    color: var(--brand-red);
}

/* Kanan: Mockup Laptop - Disesuaikan untuk responsif */
.hero-mockup-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.laptop-mockup {
    /* Perubahan Kunci untuk Responsif */
    width: 100%; /* Ambil lebar penuh container */
    max-width: 600px; /* Batasan maksimum tetap 600px */
    
    aspect-ratio: 16/10; /* Pertahankan Rasio Aspek */
    background-color: #eee; 
    border-radius: 20px 20px 0 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 15px solid #ddd; 
    margin-top: 50px; /* Jarak dari atas */
}

.laptop-screen {
    background-color: black;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}
.laptop-screen img {
    width: 100%;
    height: 100%; /* Pastikan gambar mengisi layar penuh */
    object-fit: cover;
}


/* ------------------------------------------- */
/* Tutorial Video Section */
/* ------------------------------------------- */
.tutorial-section {
    padding: 80px 0;
    background-color: #f7f7f7; 
    text-align: center;
}

.tutorial-section .section-title {
    color: var(--brand-red); 
    margin-bottom: 5px;
    font-weight: 800;
}
.tutorial-section .section-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto 20px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-cta .btn {
    padding: 10px 20px;
    background-color: var(--brand-red);
    color: white;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* ------------------------------------------- */
/* Pricing/Package Section */
/* ------------------------------------------- */
.packages-section {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.section-title {
    font-size: 2.2em;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 800;
}
.section-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
}

.package-header-text {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}
.package-header-text .text-premium { color: var(--color-premium); }
.package-header-text .text-vip { color: var(--color-vip); }

.package-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.package-card {
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    width: 30%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: box-shadow 0.3s;
}

.package-title {
    padding: 15px;
    color: white;
    font-weight: 700;
    font-size: 1.2em;
    border-radius: 8px 8px 0 0;
    text-align: center;
}
.free-bg { background-color: var(--color-free); }
.premium-bg { background-color: var(--color-premium); }
.vip-bg { background-color: var(--color-vip); }

.package-card ul {
    list-style: none;
    padding: 20px 25px;
    flex-grow: 1; 
}
.package-card ul li {
    padding: 5px 0;
    font-size: 0.95em;
    color: var(--text-light);
}

.cta-package {
    display: block;
    width: 90%;
    margin: 0 auto 15px auto;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    color: white;
    background-color: #ff5c5c; 
}

/* ------------------------------------------- */
/* Footer & WhatsApp Float */
/* ------------------------------------------- */
.footer {
    padding: 15px 0;
    background-color: #f7f7f7;
    border-top: 1px solid #eee;
}
.copyright {
    font-size: 0.85em;
    color: var(--text-light);
    text-align: left;
}
.whatsapp-float {
    position: fixed;
    width: auto;
    padding: 5px 15px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 20px;
    text-align: center;
    line-height: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    font-weight: 600;
    transition: transform 0.3s;
}
.whatsapp-float:before {
    content: "💬"; 
    margin-right: 5px;
    font-size: 1.2em;
    line-height: 1;
    vertical-align: middle;
}
/* ------------------------------------------- */
/* Responsive Design (Media Queries) */
/* ------------------------------------------- */
@media (max-width: 992px) {
    /* Navigasi */
    .nav-actions-desktop { display: none; }
    .burger-menu { display: block; }
    
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    .hero-text-content h1 {
        font-size: 2.5em;
    }
    /* Paket */
    .package-card {
        width: 45%; 
    }
}

@media (max-width: 768px) {
    .hero-text-content h1 {
        font-size: 2em;
    }
    .hero-section {
        padding: 40px 0 80px 0;
    }
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .cta-buttons .btn {
        width: 80%;
        margin-right: 0;
    }
    
    /* Mockup Laptop pada Mobile */
    .laptop-mockup {
        width: 90%; /* Sekarang mengambil 90% dari lebar layar yang tersedia */
        border: 10px solid #ddd; /* Kurangi ketebalan border */
        margin-top: 20px;
    }
    
    /* Navigasi */
    .nav-actions-mobile { display: flex; } 
    
    /* Paket */
    .package-card { 
        width: 85%; 
        min-width: 0; 
    }
    .copyright {
        text-align: center;
    }
}