:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --page-bg: #ffffff;
  --text-color: #111827;
  --text-muted: #6b7280;
  --accent-color: #667eea;
  --accent-dark: #5a67d8;
  --accent-light: #a5b4fc;
  --surface-color: #ffffff;
  --surface-border: #e5e7eb;
  --surface-hover: #f9fafb;
  --success: #10b981;
  --error: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--page-bg);
  color: var(--text-color);
  font-family: var(--font-family);
}

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

#app {
  min-height: 100vh;
}

.lp-node {
  position: relative;
}

.lp-column,
.lp-row,
.lp-scroll-row {
  display: flex;
  width: 100%;
}

.lp-column {
  flex-direction: column;
}

.lp-row {
  flex-direction: row;
}

.lp-grid {
  display: grid;
  width: 100%;
}

.lp-photo-card {
  position: relative;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.lp-overlay,
.lp-absolute {
  position: absolute;
  inset: 0;
}

.lp-overlay {
  pointer-events: none;
}

.lp-scroll-row {
  overflow-x: auto;
}

.lp-scroll-row::-webkit-scrollbar {
  display: none;
}

.lp-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.lp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.lp-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid currentColor;
}

.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  border: none;
  outline: none;
}

.lp-button:hover {
  opacity: 0.9;
}

.lp-button:active {
  transform: scale(0.98);
}

.lp-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: var(--font-family);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface-color);
  color: var(--text-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.lp-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lp-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  width: 100%;
}

.lp-navbar-logo {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.5px;
}

.lp-navbar-link {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.lp-navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.2s ease;
}

.lp-navbar-link:hover,
.lp-navbar-link.active {
  color: var(--accent-color);
}

.lp-navbar-link:hover::after,
.lp-navbar-link.active::after {
  width: 100%;
}

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

.lp-footer {
  background: #111827;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.lp-footer-column a {
  display: block;
  color: #9ca3af;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.lp-footer-column a:hover {
  color: #ffffff;
}

.lp-footer-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.lp-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1f2937;
  text-align: center;
}

.lp-footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.lp-footer-desc {
  font-size: 14px;
  color: #9ca3af;
}

.lp-footer-copyright {
  font-size: 13px;
  color: #6b7280;
}

.widget-iframe {
  border: none !important;
  outline: none !important;
  background: transparent !important;
}

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

  .lp-mobile-hamburger {
    display: block !important;
  }

  .lp-navbar-inner {
    padding: 12px 16px;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.lp-image {
  display: block;
}

.lp-icon,
.lp-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.lp-empty {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lp-empty-card {
  max-width: 720px;
  background: #111827;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 32px;
}

.unknown-component {
  padding: 12px 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  color: #475569;
}

.widget-host {
  width: 100%;
  margin: 0;
}

.widget-iframe {
  width: 100%;
  min-height: 400px;
  background: #f8fafc;
  border: 0;
  border-radius: 16px;
  display: block;
}

.widget-error {
  padding: 20px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
  color: #9a3412;
  text-align: center;
}

.lp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lp-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  width: 100%;
}

.lp-navbar-logo {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.5px;
}

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

.lp-navbar-link {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.lp-navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.2s ease;
}

.lp-navbar-link:hover,
.lp-navbar-link.active {
  color: var(--accent-color);
}

.lp-navbar-link:hover::after,
.lp-navbar-link.active::after {
  width: 100%;
}

.lp-mobile-hamburger {
  display: none;
  background: none;
  border: none;
  color: #111827;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

.desktop-only {
  display: flex;
}

.lp-accordion-item {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.lp-accordion-trigger {
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.lp-accordion-panel {
  padding: 0 18px 18px;
  display: none;
}

.lp-accordion-item.is-open .lp-accordion-panel {
  display: block;
}

.lp-virtual-grid {
  overflow-y: auto;
  position: relative;
}

.lp-virtual-grid-window {
  display: grid;
  gap: inherit;
}

.fatal-error {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.fatal-error-card {
  max-width: 480px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #991b1b;
}

.component-error {
  padding: 16px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  color: #92400e;
}

@media (max-width: 768px) {
  .mobile-hamburger {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .lp-navbar {
    padding: 14px 16px;
  }

  .lp-navbar-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: #0f172a;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    transition: left 0.3s ease;
    z-index: 100;
    overflow-y: auto;
  }

  .lp-navbar-links.open {
    left: 0;
  }

  .lp-navbar-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .lp-navbar-actions-mobile .lp-button {
    width: 100%;
  }
}