:root {
  --bg-dark: #000b18;
  --bg-secondary: #00132c;
  --bg-footer: #000710;
  --primary: #0055ff;
  --primary-hover: #0044cc;
  --accent: #00e5ff;
  --alert: #ff5f56;
  --success: #27c93f;
  --text-main: #ffffff;
  --text-muted: #a0aec0;
  --font-family: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow: 0 0 20px rgba(0, 85, 255, 0.4);
  --glass-bg: rgba(0, 19, 44, 0.6);
  --glass-border: 1px solid rgba(0, 85, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background glowing decorations */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 11, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 85, 255, 0.1);
  padding: 16px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.accent-text {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Buttons */
.btn-primary-sm {
  background-color: var(--primary);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px; /* touch target >= 44px */
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid rgba(0, 85, 255, 0.4);
}

.btn-primary-sm:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

/* Global Text Wrapping & Anti-Orphan Rules */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .section-subtitle,
.guarantee-title, .final-cta-title, .problem-subtitle-text,
.final-cta-highlight, .top-bar {
  text-wrap: balance;
  -webkit-text-wrap: balance;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid rgba(0, 85, 255, 0.4);
  box-shadow: var(--glow);
  text-wrap: balance;
  -webkit-text-wrap: balance;
  word-break: keep-all;
  line-height: 1.35;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 0 30px rgba(0, 85, 255, 0.6);
  transform: translateY(-2px);
}

/* Glassmorphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 16px;
}

/* Badge & Gradient Text */
.badge {
  display: inline-block;
  background: rgba(0, 85, 255, 0.15);
  border: 1px solid rgba(0, 85, 255, 0.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 100px 0;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero-content {
  max-width: 540px;
}

@media (max-width: 991px) {
  .hero-content {
    margin: 0 auto;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 40px;
  }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Hero Preview */
.hero-preview {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--glow);
  border: 1px solid rgba(0, 85, 255, 0.3);
  border-radius: 16px;
}

.hero-preview-mobile {
  display: none;
}

.hero-preview-desktop {
  display: block;
}

.preview-header {
  background: rgba(0, 11, 24, 0.5);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 85, 255, 0.1);
}

.preview-dots {
  display: flex;
  gap: 6px;
  margin-right: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background-color: var(--alert); }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: var(--success); }

.preview-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.preview-body {
  padding: 30px;
}

.preview-chart-placeholder {
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  margin-bottom: 30px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.mock-chart-bar {
  width: 14%;
  height: var(--height);
  background: linear-gradient(to top, var(--primary), var(--accent));
  border-radius: 6px 6px 0 0;
  animation: growUp 1.5s ease-out forwards;
  transform-origin: bottom;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

@keyframes growUp {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.preview-stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.stat-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
}

.text-green { color: var(--success); }
.text-red { color: var(--alert); }

/* Features Section */
.features-section {
  padding: 100px 0;
  background: radial-gradient(100% 100% at bottom center, var(--bg-secondary) 0%, var(--bg-dark) 100%);
}

.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  padding: 40px 30px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-card:hover {
  border-color: rgba(0, 85, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 85, 255, 0.15);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Simulator Section */
.simulator-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.simulator-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.simulator-tabs {
  display: flex;
  background: rgba(0, 11, 24, 0.4);
  border-bottom: 1px solid rgba(0, 85, 255, 0.1);
  padding: 8px;
}

.tab-button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  padding: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 500px) {
  .tab-button {
    font-size: 13px;
    padding: 12px 6px;
    gap: 4px;
  }
}

.tab-button:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.tab-button.active {
  color: var(--text-main);
  background: rgba(0, 85, 255, 0.15);
  border: 1px solid rgba(0, 85, 255, 0.3);
}

.simulator-content {
  padding: 40px;
}

@media (max-width: 767px) {
  .simulator-content {
    padding: 24px;
  }
}

.simulator-view {
  animation: fadeIn 0.4s ease-out forwards;
}

.view-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 767px) {
  .view-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.hidden {
  display: none !important;
}

.chart-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-container h4 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Simulated Pie Chart */
.pie-chart-mock {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #333;
  margin: 0 auto 20px auto;
  overflow: hidden;
}

.pie-slice {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 50%);
  transform: rotate(var(--deg)) scale(0);
  background-color: var(--color);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.pie-slice:nth-child(1) {
  transform: rotate(0deg) skewY(0deg) scale(0); /* 50% (180deg) */
  clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.pie-slice:nth-child(2) {
  transform: rotate(180deg) scale(0);
  clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 100%); /* 33% */
}

.pie-slice:nth-child(3) {
  transform: rotate(300deg) scale(0);
  clip-path: polygon(50% 50%, 0% 0%, 100% 0%); /* 17% */
}

.active-view .pie-slice {
  transform: rotate(var(--deg)) scale(1);
}

.active-view .pie-slice:nth-child(1) {
  transform: rotate(0deg) skewY(0deg) scale(1);
}

.active-view .pie-slice:nth-child(2) {
  transform: rotate(180deg) scale(1);
}

.active-view .pie-slice:nth-child(3) {
  transform: rotate(300deg) scale(1);
}

.pie-center {
  position: absolute;
  width: 70px;
  height: 70px;
  background: #00132c;
  border-radius: 50%;
  top: 35px;
  left: 35px;
  z-index: 10;
}

.chart-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.legend-color {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

/* Simulated Bar Chart & Leak Alert */
.leak-alert {
  background: rgba(255, 95, 86, 0.1);
  border: 1px solid rgba(255, 95, 86, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  margin-bottom: 24px;
  animation: flash 2s infinite;
}

@keyframes flash {
  0% { border-color: rgba(255, 95, 86, 0.2); box-shadow: 0 0 0 rgba(255, 95, 86, 0); }
  50% { border-color: rgba(255, 95, 86, 0.6); box-shadow: 0 0 10px rgba(255, 95, 86, 0.3); }
  100% { border-color: rgba(255, 95, 86, 0.2); box-shadow: 0 0 0 rgba(255, 95, 86, 0); }
}

.alert-icon {
  font-size: 18px;
}

.alert-text {
  font-size: 13px;
  color: #ff5f56;
}

.bar-chart-mock {
  height: 150px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bar {
  width: 32px;
  height: 0;
  background: linear-gradient(to top, var(--primary), var(--accent));
  border-radius: 6px 6px 0 0;
  box-shadow: 0 0 10px rgba(0, 85, 255, 0.2);
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.active-view .bar {
  height: var(--height);
}

.bar-wrapper span {
  font-size: 11px;
  color: var(--text-muted);
}

/* List details */
.list-container h4 {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--text-muted);
}

.list-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 15px;
}

.total-bar {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 0 0;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* AI Tips Showcase */
.ai-showcase-section {
  padding: 100px 0;
  background: var(--bg-dark);
}

.ai-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .ai-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.ai-info-content {
  max-width: 500px;
}

.text-left {
  text-align: left !important;
}

.ai-info-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
}

.ai-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bullet-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bullet-icon {
  font-size: 24px;
  padding: 10px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  line-height: 1;
}

.bullet-item div {
  font-size: 15px;
  color: var(--text-muted);
}

.bullet-item div strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

/* AI Chat Simulator */
.ai-chat-simulator {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.2);
  border-radius: 16px;
}

.chat-header {
  background: rgba(0, 19, 44, 0.8);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.ai-avatar-pulse {
  width: 44px;
  height: 44px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.bot-icon {
  font-size: 22px;
}

.bot-name {
  font-size: 15px;
  font-weight: 700;
}

.bot-status {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

.chat-messages {
  padding: 24px;
  max-height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  animation: messageSlideIn 0.3s ease-out forwards;
}

@keyframes messageSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-message {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top-left-radius: 2px;
}

.bot-message.success {
  background: rgba(39, 201, 63, 0.1);
  border: 1px solid rgba(39, 201, 63, 0.2);
  color: var(--text-main);
}

.user-message {
  align-self: flex-end;
  background: var(--primary);
  border-top-right-radius: 2px;
  box-shadow: 0 4px 10px rgba(0, 85, 255, 0.3);
}

.animate-message {
  animation: messageSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% { 
    transform: scale(0);
  } 
  40% { 
    transform: scale(1.0);
  }
}

.chat-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  animation: fadeIn 0.3s ease-out forwards;
}

.btn-ai-action {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ai-action.accept {
  background: var(--accent);
  color: #000b18;
  border: none;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.btn-ai-action.accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

.btn-ai-action.ignore {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ai-action.ignore:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background: radial-gradient(100% 100% at top center, var(--bg-secondary) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 40px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.highlight-card {
  border: 1px solid rgba(0, 85, 255, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 85, 255, 0.15);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 85, 255, 0.25);
  border-color: var(--primary);
}

.badge-pricing {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #000b18;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.pricing-price {
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
}

.price-old {
  font-size: 20px;
  text-decoration: line-through;
  color: var(--text-muted);
}

.price-current {
  font-size: 54px;
  font-weight: 900;
  color: var(--text-main);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.pricing-period {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 30px;
}

.pricing-features {
  text-align: left;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
}

.checkout-scroll-target {
  scroll-margin-top: 150px;
}

.btn-pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
  text-wrap: balance;
  -webkit-text-wrap: balance;
  line-height: 1.35;
}

.payment-methods {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.payment-methods span {
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
}

.pricing-guarantee {
  font-size: 13px;
  color: var(--text-muted);
  text-wrap: balance;
  -webkit-text-wrap: balance;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(0, 85, 255, 0.2);
}

.faq-header {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  outline: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.faq-item:hover .faq-header h4 {
  color: var(--accent);
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(0, 85, 255, 0.3);
  background: rgba(0, 19, 44, 0.4);
}

.faq-item.active .faq-header h4 {
  color: var(--accent);
}

.faq-item.active .faq-icon {
  color: var(--accent);
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
}

.faq-item.active .faq-body {
  max-height: 200px; /* arbitrary height to slide down */
  padding: 0 24px 24px 24px;
}

.faq-body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--bg-footer);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 767px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

.footer p {
  color: var(--text-muted);
  font-size: 13px;
}

/* Top Notification Bar */
.top-bar {
  background: linear-gradient(90deg, #0044cc 0%, #00e5ff 100%);
  color: #000b18;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  position: relative;
  z-index: 101;
}

.top-bar s.price-strike {
  text-decoration: line-through;
  opacity: 0.8;
}

@media (max-width: 767px) {
  .top-bar {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* Hero Section additions */
.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  text-align: left;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--text-main);
}

.hero-checklist .check-icon {
  font-size: 18px;
}

.hero-cta-box {
  padding: 24px;
  border-radius: 16px;
  background: rgba(0, 19, 44, 0.7);
  border: 1px solid rgba(0, 85, 255, 0.3);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-price-tag .price-old {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--text-muted);
}

.hero-price-tag .price-new {
  font-size: 22px;
  color: var(--accent);
}

.hero-price-tag .price-new strong {
  font-size: 28px;
  color: #ffffff;
}

.hero-price-tag .price-sub {
  width: 100%;
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
}

.hero-cta-btn {
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
  font-size: 16px;
  padding: 16px 20px;
  line-height: 1.35;
  text-wrap: balance;
  -webkit-text-wrap: balance;
}

.hero-security-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--text-muted);
  width: 100%;
}

.hero-security-badges span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Problem Section */
.problem-section {
  padding: 100px 0;
  background: var(--bg-dark);
}

.desktop-only {
  display: block;
}

@media (max-width: 767px) {
  .desktop-only {
    display: inline;
  }
}

.problem-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
}

.problem-intro {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.5;
}

.problem-details {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.problem-subtitle-text {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 95, 86, 0.05);
  border: 1px solid rgba(255, 95, 86, 0.2);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
}

.problem-icon {
  font-size: 20px;
}

.solution-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.solution-highlight .highlight-icon {
  font-size: 28px;
}

.solution-highlight p {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.6;
}

/* Feature 2 Sub-list */
.sub-features-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-features-list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Steps Section */
.steps-section {
  padding: 100px 0;
  background: radial-gradient(100% 100% at top center, var(--bg-secondary) 0%, var(--bg-dark) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  padding: 36px 28px;
  position: relative;
  text-align: left;
  border: 1px solid rgba(0, 85, 255, 0.2);
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.step-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #000b18;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  padding: 32px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 85, 255, 0.2);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 85, 255, 0.15);
}

.testimonial-card .stars {
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.testimonial-author strong {
  color: var(--accent);
  font-size: 15px;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 13px;
}

/* Guarantee Section */
.guarantee-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.guarantee-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid rgba(39, 201, 63, 0.3);
  box-shadow: 0 0 30px rgba(39, 201, 63, 0.1);
  border-radius: 20px;
}

.guarantee-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.guarantee-shield {
  font-size: 48px;
}

.guarantee-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
}

.guarantee-subtitle {
  font-size: 18px;
  color: var(--success);
  font-weight: 700;
}

.guarantee-body p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.guarantee-body p:last-child {
  margin-bottom: 0;
}

.pricing-cta-subtext {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -6px;
  margin-bottom: 20px;
}

/* Final Callout Section */
.final-cta-section {
  padding: 100px 0;
  background: radial-gradient(100% 100% at bottom center, var(--bg-secondary) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.final-cta-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid rgba(0, 85, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 85, 255, 0.2);
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ff5f56;
}

.final-cta-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.final-cta-highlight {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 30px;
}

.final-cta-btn {
  max-width: 480px;
  margin: 0 auto 12px auto;
  display: block;
  font-size: 18px;
  padding: 18px 32px;
  text-wrap: balance;
  -webkit-text-wrap: balance;
  line-height: 1.35;
}

.final-cta-subtext {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE BREAKPOINTS
   ========================================================================== */

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-preview-mobile {
    display: block;
    margin: 24px auto 32px auto;
    max-width: 500px;
  }

  .hero-preview-desktop {
    display: none;
  }

  .hero-checklist {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid, 
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ai-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ai-info-content {
    max-width: 100%;
    text-align: center;
  }

  .text-left {
    text-align: center !important;
  }

  .bullet-item {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-section, 
  .features-section, 
  .simulator-section, 
  .ai-showcase-section, 
  .testimonials-section, 
  .pricing-section, 
  .faq-section, 
  .final-cta-section {
    padding: 60px 0;
  }

  .problem-section, 
  .guarantee-section {
    padding: 50px 0;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .top-bar {
    font-size: 13px;
    padding: 8px 12px;
  }

  .header {
    padding: 12px 0;
  }

  .hero-section {
    padding: 40px 0 50px 0;
  }

  .hero-title {
    font-size: 30px;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-preview-mobile {
    margin: 20px auto 28px auto;
  }

  .preview-body {
    padding: 20px 16px;
  }

  .preview-chart-placeholder {
    height: 130px;
    margin-bottom: 20px;
  }

  .hero-checklist li {
    font-size: 14px;
  }

  .hero-cta-box {
    padding: 20px 16px;
  }

  .hero-price-tag .price-old {
    font-size: 14px;
  }

  .hero-price-tag .price-new {
    font-size: 20px;
  }

  .hero-price-tag .price-new strong {
    font-size: 24px;
  }

  .hero-cta-btn {
    font-size: 15px;
    padding: 14px 16px;
    width: 100%;
  }

  .section-title {
    font-size: 26px;
    letter-spacing: -0.5px;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 36px;
  }

  .problem-content {
    padding: 24px 18px;
  }

  .problem-intro {
    font-size: 17px;
  }

  .problem-details {
    font-size: 14.5px;
  }

  .problem-card {
    padding: 14px 16px;
    font-size: 14px;
  }

  .solution-highlight {
    padding: 18px 16px;
  }

  .solution-highlight p {
    font-size: 14.5px;
  }

  .feature-card, 
  .step-card {
    padding: 28px 20px;
  }

  .simulator-content {
    padding: 24px 16px;
  }

  .view-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .chart-container {
    padding: 20px 16px;
    min-height: auto;
  }

  .ai-info-content h2 {
    font-size: 28px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .pricing-card {
    padding: 40px 24px;
  }

  .price-current {
    font-size: 42px;
  }

  .guarantee-card {
    padding: 28px 20px;
  }

  .guarantee-title {
    font-size: 22px;
  }

  .guarantee-subtitle {
    font-size: 16px;
  }

  .faq-header {
    padding: 18px 16px;
  }

  .faq-header h4 {
    font-size: 15px;
  }

  .faq-item.active .faq-body {
    max-height: 500px;
    padding: 0 16px 20px 16px;
  }

  .final-cta-card {
    padding: 36px 20px;
  }

  .final-cta-title {
    font-size: 22px;
  }

  .final-cta-highlight {
    font-size: 18px;
  }

  .final-cta-btn {
    font-size: 15px;
    padding: 16px 20px;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .btn-primary-sm {
    font-size: 12px;
    padding: 8px 14px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-cta-box {
    padding: 16px 12px;
  }

  .hero-cta-btn {
    font-size: 14px;
    padding: 14px 10px;
    line-height: 1.35;
    text-wrap: balance;
    -webkit-text-wrap: balance;
  }

  .hero-security-badges {
    font-size: 11px;
    gap: 6px 10px;
  }

  .preview-body {
    padding: 16px 12px;
  }

  .preview-stats {
    gap: 10px;
  }

  .stat-box {
    padding: 10px 8px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-value {
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .problem-content {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .solution-highlight {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .tab-button {
    font-size: 12px;
    padding: 10px 4px;
    gap: 4px;
  }

  .pie-chart-mock {
    width: 120px;
    height: 120px;
  }

  .pie-center {
    width: 60px;
    height: 60px;
    top: 30px;
    left: 30px;
  }

  .bar-chart-mock {
    height: 120px;
  }

  .bar {
    width: 24px;
  }

  .ai-info-content h2 {
    font-size: 20px;
  }

  .chat-header {
    padding: 14px 12px;
  }

  .chat-messages {
    padding: 14px 10px;
  }

  .message {
    max-width: 92%;
    font-size: 13px;
    padding: 10px 12px;
  }

  .chat-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-ai-action {
    width: 100%;
    padding: 12px;
    font-size: 13px;
  }

  .pricing-card {
    padding: 32px 16px;
  }

  .price-current {
    font-size: 32px;
  }

  .pricing-features li {
    font-size: 13px;
  }

  .btn-pricing-cta {
    font-size: 14px;
    padding: 14px 10px;
    line-height: 1.35;
    text-wrap: balance;
    -webkit-text-wrap: balance;
  }

  .guarantee-card {
    padding: 20px 14px;
  }

  .guarantee-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    align-items: center;
  }

  .guarantee-shield {
    font-size: 40px;
  }

  .guarantee-title {
    font-size: 18px;
  }

  .guarantee-subtitle {
    font-size: 14px;
  }

  .guarantee-body p {
    font-size: 13px;
  }

  .faq-header {
    padding: 14px 12px;
  }

  .faq-header h4 {
    font-size: 13px;
  }

  .final-cta-card {
    padding: 24px 14px;
  }

  .final-cta-title {
    font-size: 20px;
  }

  .final-cta-desc {
    font-size: 13px;
  }

  .final-cta-highlight {
    font-size: 15px;
  }

  .final-cta-btn {
    font-size: 14px;
    padding: 14px 10px;
    line-height: 1.35;
    text-wrap: balance;
    -webkit-text-wrap: balance;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: 18px;
  }

  .btn-primary-sm {
    font-size: 11px;
    padding: 7px 10px;
  }

  .hero-title {
    font-size: 20px;
  }

  .price-current {
    font-size: 28px;
  }

  .preview-stats {
    flex-direction: column;
    gap: 8px;
  }
}





