/* Candy Tally High-End Tech SaaS Design System for 蜜糖云 (mitangyun.sbs) */

:root {
  /* Color Palette - Dark Tech & Violet/Blue Gradients */
  --bg-dark-base: #060913;
  --bg-dark-surface: #0a0f24;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-header: rgba(6, 9, 19, 0.82);
  
  --color-primary-purple: #9d4edd;
  --color-primary-violet: #7b2cbf;
  --color-accent-blue: #3a86ff;
  --color-cyan-glow: #00f0ff;
  
  --gradient-tech: linear-gradient(135deg, #7b2cbf 0%, #3a86ff 100%);
  --gradient-btn: linear-gradient(135deg, #9d4edd 0%, #3a86ff 100%);
  --gradient-btn-hover: linear-gradient(135deg, #b55fe6 0%, #4d92ff 100%);
  --gradient-text: linear-gradient(135deg, #c77dff 0%, #60a5fa 100%);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light-glow: rgba(157, 78, 221, 0.35);

  --shadow-purple: 0 0 30px rgba(157, 78, 221, 0.35);
  --shadow-blue: 0 0 30px rgba(58, 134, 255, 0.35);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.45);

  --radius-pill: 9999px;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --max-width: 1200px;
  --font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark-base);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-dark-base);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Ambient Tech Overlay (Glows & Mesh Grid) */
.tech-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.orb-purple {
  width: 500px;
  height: 500px;
  background: var(--color-primary-purple);
  top: -100px;
  left: -100px;
}

.orb-blue {
  width: 600px;
  height: 600px;
  background: var(--color-accent-blue);
  top: 20%;
  right: -150px;
}

.tech-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Common Layout Containers */
.section-padding {
  padding: 100px 1.5rem;
  position: relative;
  z-index: 1;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-primary-purple);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

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

/* Gradient Utility */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-tech);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-purple);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text-main);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--color-primary-purple);
  font-weight: 600;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
}

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

.header-desktop-cta {
  display: inline-flex;
}

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

.mobile-menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* Button Styles */
.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-btn);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-purple);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-gradient:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(157, 78, 221, 0.6);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.85rem 2.2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 100px 1.5rem;
  z-index: 1;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(157, 78, 221, 0.12);
  border: 1px solid rgba(157, 78, 221, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: #d8b4fe;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.hl-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
}

.hl-icon {
  width: 16px;
  height: 16px;
  color: var(--color-primary-purple);
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

/* Hero Visual Card Right */
.tech-card-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-light-glow);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card), var(--shadow-purple);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.radar-scan {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.08) 0%, transparent 60%);
  animation: rotateRadar 15s linear infinite;
  pointer-events: none;
}

