/* ==========================================================================
   Landing Pages Stylesheet — Go Digital Web
   Scope: used ONLY on product landing pages (homestay booking software,
   restaurant POS/KOT software, school management software).
   Loaded in addition to css/style.css — does not modify or override any
   existing site styles. Everything below is namespaced with "lp-" so it
   cannot collide with classes used on the rest of the website.
   ========================================================================== */

.lp-page {
    --lp-primary: #65258a;
    --lp-primary-dark: #4a1a67;
    --lp-secondary: #3670be;
    --lp-accent: #e31e37;
    --lp-ink: #1c1d2e;
    --lp-muted: #5c5f77;
    --lp-border: #e7e7f1;
    --lp-bg-soft: #f6f7fb;
    --lp-radius-lg: 20px;
    --lp-radius-md: 14px;
    --lp-shadow: 0 10px 30px rgba(28, 29, 46, 0.08);
    --lp-shadow-hover: 0 16px 40px rgba(28, 29, 46, 0.14);
    color: var(--lp-ink);
    overflow-x: hidden;
}

.lp-page * {
    box-sizing: border-box;
}

.lp-page img {
    max-width: 100%;
    height: auto;
}

.lp-page a {
    text-decoration: none;
}

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

.lp-section {
    padding: 72px 0;
}

@media (max-width: 767px) {
    .lp-section {
        padding: 48px 0;
    }
}

.lp-section-soft {
    background: var(--lp-bg-soft);
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-primary);
    background: rgba(101, 37, 138, 0.08);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.lp-heading {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--lp-ink);
}

.lp-subheading {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--lp-muted);
    line-height: 1.7;
    margin: 0 0 0;
}

.lp-section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.lp-section-head.lp-align-left {
    margin: 0 0 40px;
    text-align: left;
}

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    padding: 150px 0 70px;
    background: radial-gradient(1100px 520px at 85% -10%, rgba(101, 37, 138, 0.12), transparent 60%),
        linear-gradient(180deg, #fbfaff 0%, #ffffff 60%);
    border-bottom: 1px solid var(--lp-border);
}

@media (max-width: 767px) {
    .lp-hero {
        padding-top: 120px;
    }
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 991px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
    }
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow);
    color: var(--lp-primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.lp-hero h1 {
    font-size: clamp(32px, 4.6vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--lp-ink);
}

.lp-hero h1 span {
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero-lead {
    font-size: clamp(16px, 1.7vw, 20px);
    color: var(--lp-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 560px;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    cursor: pointer;
    line-height: 1.2;
}

.lp-btn-primary {
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-secondary));
    color: #fff;
    box-shadow: 0 10px 24px rgba(101, 37, 138, 0.28);
}

.lp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(101, 37, 138, 0.36);
    color: #fff;
}

.lp-btn-ghost {
    background: #fff;
    border-color: var(--lp-border);
    color: var(--lp-ink);
}

.lp-btn-ghost:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
    transform: translateY(-2px);
}

.lp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--lp-muted);
    font-size: 14px;
}

.lp-hero-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.lp-hero-trust li i,
.lp-hero-trust li span.lp-ic {
    color: var(--lp-secondary);
}

.lp-hero-media {
    position: relative;
}

.lp-hero-media-frame {
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    box-shadow: var(--lp-shadow-hover);
    border: 1px solid var(--lp-border);
    background: #fff;
}

.lp-hero-float-card {
    position: absolute;
    bottom: -22px;
    left: -22px;
    background: #fff;
    border-radius: var(--lp-radius-md);
    box-shadow: var(--lp-shadow-hover);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--lp-border);
    max-width: 240px;
}

@media (max-width: 575px) {
    .lp-hero-float-card {
        left: 0;
        bottom: -18px;
        padding: 12px 14px;
    }
}

.lp-hero-float-card .lp-ic-circle {
    flex-shrink: 0;
}

.lp-hero-float-card strong {
    display: block;
    font-size: 15px;
    color: var(--lp-ink);
}

.lp-hero-float-card span {
    font-size: 12px;
    color: var(--lp-muted);
}

/* ---------- Icon circles ---------- */
.lp-ic-circle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    color: #fff;
    font-size: 20px;
}

/* ---------- Logo / trust strip ---------- */
.lp-strip {
    padding: 26px 0;
    border-bottom: 1px solid var(--lp-border);
}

.lp-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 34px;
    color: var(--lp-muted);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.lp-strip-inner span {
    opacity: 0.8;
}

/* ---------- Stats ---------- */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

@media (max-width: 767px) {
    .lp-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lp-stat-num {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--lp-primary);
    margin-bottom: 4px;
}

.lp-stat-label {
    font-size: 14px;
    color: var(--lp-muted);
}

/* ---------- Feature / module cards ---------- */
.lp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

@media (max-width: 991px) {
    .lp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .lp-grid {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 991px) {
    .lp-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lp-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    padding: 30px 26px;
    box-shadow: var(--lp-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    height: 100%;
}

.lp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-hover);
    border-color: rgba(101, 37, 138, 0.25);
}

.lp-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 16px 0 10px;
    color: var(--lp-ink);
}

.lp-card p {
    font-size: 15px;
    color: var(--lp-muted);
    line-height: 1.65;
    margin: 0;
}

/* ---------- Split section (text + media) ---------- */
.lp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

@media (max-width: 991px) {
    .lp-split {
        grid-template-columns: 1fr;
    }
}

.lp-split.lp-reverse .lp-split-media {
    order: -1;
}

@media (min-width: 992px) {
    .lp-split.lp-reverse .lp-split-media {
        order: 2;
    }
}

