/* =========================================================
   CloudPunch Landing Page Styles
   ========================================================= */

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

:root {
    --lp-primary:   #6366f1;
    --lp-accent:    #a855f7;
    --lp-success:   #10b981;
    --lp-danger:    #f43f5e;
    --lp-bg:        #0f111a;
    --lp-card:      rgba(25, 28, 41, 0.55);
    --lp-text:      #f8fafc;
    --lp-muted:     #94a3b8;
    --lp-border:    rgba(255, 255, 255, 0.08);
    --lp-grad:      linear-gradient(135deg, #6366f1, #a855f7);
    --lp-radius-md: 16px;
    --lp-radius-lg: 24px;
    --lp-radius-pill: 9999px;
    --lp-blur: blur(16px);
    --lp-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

html { scroll-behavior: smooth; }

body.landing-page {
    font-family: 'Outfit', sans-serif;
    background-color: var(--lp-bg);
    color: var(--lp-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- Typography ---------- */
.lp-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-primary);
    margin-bottom: 0.75rem;
}

.lp-h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.lp-h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

.lp-sub {
    font-size: 1.15rem;
    color: var(--lp-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--lp-radius-pill);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.lp-btn:hover { transform: translateY(-2px); text-decoration: none; }
.lp-btn:active { transform: translateY(0); }

.lp-btn-primary {
    background: var(--lp-grad);
    color: #fff;
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.4);
}
.lp-btn-primary:hover {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    color: #fff;
}

.lp-btn-ghost {
    background: transparent;
    color: var(--lp-text);
    border: 1px solid var(--lp-border);
}
.lp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--lp-text);
}

/* ---------- Top Navigation ---------- */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
    height: 64px;
    background: rgba(15, 17, 26, 0.85);
    backdrop-filter: var(--lp-blur);
    -webkit-backdrop-filter: var(--lp-blur);
    border-bottom: 1px solid var(--lp-border);
}

.lp-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}
.lp-nav-logo span { background: var(--lp-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lp-nav-logo i { background: var(--lp-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lp-nav-signin {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--lp-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--lp-radius-pill);
    transition: color 0.2s ease, background 0.2s ease;
}
.lp-nav-signin:hover { color: var(--lp-text); background: rgba(255,255,255,0.05); }

.lp-btn-nav {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
}

/* ---------- Section Wrapper ---------- */
.lp-section {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.lp-container {
    max-width: 1180px;
    margin: 0 auto;
}

/* ---------- Section 1: Hero ---------- */
.lp-hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Radial glow behind headline */
.lp-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.lp-hero-copy { display: flex; flex-direction: column; gap: 1.5rem; }

.lp-hero-cta-group { display: flex; flex-direction: column; gap: 0.75rem; }

.lp-hero-micro {
    font-size: 0.85rem;
    color: var(--lp-muted);
}

/* Hero mockup */
.lp-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-mockup {
    background: var(--lp-card);
    backdrop-filter: var(--lp-blur);
    -webkit-backdrop-filter: var(--lp-blur);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow), 0 0 60px rgba(99, 102, 241, 0.15);
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.lp-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.lp-mockup-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lp-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lp-live-dot {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--lp-success);
}

.lp-live-dot::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-success);
    box-shadow: 0 0 6px var(--lp-success);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.lp-emp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--lp-border);
    margin-bottom: 0.6rem;
    transition: background 0.2s;
}

.lp-emp-info { display: flex; flex-direction: column; }
.lp-emp-name { font-size: 0.9rem; font-weight: 600; }
.lp-emp-time { font-size: 0.75rem; color: var(--lp-muted); margin-top: 2px; }

.lp-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--lp-radius-pill);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lp-badge-in  { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.lp-badge-out { background: rgba(244, 63, 94, 0.15);  color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.3); }

/* ---------- Section 2: Problem ---------- */
.lp-problem {
    background: rgba(15, 17, 26, 0.5);
}

.lp-problem-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.lp-pain-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.25rem; }

.lp-pain-card {
    background: var(--lp-card);
    backdrop-filter: var(--lp-blur);
    border: 1px solid rgba(244, 63, 94, 0.15);
    border-left: 4px solid var(--lp-danger);
    border-radius: var(--lp-radius-md);
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.lp-pain-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.lp-pain-card-body { font-size: 0.9rem; color: var(--lp-muted); }

/* ---------- Section 3: Solution ---------- */
.lp-solution-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lp-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.lp-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
}

.lp-check-list li::before {
    content: '';
    display: inline-flex;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

/* Punch button visual */
.lp-punch-demo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-punch-wrap {
    background: var(--lp-card);
    backdrop-filter: var(--lp-blur);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 280px;
    width: 100%;
    box-shadow: var(--lp-shadow);
}

.lp-punch-btn {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--lp-grad);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 0 12px rgba(99, 102, 241, 0.12), 0 0 40px rgba(99, 102, 241, 0.4);
    animation: glow-pulse 2.5s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 12px rgba(99,102,241,0.12), 0 0 40px rgba(99,102,241,0.35); }
    50%       { box-shadow: 0 0 0 20px rgba(99,102,241,0.05), 0 0 60px rgba(168,85,247,0.5); }
}

