* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* semi-transparent green gradient to keep original brand color and allow backdrop blur */
    background: linear-gradient(135deg, rgba(11,115,80,0.92) 0%, rgba(0,59,89,0.92) 100%);
    color: white;
    padding: 25px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(2,6,23,0.06);
    transition: background-color 240ms ease, backdrop-filter 240ms ease, box-shadow 240ms ease;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    padding: 0;
    margin: 0;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(100%);
}

.span {
    background: linear-gradient(to right, #fbbf24, #eab308);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: auto;
}

.hamburger {
    width: 36px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(12.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-12.5px) rotate(-45deg);
}

.nav-links {
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    background: white;
    border-radius: 12px;
    padding: 12px 0;
    display: none;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
    animation: slideDown 0.3s ease-out;
}

.nav-links.open {
    display: flex;
}

.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 998;
    display: none;
}

.nav-links.open ~ .nav-backdrop,
.nav-backdrop {
    display: none;
}

body.nav-open .nav-backdrop {
    display: block;
    background: rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    color: #111827;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 0;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 4px solid transparent;
}

.nav-link:hover {
    background-color: #f0f9ff;
    color: #10b981;
}

.nav-link.btn {
    background: transparent;
    border: none;
    color: #111827;
    margin: 0;
    padding: 12px 20px;
}

.nav-link.btn:hover {
    background-color: #f0f9ff;
    color: #10b981;
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .nav {
        margin-right: 0;
    }

    .nav-links {
        position: static;
        display: flex !important;
        flex-direction: row;
        gap: 24px;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        top: auto;
        right: auto;
    }

    

    .nav-link {
        color: white;
        padding: 0;
        border-radius: 0;
    }

    .nav-link:hover {
        background-color: transparent;
        color: #fbbf24;
    }

    /* Apply button styling di desktop */
    .nav-link.btn {
        background: white;
        color: #10b981;
        border: 2px solid white;
        padding: 8px 16px;
        border-radius: 6px;
        margin-left: 8px;
    }

    .nav-link.btn:hover {
        background: #f0f9ff;
        color: #10b981;
    }


    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 40px;
    }

    .header.scrolled {
        background: linear-gradient(135deg, #0b7350e0 0%, rgba(0,59,89,0.88) 100%);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 24px rgba(2,6,23,0.12);
    }

.header.scrolled {
    background: linear-gradient(135deg, #0b7350e0 0%, rgba(0,59,89,0.88) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(2,6,23,0.12);
}
    .header-content {
        padding: 0;
    }

    .logo {
        font-size: 32px;
    }
}
.main-content {
    margin: 0 auto;
    padding: 0;
}

.hero {
    background: 
        linear-gradient(135deg, rgba(17, 24, 39, 0.75) 0%, rgba(17, 24, 39, 0.75) 100%),
        url('../../assets/images/marketing-1.png') center/cover no-repeat;
    background-attachment: scroll;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero {
        min-height: 600px;
        background-attachment: fixed;
    }
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #10b981;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #14357d 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: white;
    color: #10b981;
    border: 2px solid #10b981;
}

.btn-secondary:hover {
    background: #111827;
}
.features {
    padding: 48px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
    font-family: 'Poppins', sans-serif;
}

.feature-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.benefits {
    padding: 48px 20px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #111827;
    font-family: 'Poppins', sans-serif;
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    filter: drop-shadow(1px 5px 5px black);
}

.benefit-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.benefit-text p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.usaha-types {
    padding: 48px 20px;
    background: white;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.type-badge {
    background: transparent;
    border: 2px solid #10b981;
    color: #10b981;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 100px;
}

.type-badge:hover {
    background: #10b981;;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.testimonials {
    padding: 48px 20px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border-top: 4px solid #eab308;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 16px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}

.testimonial-role {
    font-size: 12px;
    color: #6b7280;
}

.cta-section {
    padding: 48px 20px;
    background: linear-gradient(135deg, #10b981 0%, #111827 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-section .btn-secondary {
    background: white;
    color: #10b981;
    border: 2px solid white;
}

.cta-section .btn-secondary:hover {
    background: #f0f9ff;
}

.footer {
    background: #1f2937;
    color: white;
    padding: 32px 20px;
    text-align: center;
    font-size: 14px;
}

.footer p {
    margin: 8px 0;
}

.loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    z-index: 1000;
}

.toast.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 640px) {
    .hero h2 {
        font-size: 40px;
    }
o
    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .types-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h2 {
        font-size: 48px;
    }

    .section-title {
        font-size: 40px;
    }
}

.auth-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.5);
    z-index: 2000;
    padding: 24px;
}

.auth-modal.hidden { display: none; }

.auth-panel {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(2,6,23,0.2);
    position: relative;
}

.auth-close {
    position: absolute;
    right: 12px;
    top: 8px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.auth-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.auth-form input { padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; }
.auth-form label { font-size: 13px; color: #374151; }
.auth-form .muted { font-size: 13px; color: #6b7280; }
.link-like { background: none; border: none; color: #2563eb; cursor: pointer; font-weight: 600; }


.user-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(255,255,255,0.12);
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    font-weight: 600;
}

@media (min-width: 769px) {
    .nav-links { gap: 16px; }
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 520ms cubic-bezier(.2,.9,.3,1), transform 520ms cubic-bezier(.2,.9,.3,1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in[data-delay] {
    transition-delay: 0ms;
}


.ai-tools {
    background: #ffffff;
    padding: 40px 20px;
}

.tool-section {
    margin-bottom: 40px;
    border-radius: 12px;
    background: #f8fafc;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.tool-section:last-child {
    margin-bottom: 0;
}

.products {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 40px 20px;
}

.login-section {
    background: #ffffff;
    padding: 40px 20px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form.hidden {
    display: none;
}

.auth-form label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.auth-form input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.muted {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.link-like {
    background: none;
    border: none;
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

.link-like:hover {
    color: #2563eb;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #6b7280;
    font-style: italic;
}