/* ==========================================================================
   PLUMBWISE AI — MAIN STYLESHEET
   SaaS AI + Premium Home Services Aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --primary: #0B5CFF;
  --primary-dark: #073B9E;
  --primary-light: #3D7EFF;
  --accent: #19C7D8;
  --accent-glow: rgba(25, 199, 216, 0.25);
  
  --dark: #071426;
  --dark-secondary: #0D2038;
  --dark-card: #122844;
  --dark-border: rgba(255, 255, 255, 0.08);

  --bg-light: #F7FAFC;
  --bg-white: #FFFFFF;
  --bg-card-light: #FFFFFF;

  --text-main: #122033;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #F8FAFC;

  --success: #10B981;
  --success-glow: rgba(16, 185, 129, 0.15);
  --danger: #EF4444;
  --warning: #F59E0B;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(7, 20, 38, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(7, 20, 38, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(7, 20, 38, 0.15);
  --shadow-glow: 0 0 35px rgba(11, 92, 255, 0.3);
  --shadow-cyan: 0 0 30px rgba(25, 199, 216, 0.25);

  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-dark: rgba(7, 20, 38, 0.75);
  --glass-dark-border: rgba(255, 255, 255, 0.1);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. BACKGROUND MESH & LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
}

.mesh-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.mesh-2 {
  top: 40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

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

/* Typography & Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.15;
  font-weight: 700;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(11, 92, 255, 0.08);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(11, 92, 255, 0.15);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(11, 92, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 92, 255, 0.45);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-main);
  border: 1px solid rgba(7, 20, 38, 0.12);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  color: var(--text-main);
}

.btn-ghost:hover {
  color: var(--primary);
  background: rgba(11, 92, 255, 0.06);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
  filter: blur(10px);
}

.btn-glow:hover::after {
  opacity: 0.7;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-glow {
  background: rgba(11, 92, 255, 0.08);
  color: var(--primary);
  border: 1px solid rgba(11, 92, 255, 0.2);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* --------------------------------------------------------------------------
   4. HEADER / NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--dark);
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 10rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  letter-spacing: -0.03em;
  margin: 1.25rem 0 1.25rem 0;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust-bullets {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(7, 20, 38, 0.08);
}

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

.trust-bullet svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.hero-image {
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 28px 38px rgba(11, 92, 255, 0.18));
  transform: translateX(1.5rem);
}

/* --------------------------------------------------------------------------
   6. TRUST & STATS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 5rem 0;
  background: var(--bg-white);
  border-top: 1px solid rgba(7, 20, 38, 0.05);
  border-bottom: 1px solid rgba(7, 20, 38, 0.05);
}

.stats-header {
  margin-bottom: 3rem;
}

.stats-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.stat-card {
  background: var(--bg-light);
  border: 1px solid rgba(7, 20, 38, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 92, 255, 0.2);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(11, 92, 255, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.stat-icon svg { width: 24px; height: 24px; }

.stat-number, .stat-number-static {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. PROBLEM vs SOLUTION SECTION
   -------------------------------------------------------------------------- */
.problem-section {
  padding: 7rem 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparison-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(7, 20, 38, 0.08);
}

.traditional-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F5 100%);
  border-color: rgba(239, 68, 68, 0.15);
}

.plumbwise-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(16, 185, 129, 0.08);
}

.comparison-card h3 {
  font-size: 1.5rem;
  margin: 1rem 0 1.5rem 0;
}

.problem-list, .solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.problem-list li, .solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.problem-list li svg {
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.solution-list li svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(7, 20, 38, 0.08);
  gap: 0.25rem;
  flex-wrap: wrap;
}

.flow-step {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 20, 38, 0.05);
  color: var(--text-muted);
}

.traditional-flow .flow-step {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
}

.plumbwise-flow .active-step {
  background: rgba(11, 92, 255, 0.1);
  color: var(--primary);
}

