/* ==========================================================================
   AllBlue.mom - Apple Design System & Visual Masterpiece
   Palette: Black (#000000) -> Dark Void (#0D0D0E), Cards (#161617)
   Typography: SF Pro Display / SF Pro Text / PingFang SC
   ========================================================================== */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0D0D0E;
  --card-bg: #161617;
  --card-bg-hover: #1c1c1e;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-glow: rgba(0, 242, 254, 0.3);
  
  --text-main: #F5F5F7;
  --text-muted: #86868B;
  --text-sub: #A1A1A6;
  
  --accent-cyan: #00F2FE;
  --accent-blue: #4FACFE;
  --accent-titanium: #E2E2E6;
  --accent-green: #30D158;
  
  --glow-cyan: rgba(0, 242, 254, 0.12);
  --glow-blue: rgba(79, 172, 254, 0.08);
  
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, monospace;
  
  --radius-capsule: 9999px;
  --radius-card: 24px;
  --radius-btn: 14px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #000000 0%, #0D0D0E 40%, #050507 100%);
  overflow-x: hidden;
  position: relative;
}

/* Custom Cursor Trail Canvas */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Base Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #A1A1A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulse-dot 2.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 18px var(--accent-cyan); }
}

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

.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.btn-nav {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: var(--radius-capsule);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.btn-nav:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  padding-top: 140px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

/* Central Floating Capsule Component (Apple Chip / Dynamic Island) */
.chip-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.apple-chip-capsule {
  position: relative;
  width: 320px;
  height: 68px;
  background: linear-gradient(145deg, #1C1C1E 0%, #121214 100%);
  border-radius: var(--radius-capsule);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 0 30px var(--glow-cyan);
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.apple-chip-capsule:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 242, 254, 0.25);
}

.apple-chip-capsule:active {
  transform: scale(0.98);
}

.chip-ring-light {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: var(--radius-capsule);
  border: 2px solid transparent;
  pointer-events: none;
  transition: all 0.4s ease;
}

.apple-chip-capsule.active .chip-ring-light {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px var(--accent-cyan);
  animation: ring-pulse 2s infinite ease-in-out;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; box-shadow: 0 0 35px var(--accent-cyan); }
}

.chip-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
  transition: background 0.3s ease;
}

.apple-chip-capsule.active .chip-icon-box {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--accent-cyan);
}

.chip-info {
  text-align: left;
  flex: 1;
  padding-left: 14px;
}

.chip-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.chip-status {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-top: 1px;
}

.chip-action-btn {
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  border: none;
  transition: all 0.2s ease;
}

.apple-chip-capsule.active .chip-action-btn {
  background: #ffffff;
  color: #000000;
}

/* Main Titles */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.hero-subtitle-cn {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-description {
  max-width: 680px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-capsule);
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-capsule);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* SECTION HEADINGS */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* BENTO GRID SECTION */
.bento-section {
  padding: 80px 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-glow);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 30px var(--glow-cyan);
}

.bento-visual-wrapper {
  width: 100%;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.bento-content {
  position: relative;
  z-index: 2;
}

.bento-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.bento-metric {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 12px;
}

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

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* PING / LIVE NODE MATRIX SECTION */
.node-matrix-section {
  padding: 80px 0;
}

.node-matrix-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 40px;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.node-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.node-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 242, 254, 0.3);
}

.node-location {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag-icon {
  font-size: 1.4rem;
}

.node-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.node-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-latency {
  text-align: right;
}

.latency-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-green);
  font-size: 1.1rem;
}

