/* Typography-first Mint Minimalism Style System */
:root {
  --color-white: #FFFFFF;
  --color-bottle-green: #214E43;
  --color-soft-mint: #C9E7D6;
  --color-warm-charcoal: #303A35;
  --color-border: rgba(33, 78, 67, 0.18);
  --color-border-subtle: rgba(48, 58, 53, 0.1);
  --color-mint-stripe: #C9E7D6;

  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  
  --site-max-width: 1200px;
  --container-px: 24px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-white);
  color: var(--color-warm-charcoal);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-warm-charcoal);
  background-color: var(--color-white);
  overflow-x: hidden;
  max-width: 100vw;
  word-break: break-word;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-bottle-green);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: 68px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

h2 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 20px;
}

h3 {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 14px;
}

h4 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-bottle-green);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  text-decoration-color: var(--color-bottle-green);
  opacity: 0.85;
}

/* Restrained Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-bottle-green);
  color: var(--color-white);
  border: 1px solid var(--color-bottle-green);
}

.btn-primary:hover {
  background-color: #16362e;
  border-color: #16362e;
  color: var(--color-white);
  opacity: 1;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-bottle-green);
  border: 1px solid var(--color-bottle-green);
}

.btn-outline:hover {
  background-color: var(--color-soft-mint);
  color: var(--color-bottle-green);
  opacity: 1;
}

/* Layout Container */
.container {
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-rule {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* Section Label with transition */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-bottle-green);
  background-color: var(--color-soft-mint);
  padding: 4px 12px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  transition: letter-spacing 0.3s ease;
}

.section-label:hover {
  letter-spacing: 0.12em;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.brand-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-bottle-green);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  font-size: 12px;
  font-weight: 600;
  background-color: var(--color-soft-mint);
  color: var(--color-bottle-green);
  padding: 2px 8px;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-warm-charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-bottle-green);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-bottle-green);
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 24px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-bottle-green);
  text-decoration: none;
}

/* Hero Section */
.hero {
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-warm-charcoal);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}

.hero-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 20px;
  font-size: 14px;
  color: var(--color-warm-charcoal);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-bottle-green);
  display: inline-block;
}

/* Network Dashboard Diagram (Thin lines + Oversized Region Text) */
.network-dashboard {
  border: 1px solid var(--color-border);
  padding: 32px;
  background-color: #FAFCFB;
  position: relative;
}

.dashboard-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.dashboard-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-bottle-green);
}

.dashboard-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-bottle-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-bottle-green);
  border-radius: 50%;
  animation: routePulse 2s infinite ease-in-out;
}

@keyframes routePulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.region-card {
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 16px;
}

.region-code {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-bottle-green);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.region-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-warm-charcoal);
  margin-bottom: 4px;
}

.region-spec {
  font-size: 12px;
  color: rgba(48, 58, 53, 0.7);
}

.dashboard-line-svg {
  width: 100%;
  height: 60px;
  margin-top: 16px;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 12px;
}

.dashboard-note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(48, 58, 53, 0.7);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Advantages Section: Large statements separated by rules */
.advantages-list {
  display: flex;
  flex-direction: column;
}

.advantage-item {
  border-top: 1px solid var(--color-border);
  padding-top: 36px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: 100px 1fr 1.4fr;
  gap: 32px;
  align-items: baseline;
}

.advantage-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.advantage-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-bottle-green);
}

.advantage-headline {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-bottle-green);
}

.advantage-desc {
  font-size: 17px;
  color: var(--color-warm-charcoal);
  margin-bottom: 0;
}

/* Global Nodes: Open Two-Column List */
.nodes-section-header {
  margin-bottom: 48px;
}

.nodes-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  row-gap: 0;
}

.node-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.node-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.node-tag {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-bottle-green);
  min-width: 44px;
}

.node-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-warm-charcoal);
}

.node-purpose {
  font-size: 14px;
  color: rgba(48, 58, 53, 0.7);
  text-align: right;
}

/* AI and Streaming: Alternating Text & Diagram */
.scenario-block {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid var(--color-border);
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.scenario-grid.reverse {
  direction: rtl;
}

.scenario-grid.reverse > * {
  direction: ltr;
}

.scenario-diagram {
  border: 1px solid var(--color-border);
  padding: 32px;
  background-color: #FAFCFB;
}

.task-list {
  list-style: none;
  margin-top: 20px;
}

.task-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.task-item:last-child {
  border-bottom: none;
}

.task-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-bottle-green);
}

.task-desc {
  font-size: 14px;
  color: var(--color-warm-charcoal);
  margin-bottom: 0;
}

