/* ================================================================
   DIGIPEDIA LANDING PAGE — CLEAN CORPORATE REDESIGN
   Self-contained, light-first, no dark-mode branching. Replaces the
   old dark "radical" homepage theme entirely for this page.
   ================================================================ */

.lp {
    --lp-bg: #ffffff;
    --lp-surface: #f5f7fb;
    --lp-line: rgba(15, 23, 42, 0.08);
    --lp-text: #0a1428;
    --lp-text-dim: #5b6472;
    --lp-accent: #ff1a1a;
    --lp-accent-2: #ff5c5c;
    --lp-gradient: linear-gradient(135deg, #ff1a1a 0%, #ff5c5c 50%, #ffb199 100%);
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: 'Maven Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

.lp-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-fade.visible { opacity: 1; transform: translateY(0); }

/* ======================== HERO ======================== */
.lp-hero {
    position: relative;
    padding-bottom: clamp(64px, 8vw, 100px);
    overflow: hidden;
    background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 60%);
}

/* Dark banner hero, light body below — matches the reference site's
   dark-hero-into-light-page pattern. Same red brand, just a dark ground.
   Abstract (grid + glow), not a literal stock photo — reads as custom
   design work rather than generic imagery at enterprise scale. */
.lp-hero-dark {
    background: linear-gradient(180deg, #0a0505 0%, #050202 60%, #030101 100%);
    padding-bottom: clamp(88px, 11vw, 130px);
}

.lp-hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 0%, transparent 75%);
}

.lp-hero-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 50% at 12% 105%, rgba(255, 26, 26, 0.28) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 92% 0%, rgba(255, 26, 26, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.lp-hero-dark .lp-eyebrow {
    background: rgba(255, 26, 26, 0.14);
    border-color: rgba(255, 90, 90, 0.35);
    color: #ff8080;
}

.lp-hero-dark .lp-headline { color: #fff; }
.lp-hero-dark .lp-sub { color: rgba(255, 255, 255, 0.72); }

.lp-btn-outline-dark {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}
.lp-btn-outline-dark:hover { background: rgba(255, 255, 255, 0.08); }

.lp-hero canvas {
    position: absolute;
    inset: 0;
    top: 0;
    z-index: 0;
    opacity: 0.7;
}

.lp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(140px, 16vw, 180px) clamp(20px, 5vw, 48px) 0;
    text-align: center;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 26, 26, 0.08);
    border: 1px solid rgba(255, 26, 26, 0.18);
    color: var(--lp-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.lp-headline {
    font-size: clamp(2.5rem, 6.5vw, 4.75rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 0 0 28px;
    color: var(--lp-text);
}

.lp-headline .lp-accent {
    background: var(--lp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-sub {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.65;
    color: var(--lp-text-dim);
    max-width: 62ch;
    margin: 0 auto 36px;
}

.lp-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    font-family: 'Maven Pro', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.lp-btn-primary {
    background: var(--lp-gradient);
    /* Dark text — the gradient runs pale toward #ffb199, where white text
       loses contrast. Matches the same choice made elsewhere on the site
       for buttons using this gradient. */
    color: #1a0000;
    box-shadow: 0 8px 24px rgba(255, 26, 26, 0.28);
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 26, 26, 0.36); }

.lp-btn-outline {
    background: #fff;
    border: 1px solid var(--lp-line);
    color: var(--lp-text);
}
.lp-btn-outline:hover { background: var(--lp-surface); transform: translateY(-2px); }

/* ======================== TRUST STRIP ======================== */
.lp-trust {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px) clamp(56px, 7vw, 80px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 32px);
}

.lp-trust-item {
    padding: 26px;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: #fff;
}

.lp-trust-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--lp-gradient);
    color: #fff;
    font-size: 17px;
    margin-bottom: 16px;
}

.lp-trust-item h4 { font-size: 1.02rem; font-weight: 700; margin: 0 0 8px; }
.lp-trust-item p { font-size: 0.9rem; line-height: 1.6; color: var(--lp-text-dim); margin: 0; }

/* ======================== MARQUEE ======================== */
.lp-marquee {
    background: var(--lp-surface);
    border-top: 1px solid var(--lp-line);
    border-bottom: 1px solid var(--lp-line);
    padding: 20px 0;
    overflow: hidden;
}

.lp-marquee-track {
    display: flex;
    width: max-content;
    gap: 56px;
    animation: lpMarquee 26s linear infinite;
}
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }

