@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #05070c;
  --bg-secondary: #0b0d16;
  --bg-card: rgba(14, 18, 30, 0.7);
  --bg-card-hover: rgba(22, 28, 46, 0.95);
  
  --primary: #cbd5e1; /* Silver Gray */
  --primary-glow: rgba(203, 213, 225, 0.2);
  --accent: #00a2ff; /* Whirlwind Blue */
  --accent-glow: rgba(0, 162, 255, 0.25);
  --secondary: #64748b;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-inverse: #05070c;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 162, 255, 0.5);
  
  --font-title: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1200px;
}

/* Base resets & scrollbar */
* {
  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-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Utility Layouts */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Text Gradient (灰白色渐变字体) */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #ffffff 0%, #00a2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Background Gradients/Glows */
.glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%);
  top: -10%;
  right: -10%;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}
.glow-bg-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
  bottom: 10%;
  left: -15%;
  z-index: 0;
  pointer-events: none;
  filter: blur(100px);
}

/* Whirlwind styled buttons (按钮要变成旋风) */
.btn-whirlwind {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  color: var(--text-inverse);
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  border: none;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.btn-whirlwind::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 20%, #00a2ff 40%, #ffffff 50%, transparent 70%);
  animation: rotate-whirl 3s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-whirlwind:hover::before {
  opacity: 1;
}

.btn-whirlwind:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 162, 255, 0.4);
  color: #ffffff;
}

/* Secondary Button with Border Swirl */
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #00a2ff;
  color: #00a2ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 162, 255, 0.15);
}

.btn-secondary svg.icon-whirlwind {
  color: var(--text-muted);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2), color 0.3s ease;
}

.btn-secondary:hover svg.icon-whirlwind {
  transform: rotate(360deg);
  color: #00a2ff;
}

/* Whirlwind animation */
@keyframes rotate-whirl {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinning-whirlwind {
  animation: rotate-whirl 12s linear infinite;
  transform-origin: center;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 7, 12, 0.75);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}
header.scrolled {
  background: rgba(5, 7, 12, 0.95);
  padding: 0.3rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo svg {
  width: 28px;
  height: 28px;
  color: #00a2ff;
  filter: drop-shadow(0 0 5px rgba(0, 162, 255, 0.5));
}
.logo:hover svg {
  transform: rotate(180deg);
}
.logo svg {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00a2ff, #ffffff);
  transition: var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  min-height: 85vh;
  padding-top: 110px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-tag svg {
  color: #00a2ff;
  animation: rotate-whirl 8s linear infinite;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}
.stat-item h3 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}
.stat-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.counter-glow {
  color: #00a2ff !important;
  text-shadow: 0 0 10px rgba(0, 162, 255, 0.4);
}

/* Canvas background element */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* Hero visual element (rotating graphic) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.visual-tornado {
  width: 320px;
  height: 320px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.whirl-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: rotate-whirl 20s linear infinite;
}
.whirl-ring-1 {
  width: 300px;
  height: 300px;
  border-top-color: rgba(0, 162, 255, 0.15);
  animation-duration: 25s;
}
.whirl-ring-2 {
  width: 220px;
  height: 220px;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  animation-direction: reverse;
  animation-duration: 18s;
}
.whirl-ring-3 {
  width: 140px;
  height: 140px;
  border-left-color: rgba(0, 162, 255, 0.2);
  animation-duration: 12s;
}

.visual-node-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  width: 210px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 10;
  transition: transform 0.3s ease;
}
.visual-node-card:hover {
  transform: scale(1.05);
  border-color: #00a2ff;
}
.visual-node-card-1 {
  top: 15%;
  right: -5%;
  animation: float 6s ease-in-out infinite;
}
.visual-node-card-2 {
  bottom: 15%;
  left: -5%;
  animation: float 6s ease-in-out infinite;
  animation-delay: 3s;
}
.node-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 162, 255, 0.08);
  border: 1px solid rgba(0, 162, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a2ff;
}
.node-card-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
}
.node-card-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.node-ping-val {
  color: #10b981;
  font-weight: bold;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Sections Common Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  position: relative;
  z-index: 1;
}
.section-tag {
  color: #00a2ff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  display: block;
}
.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-normal);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: #00a2ff;
  box-shadow: 0 10px 30px rgba(0, 162, 255, 0.05);
}
.feature-icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a2ff;
  margin-bottom: 1.8rem;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
}
.feature-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing Section - Slidable Setup */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}
.tab-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-title);
  cursor: pointer;
  transition: var(--transition-fast);
}
.tab-btn:hover {
  color: var(--text-main);
  border-color: rgba(255,255,255,0.15);
}
.tab-btn.active {
  background: #ffffff;
  color: #05070c;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(255,255,255,0.15);
}

.pricing-panel {
  display: none;
}
.pricing-panel.active {
  display: block;
}

/* Slidable Container for Pricing Cards */
.pricing-slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.pricing-slider-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem 2.5rem 0.5rem;
  margin: 0 -0.5rem;
  scrollbar-width: none; /* Firefox */
}
.pricing-slider-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.pricing-slider-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  width: 285px; /* Fixed width for sliders */
  scroll-snap-align: start;
}

.pricing-card.popular {
  border-color: #00a2ff;
  box-shadow: 0 10px 40px rgba(0, 162, 255, 0.12);
  background: linear-gradient(180deg, rgba(14, 18, 30, 0.9) 0%, rgba(11, 13, 22, 0.95) 100%);
}
.pricing-card.popular::before {
  content: '推荐套餐';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #00a2ff;
  color: #ffffff;
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 162, 255, 0.4);
}
.pricing-card:hover {
  border-color: #00a2ff;
  transform: translateY(-5px);
}
.pricing-card.popular:hover {
  border-color: #00a2ff;
  transform: translateY(-8px);
}

