/* =====================================================
   Buka Landing — Styles (inspired by Sasoft index-5)
   Palette: gradient(#ff8200 → #ff5000), black #000000, white #FFFFFF
   Typography: Poppins (headings), Inter (body)
   ===================================================== */

:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-text: #0f1220;
    --color-muted: #616477;
    --shadow-1: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-2: 0 20px 40px rgba(0,0,0,0.12);
    --radius: 14px;
    --container: 1200px;
    --gradient: linear-gradient(91deg, #ff8200 0.43%, #ff5000 99.69%);
}

/* Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 50px 0; }
.section-sm { padding: 56px 0; }

h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; color: #0a0d1c; margin: 0 0 12px; line-height: 1.25; }
.section-title { font-size: 40px; margin-bottom: 22px; }
.section-subtitle { text-align: center; color: var(--color-muted); max-width: 760px; margin: 0 auto 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.btn-primary { background: var(--gradient); color: var(--color-white); box-shadow: var(--shadow-1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-outline { background: transparent; color: var(--color-black); border: 2px solid #ededed; }
.btn-outline:hover { border-color: #ff6a00; color: #ff5000; }

/* Header */
.header { position: sticky; top: 0; z-index: 1000; background: var(--color-white); box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand-badge { width: 34px; height: 34px; border-radius: 8px; background: var(--gradient); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #24283c; font-weight: 600; font-size: 15px; opacity: 0.9; }
.nav a:hover, .nav a.active { color: #ff5000; }
.header-cta { margin-left: 10px; }

/* Mobile nav */
.mobile-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #efefef; background: #fff; align-items: center; justify-content: center; }

/* Hero */
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; align-items: center; }
.hero-pre { display: inline-flex; align-items: center; gap: 10px; background: #fff3e9; color: #b54200; padding: 8px 14px; border-radius: 999px; font-weight: 600; margin-bottom: 16px; }
.hero h1 { font-size: 56px; letter-spacing: -0.5px; }
.hero p { color: #4a4e66; font-size: 18px; margin: 16px 0 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-bullets { margin-top: 18px; display: flex; gap: 16px; color: #646887; font-weight: 600; }
.hero-visual { position: relative; min-height: 420px; border-radius: var(--radius); background: #ffffff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-visual img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    border-radius: var(--radius);
}
/* Remove previous colored ring */
.hero-ring { display: none; }

/* Logos strip */
.logos { background: #ffffff; border-top: 1px solid #f1f2f5; border-bottom: 1px solid #f1f2f5; }
.logos-inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; opacity: 0.8; }
.logo-item { height: 40px; background: #fafafa; border-radius: 10px; display: grid; place-items: center; color: #b0b3c0; font-weight: 700; }

/* Swiper overrides */
.swiper { width: 100%; }
.logos .swiper-slide .logo-item { height: 40px; background: #fafafa; border-radius: 10px; display: grid; place-items: center; color: #b0b3c0; font-weight: 700; }
.swiper-pagination-bullets .swiper-pagination-bullet { background: #e7e8ee; opacity: 1; }
.swiper-pagination-bullets .swiper-pagination-bullet-active { background: #ff6a00; }

/* Icon features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: #ffffff; border: 1px solid #f0f1f5; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.feature-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.feature-card h3 { margin: 10px 0 8px; }
.feature-card p { color: var(--color-muted); margin: 0; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.kpi { background: #fff; border: 1px solid #f0f1f5; border-radius: 12px; padding: 18px; text-align: center; box-shadow: var(--shadow-1); }
.kpi h4 { font-size: 28px; color: #ff5000; margin-bottom: 4px; }
.kpi p { color: var(--color-muted); margin: 0; }

/* Cards (problems, use-cases, blog) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #ffffff; border: 1px solid #f0f1f5; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-muted); }

/* Process */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid #f0f1f5; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); position: relative; }
.step:before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: -14px; width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow-2); }

/* Integrations */
.integrations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.integration { background: #fff; border: 1px solid #f0f1f5; border-radius: 12px; padding: 18px; text-align: center; color: #7b7f93; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.price-card { background: #fff; border: 2px solid #f0f1f5; border-radius: 18px; box-shadow: var(--shadow-1); padding: 26px; }
.price-card.popular { border-color: #ff5000; }
.price-head { display: flex; align-items: baseline; gap: 8px; }
.price { font-size: 42px; font-weight: 800; }
.badge { display: inline-block; padding: 6px 10px; font-size: 12px; border-radius: 999px; color: #fff; background: var(--gradient); }
.features { display: grid; gap: 8px; margin: 14px 0 18px; color: var(--color-muted); }

/* FAQ */
.faq { max-width: 920px; margin: 0 auto; }
.accordion { border: 1px solid #f0f1f5; border-radius: 14px; overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid #f0f1f5; }
.accordion-btn { width: 100%; background: #fff; padding: 18px 20px; text-align: left; font-weight: 700; border: 0; outline: none; display: flex; justify-content: space-between; align-items: center; }
.accordion-content { display: none; padding: 0 20px 18px; color: var(--color-muted); }
.accordion-item.active .accordion-content { display: block; }

/* CTA Band */
.band { background: var(--gradient); color: #fff; border-radius: 18px; padding: 44px 34px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; box-shadow: var(--shadow-2); }
.band h3 { color: #fff; margin: 0; }

/* Footer */
.footer { background: #0b0f1a; color: #cdd1e0; }
.footer a { color: #cdd1e0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; }
.footer-bottom { border-top: 1px solid #1a2133; margin-top: 24px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; }

/* Utilities */
.muted { color: var(--color-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-10 { margin-bottom: 10px; } .mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; } .mb-40 { margin-bottom: 40px; }

/* List with orange bullet points */
.list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.list .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
    margin-top: 8px;
}

/* Simple Use Cases Section */
.use-cases-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.use-cases-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-cases-visual img {
    max-width: 100%;
    height: auto;
}

.use-cases-content {
    max-width: 500px;
}

.use-cases-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.use-cases-content .section-subtitle {
    text-align: left;
    margin: 0 0 32px 0;
    font-size: 16px;
    line-height: 1.6;
}

.use-cases-grid {
    display: grid;
    gap: 20px;
}

.use-case-card {
    background: #ffffff;
    border: 1px solid #f0f1f5;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-1);
    transition: all 0.2s ease;
}

.use-case-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.use-case-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    margin-bottom: 16px;
}

.use-case-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0a0d1c;
}

.use-case-card p {
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

/* Modern FAQ Section */
.faq-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.faq-content {
    max-width: 500px;
}

.faq-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.faq-content .section-subtitle {
    text-align: left;
    margin: 0 0 32px 0;
    font-size: 16px;
    line-height: 1.6;
}

.faq-accordion {
    display: grid;
    gap: 16px;
}

.faq-item {
    border: 1px solid #f0f1f5;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #e0e3e9;
}

.faq-question {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #0a0d1c;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #fafbfc;
}

.faq-icon {
    color: #ff5000;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.2s ease;
    line-height: 1;
}

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

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    background: #ffffff;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--color-muted);
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

.faq-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-visual img {
    max-width: 100%;
    height: auto;
}

/* Modern Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #f0f1f5;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #e0e3e9;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.google-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    font-family: 'Product Sans', Arial, sans-serif;
}

.testimonial-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0a0d1c;
    margin: 0 0 4px 0;
}

.testimonial-date {
    font-size: 14px;
    color: var(--color-muted);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffd700;
    font-size: 16px;
}

.verified-badge {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    box-shadow: 0 2px 6px rgba(66, 133, 244, 0.3);
    border: 1px solid #ffffff;
}

.testimonial-text {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.testimonial-role {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 500;
    margin-top: auto;
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.testimonials-swiper {
    position: relative;
    padding: 0 20px;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

.testimonials-swiper .swiper-pagination {
    position: relative;
    margin-top: 40px;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #e0e3e9;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--gradient);
    transform: scale(1.2);
}

/* Enhanced Testimonial Card Styling */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #f0f1f5;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #e0e3e9;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-inner { grid-template-columns: 1fr; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .logos-inner { grid-template-columns: repeat(4, 1fr); }
    .use-cases-simple { grid-template-columns: 1fr; gap: 40px; }
    .use-cases-content { max-width: 100%; }
    .use-cases-content .section-title,
    .use-cases-content .section-subtitle { text-align: center; }
    .faq-modern { grid-template-columns: 1fr; gap: 40px; }
    .faq-content { max-width: 100%; }
    .faq-content .section-title,
    .faq-content .section-subtitle { text-align: center; }
}
@media (max-width: 900px) {
    .features-grid, .cards-3, .pricing-grid, .footer-top { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; }
    .integrations { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .features-grid, .cards-3, .pricing-grid, .footer-top { grid-template-columns: 1fr; }
    .logos-inner { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: 1fr; }
    .hero-inner h1 { font-size: 40px; }
    .header-inner { height: auto; padding: 12px 0; }
    .nav { display: none; }
    .mobile-toggle { display: inline-flex; }
    .nav.open { display: flex; flex-direction: column; gap: 16px; background: #fff; position: absolute; top: 66px; left: 0; right: 0; padding: 16px 24px; border-top: 1px solid #f1f2f5; }
    .use-cases-simple { gap: 30px; }
    .use-case-card { padding: 18px; }
    .faq-modern { gap: 30px; }
    .faq-question { padding: 18px; }
    .faq-answer { padding: 0 18px 18px; }
    .testimonial-card { padding: 20px; }
    .testimonial-header { gap: 12px; }
    .testimonial-avatar { width: 50px; height: 50px; }
    .google-badge { width: 20px; height: 20px; font-size: 10px; }
    .testimonials-swiper { padding: 0 10px; }
    .testimonials-swiper .swiper-pagination { margin-top: 30px; }
    .list li { gap: 10px; margin-bottom: 14px; }
    .list .dot { width: 6px; height: 6px; margin-top: 6px; }
}
