/* ============================================================
   Andromeda Landing Page — landing.css
   Self-contained dark premium stylesheet (Linear/Vercel/Raycast)
   ============================================================ */

/* --- Custom Properties --- */
:root {
    --lp-bg: #050505;
    --lp-bg-subtle: #0a0a0c;
    --lp-bg-card: #0c0c0e;
    --lp-bg-card-hover: #111114;
    --lp-border: rgba(255,255,255,0.06);
    --lp-border-hover: rgba(255,255,255,0.12);
    --lp-text: #f0f0f0;
    --lp-text-muted: #888;
    --lp-text-dim: #555;
    --lp-accent: #6366f1;
    --lp-accent-hover: #818cf8;
    --lp-accent-glow: rgba(99,102,241,0.3);
    --lp-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    --lp-radius: 12px;
    --lp-radius-sm: 8px;
    --lp-radius-lg: 16px;
    --lp-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--lp-accent);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--lp-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.14);
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) var(--lp-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}

/* ============================================================
   1. NAVBAR
   ============================================================ */
.lp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 24, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 0 15px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.lp-navbar.lp-nav-scrolled {
    background: rgba(13, 13, 24, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

.lp-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.lp-navbar-logo {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.lp-navbar-wordmark {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--lp-text);
}

.lp-navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lp-navbar-link {
    color: var(--lp-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.lp-navbar-link:hover {
    color: var(--lp-text);
}

.lp-navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* -- Logged-in navbar state -- */
.lp-user-menu {
    position: relative;
}

.lp-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lp-accent, #6366f1);
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.lp-user-avatar:hover {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.lp-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #0c0c0e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1000;
}

.lp-user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lp-user-dropdown-name {
    padding: 4px 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: #f0f0f0;
}

.lp-user-dropdown-email {
    padding: 2px 16px 8px;
    font-size: 12px;
    color: #777;
}

.lp-user-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.lp-user-dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    text-align: left;
    font-size: 13px;
    color: #ccc;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.lp-user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Hamburger */
.lp-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    z-index: 1002;
}

.lp-hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--lp-text-muted);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

/* Hamburger → Cross animation */
.lp-hamburger.open .lp-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--lp-text);
}

.lp-hamburger.open .lp-hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.lp-hamburger.open .lp-hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--lp-text);
}

/* ============================================================
   2. BUTTONS
   ============================================================ */
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--lp-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.lp-btn-primary:hover {
    background: var(--lp-accent-hover);
    box-shadow: 0 0 20px var(--lp-accent-glow);
}

.lp-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--lp-text-muted);
    padding: 10px 24px;
    border-radius: var(--lp-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--lp-border);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.lp-btn-ghost:hover {
    border-color: var(--lp-border-hover);
    color: var(--lp-text);
}

.lp-btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ============================================================
   3. HERO SECTION — Spline 3D Galaxy
   ============================================================ */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 40px;
    overflow: hidden;
    background: #050510;
}

/* Spline 3D container — fills hero, interactive */
.lp-spline-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: auto;
}

.lp-spline-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Gradient overlays for depth and readability */
.lp-hero-gradient {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.lp-hero-gradient--left {
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 16, 0.85) 0%, rgba(5, 5, 16, 0.4) 35%, transparent 60%);
}

.lp-hero-gradient--right {
    inset: 0;
    background: linear-gradient(270deg, rgba(5, 5, 16, 0.5) 0%, transparent 40%);
}

.lp-hero-gradient--bottom {
    left: 0;
    right: 0;
    bottom: 0;
    height: 250px;
    background: linear-gradient(to bottom, transparent, var(--lp-bg));
}

/* Hero content — left-aligned, over the Spline scene */
.lp-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 700px;
    padding: 0 24px 0 clamp(40px, 8vw, 120px);
    transition: opacity 0.1s ease, transform 0.1s ease;
    will-change: opacity, transform;
}

.lp-hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

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

.lp-hero-subtext {
    font-size: 1.15rem;
    color: var(--lp-text-muted);
    max-width: 520px;
    margin: 0 0 36px 0;
    line-height: 1.7;
}

.lp-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* CTA Buttons — glassmorphism style */
.lp-btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: rgba(130, 0, 219, 0.16);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 9999px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.lp-btn-cta-primary:hover {
    background: rgba(130, 0, 219, 0.3);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.3), 0 0 60px rgba(130, 0, 219, 0.15);
    transform: translateY(-1px);
}

