/* --- 0. Global Reset and Variables --- */
:root {
    color-scheme: light;
    /* Light Mode Variables */
    --color-primary: #5A47D7;
    --color-secondary: #745CFF;
    --color-text-dark: #1f2937;
    --color-text-light: #ffffff;
    --color-bg-light: #f3f4f6;
    --color-glass-light: rgba(255, 255, 255, 0.15);
    --color-border-light: rgba(255, 255, 255, 0.3);
    --color-shadow-light: rgba(0, 0, 0, 0.1);

    /* Dark Mode Variables */
    --color-bg-dark: #121212;
    --color-glass-dark: rgba(255, 255, 255, 0.05);
    --color-border-dark: rgba(255, 255, 255, 0.1);
    --color-shadow-dark: rgba(0, 0, 0, 0.4);

    --text-color: var(--color-text-dark);
    --bg-color: var(--color-bg-light);
    --glass-bg: var(--color-glass-light);
    --glass-border: var(--color-border-light);

    --mobile-nav-height: 88px;

    --transition-duration: 0.3s;
}

:root[data-theme='dark'] {
    color-scheme: dark;
}

/* Dark Mode Overrides */
.dark-mode,
:root[data-theme='dark'] {
    --text-color: var(--color-text-light);
    --bg-color: var(--color-bg-dark);
    --glass-bg: var(--color-glass-dark);
    --glass-border: var(--color-border-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    transition: background-color var(--transition-duration), color var(--transition-duration);
    overflow-x: hidden;
    position: relative;
}

.has-mobile-bottom-nav {
    padding-bottom: 0;
    transition: padding-bottom var(--transition-duration);
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 1. Glassmorphism & Card Style --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--color-shadow-light);
    border-radius: 15px;
    transition: all var(--transition-duration);
}

.dark-mode .glass-card {
    box-shadow: 0 4px 30px var(--color-shadow-dark);
}

/* --- 2. Animated Background --- */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
    filter: brightness(1.2);
}

