:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(20, 20, 20, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --accent: #575ECF;
}

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

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden; /* Hide body scroll, handle scroll in main */
}

/* Typography */
.lm-title-huge {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.lm-title-large {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.lm-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--text-primary);
}

.lm-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* Buttons */
.lm-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.lm-btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.lm-btn-primary:hover {
    background-color: #e0e0e0;
    transform: scale(1.02);
}

.lm-btn-ghost {
    background-color: transparent;
    color: var(--text-primary);
}

.lm-btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.lm-btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.lm-btn-full {
    width: 100%;
}

/* Header */
.lm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.lm-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.lm-header-actions {
    display: flex;
    gap: 1rem;
}

/* Progress Navigation */
.lm-progress-nav {
    position: fixed;
    top: 5rem;
    left: 10%;
    right: 10%;
    z-index: 90;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.lm-progress-nav.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lm-progress-bar-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.lm-progress-bar-fill {
    position: absolute;
    bottom: 0;
    left: 2.5rem; /* account for container padding */
    height: 100%;
    width: 0px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.lm-progress-labels {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}

.lm-progress-label {
    padding: 0 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.lm-progress-label:hover {
    color: rgba(255, 255, 255, 0.7);
}

.lm-progress-label.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Main Scroller */
.lm-scroller {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.lm-scroller::-webkit-scrollbar {
    display: none;
}

.lm-slide {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    display: block; /* Ensure it is a block container */
}

/* Ensure imported sections span the full height of the slide */
.lm-slide > div, 
.lm-slide > section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensure sections have enough padding to clear the top fixed menu */
.section-padding {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

/* Background Gradients */
.lm-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    filter: blur(80px);
    transform: scale(1.2);
}

.lm-bg-gradient-1 { background: radial-gradient(circle at 50% 50%, #FE3F21, #000 70%); }
.lm-bg-gradient-2 { background: radial-gradient(circle at 70% 30%, #FE7B02, #000 60%); }
.lm-bg-gradient-3 { background: radial-gradient(circle at 30% 70%, #F858BC, #000 60%); }
.lm-bg-gradient-4 { background: radial-gradient(circle at 50% 50%, #575ECF, #000 70%); }
.lm-bg-gradient-5 { background: radial-gradient(circle at 20% 50%, #02Aab0, #00cdac 60%, #000 80%); }
.lm-bg-gradient-6 { background: radial-gradient(circle at 80% 50%, #4facfe, #00f2fe 60%, #000 80%); }
.lm-bg-gradient-7 { background: radial-gradient(circle at 50% 20%, #fa709a, #fee140 60%, #000 80%); }
.lm-bg-gradient-8 { background: radial-gradient(circle at 50% 80%, #a18cd1, #fbc2eb 60%, #000 80%); }
.lm-bg-gradient-9 { background: radial-gradient(circle at 50% 50%, #ff0844, #ffb199 60%, #000 80%); }

/* Slide Content & Glassmorphism */
.lm-slide-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 4rem;
    display: flex;
    align-items: center;
}

.lm-glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: var(--glass-shadow);
    max-width: 700px;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.32, 1) forwards;
}

.lm-glass-panel-wide {
    max-width: 900px;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Demo Components */
.lm-demo-chat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lm-chat-bubble {
    padding: 1rem 1.5rem;
    border-radius: 18px;
    max-width: 80%;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lm-chat-user {
    background-color: rgba(255, 255, 255, 0.1);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.lm-chat-ai {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.lm-ad-unit {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lm-ad-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.lm-ad-content {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lm-ad-img {
    border-radius: 8px;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* Cards Grid */
.lm-visual-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.lm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.lm-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.lm-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lm-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.lm-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Stats Grid */
.lm-stats-grid {
    display: flex;
    gap: 3rem;
}

.lm-stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lm-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* Compliance Badges */
.lm-compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.lm-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logos Grid */
.lm-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lm-logo-box {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.lm-logo-box:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Code Window */
.lm-code-window {
    background: #1e1e1e;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.lm-code-header {
    background: #2d2d2d;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lm-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.lm-dot-red { background: #ff5f56; }
.lm-dot-yellow { background: #ffbd2e; }
.lm-dot-green { background: #27c93f; }

.lm-code-title {
    margin-left: 1rem;
    color: #888;
    font-size: 0.8rem;
    font-family: monospace;
}

.lm-code-body {
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

.lm-keyword { color: #c678dd; }
.lm-string { color: #98c379; }
.lm-property { color: #e06c75; }
.lm-comment { color: #5c6370; font-style: italic; }

/* Dashboard Mockup */
.lm-dashboard-mockup {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
}

.lm-chart-placeholder {
    height: 200px;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lm-chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent), #9b51e0);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: height 1s ease-out;
}

/* Contact Form */
.lm-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lm-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lm-form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.lm-form-group input,
.lm-form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.lm-form-group input:focus,
.lm-form-group textarea:focus {
    border-color: var(--accent);
}

.lm-footer-links {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.lm-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.lm-footer-links a:hover {
    color: var(--text-primary);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .lm-title-huge { font-size: 3rem; }
    .lm-title-large { font-size: 2.5rem; }
    .lm-glass-panel { padding: 2rem; margin: 0 1rem; }
    .lm-stats-grid { flex-direction: column; gap: 1.5rem; }
    .lm-logos-grid { grid-template-columns: repeat(2, 1fr); }
    .lm-timeline { display: none; }
    .lm-header { padding: 1rem; }
}

/* Mobile Menu and Cut-off Fixes (Tablet & Mobile) */
@media (max-width: 1024px) {
    /* Hide progress nav on tablet and mobile */
    .lm-progress-nav {
        display: none !important;
    }
    
    /* Fix section height cut-off */
    .lm-slide {
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
    }
    
    .lm-slide > div, 
    .lm-slide > section {
        height: auto !important;
        min-height: 100vh;
        padding-top: 6rem; /* extra space for header */
    }

    .lm-scroller {
        /* Let it scroll normally on small screens */
        scroll-snap-type: none;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

/* Hamburger Button */
.lm-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102; /* above menu */
    padding: 0;
}

@media (max-width: 1024px) {
    .lm-hamburger {
        display: flex;
    }
}

.lm-hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Hamburger active animation */
.lm-hamburger.active span:first-child {
    transform: rotate(45deg);
}

.lm-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.lm-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.lm-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lm-mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lm-mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.lm-mobile-menu a:hover {
    color: var(--accent);
}

@font-face { font-family: 'CameraPlainVariable'; src: url('https://cdn.gpteng.co/mcp-widgets/v1/fonts/CameraPlainVariable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; } body { font-family: 'CameraPlainVariable', sans-serif; }

:root { --background: 0 0% 100%; --foreground: 0 0% 3.9%; --card: 0 0% 100%; --card-foreground: 0 0% 3.9%; --popover: 0 0% 100%; --popover-foreground: 0 0% 3.9%; --primary: 0 0% 9%; --primary-foreground: 0 0% 98%; --secondary: 0 0% 96.1%; --secondary-foreground: 0 0% 9%; --muted: 0 0% 96.1%; --muted-foreground: 0 0% 45.1%; --accent: 0 0% 96.1%; --accent-foreground: 0 0% 9%; --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; --border: 0 0% 89.8%; --input: 0 0% 89.8%; --ring: 0 0% 3.9%; --radius: 0.5rem; }