/* Pricing: Minimal Bordered Rows */
.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 32px;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
  border-top: 1px solid var(--color-bottle-green);
  border-bottom: 1px solid var(--color-bottle-green);
}

.pricing-table th, .pricing-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: 15px;
  vertical-align: middle;
}

.pricing-table th {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-bottle-green);
  font-weight: 700;
  background-color: #FAFCFB;
  white-space: nowrap;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-bottle-green);
  white-space: nowrap;
}

.pricing-tag {
  display: inline-block;
  font-size: 12px;
  background-color: var(--color-soft-mint);
  color: var(--color-bottle-green);
  padding: 2px 8px;
  margin-left: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-price {
  font-weight: 700;
  color: var(--color-bottle-green);
  white-space: nowrap;
}

.pricing-traffic {
  white-space: nowrap;
  font-weight: 600;
}

.placeholder-pill {
  display: inline-block;
  font-size: 12px;
  background-color: #f1f3f2;
  color: #606864;
  padding: 2px 8px;
  border: 1px dashed rgba(48, 58, 53, 0.3);
}

/* SEO Articles Grid: 3 desktop / 2 tablet / 1 mobile */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.article-card {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--color-mint-stripe);
  padding-top: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.article-category {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-bottle-green);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-bottle-green);
  line-height: 1.35;
  margin-bottom: 12px;
  text-decoration: none;
}

.article-card:hover .article-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-warm-charcoal);
  margin-bottom: 16px;
  flex-grow: 1;
}

.article-meta {
  font-size: 13px;
  color: rgba(48, 58, 53, 0.6);
  display: flex;
  justify-content: space-between;
}

/* Testimonials: 3-6 Real or Sample */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.testimonial-item {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.testimonial-sample-badge {
  font-size: 11px;
  font-weight: 600;
  background-color: #f1f3f2;
  color: #606864;
  padding: 2px 6px;
  display: inline-block;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-warm-charcoal);
  margin-bottom: 16px;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-bottle-green);
}

.testimonial-role {
  font-size: 13px;
  color: rgba(48, 58, 53, 0.6);
}

/* FAQ Accordion */
.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-bottle-green);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #16362e;
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-warm-charcoal);
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 64px;
  padding-bottom: 48px;
  background-color: #FAFCFB;
  margin-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(48, 58, 53, 0.8);
  margin-top: 12px;
  max-width: 320px;
}

.footer-group-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-bottle-green);
  margin-bottom: 16px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a {
  font-size: 14px;
  color: var(--color-warm-charcoal);
  text-decoration: none;
}

.footer-link-list a:hover {
  color: var(--color-bottle-green);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(48, 58, 53, 0.6);
  gap: 16px;
}

/* Article & Content Page Layout */
.page-hero {
  padding-top: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  color: rgba(48, 58, 53, 0.6);
}

.breadcrumb-nav a {
  color: var(--color-bottle-green);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.article-content {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 48px;
  padding-bottom: 64px;
}

.article-content h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 8px;
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 14px;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-box-notice {
  border-left: 4px solid var(--color-bottle-green);
  background-color: #FAFCFB;
  padding: 18px 24px;
  margin: 28px 0;
  font-size: 16px;
}

.related-articles-section {
  border-top: 1px solid var(--color-border);
  padding-top: 48px;
  margin-top: 64px;
}

.related-links-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.related-link-card {
  border: 1px solid var(--color-border-subtle);
  padding: 16px;
  text-decoration: none;
}

.related-link-card:hover {
  border-color: var(--color-bottle-green);
  background-color: #FAFCFB;
}

.related-link-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-bottle-green);
  margin-bottom: 6px;
}

.related-link-desc {
  font-size: 13px;
  color: rgba(48, 58, 53, 0.7);
  margin-bottom: 0;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Breakpoints: 1024px (Tablet Landscape), 768px (Tablet), 430px, 390px, 375px (Mobile) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .advantages-list .advantage-item {
    grid-template-columns: 80px 1fr;
    gap: 20px;
  }

  .advantages-list .advantage-desc {
    grid-column: 2 / 3;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 18px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .nav-desktop, .header-cta-group .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nodes-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .scenario-grid, .scenario-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 36px;
  }

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

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

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

  .related-links-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 430px) {
  :root {
    --container-px: 18px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .region-code {
    font-size: 36px;
  }

  .advantage-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .advantage-desc {
    grid-column: 1 / 2;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 36px;
  }

  .pricing-table th, .pricing-table td {
    padding: 14px 10px;
    font-size: 14px;
  }
}