/* Custom Range Slider for pricing selector */
.pricing-slider-control {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.slider-label-item {
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.slider-label-item:hover {
  color: var(--text-main);
}
.slider-label-item.active {
  color: #00a2ff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 162, 255, 0.4);
}
.range-slider-wrapper {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  background: transparent;
  outline: none;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 2;
  cursor: pointer;
}
.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #00a2ff;
  box-shadow: 0 0 15px rgba(0, 162, 255, 0.8);
  transition: transform 0.15s ease;
}
.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.custom-range-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #00a2ff;
  box-shadow: 0 0 15px rgba(0, 162, 255, 0.8);
  transition: transform 0.15s ease;
  cursor: pointer;
}
.custom-range-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}
.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #00d0ff, #0077ff);
  box-shadow: 0 0 8px rgba(0, 162, 255, 0.5);
  pointer-events: none;
  z-index: 1;
}

.plan-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.plan-name svg {
  color: #00a2ff;
}
.plan-price {
  font-family: var(--font-title);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: baseline;
}
.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00a2ff;
}
.plan-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
}
.plan-price .period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 0.2rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}
.plan-features li {
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.plan-features li svg {
  color: #00a2ff;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.pricing-card .btn-whirlwind, .pricing-card .btn-secondary {
  width: 100%;
}

/* Slider Controls */
.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 10;
}
.slider-arrow-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #00a2ff;
  color: #00a2ff;
}

/* Grid layout for buyout and light packages */
.pricing-grid-static {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-content: center;
}
.pricing-grid-static.center-layout {
  grid-template-columns: repeat(1, 320px);
  justify-content: center;
}

/* User Reviews Section - Slider Layout */
.reviews-slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  z-index: 10;
}
.reviews-slider-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem 2rem 0.5rem;
  margin: 0 -0.5rem;
  scrollbar-width: none; /* Firefox */
}
.reviews-slider-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.reviews-slider-track {
  display: flex;
  gap: 2rem;
  width: max-content;
}
.review-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 360px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-normal);
}
.review-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #f59e0b;
}
.review-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.review-content {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: 72px;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b 0%, #00a2ff 100%);
  font-family: var(--font-title);
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.review-user-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
}
.review-user-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ Accordion Section */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-normal);
}
details.faq-item[open] {
  border-color: #00a2ff;
  background: var(--bg-card-hover);
}
summary.faq-question {
  padding: 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-title);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
summary.faq-question::-webkit-details-marker {
  display: none;
}
summary.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform var(--transition-normal);
  color: #00a2ff;
}
details.faq-item[open] summary.faq-question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
}

/* Blog Section on Landing Page */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}
.article-card:hover {
  transform: translateY(-5px);
  border-color: #00a2ff;
  box-shadow: 0 10px 30px rgba(0, 162, 255, 0.05);
}
.article-img {
  height: 180px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(0, 162, 255, 0.15) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.08);
}
.article-img svg {
  width: 64px;
  height: 64px;
  color: #00a2ff;
  opacity: 0.4;
  transition: transform 0.8s ease, opacity 0.3s ease;
}
.article-card:hover .article-img svg {
  transform: rotate(180deg);
  opacity: 0.8;
}
.article-meta {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
}
.article-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.article-body h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.45;
}
.article-body h3 a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-fast);
}
.article-body h3 a:hover {
  color: #00a2ff;
}
.article-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
  flex-grow: 1;
}
.article-link {
  color: #00a2ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}
.article-link:hover {
  color: #ffffff;
  gap: 0.6rem;
}

/* Article Template Styling */
.article-header {
  padding-top: 130px;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}
.article-breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}
.article-breadcrumbs a:hover {
  color: #00a2ff;
}
.article-title-large {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.article-meta-large {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.article-author-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #00a2ff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
}

.article-content-layout {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 4rem;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}
.article-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e2e8f0;
}
.article-text p {
  margin-bottom: 1.8rem;
}
.article-text h2 {
  font-family: var(--font-title);
  font-size: 1.75rem;
  margin: 2.5rem 0 1.2rem 0;
  color: #ffffff;
  border-left: 4px solid #00a2ff;
  padding-left: 0.8rem;
}
.article-text h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  margin: 2rem 0 1rem 0;
  color: #ffffff;
}
.article-text ul, .article-text ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.article-text li {
  margin-bottom: 0.6rem;
}
.article-text a {
  color: #00a2ff;
  text-decoration: underline;
  transition: var(--transition-fast);
}
.article-text a:hover {
  color: #ffffff;
}

/* Sidebar structure */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
}
.sidebar-widget h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
}
.sidebar-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(0, 162, 255, 0.05) 100%);
  border-color: rgba(0, 162, 255, 0.2);
}
.sidebar-cta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem 0;
}
.recent-articles-list {
  list-style: none;
}
.recent-articles-list li {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.recent-articles-list li a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-fast);
}
.recent-articles-list li a:hover {
  color: #00a2ff;
}

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

/* Footer styling */
footer {
  background: #030407;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-title);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-links li a:hover {
  color: #00a2ff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-bottom-links a:hover {
  color: #00a2ff;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 4rem;
    gap: 3rem;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid-static {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-card {
    width: 320px;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-content-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #05070c;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  }
  .nav-menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid-static {
    grid-template-columns: 1fr;
  }
  .pricing-grid-static.center-layout {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .review-card {
    width: 280px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .article-title-large {
    font-size: 2rem;
  }
}