.lp-btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--lp-text);
    text-decoration: none;
    background: rgba(12, 12, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.lp-btn-cta-secondary:hover {
    background: rgba(12, 12, 20, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* Features divider between released and coming soon */
.lp-features-divider {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 0 8px;
    margin-top: 12px;
}

.lp-features-divider span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--lp-text-dim);
    padding: 6px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--lp-border);
}

/* ============================================================
   5. SECTION HEADERS
   ============================================================ */
.lp-section {
    position: relative;
}

/* Ambient glow backgrounds — carry the galaxy atmosphere beyond the hero */
.lp-features-section::before,
.lp-testimonials-section::before,
.lp-pricing-section::before,
.lp-faq-section::before,
.lp-cta-section::before {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.lp-features-section::before {
    width: 500px;
    height: 500px;
    top: 10%;
    right: -15%;
    background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%);
}

.lp-testimonials-section::before {
    width: 400px;
    height: 400px;
    top: 20%;
    left: -10%;
    background: radial-gradient(circle, rgba(168,85,247,0.05), transparent 70%);
}

.lp-pricing-section::before {
    width: 500px;
    height: 500px;
    bottom: 10%;
    right: -10%;
    background: radial-gradient(circle, rgba(99,102,241,0.05), transparent 70%);
}

.lp-faq-section::before {
    width: 350px;
    height: 350px;
    top: 30%;
    left: -8%;
    background: radial-gradient(circle, rgba(139,92,246,0.04), transparent 70%);
}

.lp-cta-section::before {
    width: 600px;
    height: 400px;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(99,102,241,0.06), rgba(168,85,247,0.03), transparent 70%);
}

/* Subtle section divider gradient — smooth transition between sections */
.lp-features-section,
.lp-testimonials-section,
.lp-pricing-section,
.lp-faq-section {
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50px at 50% 0%, rgba(255,255,255,0.015), transparent),
        var(--lp-bg);
}

.lp-section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 24px;
}

