/* Label Codes - Base Styles (Redesign) */

/* Inter font imported in HTML for better performance */

:root {
    /* Core Palette */
    --primary: #4f46e5;      /* Indigo 600 */
    --primary-hover: #4338ca; /* Indigo 700 */
    --secondary: #0ea5e9;    /* Sky 500 */
    --accent: #f43f5e;       /* Rose 500 */
    
    /* Neutrals */
    --bg-body: #f8fafc;      /* Slate 50 */
    --bg-surface: #ffffff;
    --text-main: #0f172a;    /* Slate 900 */
    --text-muted: #64748b;   /* Slate 500 */
    --text-light: #94a3b8;   /* Slate 400 */
    --border: #e2e8f0;       /* Slate 200 */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    /* Prevent FOUC (Flash of Unstyled Content) */
    display: inline-block;
    width: 1em;
    height: 1em;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.lc-header-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lc-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.lc-logo img {
    height: 40px;
    width: auto;
}

.lc-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lc-header-actions .lc-cta-button {
    background: var(--text-main);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lc-header-actions .lc-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: #000;
}

/* Container */
.lc-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.lc-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lc-section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.lc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.lc-footer-brand h3 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.lc-footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.6;
}

.lc-footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.lc-footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lc-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lc-footer-links a:hover,
.lc-footer-links a.active {
    color: white;
}

.lc-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.lc-footer-bottom a {
    color: white;
    text-decoration: none;
    margin-left: 0.25rem;
}

@media (max-width: 768px) {
    .lc-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .lc-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.lc-hidden { display: none; }


/* Mobile */
@media (max-width: 768px) {
    .lc-section-title { font-size: 2rem; }
}

/* Label Codes - Component Styles (Redesign) */

/* Hero Section */
.lc-hero {
    padding: 8rem 0 6rem;
    background: radial-gradient(50% 50% at 50% 10%, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.lc-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.2), transparent);
}

/* Hero Background Icons */
.lc-hero-background-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.lc-floating-icon {
    position: absolute;
    opacity: 0.08;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.lc-floating-icon svg,
.lc-floating-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Icon Specifics - Positioning on Container */
/* Positions will be somewhat randomized by JS, but these serve as anchors */
.lc-icon-barcode { top: 15%; left: 8%; }
.lc-icon-qr { bottom: 20%; right: 8%; }
.lc-icon-box { top: 12%; right: 15%; }
.lc-icon-tag { bottom: 15%; left: 20%; }
.lc-icon-scan { top: 50%; left: 50%; margin-left: -20px; margin-top: -20px; }
.lc-icon-clipboard { top: 30%; left: 5%; }
.lc-icon-printer { top: 60%; right: 12%; }
.lc-icon-globe { bottom: 10%; left: 50%; margin-left: -20px; }


/* Animations on SVG/IMG to avoid conflict with JS transform on container */
/* Animation durations are varied */
.lc-icon-barcode svg, .lc-icon-barcode img { animation: float-barcode 35s ease-in-out infinite; }
.lc-icon-qr svg, .lc-icon-qr img { animation: float-qr 40s ease-in-out infinite; }
.lc-icon-box svg, .lc-icon-box img { animation: float-box 38s ease-in-out infinite; }
.lc-icon-tag svg, .lc-icon-tag img { animation: float-tag 42s ease-in-out infinite; }
.lc-icon-scan svg, .lc-icon-scan img { animation: float-scan 45s ease-in-out infinite; }
.lc-icon-clipboard svg, .lc-icon-clipboard img { animation: float-clipboard 37s ease-in-out infinite; }
.lc-icon-printer svg, .lc-icon-printer img { animation: float-printer 39s ease-in-out infinite; }
.lc-icon-globe svg, .lc-icon-globe img { animation: float-globe 44s ease-in-out infinite; }

@keyframes float-barcode {
    0%, 100% { transform: translate(0, 0) rotate(-15deg) scale(1); }
    33% { transform: translate(30vw, 15vh) rotate(25deg) scale(1.2); }
    66% { transform: translate(10vw, 30vh) rotate(-10deg) scale(0.9); }
}

@keyframes float-qr {
    0%, 100% { transform: translate(0, 0) rotate(20deg) scale(1); }
    33% { transform: translate(-30vw, -15vh) rotate(-25deg) scale(0.9); }
    66% { transform: translate(-10vw, -30vh) rotate(15deg) scale(1.1); }
}

@keyframes float-box {
    0%, 100% { transform: translate(0, 0) rotate(10deg) scale(0.9); }
    33% { transform: translate(-25vw, 20vh) rotate(-20deg) scale(1.1); }
    66% { transform: translate(-15vw, -10vh) rotate(5deg) scale(1); }
}

@keyframes float-tag {
    0%, 100% { transform: translate(0, 0) rotate(-5deg) scale(1.1); }
    33% { transform: translate(25vw, -20vh) rotate(15deg) scale(0.9); }
    66% { transform: translate(15vw, -30vh) rotate(-15deg) scale(1); }
}

@keyframes float-scan {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(-30vw, -20vh) rotate(45deg) scale(0.8); }
    50% { transform: translate(-20vw, 20vh) rotate(0deg) scale(1.2); }
    75% { transform: translate(20vw, -10vh) rotate(-45deg) scale(0.9); }
}