.latency-status {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* PRICING SECTION */
.pricing-section {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 40px rgba(0, 242, 254, 0.18);
  transform: translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-price {
  margin-bottom: 24px;
}

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

.price-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 0;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.pricing-card.popular .btn-pricing {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #000;
  border: none;
}

.btn-pricing:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ARTICLES / KNOWLEDGE BASE SECTION */
.articles-section {
  padding: 100px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  cursor: pointer;
}

.article-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-tag {
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* ARTICLE MODAL READER */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  width: 90%;
  max-width: 860px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-body {
  line-height: 1.8;
  color: var(--text-sub);
}

.modal-body h1, .modal-body h2, .modal-body h3 {
  color: var(--text-main);
  margin: 24px 0 16px 0;
  font-family: var(--font-display);
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul, .modal-body ol {
  margin: 16px 0 16px 24px;
}

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

/* TESTIMONIALS SECTION */
.reviews-section {
  padding: 80px 0;
}

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

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px;
}

.review-stars {
  color: #FFD700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-size: 0.9rem;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ SECTION */
.faq-section {
  padding: 100px 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-header {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-icon {
  transition: transform 0.3s ease;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.active .faq-content {
  padding: 0 28px 24px 28px;
}

/* FOOTER & PBN LINK PIPELINE */
.footer {
  background: #050507;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 30px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

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

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-col-links {
  list-style: none;
}

.footer-col-links li {
  margin-bottom: 10px;
}

.footer-col-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-col-links a:hover {
  color: var(--text-main);
}

/* PBN Pipeline SEO Section Inside Footer */
.pbn-seo-pipeline {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  margin-top: 30px;
  text-align: center;
}

.pbn-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #444;
  margin-bottom: 12px;
}

.pbn-links-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.pbn-links-list a {
  color: #666668;
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pbn-links-list a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #444446;
  margin-top: 24px;
}

/* MEDIA QUERIES (MOBILE RESPONSIVE) */
@media (max-width: 1024px) {
  .bento-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .bento-grid, .articles-grid, .reviews-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .apple-chip-capsule {
    width: 290px;
  }
  
  .bento-card {
    min-height: auto;
    padding: 32px 24px;
  }
  
  .modal-container {
    padding: 24px;
    width: 95%;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .footer-links-group {
    flex-direction: column;
    gap: 24px;
  }
}

/* ==========================================================================
   DOWNLOAD MODAL COMPONENT (Universal Landing Page System)
   ========================================================================== */
.download-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.download-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.download-modal-card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 242, 254, 0.12);
  padding: 36px 32px 32px;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.download-modal-overlay.active .download-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: var(--radius-capsule);
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.modal-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.modal-subtitle {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-plan-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.3);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #30D158;
  margin-bottom: 18px;
}

.modal-plan-hint .hint-label {
  opacity: 0.8;
}

.modal-plan-hint .hint-val {
  font-weight: 700;
}

.modal-download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.platform-dl-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.platform-dl-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.platform-dl-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 242, 254, 0.15);
}

.platform-dl-btn:hover::before {
  opacity: 1;
}

.platform-dl-btn.recommended {
  border-color: rgba(0, 242, 254, 0.6);
  background: rgba(0, 242, 254, 0.06);
}

.dl-icon {
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.dl-btn-text {
  flex: 1;
}

.platform-name {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
}

.platform-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dl-arrow {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.platform-dl-btn:hover .dl-arrow {
  transform: translateX(4px);
}

.modal-steps-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.modal-bottom-link a {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.modal-bottom-link a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* ==========================================================================
   DOWNLOAD CENTER DEDICATED STYLES (/download/)
   ========================================================================== */
.download-hero-section {
  padding: 140px 0 60px;
  text-align: center;
}

.download-platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 48px auto;
  max-width: 900px;
}

.download-platform-box {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-platform-box:hover {
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 254, 0.08);
}

.download-platform-box.recommended {
  border-color: rgba(0, 242, 254, 0.6);
  background: linear-gradient(180deg, #18191c 0%, #121214 100%);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.12);
}

.rec-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  padding: 3px 10px;
  border-radius: var(--radius-capsule);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.box-icon {
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.download-platform-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.download-platform-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.download-specs-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-specs-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-sub);
}

.download-specs-list li span {
  color: var(--text-muted);
}

.download-specs-list li strong {
  color: #fff;
  font-weight: 500;
}

.download-guide-section {
  padding: 60px 0 80px;
}

.download-guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.download-guide-step {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
}

.step-card-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.download-guide-step h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}

.download-guide-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .download-platforms-grid {
    grid-template-columns: 1fr;
  }
  .download-guide-steps {
    grid-template-columns: 1fr;
  }
}
