/* Linglingqi B2B - Main Stylesheet */

:root {
	--llq-primary: #2563EB;
	--llq-secondary: #1E40AF;
	--llq-accent: #F59E0B;
	--llq-text: #1F2937;
	--llq-light: #F9FAFB;
	--llq-border: #E5E7EB;
	--llq-white: #FFFFFF;
	--llq-radius: 8px;
	--llq-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
	--llq-shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
	--llq-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: var(--llq-text);
	line-height: 1.6;
	background: var(--llq-background, var(--llq-white));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--llq-primary); text-decoration: none; transition: var(--llq-transition); }
a:hover { color: var(--llq-secondary); }

/* Container */
.llq-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.llq-header {
	background: var(--llq-white);
	box-shadow: var(--llq-shadow);
	position: sticky;
	top: 0;
	z-index: 1000;
}
.llq-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
	gap: 30px;
}
.llq-site-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--llq-primary);
}
.llq-nav-menu {
	display: flex;
	list-style: none;
	gap: 25px;
}
.llq-nav-menu a {
	color: var(--llq-text);
	font-weight: 500;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
}
.llq-nav-menu a:hover,
.llq-nav-menu .current-menu-item a {
	color: var(--llq-primary);
	border-bottom-color: var(--llq-primary);
}
.llq-header-actions { display: flex; align-items: center; gap: 15px; }

/* Mobile Toggle */
.llq-mobile-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}
.llq-mobile-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background: var(--llq-text);
	margin: 5px 0;
	border-radius: 2px;
	transition: var(--llq-transition);
}

/* Buttons */
.llq-btn {
	display: inline-block;
	padding: 12px 28px;
	border: 2px solid transparent;
	border-radius: var(--llq-radius);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--llq-transition);
	text-align: center;
}
.llq-btn-primary {
	background: var(--llq-primary);
	color: var(--llq-white);
	border-color: var(--llq-primary);
}
.llq-btn-primary:hover {
	background: var(--llq-secondary);
	border-color: var(--llq-secondary);
	color: var(--llq-white);
}
.llq-btn-lg { padding: 16px 36px; font-size: 1.125rem; }
.llq-btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* Hero */
.llq-hero {
	background: linear-gradient(135deg, var(--llq-primary), var(--llq-secondary));
	background-size: cover;
	background-position: center;
	color: var(--llq-white);
	padding: 100px 0;
	text-align: center;
}
.llq-hero-overlay {
	position: relative;
}
.llq-hero-overlay::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.4);
}
/* 主视觉对齐（模板包 hero.align，B2a）：左/居中/右由区块属性决定 */
.llq-hero.llq-hero-align-left .llq-hero-content { margin-right: auto; text-align: left; }
.llq-hero.llq-hero-align-center .llq-hero-content { margin-left: auto; margin-right: auto; text-align: center; }
.llq-hero.llq-hero-align-right .llq-hero-content { margin-left: auto; text-align: right; }

.llq-hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}
.llq-hero-title {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 20px;
	line-height: 1.2;
}
.llq-hero-subtitle {
	font-size: 1.25rem;
	margin-bottom: 35px;
	opacity: 0.9;
}

/* Product Grid */
.llq-product-grid {
	display: grid;
	gap: 30px;
	margin: 40px 0;
}
.llq-columns-2 { grid-template-columns: repeat(2, 1fr); }
.llq-columns-3 { grid-template-columns: repeat(3, 1fr); }
.llq-columns-4 { grid-template-columns: repeat(4, 1fr); }

.llq-product-card {
	background: var(--llq-white);
	border-radius: var(--llq-radius);
	overflow: hidden;
	box-shadow: var(--llq-shadow);
	transition: var(--llq-transition);
}
.llq-product-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--llq-shadow-lg);
}
.llq-product-card-link { display: block; color: inherit; }
.llq-product-card-image {
	height: 220px;
	overflow: hidden;
	background: var(--llq-light);
}
.llq-product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--llq-transition);
}
.llq-product-card:hover .llq-product-card-image img {
	transform: scale(1.05);
}
.llq-product-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9CA3AF;
	font-size: 0.875rem;
}
.llq-product-card-body { padding: 20px; }
.llq-product-card-title {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--llq-text);
}
.llq-product-card-excerpt {
	color: #6B7280;
	font-size: 0.875rem;
	margin-bottom: 12px;
}
.llq-product-card-cta {
	color: var(--llq-primary);
	font-weight: 600;
	font-size: 0.875rem;
}

/* Product Detail */
.llq-product-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	margin: 40px 0;
}
.llq-product-image-main {
	border-radius: var(--llq-radius);
	overflow: hidden;
	box-shadow: var(--llq-shadow-lg);
}
.llq-product-info h1 {
	font-size: 2rem;
	margin-bottom: 15px;
}
.llq-specs-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}
.llq-specs-table th,
.llq-specs-table td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid var(--llq-border);
}
.llq-specs-table th {
	background: var(--llq-light);
	font-weight: 600;
	width: 35%;
}
.llq-product-inquiry-cta { margin: 30px 0; }

