/* ===== CSS Variables ===== */
:root {
  --primary: #0a1628;
  --primary-mid: #0d2040;
  --primary-light: #1a3a6e;
  --accent: #00e676;
  --accent-dark: #00c853;
  --accent-glow: rgba(0, 230, 118, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #b0bec5;
  --text-muted: #78909c;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover: rgba(0, 230, 118, 0.06);
  --gradient-hero: linear-gradient(135deg, #020b18 0%, #0a1628 40%, #0d2a50 100%);
  --gradient-accent: linear-gradient(135deg, #00e676, #00bcd4);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 230, 118, 0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  background: var(--primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 5%;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  -webkit-text-fill-color: var(--text-muted);
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(0, 230, 118, 0.08);
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 24px !important;
  background: var(--gradient-accent) !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
  border-radius: 24px !important;
  box-shadow: 0 0 20px var(--accent-glow);
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.5) !important;
  transform: translateY(-1px);
}

/* ===== Mobile Menu Toggle ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  padding: calc(var(--nav-height) + 80px) 5% 80px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 24px;
  padding: 6px 18px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

/* ===== Section ===== */
.section {
  padding: 100px 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ===== Cards ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: rgba(0, 230, 118, 0.2);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card:hover::before { opacity: 1; }

/* ===== Icon Box ===== */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--primary);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 50px rgba(0, 230, 118, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 230, 118, 0.06);
}

/* ===== Tag / Badge ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

/* ===== Grid Layouts ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== Divider ===== */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ===== Stat Box ===== */
.stat-box {
  text-align: center;
  padding: 24px;
}

.stat-box .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  background: #020810;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 5% 32px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 40px rgba(0, 230, 118, 0.5); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse { animation: pulse-glow 2s ease-in-out infinite; }

/* ===== Particle Canvas ===== */
#particles-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: rgba(10, 22, 40, 0.98); padding: 20px; border-bottom: 1px solid var(--card-border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 70px 5%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== Glowing Border Effect ===== */
.glow-border {
  position: relative;
}
.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient-accent);
  z-index: -1;
  opacity: 0.4;
  filter: blur(8px);
}

/* ===== Scroll indicator ===== */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== Number Steps ===== */
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== Process Arrow ===== */
.process-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  justify-content: center;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb span { opacity: 0.5; }

/* ===== Pricing Page Custom Styles ===== */
.pricing-section {
  padding: 60px 5% 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 80px;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 230, 118, 0.2);
  box-shadow: var(--shadow-card), 0 10px 40px rgba(0, 0, 0, 0.6);
}

.pricing-card.popular {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.06) 0%, rgba(0, 188, 212, 0.04) 100%);
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: 0 8px 32px rgba(0, 230, 118, 0.08);
}

.pricing-card.popular::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: var(--gradient-accent);
  z-index: -1;
  opacity: 0.2;
  filter: blur(10px);
}

.pricing-card.popular:hover {
  border-color: rgba(0, 230, 118, 0.6);
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 230, 118, 0.25);
}

.pricing-badge-popular {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
  letter-spacing: 0.5px;
}

.pricing-card-header {
  margin-bottom: 32px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 32px;
}

.pricing-currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.pricing-feature-icon {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature-item.muted {
  color: var(--text-muted);
}

.pricing-feature-item.muted .pricing-feature-icon {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ===== Interactive Pricing Calculator ===== */
.calculator-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 48px;
  max-width: 1000px;
  margin: 0 auto 80px;
  box-shadow: var(--shadow-card);
}

.calculator-header {
  text-align: center;
  margin-bottom: 40px;
}

.calculator-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.calculator-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.calculator-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.calculator-slider-section {
  padding-right: 16px;
}

.slider-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.slider-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.slider-value-display {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  font-family: monospace;
}

.slider-value-display span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--primary-light);
  outline: none;
  margin-bottom: 24px;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 15px var(--accent-glow);
  transition: transform 0.1s, background-color 0.2s;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #ffffff;
}

.custom-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 15px var(--accent-glow);
  transition: transform 0.1s, background-color 0.2s;
}

.custom-range-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  background: #ffffff;
}

.slider-ticks-labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0 4px;
}

.calculator-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: all 0.3s;
}