.lp-punch-btn i { font-size: 2rem; }
.lp-punch-label { font-size: 0.8rem; color: var(--lp-muted); }

/* ---------- Section 4: Features ---------- */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.lp-feat-card {
    background: var(--lp-card);
    backdrop-filter: var(--lp-blur);
    -webkit-backdrop-filter: var(--lp-blur);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-feat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    border-color: rgba(99, 102, 241, 0.3);
}

.lp-feat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--lp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.lp-feat-icon-indigo { background: rgba(99, 102, 241, 0.15); color: var(--lp-primary); }
.lp-feat-icon-purple { background: rgba(168, 85, 247, 0.15); color: var(--lp-accent); }
.lp-feat-icon-green  { background: rgba(16, 185, 129, 0.15);  color: var(--lp-success); }

.lp-feat-name { font-size: 1.15rem; font-weight: 700; }
.lp-feat-benefit { font-size: 0.85rem; font-weight: 600; color: var(--lp-primary); }
.lp-feat-desc { font-size: 0.9rem; color: var(--lp-muted); line-height: 1.6; }

/* ---------- Section 5: Social Proof ---------- */
.lp-proof {
    background: rgba(15, 17, 26, 0.5);
}

.lp-proof-header { text-align: center; margin-bottom: 3.5rem; }

.lp-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-testi-card {
    background: var(--lp-card);
    backdrop-filter: var(--lp-blur);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lp-stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; }

.lp-testi-quote {
    font-size: 0.95rem;
    color: var(--lp-muted);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.lp-testi-author { font-size: 0.85rem; }
.lp-testi-name { font-weight: 700; color: var(--lp-text); }
.lp-testi-biz { color: var(--lp-muted); margin-top: 2px; }

/* ---------- Section 6: Final CTA ---------- */
.lp-cta-band {
    background: var(--lp-grad);
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.lp-cta-band .lp-h2 { color: #fff; margin-bottom: 0.75rem; }

.lp-cta-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    max-width: 540px;
    margin: 0 auto 2rem;
}

.lp-btn-cta {
    background: #fff;
    color: var(--lp-primary);
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
    border-radius: var(--lp-radius-pill);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.lp-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    color: var(--lp-primary);
    text-decoration: none;
}

.lp-cta-secondary {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.lp-cta-secondary a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.lp-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.lp-trust-row span { display: flex; align-items: center; gap: 0.4rem; }
.lp-trust-row span::before { content: '✓'; font-weight: 700; color: rgba(255,255,255,0.9); }

/* ---------- Footer ---------- */
.lp-footer {
    background: var(--lp-bg);
    border-top: 1px solid var(--lp-border);
    padding: 3.5rem clamp(1.5rem, 5vw, 5rem) 2rem;
}

.lp-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.lp-footer-brand p {
    font-size: 0.9rem;
    color: var(--lp-muted);
    margin-top: 0.75rem;
    max-width: 260px;
    line-height: 1.6;
}

.lp-footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin-bottom: 1rem;
}

.lp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.lp-footer-col a {
    font-size: 0.9rem;
    color: var(--lp-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.lp-footer-col a:hover { color: var(--lp-text); }

.lp-footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lp-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--lp-muted);
}

/* ---------- Section 6: Pricing ---------- */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 820px;
    margin: 0 auto;
}

.lp-price-card {
    background: var(--lp-card);
    backdrop-filter: var(--lp-blur);
    -webkit-backdrop-filter: var(--lp-blur);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-price-card-featured {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.12);
}
.lp-price-card-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.2);
}

.lp-price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-grad);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.3rem 1.25rem;
    border-radius: var(--lp-radius-pill);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.lp-price-header { display: flex; flex-direction: column; gap: 0.5rem; }

.lp-price-tier {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lp-muted);
}

.lp-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.lp-price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--lp-muted);
}

.lp-price-desc {
    font-size: 0.875rem;
    color: var(--lp-muted);
    line-height: 1.5;
}

.lp-price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.lp-price-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
}

.lp-pf-yes i { color: var(--lp-success); width: 16px; text-align: center; }
.lp-pf-no  { color: var(--lp-muted); }
.lp-pf-no i { color: var(--lp-danger); opacity: 0.5; width: 16px; text-align: center; }

.lp-price-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .lp-hero-inner    { grid-template-columns: 1fr; }
    .lp-hero-visual   { display: none; }
    .lp-hero-copy     { align-items: center; text-align: center; }
    .lp-hero-copy .lp-sub { margin: 0 auto; }
    .lp-solution-inner { grid-template-columns: 1fr; }
    .lp-punch-demo    { display: none; }
    .lp-features-grid  { grid-template-columns: 1fr; }
    .lp-testimonials   { grid-template-columns: 1fr; }
    .lp-footer-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .lp-nav { padding: 0 1.25rem; }
    .lp-btn-nav { display: none; }
    .lp-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .lp-footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
