/* ===== Landing Page — Scrolling Single-Page Design ===== */

html {
    scroll-behavior: smooth;
}

body.landing-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a2e;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s;
}

.landing-navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.landing-navbar .navbar-brand img {
    height: 38px;
}

.landing-navbar .navbar-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #046BD2;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #046BD2;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-actions .btn-outline-primary {
    border-color: #046BD2;
    color: #046BD2;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 20px;
    border-radius: 6px;
}

.nav-actions .btn-outline-primary:hover {
    background: #046BD2;
    color: #fff;
}

.nav-actions .btn-primary {
    background: #046BD2;
    border: none;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 22px;
    border-radius: 6px;
}

.nav-actions .btn-primary:hover {
    background: #0355a8;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1a1a2e;
    cursor: pointer;
    padding: 4px;
}

/* ===== SECTION COMMON ===== */
.landing-section {
    padding: 80px 0;
}

.landing-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #046BD2;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    line-height: 1.6;
    margin: 0 0 48px 0;
}

.section-center {
    text-align: center;
}

.section-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ===== HERO SECTION ===== */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/slides/cover-pages-banner.png');
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
    color: #fff;
    padding-top: 64px; /* navbar height */
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.landing-hero .landing-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 183, 0, 0.15);
    border: 1px solid rgba(255, 183, 0, 0.4);
    color: #ffc842;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-badge i {
    font-size: 14px;
}

.landing-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.landing-hero h1 span {
    background: linear-gradient(135deg, #ffc842, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero .hero-sub {
    font-size: 18px;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0 auto 36px;
    max-width: 640px;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #ffc842, #f5a623);
    color: #1a1a2e;
    border: none;
    transition: all 0.25s;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 200, 66, 0.3);
    color: #1a1a2e;
    text-decoration: none;
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    transition: all 0.25s;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* Stats bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 700px;
    margin: 0 auto 32px;
}

.hero-stat {
    text-align: center;
    padding: 18px 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.hero-stat .stat-num {
    font-size: 28px;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat .stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.55;
}

.hero-partner {
    margin-top: 16px;
    opacity: 0.5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-partner i {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

/* ===== OFFERS & BENEFITS (near top) ===== */
.landing-offers {
    background: #f0f7ff;
    padding: 60px 0;
}

.offer-cards-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto 24px;
}

.offer-card-top {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(4, 107, 210, 0.12);
}

.offer-icon-top {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #046BD2, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: #fff;
}

.offer-card-top h6 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}

.offer-card-top p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.landing-offers .db-offers-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.landing-offers .db-offer-badge {
    background: linear-gradient(135deg, #046BD2, #06b6d4);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===== HOW IT WORKS ===== */
.landing-steps {
    background: #f8fafc;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #046BD2, #0693e3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 36px;
    color: #046BD2;
    margin-bottom: 16px;
    display: block;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #111827;
}

.step-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Arrow between steps (desktop) */
.step-arrow {
    display: none;
}

/* ===== MACHINERY & QUALITY ===== */
.landing-machinery {
    background: #fff;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.capability-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    border-color: #046BD2;
}

.capability-card .cap-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #046BD2, #0693e3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.capability-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #111827;
}

.capability-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ===== MACHINERY SHOWCASE ===== */
.machinery-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.machinery-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.machinery-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.machinery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* ===== PRODUCT SHOWCASE ===== */
.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.product-showcase-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: all 0.3s;
}

.product-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.product-showcase-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-showcase-info {
    padding: 16px;
}

.product-showcase-info h6 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.product-showcase-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* More products text */
.more-products {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.8;
}

.more-products span {
    font-weight: 600;
    color: #111827;
}

/* ===== TESTIMONIALS ===== */
.landing-testimonials {
    background: #f8fafc;
}

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

.testimonial-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.testimonial-card .quote-mark {
    font-size: 56px;
    line-height: 1;
    background: linear-gradient(135deg, #046BD2, #0693e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: Georgia, serif;
}

.testimonial-card .review-text {
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    color: #374151;
    margin: 16px 0 20px 0;
    padding-top: 24px;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #046BD2, #0693e3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.reviewer-info .reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.reviewer-info .reviewer-detail {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

.review-stars {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* ===== PRODUCTS ===== */
.landing-products {
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #046BD2;
}

.product-card img {
    width: 48px;
    height: 48px;
    opacity: 0.7;
    margin-bottom: 12px;
    filter: none;
}

.product-card:hover img {
    opacity: 1;
}

.product-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* Differentiator strip */
.diff-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.diff-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
}

.diff-item i {
    color: #16a34a;
    font-size: 16px;
}

/* ===== OFFERS / CTA ===== */
.landing-cta {
    position: relative;
    background-image: url('/images/slides/marriage-album.webp');
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
    color: #fff;
    padding: 80px 0;
}

.landing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.landing-cta .landing-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.landing-cta .section-tag {
    color: #ffc842;
}

.landing-cta .section-title {
    color: #fff;
    margin-bottom: 16px;
}

.landing-cta .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 32px;
}

.offer-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.offer-card .offer-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 200, 66, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px;
    color: #ffc842;
}

.offer-card h6 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.offer-card p {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
    line-height: 1.4;
}

/* Dynamic offers from DB */
.db-offers-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.db-offer-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cta-big-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #ffc842, #f5a623);
    color: #1a1a2e;
    border: none;
    transition: all 0.25s;
}

.cta-big-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 200, 66, 0.35);
    color: #1a1a2e;
    text-decoration: none;
}

/* ===== FOOTER ===== */
.landing-footer {
    background: #111827;
    color: rgba(255, 255, 255, 0.6);
    padding: 24px;
    text-align: center;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-sep {
    opacity: 0.3;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 992px) {
    .landing-navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    /* Mobile menu */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px 24px;
        gap: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .landing-hero h1 {
        font-size: 34px;
    }

    .landing-hero .hero-sub {
        font-size: 16px;
    }

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

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

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }

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

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

    .machinery-showcase {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto 40px;
    }

    .offer-cards {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

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

    .landing-section {
        padding: 60px 0;
    }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
    .landing-navbar {
        padding: 0 16px;
    }

    .landing-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .landing-hero h1 {
        font-size: 28px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .hero-stat .stat-num {
        font-size: 22px;
    }

    .offer-cards-top {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto 24px;
    }

    .capability-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-showcase-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto 32px;
    }

    .diff-strip {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

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

    .section-subtitle {
        font-size: 14px;
    }

    .landing-section {
        padding: 48px 0;
    }

    .cta-big-btn {
        font-size: 16px;
        padding: 14px 32px;
    }
}
