/* ==========================================================================
   TAG Network Accelerator - Modern Minimalist High-Performance Stylesheet
   Pure Vanilla CSS - Zero External Dependencies - Blazing Fast Load Speed
   Strict adherence to TAG red palette (#c8321a) & clean card aesthetic
   ========================================================================== */

:root {
  --primary: #c8321a;
  --primary-hover: #b02a14;
  --primary-light: #fff5f3;
  --primary-alpha: rgba(200, 50, 26, 0.08);
  --primary-glow: rgba(200, 50, 26, 0.25);
  
  --text-main: #1e2229;
  --text-muted: #5e6879;
  --text-light: #8c96a5;
  
  --bg-page: #fafbfc;
  --bg-card: #ffffff;
  --bg-alt: #f4f6f9;
  --border-color: #ebeef2;
  --border-focus: #c8321a;

  --badge-bg: #fff0ed;
  --badge-text: #c8321a;
  --badge-gold: #fdf3e7;
  --badge-gold-text: #c26a15;

  --success: #10b981;
  --success-bg: #ecfdf5;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.09);
  --shadow-card: 0 16px 40px -10px rgba(22, 27, 34, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-page);
  /* Brick / tile texture simulation using pure SVG data uri */
  background-image: 
    radial-gradient(circle at 80% 12%, rgba(200, 50, 26, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 15% 55%, rgba(200, 50, 26, 0.03) 0%, transparent 40%),
    linear-gradient(to right, rgba(225, 229, 235, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(225, 229, 235, 0.45) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 24px, 48px 24px;
  background-position: 0 0, 0 0, 0 0, 0 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #d32f2f 0%, #c8321a 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b71c1c 0%, #b02a14 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 50, 26, 0.35);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: #e9edf2;
  color: var(--primary);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(235, 238, 242, 0.8);
  transition: all var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e53935, #c8321a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(200, 50, 26, 0.25);
  transition: transform var(--transition-normal);
}

.nav-brand:hover .brand-icon-box {
  transform: scale(1.08) rotate(-3deg);
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: #ebeef2;
  padding: 3px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-item {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.lang-item.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--badge-bg);
  border: 1px solid rgba(200, 50, 26, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--badge-text);
  margin-bottom: 12px;
}

.hero-invite-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #b72a15;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-headline .brand-highlight {
  color: var(--primary);
  display: inline-block;
  position: relative;
}

.brand-underline {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-features-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.hero-feat-item svg {
  color: var(--success);
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: 2.3rem;
  }
  .hero-subheadline {
    font-size: 1.05rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   Hero Visual / Interactive Card Mockup (Exact Match with Image)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.sub-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(235, 238, 242, 0.9);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.sub-card:hover {
  transform: translateY(-4px);
}

.sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.sub-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.sub-plan-badge {
  padding: 4px 12px;
  background-color: var(--badge-gold);
  color: var(--badge-gold-text);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.traffic-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.traffic-col {
  text-align: left;
}

.traffic-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.traffic-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}

.traffic-val span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.traffic-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #f0f2f5;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 26px;
}

.traffic-progress-fill {
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, #d32f2f, #e53935);
  border-radius: var(--radius-full);
  animation: pulseBar 3s ease-in-out infinite alternate;
}

@keyframes pulseBar {
  0% { opacity: 0.9; width: 28%; }
  100% { opacity: 1; width: 31%; }
}

.client-icons-section {
  text-align: center;
  margin-bottom: 22px;
}

.client-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.client-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.client-app-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.client-app-icon:hover {
  transform: translateY(-3px) scale(1.15);
  color: var(--primary);
}

.sub-card-btn {
  width: 100%;
  background: linear-gradient(135deg, #d32f2f, #c8321a);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(200, 50, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.sub-card-btn:hover {
  background: linear-gradient(135deg, #b71c1c, #b02a14);
}

/* Floating Latency Card (Matching Image) */
.latency-card {
  position: absolute;
  bottom: -45px;
  right: -20px;
  width: 270px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(235, 238, 242, 0.9);
  z-index: 3;
  animation: floatCard 4s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 600px) {
  .latency-card {
    position: static;
    margin-top: 16px;
    width: 100%;
  }
}

.latency-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.latency-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 700;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.latency-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f4f6f9;
}

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

.latency-node-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.node-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.node-desc {
  font-size: 0.7rem;
  color: var(--text-light);
}

.latency-ms {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--success);
}

/* Floating red chat button at bottom right (from image) */
.floating-chat-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #e53935, #c8321a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(200, 50, 26, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(200, 50, 26, 0.5);
}

/* ==========================================================================
   Floating Navigation Arrow Controller (Right Edge)
   ========================================================================== */
.section-nav-controller {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(235, 238, 242, 0.9);
  box-shadow: var(--shadow-md);
}

.nav-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all var(--transition-fast);
}

.nav-arrow-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-arrow-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .section-nav-controller {
    right: 12px;
    padding: 6px 4px;
  }
  .nav-arrow-btn {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   Core Advantages (3 Graphic Cards)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 50, 26, 0.2);
}