.lp-section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--lp-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.lp-section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.lp-section-subtitle {
    font-size: 1.1rem;
    color: var(--lp-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================================
   6. FEATURES GRID
   ============================================================ */
.lp-features-section {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.lp-feature-card {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 28px;
    transform-origin: center bottom;
    will-change: transform, opacity;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.lp-feature-card:hover {
    border-color: var(--lp-border-hover);
    background: var(--lp-bg-card-hover);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.lp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(99,102,241,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--lp-accent);
}

.lp-feature-icon svg {
    width: 22px;
    height: 22px;
}

.lp-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.lp-feature-card p {
    font-size: 0.88rem;
    color: var(--lp-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Coming Soon feature cards */
.lp-feature-card.lp-coming-soon.lp-card-visible {
    opacity: 0.55;
    position: relative;
}

.lp-feature-card.lp-coming-soon.lp-card-visible:hover {
    opacity: 0.75;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.lp-coming-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--lp-text-dim);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--lp-border);
    padding: 3px 10px;
    border-radius: 4px;
    margin-top: 4px;
}

/* Plan badges */
.lp-plan-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.lp-plan-badge[data-plan="free"] {
    background: rgba(99,102,241,0.15);
    color: #818cf8;
}

.lp-plan-badge[data-plan="zenith"] {
    background: rgba(34,211,238,0.12);
    color: #22d3ee;
}

.lp-plan-badge[data-plan="nova"] {
    background: rgba(168,85,247,0.12);
    color: #c084fc;
}

.lp-plan-badge[data-plan="prime"] {
    background: rgba(251,191,36,0.12);
    color: #fbbf24;
}

/* ============================================================
   6b. FEATURE SCROLLER WITH CODE REVEAL
   ============================================================ */
.lp-features-scroller-wrap {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0 -24px;
}

/* Center line */
.lp-code-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, #c084fc, #a855f7, #c084fc, transparent);
    z-index: 10;
    pointer-events: none;
}

/* Horizontal auto-scrolling marquee */
.lp-features-scroller {
    display: flex;
    gap: 24px;
    padding: 40px 0;
    user-select: none;
    overflow: hidden;
    width: max-content;
    animation: marqueeScroll 60s linear infinite;
    cursor: grab;
}
.lp-features-scroller:active { cursor: grabbing; }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Dual-layer card */
.lp-scroll-card {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
}

/* Normal card face */
.lp-scroll-card-face {
    position: absolute;
    inset: 0;
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.lp-scroll-card-face .lp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(99,102,241,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--lp-accent);
}
.lp-scroll-card-face .lp-feature-icon svg {
    width: 22px;
    height: 22px;
}
.lp-scroll-card-face h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.lp-scroll-card-face p {
    font-size: 0.88rem;
    color: var(--lp-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

/* Code version */
.lp-scroll-card-code {
    position: absolute;
    inset: 0;
    background: #0a0a14;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 20px;
    z-index: 1;
    overflow: hidden;
}
.lp-scroll-card-code pre {
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
    font-size: 11px;
    line-height: 1.6;
    color: #c084fc;
    white-space: pre;
    overflow: hidden;
}
.lp-scroll-card-code code {
    color: inherit;
    font-family: inherit;
}

/* ============================================================
   6c. LABS — Expandable Feature Card (legacy)
   ============================================================ */
.lp-labs-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.lp-labs-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 24px 32px;
    max-width: 600px;
    width: 100%;
    cursor: pointer;
    position: relative;
    opacity: 0.55;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.lp-labs-card:hover {
    border-color: var(--lp-border-hover);
    background: var(--lp-bg-card-hover);
    opacity: 0.75;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.lp-labs-card.open {
    opacity: 1;
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 0 40px rgba(99,102,241,0.15);
    transform: translateY(0);
}

.lp-labs-icon {
    flex-shrink: 0;
}

.lp-labs-content {
    flex: 1;
}

.lp-labs-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.lp-labs-content p {
    font-size: 0.88rem;
    color: var(--lp-text-muted);
    line-height: 1.5;
    margin: 0;
}

.lp-labs-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.lp-labs-chevron svg {
    width: 16px;
    height: 16px;
    color: var(--lp-text-dim);
}

.lp-labs-card.open .lp-labs-chevron {
    transform: rotate(180deg);
}

/* Sub-cards container — hidden by default */
.lp-labs-subcards {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 40px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.4s ease;
}

.lp-labs-subcards.open {
    max-height: 500px;
    opacity: 1;
    padding: 16px 40px;
}

/* Individual sub-cards — pop animation */
.lp-labs-subcard {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 20px;
    transform: scale(0) translateY(-20px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease,
                border-color 0.3s ease,
                background 0.3s ease;
    transition-delay: calc(var(--pop-delay, 0) * 0.06s);
}

.lp-labs-subcards.open .lp-labs-subcard {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.lp-labs-subcard:hover {
    border-color: var(--lp-border-hover);
    background: var(--lp-bg-card-hover);
}

.lp-labs-subcard h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 10px;
}

.lp-labs-subcard p {
    font-size: 0.82rem;
    color: var(--lp-text-muted);
    line-height: 1.5;
    margin: 0;
}


/* ============================================================
   7. TESTIMONIALS
   ============================================================ */
.lp-testimonials-section {
    padding: 120px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

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

.lp-testimonial-card {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.lp-testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--lp-text-muted);
    margin-bottom: 20px;
    font-style: italic;
    flex: 1;
}

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

.lp-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.lp-testimonial-info {
    display: flex;
    flex-direction: column;
}

.lp-testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.lp-testimonial-role {
    font-size: 0.8rem;
    color: var(--lp-text-dim);
}

/* ============================================================
   8. PRICING
   ============================================================ */
.lp-pricing-section {
    padding: 120px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.lp-pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    background: var(--lp-bg-card);
    border-radius: 8px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--lp-border);
}

.lp-toggle-btn {
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--lp-text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.lp-toggle-btn:hover {
    color: var(--lp-text);
}

.lp-toggle-btn.lp-toggle-active {
    background: var(--lp-accent);
    color: #fff;
}

.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.lp-pricing-card {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lp-pricing-card:hover {
    border-color: var(--lp-border-hover);
}

.lp-pricing-popular {
    border-color: var(--lp-accent);
    box-shadow: 0 0 40px var(--lp-accent-glow);
}

.lp-pricing-popular:hover {
    border-color: var(--lp-accent-hover);
}

.lp-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-gradient);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.lp-plan-crystal {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

/* Crystal color per plan */
.lp-pricing-card:nth-child(1) .lp-plan-crystal { color: #6366f1; }
.lp-pricing-card:nth-child(2) .lp-plan-crystal { color: #22d3ee; }
.lp-pricing-card:nth-child(3) .lp-plan-crystal { color: #a855f7; }
.lp-pricing-card:nth-child(4) .lp-plan-crystal { color: #fbbf24; }

.lp-plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.lp-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.lp-plan-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 4px;
}

.lp-plan-model,
.lp-plan-tokens {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
}

.lp-plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex: 1;
}

.lp-plan-features li {
    font-size: 0.88rem;
    color: var(--lp-text-muted);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.lp-plan-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--lp-accent);
    font-weight: 600;
}

.lp-pricing-card .lp-btn-primary {
    width: 100%;
    margin-top: auto;
}

/* ============================================================
   9. FAQ
   ============================================================ */
.lp-faq-section {
    padding: 120px 24px;
    max-width: 700px;
    margin: 0 auto;
}

.lp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lp-faq-item {
    border-bottom: 1px solid var(--lp-border);
}

.lp-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--lp-text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
    gap: 16px;
}

.lp-faq-question:hover {
    color: var(--lp-accent);
}

.lp-faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.lp-faq-chevron svg {
    width: 16px;
    height: 16px;
    color: var(--lp-text-dim);
}

.lp-faq-item.open .lp-faq-chevron {
    transform: rotate(180deg);
}

.lp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.lp-faq-item.open .lp-faq-answer {
    max-height: 300px;
}

.lp-faq-answer p {
    padding-bottom: 20px;
    color: var(--lp-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.lp-footer {
    background: var(--lp-bg-subtle);
    border-top: 1px solid var(--lp-border);
    padding: 60px 24px 20px;
}

.lp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.lp-footer-brand {
    display: flex;
    flex-direction: column;
}

.lp-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.lp-footer-logo-img {
    width: 32px;
    height: 32px;
}

.lp-footer-wordmark {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.lp-footer-tagline {
    font-size: 0.85rem;
    color: var(--lp-text-dim);
}

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

.lp-footer-col {
    display: flex;
    flex-direction: column;
}

.lp-footer-col-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--lp-text-muted);
    margin-bottom: 16px;
}

.lp-footer-link {
    display: block;
    color: var(--lp-text-dim);
    font-size: 0.88rem;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.lp-footer-link:hover {
    color: var(--lp-text);
}

.lp-footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--lp-border);
    font-size: 0.8rem;
    color: var(--lp-text-dim);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--lp-text-dim);
    opacity: 0.6;
}

/* ============================================================
   11. AUTH MODAL
   ============================================================ */
.lp-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-auth-modal[aria-hidden="true"],
.lp-auth-modal.hidden {
    display: none;
}

.lp-auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lp-auth-card {
    position: relative;
    z-index: 1;
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    margin: 0 16px;
}

.lp-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.lp-auth-logo {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
}

.lp-auth-wordmark {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.lp-auth-subtitle {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
    margin-top: 4px;
}

/* Google OAuth button */
.lp-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, box-shadow 0.15s;
}

.lp-google-btn:hover {
    background: #f7f8f8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.lp-google-btn svg {
    flex-shrink: 0;
}

.lp-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--lp-text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lp-auth-divider::before,
.lp-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--lp-border);
}

.lp-auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--lp-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.lp-auth-tab:hover {
    color: var(--lp-text);
}

.lp-auth-tab.lp-auth-tab-active {
    color: var(--lp-text);
    border-bottom-color: var(--lp-accent);
}

.lp-auth-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-bottom: 12px;
    min-height: 20px;
}

.lp-auth-form {
    display: none;
}

.lp-auth-form.active {
    display: block;
}

.lp-auth-field {
    margin-bottom: 16px;
}

.lp-auth-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--lp-text-muted);
    margin-bottom: 6px;
}

.lp-auth-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--lp-radius-sm);
    border: 1px solid var(--lp-border);
    background: rgba(255,255,255,0.03);
    color: var(--lp-text);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-auth-input::placeholder {
    color: var(--lp-text-dim);
}

.lp-auth-input:focus {
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px var(--lp-accent-glow);
}

.lp-auth-submit {
    width: 100%;
    padding: 12px;
    background: var(--lp-accent);
    color: #fff;
    border: none;
    border-radius: var(--lp-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.lp-auth-submit:hover {
    background: var(--lp-accent-hover);
    box-shadow: 0 0 20px var(--lp-accent-glow);
}

/* ============================================================
   12. SCROLL ANIMATIONS
   ============================================================ */
.lp-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lp-animate.lp-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   13. MOBILE MENU — slide-in sidebar from right
   ============================================================ */
.lp-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lp-mobile-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.lp-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: rgba(10,10,14,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--lp-border);
    padding: 80px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.lp-mobile-menu.open {
    transform: translateX(0);
}

.lp-mobile-link {
    color: var(--lp-text-muted);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: var(--lp-radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.lp-mobile-link:hover {
    color: var(--lp-text);
    background: rgba(255,255,255,0.04);
}

.lp-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px solid var(--lp-border);
}

.lp-mobile-actions .lp-btn-primary,
.lp-mobile-actions .lp-btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
}

/* ============================================================
   14a. SOCIAL PROOF BAR
   ============================================================ */
.lp-social-proof {
    padding: 48px 24px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-proof-stats {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.lp-proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.lp-proof-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lp-text);
    letter-spacing: -0.5px;
}

.lp-proof-label {
    font-size: 0.82rem;
    color: var(--lp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lp-proof-divider {
    width: 1px;
    height: 40px;
    background: var(--lp-border);
}

/* ============================================================
   14b. HOW IT WORKS
   ============================================================ */
.lp-how-section {
    padding: 120px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.lp-how-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 48px;
}

.lp-how-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.lp-how-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.lp-how-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lp-text);
    margin-bottom: 8px;
}

.lp-how-step p {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
    line-height: 1.6;
}

.lp-how-connector {
    width: 60px;
    height: 2px;
    background: var(--lp-border);
    margin-top: 23px;
    flex-shrink: 0;
}

/* ============================================================
   14c. CTA BANNER
   ============================================================ */
.lp-cta-section {
    padding: 80px 24px 120px;
}

.lp-cta-banner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 48px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(168,85,247,0.08));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
}

.lp-cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.lp-cta-banner p {
    font-size: 1rem;
    color: var(--lp-text-muted);
    margin-bottom: 28px;
}

/* ============================================================
   14d. SCROLL INDICATOR
   ============================================================ */
.lp-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--lp-text-muted);
    animation: lp-bounce-down 2s ease infinite;
    z-index: 5;
}