.plumbwise-flow .highlight-step {
  background: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(11, 92, 255, 0.3);
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. HOW IT WORKS
   -------------------------------------------------------------------------- */
.how-section {
  padding: 7rem 0;
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.step-card {
  background: var(--bg-light);
  border: 1px solid rgba(7, 20, 38, 0.06);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 92, 255, 0.2);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(11, 92, 255, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.step-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(11, 92, 255, 0.25);
}

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

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

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

/* Connector Lines */
.step-connector {
  position: absolute;
  top: 3.5rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  z-index: 2;
}

/* --------------------------------------------------------------------------
   9. AI CHAT DEMO SECTION
   -------------------------------------------------------------------------- */
.demo-section {
  padding: 7rem 0;
}

.chat-demo-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.chat-demo-container {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
}

.chat-demo-header {
  background: var(--dark-secondary);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--dark-border);
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-circle svg { width: 22px; height: 22px; }

.chat-user-info h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.chat-status {
  font-size: 0.8rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.btn-demo-reset {
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.btn-demo-reset:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}
.btn-demo-reset svg { width: 14px; height: 14px; }

.chat-demo-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: 480px;
  overflow-y: auto;
  background: radial-gradient(circle at bottom left, #0D2038 0%, #071426 100%);
}

.chat-row {
  display: flex;
  width: 100%;
}

.user-row { justify-content: flex-end; }
.ai-row { justify-content: flex-start; }

.chat-bubble-demo {
  max-width: 80%;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  line-height: 1.6;
}

.user-bubble {
  background: var(--primary);
  color: var(--text-white);
  border-bottom-right-radius: 4px;
}

.ai-bubble {
  background: var(--dark-card);
  color: #E2E8F0;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--dark-border);
}

.demo-list {
  margin: 0.75rem 0 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--accent);
  background: rgba(25, 199, 216, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
}
.demo-tag svg { width: 14px; height: 14px; }

/* Typing indicator */
.typing-indicator-bar {
  padding: 0.75rem 2rem;
  background: rgba(13, 32, 56, 0.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-top: 1px solid var(--dark-border);
}

.dot-bounce {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: bounceDot 1.4s infinite ease-in-out both;
}

.dot-bounce:nth-child(1) { animation-delay: -0.32s; }
.dot-bounce:nth-child(2) { animation-delay: -0.16s; }

.typing-text {
  font-size: 0.82rem;
  color: var(--accent);
  margin-left: 0.5rem;
}

.hidden { display: none !important; }

.chat-demo-footer {
  padding: 1.25rem 1.75rem;
  background: var(--dark-secondary);
  border-top: 1px solid var(--dark-border);
}

.prompt-chips-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.prompt-chips {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  transition: all var(--transition-fast);
  text-align: left;
}

.chip-btn:hover {
  background: rgba(11, 92, 255, 0.2);
  border-color: var(--primary);
  color: var(--bg-white);
}

/* --------------------------------------------------------------------------
   10. FEATURES GRID
   -------------------------------------------------------------------------- */
.features-section {
  padding: 7rem 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-light);
  border: 1px solid rgba(7, 20, 38, 0.06);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 92, 255, 0.18);
  background: var(--bg-white);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(11, 92, 255, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 6px 16px rgba(11, 92, 255, 0.25);
}

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

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

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

/* --------------------------------------------------------------------------
   11. SMART JOB DETECTION SECTION
   -------------------------------------------------------------------------- */
.smart-project-section {
  padding: 7rem 0;
}

.smart-project-wrapper {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--dark-border);
}

.smart-project-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.smart-project-content h2 {
  color: var(--text-white);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin: 1rem 0 1.25rem 0;
}

.smart-project-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.project-shift-preview {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
}

.project-state {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

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

.project-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.active-pill {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.project-id {
  font-size: 0.75rem;
  color: var(--text-light);
}

.project-state h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.project-state p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.project-shift-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrow-pulse {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.arrow-pulse svg { width: 24px; height: 24px; animation: pulseGlow 2s infinite; }

.new-project-prompt {
  border-color: rgba(25, 199, 216, 0.3);
  background: radial-gradient(circle at top right, rgba(25, 199, 216, 0.1) 0%, var(--dark-card) 100%);
}

.prompt-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.prompt-header svg { width: 16px; height: 16px; }

.prompt-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.prompt-buttons .btn-ghost {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   12. PROJECT / JOB MANAGEMENT WORKSPACE
   -------------------------------------------------------------------------- */
.project-section {
  padding: 7rem 0;
  background: var(--bg-white);
}

.dashboard-mockup {
  background: var(--bg-light);
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  min-height: 500px;
}

.dash-sidebar {
  background: var(--bg-white);
  border-right: 1px solid rgba(7, 20, 38, 0.08);
  padding: 1.75rem 1.25rem;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.dash-brand svg { color: var(--primary); width: 20px; height: 20px; }

.dash-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dash-menu li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dash-menu li svg { width: 18px; height: 18px; }

.dash-menu li.active, .dash-menu li:hover {
  background: rgba(11, 92, 255, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.dash-main {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

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

.dash-header h3 {
  font-size: 1.35rem;
}

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

.project-card-item {
  background: var(--bg-white);
  border: 1px solid rgba(7, 20, 38, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.project-card-item:hover {
  border-color: rgba(11, 92, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.project-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.badge-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.3rem;
}

.status-in-progress {
  background: rgba(11, 92, 255, 0.1);
  color: var(--primary);
}

.status-completed {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.project-item-header h4 {
  font-size: 1.1rem;
}

.project-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-progress {
  margin: 0.75rem 0;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(7, 20, 38, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
}

.complete-fill {
  background: var(--success);
}

.progress-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(7, 20, 38, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-footer span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.project-footer span svg { width: 14px; height: 14px; color: var(--primary); }

.project-link {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.project-link svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   13. SAFETY FIRST SECTION
   -------------------------------------------------------------------------- */
.safety-section {
  padding: 7rem 0;
}

.safety-card-wrapper {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  color: var(--text-white);
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-lg);
}

.safety-header {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.safety-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.safety-header h2 {
  color: var(--text-white);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.safety-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.safety-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  transition: all var(--transition-normal);
}

.safety-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.safety-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.safety-icon-box svg { width: 22px; height: 22px; }

.safety-item h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.safety-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.safety-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-light);
}

.safety-disclaimer svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   14. PRICING SECTION
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 7rem 0;
  background: var(--bg-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto 3rem auto;
}

.price-card {
  background: var(--bg-light);
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.price-card-featured {
  background: var(--dark);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg-white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}

.price-header {
  margin-bottom: 2rem;
}

.plan-type {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent);
}

.price-header h3 {
  font-size: 1.75rem;
  margin: 0.4rem 0 1rem 0;
}

.price-card-featured h3 {
  color: var(--text-white);
}

.price-amount {
  display: flex;
  align-items: baseline;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.currency {
  font-size: 2rem;
  margin-right: 2px;
}

.period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-card-featured .period {
  color: var(--text-light);
}

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

.price-card-featured .price-header p {
  color: var(--text-light);
}

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

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.price-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.price-card-featured .price-features li svg {
  color: var(--accent);
}

/* Single Additional Session Card */
.single-session-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-light);
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.single-session-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.single-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 92, 255, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.single-icon svg { width: 24px; height: 24px; }

.one-time-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.single-session-content h4 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.single-session-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.single-price-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.single-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.single-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   15. HIGH-IMPACT CTA BANNER
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 5rem 0 7rem 0;
}

.cta-box {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 92, 255, 0.35) 0%, rgba(25, 199, 216, 0.15) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--text-white);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.cta-content p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   16. FAQ SECTION (ACCORDION)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 7rem 0;
  background: var(--bg-white);
}

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-light);
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(11, 92, 255, 0.3);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer p {
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid var(--dark-border);
}

.footer-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-text {
  color: var(--text-white);
}

.footer-desc {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

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

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid var(--dark-border);
  font-size: 0.88rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-white);
}

.green-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

/* --------------------------------------------------------------------------
   18. ANIMATIONS & SCROLL REVEAL KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

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

@keyframes bounceDot {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-container {
    gap: 2rem;
  }

  .stats-grid, .features-grid, .steps-grid, .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-connector { display: none; }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-bullets {
    justify-content: center;
  }

  .hero-image {
    max-width: 560px;
    transform: none;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .project-shift-preview {
    grid-template-columns: 1fr;
  }

  .project-shift-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }

  .dashboard-mockup {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(7, 20, 38, 0.08);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .single-session-card {
    flex-direction: column;
    text-align: center;
  }

  .single-session-content {
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 8rem;
  }

  .nav-container {
    gap: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-link {
    color: var(--text-white);
    font-size: 1.1rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .stats-grid, .features-grid, .steps-grid, .safety-grid {
    grid-template-columns: 1fr;
  }

  .smart-project-wrapper, .safety-card-wrapper, .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .prompt-chips {
    flex-direction: column;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.15rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-section {
    padding-bottom: 4rem;
  }

  .hero-image {
    max-width: 100%;
  }

  .btn-lg {
    padding: 0.85rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   20. ACCESSIBILITY (PREFERS-REDUCED-MOTION)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
