/* ===== Variables ===== */
:root {
  --primary: #1677ff;
  --primary-dark: #0958d9;
  --primary-light: #e6f4ff;
  --accent: #722ed1;
  --accent-light: #f9f0ff;
  --text: #1a1a2e;
  --text-secondary: #5c5c7a;
  --text-muted: #8c8ca1;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-dark: #0d1117;
  --border: #e8ecf4;
  --shadow: 0 4px 24px rgba(22, 119, 255, 0.08);
  --shadow-lg: 0 12px 48px rgba(22, 119, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.logo-icon {
  width: 36px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
}

.nav-cta:hover { background: var(--primary-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 17, 23, 0.88) 0%, rgba(9, 88, 217, 0.75) 50%, rgba(22, 119, 255, 0.6) 100%),
    url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&q=80') center/cover no-repeat;
  z-index: -1;
}

.hero-content {
  color: #fff;
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.875rem;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 0.875rem;
  opacity: 0.75;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-head.light { color: #fff; }
.section-head.light p { color: rgba(255, 255, 255, 0.8); }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* ===== Services ===== */
.services { background: var(--bg-soft); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.service-icon.rental { background: var(--primary-light); }
.service-icon.warehouse { background: #e6fffb; }
.service-icon.mini { background: #fff7e6; }
.service-icon.franchise { background: var(--accent-light); }

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.service-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.link-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.link-more:hover { text-decoration: underline; }

/* ===== Rental ===== */
.rental-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rental-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.rental-text > p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.feature-list { display: flex; flex-direction: column; gap: 28px; }

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.feature-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.phone-mock {
  background: linear-gradient(145deg, #1a1a2e, #2d2d44);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  margin: 0 auto;
}

.phone-screen {
  background: #f5f6f8;
  border-radius: 28px;
  overflow: hidden;
}

.mock-header {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.mock-image {
  height: 160px;
  background: url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?w=600&q=80') center/cover;
}

.mock-info {
  padding: 16px;
}

.mock-info h4 { font-size: 1rem; margin-bottom: 6px; }
.mock-info p { font-size: 0.8125rem; color: var(--text-muted); }
.mock-price { color: #ff4d4f !important; font-weight: 700; font-size: 1rem !important; margin-top: 8px; }

.mock-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px 20px;
  font-size: 0.75rem;
}

.mock-actions span {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.mock-actions .primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  flex: 1.5;
}

/* ===== Warehouse ===== */
.warehouse-section {
  background: linear-gradient(160deg, #0d1117 0%, #1677ff 100%);
  color: #fff;
}

.warehouse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.wh-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background 0.3s;
}

.wh-card:hover { background: rgba(255, 255, 255, 0.14); }

.wh-icon { font-size: 2rem; margin-bottom: 16px; }

.wh-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.wh-card p {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.7;
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.flow-step span {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.25rem;
}

/* ===== Franchise ===== */
.franchise-section { background: var(--bg-soft); }

.franchise-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.franchise-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.franchise-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.franchise-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.benefit {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.benefit strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.benefit span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.req-title {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.req-list {
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.req-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.req-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.franchise-form-wrap {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.franchise-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.franchise-form h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.form-tip {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.franchise-form label {
  display: block;
  margin-bottom: 18px;
}

.franchise-form label span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.franchise-form input,
.franchise-form select,
.franchise-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.franchise-form input:focus,
.franchise-form select:focus,
.franchise-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.franchise-form button { margin-top: 8px; border: none; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success .icon { font-size: 3rem; margin-bottom: 16px; }

/* ===== About ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.value-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ===== Contact ===== */
.contact-section {
  background: linear-gradient(180deg, #0d1117 0%, #111827 100%);
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px 56px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
  max-width: 36em;
  line-height: 1.7;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 520px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.975rem;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list strong {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  width: auto;
  opacity: 1;
}

.contact-list span {
  color: rgba(255, 255, 255, 0.92);
  word-break: break-word;
}

.contact-qr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: max-content;
  max-width: 100%;
}

.qr-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.qr-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.qr-media {
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  flex-shrink: 0;
}

.qr-placeholder {
  width: 100%;
  height: 100%;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.qr-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.qr-meta {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}

.qr-box h4,
.qr-meta h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.qr-box p,
.qr-meta p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.4;
}

/* ===== Footer ===== */
.footer {
  background: #06080c;
  color: rgba(255, 255, 255, 0.5);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.footer-brand .logo-icon {
  width: 28px;
  height: 32px;
}

.footer-copy { font-size: 0.8125rem; }
.footer-copy a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.footer-copy a:hover { color: #fff; text-decoration: underline; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

/* ===== Animations ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr; }
  .warehouse-grid { grid-template-columns: repeat(2, 1fr); }
  .rental-layout,
  .franchise-layout,
  .about-layout { grid-template-columns: 1fr; }
  .franchise-form-wrap { position: static; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav a:last-child { border-bottom: none; }

  .menu-toggle { display: flex; }

  .section { padding: 64px 0; }
  .warehouse-grid { grid-template-columns: 1fr; }
  .franchise-benefits { grid-template-columns: 1fr; }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-qr {
    justify-self: start;
    width: 100%;
    max-width: 368px;
    grid-template-columns: 1fr 1fr;
  }
  .qr-box {
    width: auto;
  }
  .qr-media {
    width: 120px;
    height: 120px;
  }
  .flow-diagram { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}

/* ===== Help Center & Solutions ===== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.help-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.help-card h3 { margin-bottom: 16px; font-size: 20px; }
.help-card ol { padding-left: 20px; color: var(--text-secondary); }
.help-card ol li { margin-bottom: 8px; }
.help-card details { margin-bottom: 12px; color: var(--text-secondary); }
.help-card summary { cursor: pointer; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.help-card details p { padding-left: 4px; font-size: 14px; }
.solutions-section { background: var(--bg-soft); }

/* ===== Mini Warehouse ===== */
.mini-warehouse-section { background: linear-gradient(180deg, #fff9f5 0%, #fff 100%); }
.mini-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.mini-feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.mini-icon { font-size: 40px; margin-bottom: 12px; }
.mini-store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.mini-store-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.mini-store-card h4 { margin-bottom: 8px; font-size: 18px; }
.mini-store-card .city { color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.mini-store-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.mini-store-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mini-store-tags span {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fff7e6;
  color: #d46b08;
}
.mini-loading { text-align: center; color: var(--text-muted); grid-column: 1 / -1; }
.mini-cta { text-align: center; }
.mini-cta p { color: var(--text-secondary); margin-bottom: 16px; }

@media (max-width: 768px) {
  .mini-features, .mini-store-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .help-grid { grid-template-columns: 1fr; }
}
