@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
    /* Brand palette, sampled from the logo (logo.jpg): a vibrant pixel rainbow. */
    --magenta: #EC1188;
    --red:     #D81F2A;
    --red-dk:  #B3141B;
    --orange:  #F6821F;
    --yellow:  #FBC400;
    --lime:    #7BC043;
    --green:   #2E9E4F;
    --teal:    #08A8DD;
    --blue:    #1380CB;
    --purple:  #6E3FA3;

    --brand-rainbow: linear-gradient(90deg,
        #EC1188 0%, #D81F2A 17%, #F6821F 33%, #FBC400 50%, #7BC043 66%, #08A8DD 83%, #6E3FA3 100%);

    --cream:  #F5F5F0;
    --slate:  #263238;
    --white:  #FFFFFF;
    --border: #E0DED8;
    --shadow: 0 2px 24px rgba(0,0,0,0.07);
    --radius: 16px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--white);
    color: var(--slate);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── Keyframes ──────────────────────────────────────────────────────── */

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(52px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes gradientShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}
@keyframes floatMosaic {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-11px); }
}
@keyframes btnRingPulse {
    0%, 100% { opacity: 0; transform: scale(0.96); }
    50%       { opacity: 1; transform: scale(1.04); }
}
@keyframes dotPulse {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%       { opacity: 0.5; transform: scale(0.75); }
}
@keyframes pixelPopIn {
    from { opacity: 0; transform: scale(0) rotate(-15deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes heroBgBreath {
    0%, 100% { opacity: 0.7; }
    50%       { opacity: 1;   }
}

/* ─── Header ─────────────────────────────────────────────────────────── */

.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    animation: fadeSlideDown 0.5s 0s cubic-bezier(0.22,1,0.36,1) both;
}

.lp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 5px;
    background: var(--brand-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.logo-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: var(--slate);
    opacity: 0.4;
    text-transform: uppercase;
}

.lp-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: var(--red);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.lp-nav-cta:hover {
    background: #B71C1C;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(211,47,47,0.3);
}

/* ─── Hero ───────────────────────────────────────────────────────────── */

.lp-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 32px 60px;
    background: linear-gradient(160deg, #FFFFFF 0%, #F5F5F0 60%, #EFF2FF 100%);
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(211,47,47,0.07) 0%, transparent 70%);
    pointer-events: none;
    animation: heroBgBreath 6s ease-in-out infinite;
}

.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25,118,210,0.07) 0%, transparent 70%);
    pointer-events: none;
    animation: heroBgBreath 8s 1s ease-in-out infinite;
}

.lp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

/* ─── Hero text entrance ─────────────────────────────────────────────── */

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--slate);
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    animation: fadeSlideDown 0.55s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}

.lp-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    animation: dotPulse 2s ease-in-out infinite;
}

.lp-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--slate);
    margin-bottom: 22px;
    letter-spacing: -1px;
    animation: fadeSlideUp 0.7s 0.32s cubic-bezier(0.22,1,0.36,1) both;
}

.lp-headline-gradient {
    display: block;
    background: linear-gradient(90deg, var(--magenta), var(--red), var(--orange), var(--yellow), var(--lime), var(--teal), var(--blue), var(--purple), var(--magenta));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShimmer 5s 2.5s linear infinite;
}

.lp-sub {
    font-size: 17px;
    color: #546E7A;
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeSlideUp 0.65s 0.58s cubic-bezier(0.22,1,0.36,1) both;
}

/* Hero CTA button — entrance + pulsing ring */
.lp-hero-text .lp-btn-hero {
    position: relative;
    animation: fadeSlideUp 0.6s 0.8s cubic-bezier(0.22,1,0.36,1) both;
}

.lp-hero-text .lp-btn-hero::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 15px;
    background: rgba(211,47,47,0.28);
    z-index: -1;
    animation: btnRingPulse 2.8s 2.5s ease-in-out infinite;
}

.lp-trust {
    font-size: 12px;
    color: #90A4AE;
    letter-spacing: 0.2px;
    animation: fadeSlideUp 0.55s 1.0s ease both;
}

.lp-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeSlideLeft 0.85s 0.45s cubic-bezier(0.22,1,0.36,1) both;
}

/* ─── Mosaic Grid ─────────────────────────────────────────────────────── */

.mosaic-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 2px 0 rgba(255,255,255,0.6) inset,
        0 0 0 1.5px rgba(0,0,0,0.08),
        0 20px 60px rgba(0,0,0,0.15),
        0 4px 16px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 480px;
    animation: floatMosaic 5s 1.4s ease-in-out infinite;
}

.mosaic-grid {
    display: grid;
    gap: 2px;
    padding: 10px;
    background: #1a1a1a;
    width: 100%;
}

.mosaic-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 18px;
}

.lp-brick {
    aspect-ratio: 1;
    border-radius: 2px;
    transform: scale(0);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

.lp-brick:hover {
    filter: brightness(1.25);
    z-index: 1;
}

.lp-brick::after {
    content: '';
    position: absolute;
    top: 18%;
    left: 18%;
    width: 64%;
    height: 64%;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.25);
}

