/* Lead Local 360 — Frontend Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --ll360-primary: #2539e8;
    --ll360-primary-rgb: 37,57,232;
    --ll360-bg: #ffffff;
    --ll360-fg: #121212;
    --ll360-card: #fafafa;
    --ll360-secondary: #f5f5f5;
    --ll360-muted: #737373;
    --ll360-border: #e5e5e5;
}

.ll360-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ll360-fg);
    background: var(--ll360-bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

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

.ll360-container {
    max-width: 32rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.ll360-text-center { text-align: center; }

/* HEADER */
.ll360-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ll360-border);
}

.ll360-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

.ll360-logo {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ll360-fg);
}

.ll360-logo-accent { color: var(--ll360-primary); }

.ll360-logo-img {
    height: 2rem;
    width: auto;
}

.ll360-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ll360-lang-switch {
    display: flex;
    background: var(--ll360-secondary);
    border-radius: 9999px;
    padding: 2px;
    font-size: 0.75rem;
    font-weight: 500;
}

.ll360-lang-btn {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--ll360-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
}

.ll360-lang-active {
    background: var(--ll360-fg);
    color: var(--ll360-bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ll360-menu-toggle {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--ll360-fg);
    transition: background 0.2s;
}
.ll360-menu-toggle:hover { background: var(--ll360-secondary); }
.ll360-menu-toggle svg { width: 1.25rem; height: 1.25rem; }

.ll360-mobile-nav {
    border-bottom: 1px solid var(--ll360-border);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    animation: ll360-slide-down 0.2s ease-out;
}

@keyframes ll360-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ll360-mobile-nav .ll360-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
}

.ll360-nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--ll360-fg);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}
.ll360-nav-link:hover { background: var(--ll360-secondary); }

.ll360-nav-cta {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    background: var(--ll360-primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

/* BUTTONS */
.ll360-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.25;
}

.ll360-btn-primary {
    background: var(--ll360-primary);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(var(--ll360-primary-rgb), 0.25);
}
.ll360-btn-primary:hover {
    box-shadow: 0 20px 25px -5px rgba(var(--ll360-primary-rgb), 0.3);
    transform: translateY(-1px);
}

.ll360-btn-outline {
    background: transparent;
    color: var(--ll360-fg);
    border: 1px solid var(--ll360-border);
    font-weight: 500;
}
.ll360-btn-outline:hover { background: var(--ll360-secondary); }

.ll360-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    flex: 1;
}

.ll360-btn-full { width: 100%; height: 3rem; font-size: 0.875rem; }

/* HERO */
.ll360-hero {
    padding: 3rem 0 2.5rem;
}

.ll360-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(var(--ll360-primary-rgb), 0.1);
    color: var(--ll360-primary);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ll360-headline {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--ll360-fg);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .ll360-headline { font-size: 2.25rem; }
}

.ll360-subheadline {
    color: var(--ll360-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
}

.ll360-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .ll360-hero-buttons { flex-direction: row; }
}

.ll360-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--ll360-muted);
}

.ll360-trust-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ll360-star-icon { color: var(--ll360-primary); }

.ll360-trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ll360-border);
}

/* CATEGORIES */
.ll360-section { padding-bottom: 1rem; }

.ll360-categories {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.ll360-categories::-webkit-scrollbar {
    height: 4px;
}
.ll360-categories::-webkit-scrollbar-track {
    background: var(--ll360-card);
    border-radius: 4px;
}
.ll360-categories::-webkit-scrollbar-thumb {
    background: var(--ll360-border);
    border-radius: 4px;
}
.ll360-categories::-webkit-scrollbar-thumb:hover {
    background: var(--ll360-muted);
}

.ll360-cat-btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    background: var(--ll360-secondary);
    color: var(--ll360-muted);
    transition: all 0.2s;
    flex-shrink: 0;
    font-family: inherit;
}
.ll360-cat-btn:hover { background: #ebebeb; }

.ll360-cat-active {
    background: var(--ll360-fg);
    color: var(--ll360-bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* TOURS */
.ll360-tours-section { padding-bottom: 3rem; }

.ll360-tours-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ll360-card {
    border: 1px solid var(--ll360-border);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--ll360-bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}
.ll360-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }

.ll360-card-embed {
    aspect-ratio: 16/9;
    background: var(--ll360-secondary);
    overflow: hidden;
}
.ll360-card-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ll360-card-body { padding: 1rem; }

.ll360-card-title {
    font-weight: 600;
    color: var(--ll360-fg);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.ll360-card-badge {
    display: inline-block;
    background: var(--ll360-secondary);
    color: var(--ll360-fg);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.25rem;
}

.ll360-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* CONVERSION */
.ll360-conversion {
    background: var(--ll360-fg);
    color: var(--ll360-bg);
    padding: 4rem 0;
}

.ll360-conversion-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .ll360-conversion-title { font-size: 1.875rem; }
}

.ll360-conversion-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

.ll360-conversion-sub {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    margin-top: 0.75rem;
}

/* FOOTER */
.ll360-footer { padding: 2rem 0; }

.ll360-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ll360-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--ll360-secondary);
    color: var(--ll360-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.ll360-social-icon:hover {
    color: var(--ll360-primary);
    background: rgba(var(--ll360-primary-rgb), 0.1);
}

.ll360-footer-text {
    font-size: 0.75rem;
    color: var(--ll360-muted);
}

/* STICKY CTA */
.ll360-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 0.75rem;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--ll360-border);
}

/* Hide card when filtered out */
.ll360-card-hidden { display: none !important; }

@keyframes ll360-fade-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}