/* Base variables for a premium, warm aesthetic */
:root {
  --bg-primary: #fffcf2;
  /* Off white */
  --bg-secondary: #fffad1;
  /* Butter yellow */
  --bg-tertiary: #ffffff;

  --text-primary: #111111;
  --text-secondary: #9b9a9a;
  /* Grey */
  --text-muted: #9b9a9a;

  --brand-primary: #0466c8;
  /* Blue */
  --brand-primary-hover: #0353a4;
  --brand-secondary: #22c55e;
  /* Green */
  --brand-tertiary: #f2d2f9;
  /* Pink */

  --accent-success: #22c55e;
  --accent-danger: #ef4444;
  --accent-warning: #f59e0b;

  --border-color: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);

  --font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-alt: 'Montserrat Alternates', system-ui, -apple-system, sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-alt);
}

.h1 {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  margin-bottom: 1rem;
}

.h2 {
  font-size: clamp(1.75rem, 6vw, 3rem);
  margin-bottom: 1rem;
}

.h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 2rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

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

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

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

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 800px;
}

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

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-header {
  margin-bottom: 4rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Utilities */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.alt-bg {
  background-color: var(--bg-secondary);
}

/* Buttons & Forms */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-pill);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

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

.btn-primary {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: var(--brand-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--brand-tertiary);
}

.btn-secondary:hover {
  background: #e6b8ef;
  /* Slightly darker pink */
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
}

.btn-outline:hover {
  color: var(--brand-primary);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-icon.primary {
  background: var(--brand-primary);
}

.btn-icon.primary:hover {
  background: var(--brand-primary-hover);
}

.input {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--border-radius-pill);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-family);
  width: 100%;
}

.input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(4, 102, 200, 0.1);
}

.email-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 550px;
  align-items: stretch;
}

.email-form .input {
  flex: 1;
  height: auto;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.email-form .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  height: auto;
}

.justify-center {
  justify-content: center;
  margin: 0 auto;
}