.result-card.highlight {
  background: rgba(0, 230, 118, 0.04);
  border-color: rgba(0, 230, 118, 0.2);
}

.result-card-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-card-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.result-card-cost {
  text-align: right;
}

.result-cost-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.result-cost-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.result-badge-cheapest {
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
}

/* ===== Comparison Table ===== */
.comparison-container {
  max-width: 1000px;
  margin: 0 auto 80px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.comparison-table th {
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(13, 32, 64, 0.4);
}

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

.comparison-table tbody tr {
  transition: background-color 0.2s;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-feature-title {
  font-weight: 600;
  color: var(--text-secondary);
}

.comparison-val {
  color: var(--text-primary);
}

.comparison-val-highlight {
  font-weight: 700;
  color: var(--accent);
}

/* ===== Pricing FAQ Accordion ===== */
.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-faq-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}

.pricing-faq-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.pricing-faq-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-faq-card h4 .faq-q-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

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

@media(max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .calculator-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .calculator-slider-section {
    padding-right: 0;
  }
  .pricing-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== GLOBAL CTA BANNER ===== */
.cta-banner {
  padding: 100px 5%;
  background: var(--primary);
}

.cta-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.08), rgba(0, 188, 212, 0.08));
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 24px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.1) 0%, transparent 70%);
}

.cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media(max-width: 768px) {
  .cta-inner {
    padding: 40px 24px;
  }
}

/* ===== GLOBAL LEFT FLOATING CONTACT WIDGET ===== */
.left-float-widget {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.float-icon-btn {
  background: var(--gradient-accent);
  color: var(--primary);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 230, 118, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.float-icon-btn .float-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.float-icon-btn .float-text {
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Popover QR Code */
.float-qr-popover {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background: #0d1a2e;
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  width: 160px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: left center;
}

.float-qr-popover img {
  width: 128px;
  height: 128px;
  border-radius: 8px;
  display: block;
  margin: 0 auto 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.float-qr-popover p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.float-qr-popover span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
  display: block;
}

/* Hover Effects */
.left-float-widget:hover .float-icon-btn {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 230, 118, 0.5);
}

.left-float-widget:hover .float-qr-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

@media(max-width: 768px) {
  .left-float-widget {
    left: 10px;
  }
  .float-icon-btn {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
  .float-icon-btn .float-icon {
    font-size: 1.3rem;
  }
  .float-icon-btn .float-text {
    font-size: 0.55rem;
  }
  .float-qr-popover {
    left: 68px;
    width: 140px;
    padding: 12px;
  }
  .float-qr-popover img {
    width: 110px;
    height: 110px;
  }
}

/* ===== GLOBAL STATS BANNER ROW & CARD ===== */
.stats-banner-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.stats-banner-card {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.08), rgba(0, 188, 212, 0.08));
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stats-banner-card .big {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stats-banner-card .unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.stats-banner-card .desc,
.stats-banner-card .label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 10px;
}

@media(max-width: 1024px) {
  .stats-banner-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media(max-width: 768px) {
  .stats-banner-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ===== GLOBAL UNIFIED SPLIT SECTION LAYOUTS ===== */
/* Map page-specific layout selectors from services.html, features.html, and advantages.html to a unified global responsive layout. */
.step-detail,
.feature-block,
.adv-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--card-border);
}

.step-detail:last-child,
.feature-block:last-child,
.adv-section:last-child {
  border-bottom: none;
}

.step-detail.reverse,
.feature-block.reverse,
.adv-section.rev {
  direction: rtl;
}

.step-detail.reverse > *,
.feature-block.reverse > *,
.adv-section.rev > * {
  direction: ltr;
}

.step-detail-visual,
.feature-visual,
.adv-visual {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media(max-width: 1024px) {
  .step-detail,
  .feature-block,
  .adv-section {
    gap: 40px;
  }
}

@media(max-width: 768px) {
  .step-detail,
  .feature-block,
  .adv-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
    direction: ltr !important;
  }
  .step-detail.reverse > *,
  .feature-block.reverse > *,
  .adv-section.rev > * {
    direction: ltr !important;
  }
  .step-detail-visual,
  .feature-visual,
  .adv-visual {
    padding: 32px 20px;
  }
}