@keyframes lpMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.lp-marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--lp-text-dim);
    white-space: nowrap;
}
.lp-marquee-item i { color: var(--lp-accent); }

/* ======================== ABOUT + STATS ======================== */
.lp-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 100px) clamp(20px, 5vw, 48px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}

.lp-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-accent);
    margin-bottom: 14px;
}

.lp-about-text h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.18;
    margin: 0 0 18px;
    color: var(--lp-text);
}

.lp-about-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--lp-text-dim);
    margin: 0 0 20px;
}

.lp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lp-accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}
.lp-link:hover { text-decoration: underline; }

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

.lp-stat {
    padding: 22px 20px;
    background: var(--lp-surface);
    border-radius: 14px;
    text-align: center;
}

.lp-stat strong {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    background: var(--lp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.lp-stat span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-text-dim);
}

/* ======================== SHARED SECTION HEAD ======================== */
.lp-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(56px, 6vw, 88px) clamp(20px, 5vw, 48px);
}

.lp-section-alt { background: var(--lp-surface); max-width: 100%; }
.lp-section-alt > * { max-width: 1240px; margin-left: auto; margin-right: auto; }

.lp-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.lp-section-head h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--lp-text);
}

/* ======================== PRODUCTS GRID ======================== */
.lp-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-product-card {
    display: block;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 26, 26, 0.3);
    box-shadow: 0 24px 60px -24px rgba(10, 20, 40, 0.16);
}

.lp-product-card-body { padding: 24px 26px 28px; }

.lp-product-photo {
    position: relative;
    height: 150px;
    background-size: cover;
    background-position: center;
}

.lp-product-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 20, 40, 0.1) 0%, rgba(10, 20, 40, 0.55) 100%);
}

.lp-product-icon {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.lp-product-photo .lp-product-icon {
    position: absolute;
    left: 20px;
    bottom: -23px;
    z-index: 2;
}

.lp-product-icon-standalone { margin: 26px 26px 0; }

.lp-product-photo + .lp-product-card-body { padding-top: 36px; }

.lp-product-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.lp-product-card p { font-size: 0.9rem; line-height: 1.6; color: var(--lp-text-dim); margin: 0 0 16px; }

.lp-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-accent);
}
.lp-product-card:hover .lp-product-cta i { transform: translateX(3px); }
.lp-product-cta i { transition: transform 0.2s ease; }

/* ======================== CASE STUDIES ======================== */
.lp-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-case-card {
    display: block;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-case-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(10, 20, 40, 0.16); }

.lp-case-media {
    position: relative;
    height: 170px;
    background: var(--lp-surface);
}

.lp-case-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lp-case-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(10, 20, 40, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-case-body { padding: 20px 22px 24px; }
.lp-case-body h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }

.lp-case-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-accent);
}

/* ======================== TRUSTED CLIENTS ======================== */
.lp-clients {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(48px, 5vw, 72px) clamp(20px, 5vw, 48px);
    text-align: center;
}

.lp-kicker-center { display: block; text-align: center; }

.lp-clients-title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 44px;
    color: var(--lp-text);
}

/* Muted grayscale wordmarks, not colorful chips — the quiet, confident
   "logo wall" pattern enterprise sites use, not a startup badge row. */
.lp-clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 28px;
    column-gap: clamp(28px, 5vw, 56px);
}

.lp-client-chip {
    font-family: 'Maven Pro', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #b8bec8;
    opacity: 0.9;
    transition: color 0.2s ease, opacity 0.2s ease;
    cursor: default;
}
.lp-client-chip:hover { color: var(--lp-text); opacity: 1; }

/* ======================== FINAL CTA ======================== */
.lp-cta {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 100px) clamp(20px, 5vw, 48px);
    text-align: center;
}

.lp-cta h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; margin: 0 0 16px; }
.lp-cta p { font-size: 1.05rem; color: var(--lp-text-dim); max-width: 56ch; margin: 0 auto 32px; }

.lp-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 900px) {
    .lp-about { grid-template-columns: 1fr; }
    .lp-product-grid,
    .lp-case-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lp-trust { grid-template-columns: 1fr; }
    .lp-stats { grid-template-columns: 1fr 1fr; }
    .lp-product-grid,
    .lp-case-grid { grid-template-columns: 1fr; }
    .lp-hero-actions .lp-btn { flex: 1; justify-content: center; }
}