@media (max-width: 576px) {
  .email-form {
    flex-direction: column;
  }

  .email-form .btn {
    width: 100%;
  }
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

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

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

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-icon {
  color: var(--brand-secondary);
  font-family: var(--font-alt);
  font-weight: 800;
  font-size: 1.8rem;
}

.logo-text {
  color: var(--text-primary);
  font-family: var(--font-alt);
  font-weight: 800;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: white;
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.hero-glow-1 {
  top: -100px;
  left: -200px;
  background: rgba(99, 102, 241, 0.3);
}

.hero-glow-2 {
  bottom: -100px;
  right: -200px;
  background: rgba(236, 72, 153, 0.2);
}

.hero-grid {
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content {
  padding-right: 0;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content {
    padding-right: 2rem;
    text-align: left;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: center;
  /* Default for mobile/tablet maybe center but wait, text-align is left generally, but we can stick to center to match */
}

.hero-ctas .btn-secondary {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  height: auto;
}

@media (min-width: 768px) {
  .hero-ctas {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .hero-ctas {
    align-items: stretch;
    justify-content: flex-start;
  }
}

.trusted-by {
  margin-top: 3rem;
}

.label-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 992px) {
  .integration-logos {
    justify-content: flex-start;
  }
}

.integration-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Phone Mockup & Chat UI */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

@media (min-width: 992px) {
  .hero-visual {
    margin-top: 0;
  }
}

.phone-mockup {
  width: 320px;
  height: 650px;
  background: var(--bg-tertiary);
  border-radius: 40px;
  border: 8px solid #2a2a35;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #2a2a35;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.chat-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f0f2f5;
  /* Light WhatsApp-like BG */
}

/* The app is dark mode, but the demo chat area looks like a typical messaging UI */
.chat-ui.large {
  background: white;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: white;
  padding: 2.5rem 1rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: #111;
}

.chat-ui.large .chat-header {
  background: white;
  color: var(--text-primary);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.chat-info strong {
  display: block;
  font-size: 0.9rem;
}

.chat-info span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #666;
}

.chat-ui.large .chat-info span {
  color: var(--text-secondary);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-success);
  border-radius: 50%;
}

.chat-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-body.scrollable {
  overflow-y: auto;
  min-height: 400px;
  max-height: 450px;
  background: transparent;
  padding-right: 1.5rem;
  /* Room for scrollbar */
}

/* Custom Scrollbar for Chat Body */
.chat-body.scrollable::-webkit-scrollbar {
  width: 6px;
}

.chat-body.scrollable::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
}

.chat-body.scrollable::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.chat-body.scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

.message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease;
}

.msg-user {
  background: #10B981;
  /* Green for WhatsApp feel on the mockup */
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
}

.chat-ui.large .msg-user {
  background: var(--brand-primary);
  box-shadow: 0 4px 10px rgba(4, 102, 200, 0.15);
}

.msg-welty {
  background: white;
  color: #111;
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.chat-ui.large .msg-welty {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-input-bar {
  background: white;
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-input-fake {
  flex: 1;
  background: #f0f2f5;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.875rem;
  color: #888;
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10B981;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input-area {
  padding: 1.5rem;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-input-area form {
  display: flex;
  gap: 0.5rem;
}

#demo-input {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--border-radius-pill);
  padding: 0.75rem 1.25rem;
  outline: none;
  font-size: 0.95rem;
  font-family: var(--font-family);
}

#demo-input:focus {
  border-color: var(--brand-primary);
}

/* Typing Indicator */
.typing-indicator {
  background: white;
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
  padding: 1rem;
  display: flex;
  gap: 4px;
}

.chat-ui.large .typing-indicator {
  background: rgba(255, 255, 255, 0.1);
}

.dot {
  width: 6px;
  height: 6px;
  background: #888;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Floating Cards in Hero */
.floating-card {
  position: absolute;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
  display: none;
}

@media (min-width: 1200px) {
  .floating-card {
    display: flex;
  }
}

.card-1 {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 25%;
  right: -50px;
  animation-delay: 3s;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.card-icon.success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-success);
}

.card-icon.accent {
  background: rgba(236, 72, 153, 0.2);
  color: var(--brand-secondary);
}

.card-text strong {
  display: block;
  font-size: 0.875rem;
}

.card-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Demo Section */
.demo-section {
  padding-top: 4rem;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3rem;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
  backdrop-filter: blur(20px);
}

@media (min-width: 992px) {
  .demo-container {
    grid-template-columns: 350px 1fr;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

.demo-sidebar {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.3);
}

.demo-sidebar h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.scenario-list {
  list-style: none;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scenario-item {
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.scenario-item:hover {
  background: white;
  transform: translateX(8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.scenario-item.active {
  background: white;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(4, 102, 200, 0.15);
  transform: translateX(8px);
}

/* Features/Pains Section */
.problem-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .problem-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 4rem;
  }
}

.pain-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pain-card {
  display: flex;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
}

.pain-icon {
  width: 48px;
  height: 48px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-danger);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pain-text h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

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

.solutions {
  padding: 3rem;
}

@media (max-width: 576px) {
  .solutions {
    padding: 2rem 1.5rem;
  }
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

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

.hover-translate-x {
  transition: transform 0.3s ease;
}

.hover-translate-x:hover {
  transform: translateX(8px);
}

.b-icon {
  color: var(--brand-primary);
  font-size: 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.5rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.b-content {
  flex: 1;
}

.b-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.b-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.b-metric {
  margin-left: auto;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-success);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .benefit-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon content"
      ". metric";
    align-items: start;
    gap: 1rem;
  }

  .b-icon {
    grid-area: icon;
  }

  .b-content {
    grid-area: content;
  }

  .b-metric {
    grid-area: metric;
    justify-self: start;
    margin-left: 0;
    margin-top: 0.25rem;
  }
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-tertiary);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.step-num {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 30px;
  height: 30px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--brand-secondary);
  margin-bottom: 1.5rem;
}

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

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

/* Case Study */
.case-study {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .case-study {
    grid-template-columns: 1fr 1fr;
  }
}

.case-content {
  padding: 3rem;
}

@media (max-width: 576px) {
  .case-content {
    padding: 2rem 1.5rem;
  }
}

.stars {
  color: var(--accent-warning);
  display: flex;
  gap: 0.25rem;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.case-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.metric-graph {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.bar {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 6px;
  animation: fillBar 1.5s forwards ease-out;
}

.bar-before::after {
  background: var(--text-secondary);
  width: 40%;
}

.bar-after::after {
  background: linear-gradient(90deg, var(--accent-success), #34D399);
  width: 90%;
}

@keyframes fillBar {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.case-visual {
  position: relative;
  min-height: 300px;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: white;
  color: #111;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-pill);
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floating-badge i {
  color: var(--accent-success);
}

/* Fit Section */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .fit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }
}

.fit-card {
  padding: 3rem;
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.fit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.fit-card-success {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.01) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.fit-card-danger {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.01) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.fit-bg-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 150px;
  opacity: 0.04;
  z-index: 1;
  pointer-events: none;
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.fit-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-weight: bold;
}

.fit-card-success .fit-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-success);
}

.fit-card-danger .fit-icon {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-danger);
}

/* CTA Section */
.cta-section {
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(10, 10, 14, 0) 70%);
  pointer-events: none;
}

.cta-container {
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-success);
  font-weight: 500;
  margin-bottom: 1.5rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-pill);
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family);
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--brand-primary);
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
  max-height: 300px;
  /* enough to show content */
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  background: var(--bg-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .footer-top {
    grid-template-columns: 1.5fr 2fr;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 300px;
}

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

@media (min-width: 576px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.link-group h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.link-group a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.link-group a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.25rem;
}

.social-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.social-links a:hover {
  color: white;
}

/* Sticky Mobile Footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 18, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-footer p {
  margin: 0;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
}

.sticky-footer.visible {
  transform: translateY(0);
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none;
  }

  .hide-mobile {
    display: flex;
  }
}

/* Animations Core */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}