.feature-card:hover::before {
  background: var(--primary);
}

.feat-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--transition-normal);
}

.feature-card:hover .feat-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
}

.feat-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
}

.feat-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feat-badge-list {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feat-mini-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* ==========================================================================
   Streaming & AI Ecosystem Card Showcase
   ========================================================================== */
.ecosystem-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .ecosystem-container {
    padding: 24px;
  }
}

.eco-tabs-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.eco-tab-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
}

.eco-tab-badge.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(200, 50, 26, 0.2);
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

@media (max-width: 600px) {
  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.eco-item-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eco-item-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.eco-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.eco-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Pricing Plans Section (Authentic Market Reference Packages)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 36px rgba(200, 50, 26, 0.12);
  transform: scale(1.02);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d32f2f, #c8321a);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(200, 50, 26, 0.3);
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  min-height: 40px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.price-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.price-cycle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-feature-item svg {
  color: var(--success);
  flex-shrink: 0;
}

.plan-feature-item.highlight {
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================================
   12 SEO Articles Grid (Positioned Directly Below Pricing Table)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.article-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 50, 26, 0.25);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.article-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.article-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.read-more-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.read-more-link:hover {
  gap: 8px;
}

/* ==========================================================================
   Customer Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.author-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-info p {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(200, 50, 26, 0.3);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  background: none;
  cursor: pointer;
}

.faq-arrow {
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 26px 22px;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Footer (Strict Requirement: Only 4 Menu Titles + PBN Matrix Links)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 35px;
  margin-top: 40px;
}

.footer-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-nav-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

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

.footer-pbn-statement {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #f0f2f5;
  border-bottom: 1px solid #f0f2f5;
  margin-bottom: 24px;
}

.pbn-link-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pbn-link {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.pbn-link:hover {
  color: var(--primary);
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   Article Detail Page Template Styling
   ========================================================================== */
.article-header-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border-color);
}

.article-content-body {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: -30px;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .article-content-body {
    padding: 24px;
    margin-top: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

.article-content-body h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-content-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  color: var(--text-main);
}

.article-content-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text-main);
}

.article-content-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 20px;
}

.article-content-body ul, .article-content-body ol {
  margin: 0 0 24px 24px;
  color: #374151;
  line-height: 1.8;
}

.article-content-body li {
  margin-bottom: 8px;
}

.article-cta-box {
  background: linear-gradient(135deg, #fff5f3 0%, #ffffff 100%);
  border: 1.5px solid rgba(200, 50, 26, 0.2);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   Sub-pages (About, Terms, Privacy, Sitemap) Clean Formats
   ========================================================================== */
.subpage-container {
  max-width: 920px;
  margin: 40px auto 80px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .subpage-container {
    padding: 24px;
    margin: 20px auto 40px;
  }
}

.subpage-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.subpage-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.subpage-section {
  margin-bottom: 32px;
}

.subpage-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.subpage-section p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
