/* ==========================================================================
   法便利 Corporate Site Stylesheet
   ========================================================================== */

/* Variables */
:root {
  --primary: #2B5AED;
  --primary-dark: #1A3B8F;
  --primary-light: #EBF1FE;
  --primary-hover: #1E4BD4;
  --accent: #00C9A7;
  --accent-light: #E6FAF6;
  --text: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --bg-secondary: #f7f8fc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
  --font: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
ul, ol { list-style: none; }

/* Container */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Section */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.section-header p { font-size: 1.125rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; line-height: 1.8; }
.section-label { display: inline-block; font-size: 0.875rem; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 4px 16px; border-radius: var(--radius-full); margin-bottom: 12px; letter-spacing: 0.05em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43,90,237,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-hover); border-color: var(--primary-hover); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); color: var(--primary); transform: translateY(-2px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all var(--transition); }
.header.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header-logo img { height: 36px; width: auto; }
.header-logo span { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.header:not(.scrolled) .header-logo span { color: var(--text); }
.header:not(.scrolled) .header-logo img { filter: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 16px; font-size: 0.9375rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: all var(--transition); }
.nav a:hover, .nav a.active { color: var(--primary); background: var(--primary-light); }
.header:not(.scrolled) .nav a { color: var(--text-secondary); }
.header:not(.scrolled) .nav a:hover, .header:not(.scrolled) .nav a.active { color: var(--primary); background: var(--primary-light); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 6px 0; transition: all var(--transition); border-radius: 2px; }
.header:not(.scrolled) .mobile-toggle span { background: var(--text); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 40%, #c7d2fe 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 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='%232B5AED' fill-opacity='0.04'%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"); }
.hero .container { position: relative; z-index: 1; display: flex; align-items: center; gap: 60px; }
.hero-content { max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(43,90,237,0.08); backdrop-filter: blur(8px); padding: 8px 20px; border-radius: var(--radius-full); font-size: 0.875rem; color: var(--primary); margin-bottom: 28px; border: 1px solid rgba(43,90,237,0.12); }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { font-size: 3.25rem; font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--primary); }
.hero p { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { flex-shrink: 0; position: relative; }
.hero-visual img { width: 240px; height: auto; border-radius: 28px; box-shadow: 0 12px 40px rgba(43,90,237,0.15); }
.hero-float-card { position: absolute; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); }
.hero-float-card.card-1 { top: -20px; right: -100px; }
.hero-float-card.card-2 { bottom: 30px; left: -100px; }
.hero-float-card .card-num { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.hero-float-card .card-label { font-size: 0.8125rem; color: var(--text-muted); }

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; transition: all var(--transition); position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform var(--transition); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.feature-icon.blue { background: var(--primary-light); color: var(--primary); }
.feature-icon.green { background: var(--accent-light); color: var(--accent); }
.feature-icon.purple { background: #f3e8ff; color: #7c3aed; }
.feature-icon.orange { background: #fff7ed; color: #ea580c; }
.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar { background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 100%); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item .stat-num { font-size: 2.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-item .stat-label { font-size: 0.9375rem; color: var(--text-secondary); margin-top: 8px; }

/* ==========================================================================
   Product Showcase (homepage sections)
   ========================================================================== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); height: 70vh; display: flex; align-items: center; justify-content: center; background: #f9fafb; }
.showcase-img img { height: 100%; width: auto; object-fit: contain; }

/* Phone Frame - Realistic Smartphone Mockup */
.phone-frame { position: relative; height: 50vh; max-height: 520px; min-height: 320px; border-radius: 40px; background: #1a1a1a; padding: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.08), inset 0 0 0 2px #2d2d2d; overflow: visible; display: flex; align-items: center; justify-content: center; }
.showcase .phone-frame, .product-detail .phone-frame, .about-intro .phone-frame { width: 100%; }
.phone-frame::before { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 72px; height: 22px; background: #000; border-radius: 11px; z-index: 3; box-shadow: inset 0 0 2px rgba(255,255,255,0.1); }
.phone-frame::after { content: ''; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 96px; height: 4px; background: rgba(255,255,255,0.25); border-radius: 2px; z-index: 3; }
.phone-frame img { height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 30px; }
.phone-frame .floating-card { z-index: 4; }
.showcase-content h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 16px; }
.showcase-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.showcase-list { display: flex; flex-direction: column; gap: 12px; }
.showcase-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; color: var(--text-secondary); }
.showcase-list li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-light); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300C9A7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; margin-top: 3px; }

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner { background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 50%, var(--primary-light) 100%); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 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='%232B5AED' fill-opacity='0.03'%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"); }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 2.25rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.cta-banner p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-qr { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-qr img { width: 160px; height: 160px; border-radius: var(--radius); border: 4px solid var(--border); }
.cta-qr span { font-size: 0.9375rem; color: var(--text-secondary); }

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.faq-item:hover { border-color: var(--primary); }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question { padding: 20px 24px; font-size: 1.0625rem; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color var(--transition); }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--primary); flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] .faq-question::after { content: '−'; }
.faq-item[open] .faq-question { color: var(--primary); }
.faq-answer { padding: 0 24px 20px; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.8; }

/* ==========================================================================
   About Page
   ========================================================================== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.about-intro p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-placeholder { border-radius: var(--radius); background: var(--bg-secondary); min-height: 320px; display: flex; align-items: center; justify-content: center; border: 2px dashed var(--border); }
.about-placeholder svg { opacity: 0.7; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.about-stat { text-align: center; padding: 20px; background: var(--bg-secondary); border-radius: var(--radius-sm); }
.about-stat .num { font-size: 1.75rem; font-weight: 700; color: var(--primary); }
.about-stat .label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 40px 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; }
.value-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.value-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* Team */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.team-card { width: 200px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 100%; height: 120px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar .placeholder { font-size: 3rem; color: var(--border); }
.team-info { padding: 16px; text-align: center; }
.team-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.team-info .role { font-size: 0.8125rem; color: var(--primary); font-weight: 500; margin-bottom: 6px; }
.team-info p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================================
   Products Page - Detail Sections
   ========================================================================== */
.product-section { padding: 80px 0; }
.product-section:nth-child(even) { background: var(--bg-secondary); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-detail.reverse .product-img { order: 2; }
.product-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); height: 70vh; display: flex; align-items: center; justify-content: center; background: #f9fafb; }
.product-img img { height: 100%; width: auto; object-fit: contain; }
.product-info h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 16px; }
.product-info .subtitle { font-size: 1rem; color: var(--primary); font-weight: 500; margin-bottom: 12px; }
.product-info p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.product-features { display: flex; flex-direction: column; gap: 14px; }
.product-feature { display: flex; align-items: flex-start; gap: 12px; }
.product-feature .pf-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.product-feature .pf-icon svg { width: 14px; height: 14px; stroke: var(--primary); fill: none; stroke-width: 2.5; }
.product-feature .pf-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }
.product-feature .pf-text strong { color: var(--text); }