@keyframes float-clipboard {
    0%, 100% { transform: translate(0, 0) rotate(-10deg) scale(1); }
    33% { transform: translate(20vw, 10vh) rotate(15deg) scale(1.1); }
    66% { transform: translate(10vw, -20vh) rotate(-5deg) scale(0.9); }
}

@keyframes float-printer {
    0%, 100% { transform: translate(0, 0) rotate(5deg) scale(0.95); }
    33% { transform: translate(-20vw, -25vh) rotate(-10deg) scale(1.05); }
    66% { transform: translate(-10vw, 15vh) rotate(15deg) scale(1); }
}

@keyframes float-globe {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(15vw, -15vh) rotate(180deg) scale(0.8); }
    66% { transform: translate(-15vw, -15vh) rotate(360deg) scale(1.2); }
}

@media (max-width: 768px) {
    .lc-floating-icon {
        width: 24px;
        height: 24px;
        opacity: 0.06;
    }
    
    /* Redistribute icons across the full width on mobile */
    .lc-icon-barcode { top: 8%; left: 10%; }
    .lc-icon-qr { top: 15%; right: 12%; left: auto; }
    .lc-icon-box { top: 35%; right: 8%; left: auto; }
    .lc-icon-tag { bottom: 25%; left: 8%; }
    .lc-icon-scan { top: 55%; left: 15%; margin: 0; }
    .lc-icon-clipboard { bottom: 35%; right: 15%; left: auto; }
    .lc-icon-printer { top: 75%; right: 10%; left: auto; }
    .lc-icon-globe { bottom: 12%; left: 50%; margin-left: -12px; }
    
    /* Gentler animations on mobile - smaller movement range */
    @keyframes float-barcode {
        0%, 100% { transform: translate(0, 0) rotate(-10deg) scale(1); }
        33% { transform: translate(15px, 20px) rotate(15deg) scale(1.1); }
        66% { transform: translate(25px, 10px) rotate(-5deg) scale(0.95); }
    }

    @keyframes float-qr {
        0%, 100% { transform: translate(0, 0) rotate(10deg) scale(1); }
        33% { transform: translate(-15px, 15px) rotate(-15deg) scale(0.95); }
        66% { transform: translate(-20px, -10px) rotate(8deg) scale(1.05); }
    }
    
    @keyframes float-box {
        0%, 100% { transform: translate(0, 0) rotate(5deg) scale(1); }
        50% { transform: translate(-15px, 20px) rotate(-12deg) scale(1.05); }
    }

    @keyframes float-tag {
        0%, 100% { transform: translate(0, 0) rotate(-5deg) scale(1); }
        50% { transform: translate(20px, -15px) rotate(10deg) scale(0.95); }
    }
    
    @keyframes float-scan {
        0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
        50% { transform: translate(-10px, -15px) rotate(20deg) scale(1.05); }
    }

    @keyframes float-clipboard {
        0%, 100% { transform: translate(0, 0) rotate(-8deg) scale(1); }
        50% { transform: translate(15px, 12px) rotate(10deg) scale(0.95); }
    }

    @keyframes float-printer {
        0%, 100% { transform: translate(0, 0) rotate(5deg) scale(1); }
        50% { transform: translate(-12px, -18px) rotate(-8deg) scale(1.05); }
    }

    @keyframes float-globe {
        0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
        50% { transform: translate(10px, -10px) rotate(90deg) scale(0.95); }
    }
}

