:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #1f2937;
    --text-color: #374151;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

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

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--gray-200);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0e7ff 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Trusted By */
.trusted-by {
    padding: 40px 0;
    text-align: center;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.trusted-by p {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9ca3af;
    font-family: sans-serif;
}

/* Chat Mockup */
.chat-mockup {
    background: var(--white);
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.chat-header {
    background: #f3f4f6;
    padding: 12px 16px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.message.bot {
    background: var(--gray-100);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

.feature-card {
    padding: 30px;
    border-radius: 12px;
    background: var(--bg-color);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-100);
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
}

.step-card h3, .step-card p {
    position: relative;
    z-index: 1;
}

.step-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
    background-color: var(--white);
}

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

.use-case-card {
    border: 1px solid var(--gray-200);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s;
}

.use-case-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.use-case-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: var(--gray-100);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px; /* Adjust based on content length */
}

/* CTA Section */
.cta {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid var(--gray-200);
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #6b7280;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--secondary-color);
    font-size: 0.8rem; /* Using text for placeholder icons */
    transition: all 0.3s;
    font-weight: 600;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-contact {
    max-width: 400px;
}

.footer-contact h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-contact p {
    color: #6b7280;
    margin-bottom: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #6b7280;
    padding-top: 10px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-newsletter {
        margin: 0 auto;
    }
    
    .newsletter-form {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        justify-content: center;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* ================= FEATURES ================= */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

.feature-card {
    padding: 30px;
    border-radius: 12px;
    background: var(--bg-color);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* ===== ICON + TITLE HEADER (FINAL POLISH) ===== */
.feature-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}


/* Title beside icon — OPTICALLY CENTERED */
.feature-header h3 {
    margin: 0;
    font-size: 1.20rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--secondary-color);

    /* Maksimal 2 baris */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    /* KUNCI: sejajarkan tengah judul dengan tengah icon */
    transform: translateY(-2px);
}

/* Description */
.feature-card p {
    font-size: 1rem;
    color: var(--text-color);
}


/* ================= ENTERPRISE SECTION ================= */

.enterprise-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 48px;
    max-width: 900px;
    margin: 0 auto;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
}

.enterprise-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px 32px;
    margin-bottom: 32px;
}

.enterprise-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    font-size: 1.05rem;
    color: var(--secondary-color);
    line-height: 1.5;
}

/* Circle check icon */
.check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;

    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary-color);

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;

    margin-top: 2px; /* optical alignment */
}

.enterprise-note {
    font-size: 1.05rem;
    color: var(--text-color);
    text-align: center;
    line-height: 1.6;

    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.hero-checklist {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 1.05rem;
    color: var(--text-color);
}

.hero-checklist .check-icon {
    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary-color);

    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}