:root {
    --primary: #673AB7;
    --secondary: #7E57C2;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 90%;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    color: white !important;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: radial-gradient(circle at top right, #1e1b4b, var(--dark));
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
}

.cta-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-visual {
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #1e293b;
    border-radius: 40px;
    border: 8px solid #334155;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.screen {
    background: var(--dark);
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--primary);
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

.app-body {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card {
    background: #334155;
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
}



.features {
    padding: 5rem 5%;
}

.features h2,
.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #000;
}

.feature-card {
    background: transparent;
    padding: 2rem;
    border-radius: 0;
    border: none;
    border-right: 1px solid #000;
    text-align: left;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card h3 {
    color: #673AB7;
    /* Primary Purple */
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}

.pricing {
    padding: 5rem 5%;
    background: #0b1120;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: #1e293b;
    padding: 2rem;
    border-radius: 1.5rem;
    width: 300px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card.popular {
    background: linear-gradient(145deg, #1e293b, #2d3b55);
    border: 1px solid var(--primary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--light);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.pricing-card li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 0.5rem;
}

.btn-buy {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1e293b;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: white;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
}

.summary {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    border: none;
    color: white;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
}

footer {
    text-align: center;
    border-radius: 10px;
}

.features {
    padding: 5rem 5%;
    background: #0f172a;
}

.features h2,
.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing {
    padding: 5rem 5%;
    background: #0b1120;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: #1e293b;
    padding: 2rem;
    border-radius: 1.5rem;
    width: 300px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card.popular {
    background: linear-gradient(145deg, #1e293b, #2d3b55);
    border: 1px solid var(--primary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--light);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.pricing-card li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 0.5rem;
}

.btn-buy {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1e293b;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: white;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
}

.summary {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    border: none;
    color: white;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    border-top: 1px solid #1e293b;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
        background: rgba(15, 23, 42, 0.98);
        /* Lebih solid agar tidak transparan mengganggu */
        height: auto;
        position: relative;
        /* Ubah ke relative di mobile agar tidak menutupi konten */
    }

    .nav-links {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        /* Stack menu ke bawah */
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .btn-primary {
        width: auto;
        /* Biarkan auto agar padding bekerja */
        display: inline-block;
        white-space: nowrap;
        /* Mencegah teks kepotong jadi 2 baris */
    }

    .hero {
        flex-direction: column-reverse;
        /* Gambar di atas, Teks di bawah (opsional, tapi biasanya lebih bagus) - Atau tetap column */
        flex-direction: column;
        height: auto;
        padding: 2rem 5% 3rem;
        /* Kurangi padding atas karena navbar relative */
        text-align: center;
        margin-top: 0;
    }

    .hero-content {
        max-width: 100%;
    }



    .hero-content h1 {
        font-size: 2.5rem;
        margin-top: 1rem;
    }

    /* Container untuk tombol CTA agar rapi */
    .cta-container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
        /* Batasi lebar agar tidak terlalu lebar di tablet */
        box-sizing: border-box;
        margin: 0 !important;
        /* Reset margin */
        display: block;
    }

    /* Fix tombol Trial */
    button.btn-cta.btn-outline {
        margin-left: 0 !important;
        width: 100%;
        max-width: 300px;
        display: block;
        margin-top: 10px !important;
        /* Beri jarak eksplisit */
    }

    .phone-mockup {
        margin-top: 30px;
        /* Jarak dari atas (tombol download) */
        width: 80%;
        /* Responsif width */
        max-width: 280px;
        height: auto;
        aspect-ratio: 9/19;
        margin: 0 auto;
    }

    .pricing-card {
        width: 100%;
        max-width: 350px;
    }

    .modal-content {
        width: 90%;
        margin: 30% auto;
        /* Turunkan sedikit */
        padding: 1.5rem;
    }

    /* Mobile Feature Grid Override */
    .feature-grid {
        grid-template-columns: 1fr;
        border: 1px solid #000;
    }

    .feature-card {
        border-right: none;
        border-bottom: 1px solid #000;
    }

    .feature-card:last-child {
        border-bottom: none;
    }
}

/* Contact & FAQ Section */
.contact-section {
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.contact-info,
.faq-section {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.faq-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsiveness for Contact */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
}