/* Gallery */
.llq-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-top: 15px;
}
.llq-gallery-item {
	border-radius: var(--llq-radius);
	overflow: hidden;
	aspect-ratio: 1;
}
.llq-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
	transition: var(--llq-transition);
}
.llq-gallery-item img:hover { opacity: 0.85; }

/* Inquiry Form */
.llq-inquiry-form-wrapper {
	background: var(--llq-light);
	padding: 40px;
	border-radius: var(--llq-radius);
	margin: 40px 0;
}
.llq-form-row {
	margin-bottom: 20px;
}
/* Honeypot: present in the DOM for bots, never visible or focusable for people. */
.llq-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.llq-form-row label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}
.llq-form-row input,
.llq-form-row textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--llq-border);
	border-radius: var(--llq-radius);
	font-size: 1rem;
	transition: var(--llq-transition);
}
.llq-form-row input:focus,
.llq-form-row textarea:focus {
	outline: none;
	border-color: var(--llq-primary);
	box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.llq-form-status {
	margin-top: 15px;
	padding: 12px;
	border-radius: var(--llq-radius);
	display: none;
}
.llq-form-status.success {
	display: block;
	background: #D1FAE5;
	color: #065F46;
}
.llq-form-status.error {
	display: block;
	background: #FEE2E2;
	color: #991B1B;
}

/* Advantages */
.llq-advantages { padding: 60px 0; }
.llq-advantages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}
.llq-advantage-item {
	text-align: center;
	padding: 30px 20px;
}
.llq-advantage-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 15px;
	background: var(--llq-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
}

/* Sections */
.llq-section {
	padding: 60px 0;
}
.llq-section-alt {
	background: var(--llq-light);
}
.llq-section-title {
	font-size: 2rem;
	text-align: center;
	margin-bottom: 40px;
	color: var(--llq-text);
}
.llq-section-subtitle {
	text-align: center;
	color: #6B7280;
	max-width: 600px;
	margin: -30px auto 40px;
}

/* Breadcrumbs */
.llq-breadcrumbs {
	padding: 15px 0;
	font-size: 0.875rem;
}
.llq-breadcrumb-list {
	display: flex;
	list-style: none;
	flex-wrap: wrap;
	gap: 5px;
}
.llq-breadcrumb-sep { color: #9CA3AF; }
.llq-breadcrumb-item a { color: var(--llq-primary); }

/* Footer */
.llq-footer {
	background: #1F2937;
	color: #D1D5DB;
	padding: 60px 0 0;
}
.llq-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}
.llq-footer h4 {
	color: var(--llq-white);
	font-size: 1.125rem;
	margin-bottom: 20px;
}
.llq-footer a { color: #9CA3AF; }
.llq-footer a:hover { color: var(--llq-white); }
.llq-footer-menu { list-style: none; }
.llq-footer-menu li { margin-bottom: 10px; }
.llq-footer-bottom {
	border-top: 1px solid #374151;
	padding: 20px 0;
	text-align: center;
	font-size: 0.875rem;
}

/* Page Content */
.llq-page-content {
	max-width: 800px;
	margin: 40px auto;
	padding: 0 20px;
}
.llq-page-content h2 { margin: 30px 0 15px; font-size: 1.5rem; }
.llq-page-content h3 { margin: 25px 0 12px; font-size: 1.25rem; }
.llq-page-content p { margin-bottom: 15px; }
.llq-page-content ul, .llq-page-content ol { margin: 15px 0 15px 25px; }
.llq-page-content li { margin-bottom: 8px; }

/* FAQ */
.llq-faq-item {
	border: 1px solid var(--llq-border);
	border-radius: var(--llq-radius);
	margin-bottom: 15px;
	overflow: hidden;
}
.llq-faq-question {
	padding: 20px;
	background: var(--llq-light);
	cursor: pointer;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.llq-faq-answer {
	padding: 20px;
	display: none;
}
.llq-faq-item.active .llq-faq-answer {
	display: block;
}

/* Responsive */
@media (max-width: 768px) {
	.llq-nav { display: none; }
	.llq-mobile-toggle { display: block; }
	.llq-nav.active {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--llq-white);
		box-shadow: var(--llq-shadow-lg);
		padding: 20px;
	}
	.llq-nav.active .llq-nav-menu {
		flex-direction: column;
		gap: 10px;
	}
	.llq-hero-title { font-size: 2rem; }
	.llq-product-grid { grid-template-columns: 1fr; }
	.llq-product-detail { grid-template-columns: 1fr; }
	.llq-footer-grid { grid-template-columns: 1fr; }
	.llq-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.llq-columns-2, .llq-columns-3, .llq-columns-4 { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
	.llq-columns-4 { grid-template-columns: repeat(3, 1fr); }
	.llq-product-grid { grid-template-columns: repeat(2, 1fr); }
}