@keyframes rotateRadar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.dot-live {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.tech-tag {
  background: rgba(58, 134, 255, 0.2);
  color: var(--color-accent-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.nodes-stream {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stream-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.node-label {
  font-weight: 600;
  color: var(--text-muted);
  width: 100px;
}

.progress-bar {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar .fill {
  height: 100%;
  background: var(--gradient-tech);
  border-radius: 3px;
}

.ping-val {
  font-family: monospace;
  color: var(--color-cyan-glow);
  font-weight: 700;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border-dark);
  padding-top: 1.5rem;
}

.stat-box {
  text-align: center;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Core Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light-glow);
  box-shadow: var(--shadow-card), 0 0 20px rgba(157, 78, 221, 0.2);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(157, 78, 221, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--color-primary-purple);
}

.card-svg-icon {
  width: 26px;
  height: 26px;
}

.feature-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* IPLC Section */
.iplc-section {
  background: radial-gradient(circle at 80% 50%, rgba(58, 134, 255, 0.1) 0%, transparent 60%);
}

.iplc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.iplc-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.iplc-specs-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.spec-icon {
  width: 36px;
  height: 36px;
  background: rgba(58, 134, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.spec-info p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.iplc-topology-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
}

.topo-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

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

.topo-line {
  height: 30px;
  width: 2px;
  background: var(--border-dark);
  margin-left: 2.2rem;
  position: relative;
  overflow: hidden;
}

.data-pulse {
  width: 100%;
  height: 12px;
  background: var(--color-primary-purple);
  position: absolute;
  top: -12px;
  left: 0;
  animation: pulseDown 2s infinite linear;
}

.data-pulse.laser {
  background: var(--color-cyan-glow);
  box-shadow: 0 0 10px var(--color-cyan-glow);
}

@keyframes pulseDown {
  from { top: -12px; }
  to { top: 100%; }
}

.iplc-line {
  height: 45px;
  border-left: 2px dashed var(--color-primary-purple);
  display: flex;
  align-items: center;
}

.iplc-label {
  position: absolute;
  left: 15px;
  font-size: 0.75rem;
  background: var(--color-primary-violet);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Security Section */
.security-card-large {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 27, 75, 0.9) 100%);
  border: 1px solid var(--border-light-glow);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.shield-badge {
  margin-bottom: 1rem;
}

.security-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.security-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.security-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.check-dot {
  color: var(--color-primary-purple);
  font-weight: 800;
}

.ram-chip {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  text-align: center;
}

.chip-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.chip-status {
  font-size: 0.75rem;
  color: #22c55e;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.memory-blocks {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.2rem;
}

.m-block {
  width: 24px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.m-block.active {
  background: var(--gradient-btn);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.volatile-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Global Nodes Grid */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}

.node-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.node-chip:hover {
  border-color: var(--color-primary-purple);
  transform: translateY(-4px);
}

.node-chip .flag {
  font-size: 2rem;
}

.node-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.node-delay {
  display: block;
  font-size: 0.75rem;
  color: var(--color-cyan-glow);
  font-family: monospace;
}

/* Tutorials & Tabs */
.tutorial-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--gradient-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-purple);
}

.tutorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.tutorial-content {
  display: none;
}

.tutorial-content.active {
  display: block;
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.step-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

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

.pricing-card:hover {
  border-color: var(--border-light-glow);
  transform: translateY(-6px);
}

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 2px solid var(--color-primary-purple);
  box-shadow: var(--shadow-card), var(--shadow-purple);
  transform: scale(1.04);
}

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

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1.8rem;
}

.plan-price .currency {
  font-size: 1.4rem;
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.check-icon {
  color: var(--color-primary-purple);
  font-weight: 800;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.t-content {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;

}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.t-author .avatar {
  font-size: 1.8rem;
}

.t-author .name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.t-author .tag {
  display: block;
  font-size: 0.75rem;
  color: var(--color-primary-purple);
}

/* Articles List */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.article-card:hover {
  border-color: var(--border-light-glow);
  transform: translateY(-4px);
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.article-card h3 a:hover {
  color: var(--color-primary-purple);
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;

}

.read-more {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary-purple);
}

/* FAQ Accordion */
.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1.3rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-primary-purple);
  font-weight: 400;
}

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

.faq-answer {
  display: none;
  padding: 0 1.6rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px dashed var(--border-dark);
}

.faq-item.active .faq-answer {
  display: block;
  padding-top: 1rem;
}

/* Final CTA Section */
.final-cta-section {
  padding-bottom: 120px;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.4) 0%, rgba(58, 134, 255, 0.4) 100%);
  border: 1px solid var(--border-light-glow);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card), var(--shadow-purple);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

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

.cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--bg-dark-surface);
  border-top: 1px solid var(--border-dark);
  padding: 4.5rem 1.5rem 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--color-primary-purple);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--color-primary-purple);
}

.sep {
  color: var(--border-dark);
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nodes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-right {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .iplc-grid {
    grid-template-columns: 1fr;
  }
  .security-card-large {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
  .testimonials-grid, .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 1.25rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas a {
    width: 100%;
    text-align: center;
  }
  .header-desktop-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100vw;
    background: var(--bg-dark-surface);
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
  }
  .mobile-cta-wrapper {
    width: 100%;
    display: block;
    margin-top: 1rem;
  }
  .mobile-cta-wrapper .btn-primary-gradient {
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tutorial-tabs {
    flex-wrap: wrap;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .cta-title {
    font-size: 1.8rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .nodes-grid {
    grid-template-columns: 1fr;
  }
}