.shape-1 { width: 300px; height: 300px; background: linear-gradient(135deg, #745CFF, #5A47D7); top: 10%; left: 5%; animation-delay: 0s; }
.shape-2 { width: 400px; height: 400px; background: linear-gradient(135deg, #FF6B6B, #F06292); bottom: 5%; right: 15%; animation-delay: 5s; }
.shape-3 { width: 250px; height: 250px; background: linear-gradient(135deg, #FFE066, #FFD700); top: 50%; right: 5%; animation-delay: 10s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, 30px) rotate(10deg); }
    66% { transform: translate(-10px, -20px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* --- 3. Header / Navbar (Desktop) --- */
header {
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    background: var(--color-primary);
    border-radius: 5px;
}

.desktop-menu a {
    margin: 0 15px;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.desktop-menu .accent-link {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(90, 71, 215, 0.12);
    border: 1px solid rgba(90, 71, 215, 0.3);
    opacity: 1;
    font-weight: 600;
}

.desktop-menu .accent-link:hover {
    background: rgba(90, 71, 215, 0.2);
}

.desktop-menu a:hover { opacity: 1; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tombol Login/Signup Desktop */
.btn-login, .btn-signup {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
}

.btn-login { background: transparent; opacity: 0.8; }
.btn-login:hover { opacity: 1; }

.btn-signup {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.btn-signup:hover { background-color: var(--color-secondary); }

.icon-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    transition: background-color var(--transition-duration);
}

.icon-btn:hover { background-color: var(--glass-border); }

/* --- PENTING: Sembunyikan Elemen Mobile di Desktop --- */
.mobile-dropdown {
    display: none;
    position: absolute;
    z-index: 90;
}
.menu-toggle {
    display: none;
}
.subtitle-mobile {
    display: none;
}

/* --- 4. Hero Section (Main Content) --- */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 100px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
}

.hero-text { flex: 1; max-width: 600px; }

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #5A47D7, #A77BFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* CTA Button */
.cta-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    display: flex;
    align-items: center;
    border-radius: 25px;
    overflow: hidden;
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.cta-button:hover { transform: translateY(-2px); }

.icon-part {
    background-color: var(--color-primary);
    padding: 12px 15px;
}

.text-part {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 12px 25px;
    border: 1px solid var(--glass-border);
    border-left: none;
    border-radius: 0 25px 25px 0;
}

.dark-mode .text-part { background-color: #2a2a2a; }

.active-users { font-weight: 600; opacity: 0.7; }

/* --- 5. Stats Panel (Desktop Only) --- */
.stats-panel {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.stat-card { padding: 20px; text-align: center; }

.stat-big p {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.stat-card span { opacity: 0.8; }

.stat-card-row { display: flex; gap: 15px; }

.stat-small { flex: 1; }

.stat-small p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.feature-badge {
    text-align: left;
    font-weight: 600;
    padding: 10px 20px;
}

.feature-badge i {
    color: var(--color-secondary);
    margin-right: 10px;
}

/* --- 6. Modal (Pop-up) Styling --- */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 60px;
    transition: opacity 0.3s;
}

.modal.is-open {
    display: block;
}

.modal-content {
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.close-btn {
    color: var(--text-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover { color: var(--color-primary); }

.modal-content h2 { margin-bottom: 20px; font-size: 1.8rem; }

.modal-content form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background-color: var(--glass-bg);
    color: var(--text-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s;
}

.modal-content .modal-label {
    display: block;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
}

.modal-content .api-key-field {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-content .api-key-field input {
    flex: 1;
    margin-bottom: 0;
}

.modal-content .api-key-field button {
    flex-shrink: 0;
    width: 130px;
}

.dark-mode .modal-content form input {
    background-color: rgba(255, 255, 255, 0.08);
}

.modal-content form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.2s;
}

.btn-primary:hover { background-color: var(--color-secondary); }

.form-status {
    min-height: 1.2em;
    font-size: 0.9rem;
    margin-top: 8px;
}

.form-status[data-state="error"] { color: #ef4444; }
.form-status[data-state="success"] { color: #10b981; }
.form-status[data-state="info"] { color: var(--text-color); opacity: 0.8; }
.form-status[data-state="warning"] { color: #fbbf24; }

.form-status.small {
    font-size: 0.85rem;
    margin-top: -6px;
    margin-bottom: 10px;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    min-height: var(--mobile-nav-height);
    background: linear-gradient(90deg, #ff6a00 0%, #ff3b2f 100%);
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.18);
}

.mobile-bottom-nav .nav-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #ffece2;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: transform var(--transition-duration), color var(--transition-duration);
}

.mobile-bottom-nav .nav-item .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transition: background-color var(--transition-duration), color var(--transition-duration), transform var(--transition-duration);
}

.mobile-bottom-nav .nav-item .nav-icon i {
    font-size: 1.1rem;
    line-height: 1;
}

.mobile-bottom-nav .nav-item .nav-label {
    letter-spacing: 0.01em;
}

.mobile-bottom-nav .nav-item.is-active,
.mobile-bottom-nav .nav-item:focus,
.mobile-bottom-nav .nav-item:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-bottom-nav .nav-item.is-active .nav-icon,
.mobile-bottom-nav .nav-item:focus .nav-icon,
.mobile-bottom-nav .nav-item:hover .nav-icon {
    background: #ffffff;
    color: #ff4c1a;
    transform: scale(1.05);
}

.md-hidden {
    display: none;
}

/* --- 7. Mobile Layout & Media Queries (max-width: 768px) --- */
@media (max-width: 1024px) {
    .hero-section {
        padding: 40px 50px;
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 { font-size: 3rem; }
    .stats-panel {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .stat-card-row { width: 100%; }
}

@media (max-width: 768px) {
    header { padding: 10px 20px; }
    .navbar { border-radius: 10px; padding: 8px 15px; }

    .has-mobile-bottom-nav {
        padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px));
    }

    .md-hidden {
        display: block;
    }

    .mobile-bottom-nav {
        display: flex;
        gap: 6px;
    }

    .mobile-bottom-nav .nav-item {
        font-size: 0.72rem;
    }

    .desktop-menu,
    .btn-login,
    .btn-signup {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .subtitle-mobile {
        display: block;
    }
    .active-users { display: none; }

    .cta-area { justify-content: center; flex-wrap: wrap; }

    .mobile-dropdown {
        position: absolute;
        top: 80px;
        right: 20px;
        left: 20px;
        flex-direction: column;
        padding: 20px;
        border-radius: 10px;
    }

    .mobile-dropdown.open {
        display: flex;
    }

    .mobile-dropdown a {
        padding: 10px 0;
        border-bottom: 1px solid var(--glass-border);
        font-weight: 500;
    }
    .mobile-dropdown .accent-link {
        display: inline-flex;
        margin-top: 6px;
        border-bottom: none;
        border-radius: 999px;
        border: 1px solid rgba(90, 71, 215, 0.35);
        padding: 10px 16px;
        background: rgba(90, 71, 215, 0.15);
    }
    .mobile-dropdown a:last-of-type { border-bottom: none; }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .btn-login-mobile, .btn-signup-mobile {
        padding: 10px;
        border-radius: 8px;
        text-align: center;
        font-weight: 600;
    }

    .btn-login-mobile { border: 1px solid var(--text-color); }

    .btn-signup-mobile {
        background-color: var(--color-primary);
        color: var(--color-text-light);
    }

    .stats-panel {
        flex-direction: row;
        padding: 0;
    }

    .stat-card-row {
        flex-direction: column;
        gap: 10px;
    }

    .stat-big, .stat-small, .feature-badge {
        flex: 1 1 45%;
        padding: 15px;
    }

    .stat-big p { font-size: 2.5rem; }

    .stat-small p { font-size: 1.5rem; }
}

/* --- Styling untuk Bagian Product Baru --- */
.product-features {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.product-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
}

.product-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 15px;
}

.product-description {
    font-size: 1.1rem;
    opacity: 0.7;
    line-height: 1.6;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 950px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.45s ease;
}

.feature-card:not(.is-visible) {
    pointer-events: none;
}

.feature-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.dark-mode .feature-card {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-image {
    position: relative;
    flex-shrink: 0;
    width: 250px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.dark-mode .image-badge {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

.feature-content {
    flex-grow: 1;
}

.feature-tag {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.8;
}

.btn-try-now {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-try-now i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.btn-try-now:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.feature-card.reverse-layout {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .product-features {
        padding: 60px 30px;
        gap: 40px;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .product-subtitle {
        font-size: 1.2rem;
    }

    .feature-card, .feature-card.reverse-layout {
        flex-direction: column;
        text-align: center;
    }

    .feature-image {
        margin-bottom: 20px;
    }

    .feature-content h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 600px) {
    .product-features {
        padding: 40px 20px;
        gap: 30px;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-subtitle {
        font-size: 1rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .feature-image {
        width: 200px;
        height: 300px;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-tag {
        margin-bottom: 10px;
    }

    .feature-content p {
        font-size: 0.9rem;
    }
}

.use-cases {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.use-cases-header {
    text-align: center;
    margin-bottom: 50px;
}

.use-cases-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.use-cases-header p {
    font-size: 1rem;
    opacity: 0.8;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    margin-bottom: 40px;
}

.workflow-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    min-height: 250px;
}

.card-icon {
    background-color: var(--color-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 15px;
}

.card-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 4rem;
    font-weight: 800;
    opacity: 0.1;
    color: var(--text-color);
}

.dark-mode .card-number {
    opacity: 0.05;
}

.workflow-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.card-subtitle {
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 10px;
}

.workflow-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

.underline-blue, .underline-red, .underline-orange, .underline-cyan {
    height: 3px;
    width: 30px;
    margin-top: 10px;
    border-radius: 1.5px;
}

.underline-blue { background-color: #5A47D7; }
.underline-red { background-color: #F06292; }
.underline-orange { background-color: #FF6B6B; }
.underline-cyan { background-color: #00BCD4; }

.cases-cta {
    text-align: center;
    margin: 20px 0 60px 0;
}

.cases-cta p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.cta-button-small {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    overflow: hidden;
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    width: fit-content;
}

.cta-button-small .icon-part {
    background-color: #1f2937;
    padding: 10px 15px;
}

.cta-button-small .text-part {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 10px 25px;
    border: 1px solid var(--glass-border);
    border-left: none;
    border-radius: 0 25px 25px 0;
}

.dark-mode .cta-button-small .text-part {
    background-color: #2a2a2a;
}

.real-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 40px 0;
}

.results-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
}

.results-text small {
    opacity: 0.6;
}

.stats-data {
    display: flex;
    gap: 50px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-blue { color: #5A47D7; }
.stat-red { color: #F06292; }
.stat-green { color: #4CAF50; }

.stat-item small {
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }
    .real-results {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .stats-data {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px 40px;
    }
}

@media (max-width: 600px) {
    .use-cases {
        padding: 40px 20px;
    }
    .use-cases-header h2 {
        font-size: 2rem;
    }
    .workflow-card {
        min-height: auto;
    }
    .results-text h3 {
        font-size: 2rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stats-data {
        gap: 20px 30px;
    }
}

.pricing-section {
    padding: 80px 50px;
    max-width: 1400px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.pricing-header p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.plan-card {
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.plan-card.most-popular {
    border: 2px solid var(--color-primary);
    box-shadow: 0 8px 30px rgba(90, 71, 215, 0.4);
}

.dark-mode .plan-card.most-popular {
    box-shadow: 0 8px 30px rgba(90, 71, 215, 0.5);
}

.popular-badge {
    background: linear-gradient(90deg, #FF6B6B, #F06292);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 20px;
}

.plan-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.plan-tag {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 30px;
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 5px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 5px;
    color: var(--color-primary);
}

.price-value {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    transition: all 1s ease-out;
}

.price-lifetime {
    font-size: 1rem;
    opacity: 0.6;
    margin-bottom: 20px;
}

.price-strikeout {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price-strikeout p {
    font-size: 0.9rem;
    opacity: 0.6;
}

.save-badge {
    background-color: #4CAF50;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

.key-features {
    text-align: left;
    width: 100%;
    margin-bottom: 30px;
}

.key-features h4 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.key-features ul {
    list-style: none;
    padding: 0;
}

.key-features li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.key-features li i {
    color: #4CAF50;
    margin-right: 10px;
}

.key-features .disabled-feature i {
    color: #F44336;
}

.btn-plan-select {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    overflow: hidden;
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    margin-top: auto;
}

.btn-plan-select:hover { transform: translateY(-2px); }

.btn-plan-select .icon-part {
    background-color: var(--color-primary);
    padding: 12px 15px;
    height: 100%;
}

.btn-plan-select .text-part {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 12px 25px;
    border: 1px solid var(--glass-border);
    border-left: none;
    border-radius: 0 25px 25px 0;
    flex-grow: 1;
}

.dark-mode .btn-plan-select .text-part {
    background-color: #2a2a2a;
}

.btn-primary-plan .icon-part {
    background-color: #1f2937;
}

.contact-footer {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.contact-footer a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

@media (max-width: 600px) {
    .pricing-section {
        padding: 40px 20px;
    }
    .pricing-header h2 {
        font-size: 2.5rem;
    }
    .price-value {
        font-size: 3.5rem;
    }
}

.review-section {
    padding: 80px 50px;
    max-width: 1400px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-color);
}

.review-header {
    text-align: center;
    margin-bottom: 50px;
}

.review-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.review-header p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.review-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin-bottom: 60px;
}

.review-card {
    position: relative;
    padding: 25px;
    border-radius: 15px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 4rem;
    font-family: Georgia, serif;
    font-weight: bold;
    color: var(--color-primary);
    opacity: 0.2;
}

.rating {
    font-size: 1.2rem;
    color: #FFC107;
    margin-bottom: 15px;
    z-index: 10;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-top: 10px;
}

.review-tag {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.review-tag::before {
    content: "\25CF";
    margin-right: 5px;
    font-size: 0.8em;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 15px;
}

.reviewer-name {
    font-weight: 700;
    line-height: 1.2;
}

.reviewer-details small {
    font-size: 0.85rem;
    opacity: 0.7;
}

.review-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.review-stats .stat-item {
    flex: 1;
}

.review-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.review-stats small {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1100px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .review-section {
        padding: 40px 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-header h2 {
        font-size: 2.5rem;
    }

    .review-card {
        min-height: auto;
    }

    .review-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 20px;
    }

    .review-stats .stat-item {
        flex: 1 1 40%;
    }

    .review-stats .stat-number {
        font-size: 2rem;
    }
}

.main-footer {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    padding: 60px 50px 20px 50px;
    border-top: 1px solid #e0e0e0;
    margin-top: 60px;
}

.dark-mode .main-footer {
    background-color: #0b0b0b;
    color: var(--color-text-light);
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    padding-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

.footer-col.footer-info {
    flex: 1.5;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.footer-logo .logo-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    background: var(--color-primary);
    border-radius: 5px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.dark-mode .footer-col h3 {
    color: var(--color-text-light);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.icon-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--color-text-dark);
    color: var(--color-bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.icon-circle:hover {
    background-color: var(--color-primary);
}

.dark-mode .icon-circle {
    background-color: #333;
    color: var(--color-text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.85rem;
    opacity: 0.7;
}

.bottom-links a {
    margin-left: 20px;
    opacity: 0.9;
}

.bottom-links a:hover {
    opacity: 1;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px 20px 20px;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-col {
        flex: 1 1 45%;
        min-width: 120px;
    }

    .footer-col.footer-info {
        flex: 1 1 100%;
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .bottom-links a {
        margin-left: 0;
        margin-right: 20px;
    }
}
.auth-background {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .auth-background .orb {
      position: absolute;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      filter: blur(140px);
      opacity: 0.6;
      animation: floatOrb 16s ease-in-out infinite;
      background: radial-gradient(circle, rgba(165,180,252,0.75), transparent 70%);
    }
    .auth-background .orb-one { top: -120px; left: -120px; }
    .auth-background .orb-two {
      bottom: -160px;
      right: -80px;
      background: radial-gradient(circle, rgba(94,234,212,0.6), transparent 70%);
      animation-delay: -6s;
    }
    .auth-background .orb-three {
      top: 40%;
      right: 35%;
      background: radial-gradient(circle, rgba(56,189,248,0.5), transparent 70%);
      animation-delay: -3s;
    }
    @keyframes floatOrb {
      0%, 100% { transform: translate3d(0,0,0) scale(1); }
      50% { transform: translate3d(40px, -30px, 0) scale(1.08); }
    }
    @keyframes auroraDrift {
      0% { transform: rotate(0deg) scale(1); opacity: 0.55; }
      50% { transform: rotate(160deg) scale(1.12); opacity: 0.82; }
      100% { transform: rotate(320deg) scale(1); opacity: 0.55; }
    }
    .auth-shell {
      position: relative;
      z-index: 1;
      width: min(1000px, 100%);
      display: grid;
      gap: 28px;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      align-items: stretch;
    }
    .auth-card {
      position: relative;
      border-radius: 28px;
      padding: 36px 34px;
      background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(232,249,255,0.72));
      color: #0f172a;
      border: 1px solid rgba(148,163,184,0.25);
      box-shadow: 0 40px 90px rgba(15,23,42,0.28);
      overflow: hidden;
      backdrop-filter: blur(22px);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .auth-card.security {
      background: linear-gradient(168deg, rgba(30,41,59,0.95), rgba(124,45,18,0.86));
      color: #fef3c7;
      border: 1px solid rgba(251,191,36,0.48);
      box-shadow: 0 46px 110px rgba(124,45,18,0.35);
    }
    .auth-card::before,
    .auth-card::after {
      content: "";
      position: absolute;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(56,189,248,0.25), transparent 72%);
      filter: blur(10px);
      opacity: 0.65;
      z-index: 0;
      animation: cardGlow 18s linear infinite;
    }
    .auth-card::before { top: -80px; right: -90px; }
    .auth-card::after { bottom: -90px; left: -70px; animation-delay: -8s; }
    .auth-card.security::before {
      background: radial-gradient(circle, rgba(251,191,36,0.38), transparent 78%);
    }
    .auth-card > * { position: relative; z-index: 1; }
    .auth-card:hover { transform: translateY(-6px); box-shadow: 0 48px 120px rgba(15,23,42,0.32); }
    @keyframes cardGlow {
      0% { transform: rotate(0deg) scale(1); }
      50% { transform: rotate(180deg) scale(1.05); }
      100% { transform: rotate(360deg) scale(1); }
    }
    .security-card {
      display: flex;
      flex-direction: column;
      gap: 22px;
    }
    .security-alert {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 18px;
      border-radius: 20px;
      background: rgba(248,113,113,0.16);
      border: 1px solid rgba(251,191,36,0.45);
      box-shadow: inset 0 0 0 1px rgba(248,250,252,0.06);
    }
    .security-icon {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(250,204,21,0.28), rgba(248,113,113,0.34));
      color: #fef3c7;
      font-size: 26px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 18px 34px rgba(248,113,113,0.32);
    }
    .security-copy h1 {
      margin: 0 0 6px;
      font-size: 28px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    .security-copy p {
      margin: 0;
      color: rgba(248, 250, 252, 0.78);
      font-size: 14px;
      line-height: 1.6;
    }
    .ip-panel {
      border-radius: 20px;
      border: 1px solid rgba(250, 204, 21, 0.45);
      background: linear-gradient(140deg, rgba(30,41,59,0.65), rgba(124,45,18,0.52));
      padding: 22px 24px;
      text-align: center;
      box-shadow: inset 0 0 0 1px rgba(15,23,42,0.45);
    }
    .ip-label {
      display: block;
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(248, 250, 252, 0.66);
      margin-bottom: 8px;
    }
    .ip-value {
      font-size: 30px;
      font-weight: 700;
      color: #FF0000;
      letter-spacing: 0.05em;
    }
    .ip-note {
      display: block;
      margin-top: 10px;
      font-size: 12px;
      color: rgba(248, 250, 252, 0.68);
    }
    .auth-header h1 {
      margin: 0 0 8px;
      font-size: 28px;
      font-weight: 600;
      color: #0f172a;
    }
    .auth-header p {
      margin: 0 0 22px;
      color: rgba(15,23,42,0.65);
      font-size: 14px;
      line-height: 1.7;
    }
    .login-ip-stamp {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      border-radius: 999px;
      background: rgba(59,130,246,0.12);
      color: rgba(15,23,42,0.68);
      font-size: 12px;
      font-weight: 500;
      margin-bottom: 22px;
      box-shadow: 0 18px 34px rgba(59,130,246,0.14);
    }
    .login-ip-stamp .stamp-icon {
      font-size: 16px;
      color: #2563eb;
    }
    .login-ip-stamp .stamp-value {
      font-weight: 700;
      letter-spacing: 0.04em;
      color: #1d4ed8;
    }
    .auth-tabs {
      display: inline-flex;
      border-radius: 999px;
      background: rgba(255,255,255,0.65);
      border: 1px solid rgba(148,163,184,0.35);
      padding: 4px;
      gap: 4px;
      margin-bottom: 24px;
      position: relative;
    }
    /* --- Styling untuk Security Gate Pop-up --- */

.security-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Overlay gelap */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Pastikan di atas segalanya */
    transition: opacity 0.5s ease;
}

.security-gate-overlay.hidden {
    display: none;
    opacity: 0;
}

.security-card {
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    margin: auto;
    max-width: 400px;
    text-align: center;
}

.security-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 0, 0.1); /* Latar belakang peringatan */
    border: 1px solid #FFC107; /* Kuning */
    text-align: left;
}

.dark-mode .security-alert {
    background-color: rgba(255, 255, 0, 0.05);
}

.security-icon {
    font-size: 2rem;
}

.security-copy h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.security-copy p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.ip-panel {
    background: var(--glass-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid var(--glass-border);
}

.ip-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 5px;
    font-weight: 500;
}

.ip-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.ip-note {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

.small-note {
    margin-top: 15px;
    font-size: 0.7rem;
    opacity: 0.5;
}

#securityContinue {
    /* Menggunakan styling btn-primary yang sudah ada */
    width: 100%;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 25px;
    background-color: var(--color-primary);
    color: white;
    transition: background-color 0.2s;
}

#securityContinue:hover {
    background-color: var(--color-secondary);
}
/* --- Styling untuk Security Gate Pop-up --- */

.security-gate-overlay {
    position: fixed; /* Kunci agar menutupi seluruh viewport */
    top: 0;
    left: 0;
    width: 100%; /* Pastikan lebar 100% */
    height: 100%; /* Pastikan tinggi 100% */
    
    /* Gunakan warna solid untuk background utama */
    background-color: rgba(0, 0, 0, 0.9); /* Ubah ke 0.9 agar lebih solid */
    
    /* Hapus backdrop-filter di sini jika ingin menerapkan blur hanya pada CARD */
    /* Jika Anda ingin seluruh background blur, terapkan backdrop-filter di sini: */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    display: flex;
    justify-content: center; /* Memposisikan horizontal di tengah */
    align-items: center;   /* Memposisikan vertikal di tengah */
    z-index: 9999; /* Pastikan di atas segalanya, ini sangat penting! */
    transition: opacity 0.5s ease;
}

/* Pastikan styling untuk CARD tetap ada */
.security-card {
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    
    /* Penting: Pastikan z-index card lebih tinggi dari konten lain jika Anda menggunakan teknik Glassmorphism berlapis */
    z-index: 10000; 
}

.security-gate-overlay {
    position: fixed; /* Kunci agar menutupi seluruh viewport */
    top: 0;
    left: 0;
    width: 100%; /* Pastikan lebar 100% */
    height: 100%; /* Pastikan tinggi 100% */
    
    /* Overlay gelap yang kuat */
    background-color: rgba(0, 0, 0, 0.9); 
    
    /* Efek Blur Glassmorphism pada overlay */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    /* Kunci untuk menengahkan card di viewport */
    display: flex;
    justify-content: center; /* Posisi horizontal di tengah */
    align-items: center;   /* Posisi vertikal di tengah */
    
    z-index: 9999; /* Pastikan di atas semua elemen landing page */
    transition: opacity 0.5s ease;
}

.security-gate-overlay.hidden {
    opacity: 0;
    /* Gunakan visibility: hidden agar pop-up hilang total setelah transisi */
    visibility: hidden; 
}

.security-card {
    /* Menerapkan Glassmorphism (menggunakan .glass-card) */
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    z-index: 10000; /* Sedikit lebih tinggi dari overlay */
    /* Pastikan Anda menambahkan class 'glass-card' pada HTML elemen ini */
}