/* Scroll hint */
.lp-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-scroll-hint span {
    display: block;
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--slate), transparent);
    border-radius: 2px;
    opacity: 0.18;
    animation: fadeSlideUp 1.5s 3s ease-in-out infinite;
}

/* ─── Shared section layout ───────────────────────────────────────────── */

.lp-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

/* Scroll reveal base state */
.lp-section-label,
.lp-section-title {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.65s cubic-bezier(0.22,1,0.36,1),
        transform 0.65s cubic-bezier(0.22,1,0.36,1);
    transition-delay: var(--reveal-delay, 0ms);
}
.lp-section-label.visible,
.lp-section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.lp-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}

.lp-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--slate);
    margin-bottom: 56px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* ─── Steps ─────────────────────────────────────────────────────────── */

.lp-steps {
    padding: 100px 0;
    background: var(--white);
}

.lp-steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 16px;
}

/* Scroll reveal for steps */
.lp-step {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    border: 1.5px solid var(--border);
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.7s cubic-bezier(0.22,1,0.36,1),
        transform 0.7s cubic-bezier(0.22,1,0.36,1),
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.lp-step.visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        transform 0.25s cubic-bezier(0.22,1,0.36,1),
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.lp-step.visible:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 40px rgba(211,47,47,0.13);
    border-color: rgba(211,47,47,0.3);
}

.lp-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent, var(--red));
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.lp-step-icon {
    font-size: 36px;
    margin-bottom: 14px;
    line-height: 1;
}

.lp-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--slate);
    margin-bottom: 10px;
}

.lp-step p {
    font-size: 14px;
    color: #607D8B;
    line-height: 1.65;
}

.lp-step-arrow {
    font-size: 28px;
    color: var(--border);
    align-self: center;
    padding-top: 60px;
    user-select: none;
}

/* ─── Features ───────────────────────────────────────────────────────── */

.lp-features {
    padding: 100px 0;
    background: var(--cream);
}

.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

/* Scroll reveal for feature cards */
.lp-feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1.5px solid var(--border);
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.7s cubic-bezier(0.22,1,0.36,1),
        transform 0.7s cubic-bezier(0.22,1,0.36,1),
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.lp-feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        transform 0.25s cubic-bezier(0.22,1,0.36,1),
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.lp-feature-card.visible:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 40px rgba(25,118,210,0.12);
    border-color: rgba(25,118,210,0.25);
}

.lp-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.lp-feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--slate);
    margin-bottom: 8px;
}

.lp-feature-card p {
    font-size: 14px;
    color: #607D8B;
    line-height: 1.65;
}

/* ─── Shared button ──────────────────────────────────────────────────── */

.lp-btn-hero {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: var(--red);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(211,47,47,0.35);
    margin-bottom: 16px;
}

.lp-btn-hero:hover {
    background: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(211,47,47,0.45);
}

/* ─── CTA Banner ─────────────────────────────────────────────────────── */

.lp-cta-banner {
    background: var(--slate);
    padding: 100px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(211,47,47,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(25,118,210,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.lp-cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.lp-cta-pixel-row {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
    min-height: 16px;
}

.lp-cta-pixel {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    opacity: 0;
}

.lp-cta-pixel.visible {
    animation: pixelPopIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

.lp-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
    transition-delay: 0.2s;
}
.lp-cta-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
    transition-delay: 0.35s;
}
.lp-cta-title.visible,
.lp-cta-sub.visible {
    opacity: 1;
    transform: translateY(0);
}

.lp-btn-light {
    background: #fff;
    color: var(--red);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s 0.5s cubic-bezier(0.22,1,0.36,1),
                transform 0.6s 0.5s cubic-bezier(0.22,1,0.36,1),
                background 0.15s, color 0.15s, box-shadow 0.15s;
}
.lp-btn-light.visible {
    opacity: 1;
    transform: translateY(0);
}
.lp-btn-light:hover {
    background: #fff;
    color: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ─── Footer ─────────────────────────────────────────────────────────── */

.lp-footer {
    background: var(--slate);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 32px;
}

.lp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.lp-footer .logo-text { font-size: 18px; }
.lp-footer .logo-tagline { color: rgba(255,255,255,0.3); opacity: 1; }

.lp-footer-links {
    display: flex;
    gap: 24px;
}

.lp-footer-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.15s;
}

.lp-footer-links a:hover {
    color: var(--yellow);
}

.lp-footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
}

/* ─── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .lp-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
    .lp-badge { margin-left: auto; margin-right: auto; }
    .mosaic-wrap { max-width: 400px; }
    .lp-features-grid { grid-template-columns: repeat(2, 1fr); }

    /* 4 steps collapse to 2×2 grid at mid-width */
    .lp-steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .lp-step-arrow { display: none; }
}

@media (max-width: 768px) {
    .lp-header-inner { padding: 10px 16px; gap: 8px; }
    .lp-nav-cta { padding: 8px 14px; font-size: 12px; }
    .lp-hero { padding: 90px 20px 60px; }
    .lp-section-inner { padding: 0 20px; }
    .lp-steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .lp-step-arrow { display: none; }
    .lp-features-grid { grid-template-columns: 1fr; }
    .lp-footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .lp-headline { font-size: 36px; }
    .lp-btn-hero { width: 100%; justify-content: center; }
}