.lc-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.lc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.lc-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
}

.lc-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lc-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.lc-btn-primary {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.lc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 0 6px rgba(79, 70, 229, 0.2);
}

.lc-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

.lc-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.lc-trust-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 20px;
}

/* Features Section */
.lc-features {
    padding: 6rem 0;
    background: white;
}

.lc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.lc-feature-card {
    padding: 2rem;
    background: var(--bg-body);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.lc-feature-card:hover {
    background: white;
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.lc-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.lc-icon-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.lc-icon-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.lc-icon-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.lc-icon-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.lc-icon-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.lc-icon-green { background: linear-gradient(135deg, #22c55e, #16a34a); }

.lc-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.lc-feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Steps Section */
.lc-steps {
    padding: 6rem 0;
    background: var(--bg-body);
    position: relative;
}

.lc-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.lc-step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.lc-step-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-body);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lc-step-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.lc-step-icon .material-symbols-outlined {
    font-size: 3rem;
}

.lc-step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lc-step-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.lc-feature-list {
    list-style: none;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.lc-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.lc-feature-list li::before {
    content: 'check_circle';
    font-family: 'Material Symbols Outlined';
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Use Cases */
.lc-use-cases {
    padding: 6rem 0;
    background: white;
}

.lc-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.lc-use-case {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-body);
    transition: transform 0.3s;
}

.lc-use-case:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: var(--shadow-md);
}

.lc-use-case-icon {
    width: 4rem;
    height: 4rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
}

.lc-use-case h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lc-use-case p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* FAQ */
.lc-faq {
    padding: 6rem 0;
    background: var(--bg-body);
}

.lc-faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.lc-faq-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.lc-faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.lc-faq-question .material-symbols-outlined {
    color: var(--secondary);
}

.lc-faq-answer {
    color: var(--text-muted);
    margin-left: 2.5rem;
}

/* Final CTA */
.lc-final-cta {
    padding: 6rem 0;
    background: white;
}

.lc-cta-box {
    background: radial-gradient(circle at top right, #4f46e5, #4338ca);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.lc-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.lc-cta-box * {
    position: relative;
    z-index: 1;
}

.lc-cta-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(4px);
}

.lc-cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lc-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.lc-cta-box .lc-btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.lc-cta-box .lc-btn-primary:hover {
    background: white;
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.lc-cta-note a {
    color: white;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .lc-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .lc-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .lc-hero { padding: 6rem 0 4rem; }
    .lc-hero-title { font-size: 2.25rem; }
    .lc-hero-ctas { flex-direction: column; }
    .lc-btn-primary { width: 100%; justify-content: center; }
    
    .lc-cta-box { padding: 3rem 1.5rem; }
    .lc-cta-box h2 { font-size: 1.75rem; }
    .lc-trust-badges { flex-wrap: wrap; }
}


/* Scan Effect */
.lc-feature-icon, .lc-step-icon {
    position: relative;
    overflow: hidden;
}

.lc-feature-icon::after, .lc-step-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 20%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(-5deg);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.lc-feature-card:hover .lc-feature-icon::after,
.lc-step-card:hover .lc-step-icon::after {
    opacity: 1;
    animation: scan 1.5s ease-in-out infinite;
}

@keyframes scan {
    0% { top: -20%; }
    100% { top: 120%; }
}

/* ============================================
   Demo Canvas Section
   ============================================ */

.lc-demo {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, var(--bg-body) 0%, #eef2ff 50%, var(--bg-body) 100%);
    position: relative;
    overflow: hidden;
}

.lc-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.15), transparent);
}

.lc-demo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.lc-demo-header {
    text-align: center;
    max-width: 600px;
}

.lc-demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.12));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lc-demo-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lc-demo-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Canvas Container */
.lc-canvas-container {
    position: relative;
    width: 100%;
    max-width: 480px;
}

/* The Label Canvas */
#label-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: white;
    border-radius: 12px;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 8px 30px -4px rgba(79, 70, 229, 0.15),
        0 20px 50px -10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: default;
    touch-action: none;
}

/* Subtle grid pattern for label feel */
#label-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* Border accent */
#label-canvas::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10;
}

/* Canvas Elements */
.lc-canvas-element {
    position: absolute;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    z-index: 1;
}

