/* Lumilana - Responsive Pure HTML Styles (Html2) */

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

:root {
  /* 新配色方案 */
  --primary: #00B4D8;
  --accent: #0077B6;
  --secondary: #90E0EF;
  --text-title: #03045E;
  --text-body: #4A4A68;
  --bg-light: #F0FCFF;
  --border-color: #CAF0F8;
  
  /* 保留的颜色变量 */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-600: #4A4A68;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #03045E;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    sans-serif;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
}

::selection {
  background: var(--primary-blue);
  color: var(--white);
}

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

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
}

/* Common section */
section {
  padding: 80px 0;
}

section[id],
.panel[id] {
  scroll-margin-top: 95px;
}

/* Section surface (轻背景，用于增强留白感) */
.section-surface {
  background: var(--gray-50);
}

.page-hero {
  padding-top: 120px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.08) 0%, rgba(144, 224, 239, 0.12) 100%);
  color: var(--text-title);
  text-align: center;
}

.is-hidden {
  display: none !important;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--text-title);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-body);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* Hero */
.hero {
  padding-top: 120px;
  padding-bottom: 70px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.12) 0%, rgba(144, 224, 239, 0.15) 100%);
  color: var(--text-title);
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  max-width: 980px;
  margin: 0 auto 18px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 860px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* Cards / grids */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
  border: 1px solid var(--border-color);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: none;
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
}

.muted {
  color: var(--text-body);
}

.pill {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pill-orange {
  background: var(--secondary);
  color: var(--text-title);
}

/* Features */
.features {
  background: var(--gray-50);
}

.feature-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-title);
}

.card p {
  color: var(--text-body);
}

/* Services */
.service-card {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 36px 26px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 14px;
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 8px 0;
  color: var(--text-body);
  position: relative;
  padding-left: 22px;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--primary);
  font-weight: 900;
}

/* Packages */
.package-card {
  text-align: center;
  padding: 44px 26px;
}

.package-card.featured {
  border: 3px solid var(--primary);
}

.package-name {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.package-period {
  color: var(--text-body);
  font-weight: 800;
  margin-bottom: 18px;
}

.package-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: 18px;
}

.package-features {
  list-style: none;
  text-align: left;
  margin: 20px 0 28px;
}

.package-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
  display: flex;
  gap: 10px;
}

.package-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}

.package-cta {
  width: 100%;
  text-align: center;
}

/* Comparison table */
.comparison-wrap {
  background: var(--bg-light);
  padding: 50px 0;
}

.comparison-table {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 18px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: var(--primary);
  color: var(--white);
  font-size: 15px;
}

td {
  color: var(--text-body);
  font-weight: 600;
}

.check {
  color: #10B981;
  font-weight: 900;
}

.dash {
  color: var(--gray-300);
  font-weight: 900;
}

/* Lead magnets / diagnosis */
.diagnosis-cards .card {
  padding: 34px 22px;
  cursor: pointer;
  background: var(--white);
}

.diagnosis-cards .card:hover {
  transform: none;
}

.diagnosis-icon {
  font-size: 44px;
  margin-bottom: 12px;
}

.card .small-title {
  margin-top: 6px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-body);
  font-weight: 900;
}

.diagnosis-form-wrap {
  margin-top: 26px;
}

.panel {
  background: var(--bg-light);
  padding: 40px 0;
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
}

form {
  margin-top: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .span-2 {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 800;
  color: var(--text-title);
  font-size: 14px;
}

.req {
  color: #EF4444;
  font-weight: 900;
  margin-left: 4px;
}

.form-control,
textarea,
select {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 15px;
  background: var(--white);
  transition: border-color 0.2s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-control:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-actions {
  margin-top: 16px;
}

.form-success {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
  display: none;
}

/* Cases / filters */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--border-color);
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
  color: var(--text-body);
  transition: all 0.2s ease;
  font-size: 14px;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.case-structure {
  margin-top: 14px;
  padding: 16px 14px;
  border-radius: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.case-structure .line {
  display: block;
  margin: 8px 0;
  color: var(--text-body);
  font-weight: 600;
  font-size: 14px;
}

.case-structure .label {
  color: var(--text-body);
  font-weight: 900;
  margin-right: 8px;
}

.case-meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--text-title);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.tag-orange {
  background: var(--secondary);
  border-color: var(--primary);
  color: var(--text-title);
}

/* Blog */
.blog-grid .blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-image {
  height: 120px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 44px;
}

.blog-body {
  padding: 22px 18px;
}

.blog-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--text-title);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.blog-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-body);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 20px;
  font-weight: 950;
  color: var(--text-title);
  margin-bottom: 10px;
}

.blog-desc {
  color: var(--text-body);
}

.blog-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.blog-read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
}

/* Resources / Live / Paid sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.section-surface {
  background: var(--bg-light);
}

.embed {
  width: 100%;
  border: 0;
  border-radius: 12px;
  height: 280px;
  background: var(--bg-light);
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  margin-bottom: 14px;
}

.faq-question {
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-weight: 950;
  color: var(--text-title);
  background: var(--white);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  font-weight: 900;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--text-body);
  line-height: 1.9;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.footer {
  background: var(--bg-light);
  color: var(--text-body);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h4 {
  color: var(--text-title);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 700;
  font-size: 14px;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-body);
  padding: 28px 20px 0;
  border-top: 1px solid var(--border-color);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 999;
  font-weight: 950;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

@media (max-width: 980px) {
  .nav-links {
    gap: 12px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px 16px;
    border-top: 1px solid var(--gray-200);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    gap: 10px;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 32px;
  }

  section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 16px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .span-2 {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hero p {
    font-size: 15px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* Fix: correct selection pseudo (避免样式被无效选择器影响) */
::selection {
  background: var(--primary);
  color: var(--white);
}