.lp-split-media img {
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow);
    border: 1px solid var(--lp-border);
}

.lp-check-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.lp-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
    color: var(--lp-ink);
    line-height: 1.6;
}

.lp-check-list li .lp-check-ic {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(54, 112, 190, 0.12);
    color: var(--lp-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 2px;
}

/* ---------- Steps / process ---------- */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    counter-reset: lp-step;
}

@media (max-width: 991px) {
    .lp-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .lp-steps {
        grid-template-columns: 1fr;
    }
}

.lp-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    padding: 34px 24px 26px;
    text-align: left;
}

.lp-step-num {
    counter-increment: lp-step;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    margin-bottom: 16px;
}

.lp-step-num::before {
    content: counter(lp-step);
}

.lp-step h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.lp-step p {
    font-size: 14.5px;
    color: var(--lp-muted);
    margin: 0;
    line-height: 1.6;
}

/* ---------- Screenshot showcase ---------- */
.lp-showcase-frame {
    border-radius: var(--lp-radius-lg);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
    background: #fff;
}

.lp-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #f1f2f8;
    border-bottom: 1px solid var(--lp-border);
}

.lp-browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d7d9e6;
    display: inline-block;
}

/* ---------- Pricing ---------- */
.lp-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

@media (max-width: 991px) {
    .lp-pricing {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

.lp-price-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 34px 28px;
    box-shadow: var(--lp-shadow);
    display: flex;
    flex-direction: column;
}

.lp-price-card.lp-featured {
    border: 2px solid var(--lp-primary);
    box-shadow: var(--lp-shadow-hover);
    position: relative;
    transform: translateY(-8px);
}

@media (max-width: 991px) {
    .lp-price-card.lp-featured {
        transform: none;
    }
}

.lp-price-tag {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--lp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 6px 14px;
    border-radius: 999px;
}

.lp-price-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.lp-price-card .lp-price-desc {
    color: var(--lp-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.lp-price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--lp-ink);
    margin-bottom: 4px;
}

.lp-price-value span {
    font-size: 15px;
    font-weight: 500;
    color: var(--lp-muted);
}

.lp-price-note {
    font-size: 13px;
    color: var(--lp-muted);
    margin-bottom: 22px;
}

.lp-price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 12px;
    flex-grow: 1;
}

.lp-price-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--lp-ink);
}

.lp-price-card ul li .lp-check-ic {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(54, 112, 190, 0.12);
    color: var(--lp-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}

/* ---------- Testimonials ---------- */
.lp-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .lp-testi-grid {
        grid-template-columns: 1fr;
    }
}

.lp-testi-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    padding: 28px;
    box-shadow: var(--lp-shadow);
}

.lp-testi-stars {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 14px;
}

.lp-testi-card p {
    font-size: 15px;
    color: var(--lp-ink);
    line-height: 1.7;
    margin-bottom: 20px;
}

.lp-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.lp-testi-author strong {
    display: block;
    font-size: 14.5px;
    color: var(--lp-ink);
}

.lp-testi-author span {
    font-size: 12.5px;
    color: var(--lp-muted);
}

.lp-testi-note {
    text-align: center;
    font-size: 13px;
    color: var(--lp-muted);
    margin-top: 28px;
}

/* ---------- FAQ ---------- */
.lp-faq {
    max-width: 860px;
    margin: 0 auto;
}

.lp-faq-item {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    margin-bottom: 14px;
    overflow: hidden;
}

.lp-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 16px;
    color: var(--lp-ink);
    cursor: pointer;
}

.lp-faq-q::after {
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lp-bg-soft);
    color: var(--lp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.lp-faq-q[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.lp-faq-a {
    padding: 0 24px 20px;
    color: var(--lp-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- CTA banner ---------- */
.lp-cta {
    background: linear-gradient(120deg, var(--lp-primary), var(--lp-secondary));
    border-radius: var(--lp-radius-lg);
    padding: 56px 40px;
    text-align: center;
    color: #fff;
    box-shadow: var(--lp-shadow-hover);
}

.lp-cta h2 {
    color: #fff;
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    margin-bottom: 14px;
}

.lp-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.lp-cta .lp-btn-primary {
    background: #fff;
    color: var(--lp-primary);
    box-shadow: none;
}

.lp-cta .lp-btn-primary:hover {
    background: #fff;
    color: var(--lp-primary-dark);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.lp-cta .lp-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.lp-cta .lp-btn-ghost:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Placeholder image tag ---------- */
.lp-img-note {
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--lp-muted);
    margin-top: 8px;
}

/* ---------- Product showcase cards (homepage: includes/products.php) ---------- */
.lp-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .lp-product-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

.lp-product-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lp-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lp-shadow-hover);
}

.lp-product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--lp-bg-soft);
}

.lp-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.lp-product-card:hover .lp-product-media img {
    transform: scale(1.04);
}

.lp-product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--lp-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
}

.lp-product-body {
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lp-product-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--lp-ink);
}

.lp-product-body p {
    font-size: 14.5px;
    color: var(--lp-muted);
    line-height: 1.65;
    margin: 0 0 20px;
    flex-grow: 1;
}

.lp-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--lp-primary);
    transition: gap 0.18s ease;
}

.lp-product-cta:hover {
    gap: 12px;
    color: var(--lp-primary-dark);
}

/* ---------- Lead form card (wraps includes/side-form.php) ---------- */
.lp-lead-card {
    background: #fff;
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-hover);
    border: 1px solid var(--lp-border);
}

.lp-lead-card .card {
    border: none;
    box-shadow: none;
}