@keyframes lp-bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================================
   14e. BACK TO TOP
   ============================================================ */
.lp-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    color: var(--lp-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, background 0.15s;
    z-index: 900;
}

.lp-back-to-top.lp-visible {
    opacity: 1;
    pointer-events: auto;
}

.lp-back-to-top:hover {
    background: var(--lp-accent);
    color: #fff;
    border-color: var(--lp-accent);
}

/* ============================================================
   14f. BUTTON ARROW
   ============================================================ */
.lp-btn-arrow {
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.15s;
}

.lp-btn-primary:hover .lp-btn-arrow {
    transform: translateX(3px);
}

/* ============================================================
   14g. FOOTER SOCIAL
   ============================================================ */
.lp-footer-social {
    display: flex;
    gap: 16px;
}

.lp-social-link {
    color: var(--lp-text-muted);
    transition: color 0.15s;
}

.lp-social-link:hover {
    color: var(--lp-text);
}

/* ============================================================
   14. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablets and smaller desktops */
@media (max-width: 992px) {
    .lp-how-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .lp-how-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    .lp-proof-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    .lp-proof-divider {
        display: none;
    }
    .lp-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .lp-hero-content {
        padding-left: 40px;
        max-width: 550px;
    }

    .lp-hero-gradient--left {
        background: linear-gradient(90deg, rgba(5, 5, 16, 0.9) 0%, rgba(5, 5, 16, 0.5) 40%, transparent 65%);
    }

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

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

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

/* Tablets portrait */
@media (max-width: 768px) {
    .lp-navbar-links {
        display: none;
    }

    .lp-navbar-actions {
        display: none;
    }

    .lp-hamburger {
        display: flex;
    }

    .lp-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .lp-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lp-footer-logo {
        justify-content: center;
    }

    .lp-footer-links {
        justify-items: center;
    }

    .lp-footer-col {
        align-items: center;
    }

    /* Scroller: smaller cards on tablet */
    .lp-scroll-card {
        width: 240px;
        height: 280px;
    }
    .lp-scroll-card-face {
        padding: 20px;
    }
    .lp-scroll-card-code pre {
        font-size: 9px;
    }
}

/* Small phones */
@media (max-width: 600px) {
    .lp-hero-content {
        text-align: center;
        padding: 0 20px;
        max-width: 100%;
        text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.5);
    }

    .lp-hero-ctas {
        justify-content: center;
    }

    .lp-hero-subtext {
        margin: 0 auto 36px;
    }

    .lp-hero-gradient--left {
        background: linear-gradient(180deg, rgba(5, 5, 16, 0.7) 0%, rgba(5, 5, 16, 0.3) 40%, transparent 70%);
    }

    .lp-btn-cta-primary,
    .lp-btn-cta-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .lp-features-grid {
        grid-template-columns: 1fr;
    }

    /* Hide 3D code-reveal scroller on mobile — show simple cards instead */
    .lp-features-scroller-wrap {
        overflow: visible;
        margin: 0;
    }
    .lp-code-line {
        display: none;
    }
    .lp-features-scroller {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
        width: 100%;
        animation: none;
        cursor: auto;
        overflow: visible;
    }
    .lp-scroll-card {
        width: 100%;
        height: auto;
        min-height: 160px;
    }
    .lp-scroll-card-face {
        position: relative;
        inset: auto;
        clip-path: none !important;
    }
    .lp-scroll-card-code {
        display: none;
    }

    /* Hide Spline 3D on mobile — too heavy, kills performance */
    .lp-spline-container {
        display: none;
    }
    .lp-hero {
        background: radial-gradient(ellipse at 50% 40%, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.06) 40%, transparent 70%), var(--lp-bg);
    }

    /* Better mobile spacing */
    .lp-hero {
        padding-bottom: 60px;
    }
    .lp-hero-headline {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }
    .lp-hero-subtext {
        font-size: 0.9rem;
    }
    .lp-section-header {
        margin-bottom: 32px;
    }
    .lp-section-heading {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
    .lp-section-subtitle {
        font-size: 0.9rem;
    }
    .lp-how-steps {
        gap: 24px;
    }
    .lp-testimonials-grid {
        gap: 16px;
    }
    .lp-faq-item {
        margin-bottom: 8px;
    }
    .lp-footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .lp-labs-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .lp-labs-subcards {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .lp-labs-subcards.open {
        padding: 12px 16px;
    }

    .lp-pricing-grid {
        grid-template-columns: 1fr;
    }

    .lp-features-section,
    .lp-testimonials-section,
    .lp-pricing-section,
    .lp-faq-section {
        padding: 80px 16px;
    }
}

/* Blog */
.lp-blog-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lp-blog-card {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 32px;
    transition: border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.lp-blog-card:hover {
    border-color: var(--lp-border-hover);
    transform: translateY(-2px);
}

.lp-blog-card-date {
    font-size: 0.8rem;
    color: var(--lp-accent);
    font-weight: 500;
    margin-bottom: 8px;
}

.lp-blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.lp-blog-card-meta {
    font-size: 0.8rem;
    color: var(--lp-text-dim);
    margin-bottom: 12px;
}

.lp-blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--lp-text-muted);
    line-height: 1.6;
}