.lc-canvas-element:hover {
    border-color: rgba(79, 70, 229, 0.3);
}

.lc-canvas-element.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    z-index: 5;
}

.lc-canvas-element:active {
    cursor: grabbing;
}

/* Element Content */
.lc-element-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

/* Barcode Element */
.lc-element-barcode {
    padding: 4px;
    background: white;
}

.lc-element-barcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Text Element */
.lc-element-text {
    padding: 4px 8px;
    background: white;
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Resize Handles */
.lc-resize-handles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.lc-canvas-element.selected .lc-resize-handles {
    opacity: 1;
}

.lc-resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 2px;
    pointer-events: auto;
    z-index: 10;
    transition: transform 0.1s ease, background 0.1s ease;
}

.lc-resize-handle:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Corner handles */
.lc-handle-nw { top: -5px; left: -5px; cursor: nwse-resize; }
.lc-handle-ne { top: -5px; right: -5px; cursor: nesw-resize; }
.lc-handle-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
.lc-handle-se { bottom: -5px; right: -5px; cursor: nwse-resize; }

/* Edge handles */
.lc-handle-n { top: -5px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.lc-handle-s { bottom: -5px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.lc-handle-e { right: -5px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.lc-handle-w { left: -5px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }

.lc-handle-n:hover, .lc-handle-s:hover { transform: translateX(-50%) scale(1.2); }
.lc-handle-e:hover, .lc-handle-w:hover { transform: translateY(-50%) scale(1.2); }

/* Demo Instructions */
.lc-demo-instructions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.lc-demo-instruction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
}

.lc-demo-instruction .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 640px) {
    .lc-demo {
        padding: 4rem 0 5rem;
    }
    
    .lc-demo-title {
        font-size: 1.6rem;
    }
    
    .lc-canvas-container {
        max-width: 100%;
    }
    
    #label-canvas {
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }
    
    .lc-demo-instructions {
        gap: 0.75rem;
    }
    
    .lc-demo-instruction {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .lc-resize-handle {
        width: 14px;
        height: 14px;
    }
    
    .lc-handle-nw { top: -7px; left: -7px; }
    .lc-handle-ne { top: -7px; right: -7px; }
    .lc-handle-sw { bottom: -7px; left: -7px; }
    .lc-handle-se { bottom: -7px; right: -7px; }
    .lc-handle-n { top: -7px; }
    .lc-handle-s { bottom: -7px; }
    .lc-handle-e { right: -7px; }
    .lc-handle-w { left: -7px; }
}

/* RTL Support */
[dir="rtl"] .lc-faq-answer {
    margin-left: 0;
    margin-right: 2.5rem;
}

[dir="rtl"] .lc-step-badge {
    right: auto;
    left: 1.5rem;
}

[dir="rtl"] .lc-handle-e { right: auto; left: -5px; }
[dir="rtl"] .lc-handle-w { left: auto; right: -5px; }

/* Language Switcher Styles (Imported from ZapCount) */
.lang-switcher {
    position: relative;
    margin-right: 1rem;
}
.lang-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1000;
    min-width: 160px;
    margin-top: 0.5rem;
}
.lang-dropdown.show {
    display: block;
}
[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}
.lang-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}
.lang-dropdown a:hover {
    background: var(--bg-body);
}
.lang-dropdown a.hidden {
    display: none;
}

/* Language Search Styles */
.lang-search-wrapper {
    position: relative;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.lang-search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-muted);
    pointer-events: none;
}
[dir="rtl"] .lang-search-icon {
    left: auto;
    right: 0.85rem;
}
.lang-search-input {
    width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--bg-body);
    color: var(--text-main);
    box-sizing: border-box;
}
[dir="rtl"] .lang-search-input {
    padding: 0.5rem 2rem 0.5rem 0.5rem;
}
.lang-search-input:focus {
    outline: none;
    border-color: var(--primary);
}
.lang-search-input::placeholder {
    color: var(--text-muted);
}
.lang-list {
    max-height: 400px;
    overflow-y: scroll;
}

/* Custom scrollbar for language list */
.lang-list::-webkit-scrollbar {
    width: 8px;
}
.lang-list::-webkit-scrollbar-track {
    background: transparent;
}
.lang-list::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 4px;
}
.lang-list::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-muted);
}
.lang-no-results {
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}