/* Pricing highlight */
.pricing-highlight { background: linear-gradient(135deg, var(--primary-light), var(--accent-light)); border-radius: var(--radius); padding: 32px; margin-top: 24px; }
.pricing-highlight .price-tag { font-size: 2rem; font-weight: 800; color: var(--primary); }
.pricing-highlight .price-tag small { font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }
.pricing-highlight p { font-size: 0.9375rem; color: var(--text-secondary); margin-top: 8px; }

/* ==========================================================================
   News Section (iframe)
   ========================================================================== */
.news-iframe-wrapper { width: 100%; min-height: 800px; }
.news-iframe-wrapper iframe { width: 100%; min-height: 800px; border: none; }

/* Homepage news cards */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img { width: 100%; aspect-ratio: 16/9; background: var(--bg-secondary); overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px; }
.news-card-body .date { font-size: 0.8125rem; color: var(--text-muted); }
.news-card-body h3 { font-size: 1rem; font-weight: 600; margin: 8px 0; line-height: 1.5; }
.news-card-body h3 a { color: var(--text); }
.news-card-body h3 a:hover { color: var(--primary); }
.news-card-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { text-align: center; margin-top: 40px; }

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { text-align: center; padding: 40px 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; }
.contact-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.contact-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }
.contact-qr { text-align: center; padding: 60px 0; }
.contact-qr img { width: 200px; margin: 0 auto; border-radius: var(--radius); }
.contact-qr p { margin-top: 16px; font-size: 1rem; color: var(--text-secondary); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #1e293b; padding: 60px 0 30px; color: rgba(255,255,255,0.7); }
.footer .logo span { color: #fff; }
.footer .logo img { filter: brightness(0) invert(1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; margin-top: 16px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-brand .footer-logo img { height: 32px; filter: brightness(0) invert(1); }
.footer-brand .footer-logo span { font-size: 1.125rem; font-weight: 600; color: #fff; }
.footer h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.site-footer { background: #1e293b; padding: 60px 0 30px; color: rgba(255,255,255,0.7); }
.site-footer .logo span { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.site-footer .footer-col h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.site-footer .footer-col ul li { margin-bottom: 10px; }
.site-footer .footer-col ul li a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); }
.site-footer .footer-col ul li a:hover { color: #fff; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 0.8125rem; color: rgba(255,255,255,0.4); }

/* ==========================================================================
   Floating QR Widget (global)
   ========================================================================== */
.qr-float { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 900; background: #fff; border-radius: var(--radius-full); box-shadow: var(--shadow-lg); border: 3px solid var(--primary); padding: 10px; width: 64px; height: 64px; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 0; cursor: pointer; }
.qr-float:hover { width: 170px; height: auto; border-radius: var(--radius); padding: 14px; box-shadow: 0 14px 44px rgba(0,0,0,0.18); }
.qr-float img { width: 44px; height: 44px; border-radius: 6px; flex-shrink: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.qr-float:hover img { width: 140px; height: 140px; border-radius: var(--radius-sm); }
.qr-float span { display: none; }
.qr-float .qr-inner { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
@media (max-width: 768px) {
  .qr-float { right: 10px; }
  .qr-float:hover { width: 140px; }
  .qr-float:hover img { width: 110px; height: 110px; }
}

/* ==========================================================================
   Class Aliases (bridge HTML class names to CSS)
   ========================================================================== */
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 36px; width: auto; }
.logo span { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.header:not(.scrolled) .logo span { color: var(--text); }
.header:not(.scrolled) .logo img { filter: none; }
.header-solid .logo span { color: var(--text); }
.header-solid .logo img { filter: none; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 10px 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu-item a { padding: 8px 16px; font-size: 0.9375rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: all var(--transition); text-decoration: none; }
.menu-item a:hover, .menu-item a.active { color: var(--primary); background: var(--primary-light); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 60px; }
.hero-text { max-width: 800px; }
.hero-title { font-size: 3.25rem; font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 20px; }
.hero-desc { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.floating-card { position: absolute; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); }
.floating-card.card-1 { top: -20px; right: -100px; }
.floating-card.card-2 { bottom: 30px; left: -100px; }
.floating-card strong { display: block; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.floating-card span { font-size: 0.8125rem; color: var(--text-muted); }
.icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon.blue { background: var(--primary-light); color: var(--primary); }
.icon.green { background: var(--accent-light); color: var(--accent); }
.icon.purple { background: #f3e8ff; color: #7c3aed; }
.icon.orange { background: #fff7ed; color: #ea580c; }
.counter { font-size: 2.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-number { line-height: 1; }
.news-date { font-size: 0.8125rem; color: var(--text-muted); }
.footer-col h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li { font-size: 0.9375rem; color: rgba(255,255,255,0.6); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { border-radius: var(--radius); overflow: hidden; background: var(--bg-secondary); min-height: 300px; display: flex; align-items: center; justify-content: center; }
.about-image img { width: 100%; }

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .showcase, .product-detail, .about-intro, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase.reverse { direction: ltr; }
  .product-detail.reverse .product-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.75rem; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .stat-num { font-size: 2rem; }
  .team-grid { flex-direction: row; max-width: 100%; }
  .team-card { width: calc(50% - 12px); }
  .values-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav, .nav-list { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); flex-direction: column; align-items: center; justify-content: center; gap: 8px; z-index: 999; }
  .nav.open, .nav-list.open { display: flex; }
  .nav a, .nav-list a, .menu-item a { font-size: 1.125rem; padding: 12px 24px; color: var(--text) !important; }
  .nav a:hover, .nav a.active, .nav-list a:hover, .nav-list a.active, .menu-item a:hover, .menu-item a.active { background: var(--primary-light) !important; color: var(--primary) !important; }
  .mobile-toggle { display: block; z-index: 1001; }
  .cta-banner h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.625rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .team-card { width: calc(50% - 12px); }
}