.lp-blog-card-read {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--lp-accent);
    font-weight: 600;
}

/* Blog Article */
.lp-blog-article {
    max-width: 700px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.lp-blog-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lp-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 40px;
    transition: color 0.2s;
}

.lp-blog-back:hover {
    color: var(--lp-accent);
}

.lp-blog-article-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.lp-blog-article-meta {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-blog-article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ccc;
}

.lp-blog-article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lp-text);
    margin: 40px 0 16px;
}

.lp-blog-article-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lp-text);
    margin: 32px 0 12px;
}

.lp-blog-article-body p {
    margin-bottom: 20px;
}

.lp-blog-article-body strong {
    color: var(--lp-text);
}

.lp-blog-article-body a {
    color: var(--lp-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-blog-article-body ul, .lp-blog-article-body ol {
    margin: 16px 0 20px 24px;
}

.lp-blog-article-body li {
    margin-bottom: 8px;
}

.lp-blog-article-body blockquote {
    border-left: 3px solid var(--lp-accent);
    padding-left: 20px;
    margin: 24px 0;
    color: var(--lp-text-muted);
    font-style: italic;
}

.lp-blog-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    text-align: center;
}

.lp-blog-cta h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.lp-blog-cta p {
    color: var(--lp-text-muted);
    margin-bottom: 16px;
}

.lp-blog-cta a {
    display: inline-block;
    padding: 12px 32px;
    background: var(--lp-accent);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.lp-blog-cta a:hover {
    background: var(--lp-accent-hover);
}

/* Extra small */
@media (max-width: 480px) {
    .lp-hero-headline {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }

    .lp-hero-subtext {
        font-size: 1rem;
    }

    .lp-section-heading {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .lp-pricing-card {
        padding: 24px 18px;
    }

    .lp-feature-card {
        padding: 22px;
    }

    .lp-auth-card {
        padding: 28px 20px;
    }

    .lp-footer {
        padding: 40px 16px 16px;
    }
}
