/* Center and shrink GetResponse form on landing pages */
[data-gr-form] {
  display: block !important;
  max-width: 360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
  width: 100% !important;
}

[data-gr-form] input[type="email"],
[data-gr-form] input[type="text"],
[data-gr-form] button,
[data-gr-form] input[type="submit"] {
  max-width: 340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #64748b;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --border-color: #e2e8f0;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

/* Ensure the Free Guide form scrolls correctly under the sticky header
   and has room to be centered in the viewport */
#free-guide {
  scroll-margin-top: 90px; /* approximate navbar height */
  outline: none; /* paired with tabindex="-1" for focus without outline */
  min-height: 120px; /* keep visible space while GetResponse loads */
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.cta-button {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-link.cta-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Automation Graphic */
.automation-graphic {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.node-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.node-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 0.5s;
}

.node-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1s;
}

.node-4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 1.5s;
  background: var(--accent-color);
}

.connection {
  position: absolute;
  background: var(--primary-color);
  border-radius: 2px;
}

.connection-1 {
  width: 2px;
  height: 120px;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.connection-2 {
  width: 2px;
  height: 120px;
  top: 80px;
  right: 80px;
  transform: rotate(-45deg);
}

.connection-3 {
  width: 2px;
  height: 120px;
  bottom: 80px;
  left: 80px;
  transform: rotate(45deg);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: white;
  font-size: 1.25rem;
}

.feature-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dashboard Mockup */
.dashboard-mockup {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.dashboard-header {
  background: var(--bg-secondary);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-title {
  font-weight: 600;
  color: var(--text-primary);
}

.dashboard-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
}

.dashboard-content {
  padding: 1.5rem;
}

.metric-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-trend {
  font-size: 0.875rem;
  font-weight: 600;
}

.metric-trend.positive {
  color: var(--success-color);
}

.chart-placeholder {
  height: 120px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: var(--border-radius);
  opacity: 0.1;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-features {
  padding: 2rem;
  list-style: none;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--success-color);
  width: 16px;
}

.pricing-card .btn {
  margin: 0 2rem 2rem;
}

.pricing-note {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--primary-color);
}

.pricing-note p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.pricing-note strong {
  color: var(--text-primary);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--bg-dark);
  color: white;
}

.contact .section-title,
.contact .section-description {
  color: white;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-main {
  margin-bottom: 3rem;
}

/* GetResponse Form Container */
.getresponse-form-container {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* GetResponse Form Styling */
.getresponse-form-container [data-gr-form] {
  width: 100% !important;
}
/*noinspection CssUnknownTarget*/
/* The GetResponse script upgrades <getresponse-form>; keep a non-erroring hint for IDEs without matching the tag in selector */

.getresponse-form-container input[type="email"],
.getresponse-form-container input[type="text"],
.getresponse-form-container textarea,
.getresponse-form-container select {
  width: 100% !important;
  padding: 0.75rem !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 8px !important;
  font-family: "Inter", sans-serif !important;
  font-size: 1rem !important;
  margin-bottom: 1rem !important;
  transition: border-color 0.3s ease !important;
}

.getresponse-form-container input[type="email"]:focus,
.getresponse-form-container input[type="text"]:focus,
.getresponse-form-container textarea:focus,
.getresponse-form-container select:focus {
  outline: none !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
}

.getresponse-form-container label {
  font-weight: 600 !important;
  color: #1f2937 !important;
  font-size: 0.9rem !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
  font-family: "Inter", sans-serif !important;
}

.getresponse-form-container button,
.getresponse-form-container input[type="submit"] {
  background: #4f46e5 !important;
  color: white !important;
  padding: 0.75rem 2rem !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  width: 100% !important;
  font-family: "Inter", sans-serif !important;
}

.getresponse-form-container button:hover,
.getresponse-form-container input[type="submit"]:hover {
  background: #4338ca !important;
}

.getresponse-form-container .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.getresponse-form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.getresponse-form-container .form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.getresponse-form-container .form-group input,
.getresponse-form-container .form-group select {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.getresponse-form-container .form-group input:focus,
.getresponse-form-container .form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.getresponse-form-container .btn-full {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Chat CTA Section */
.chat-cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-xl);
}

.chat-demo-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.chat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.chat-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.chat-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.chat-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0;
  min-width: 250px;
}

.chat-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Alternative Contact Methods */
.contact-alternatives {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-alternatives h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-2px);
}

.contact-method i {
  color: var(--primary-color);
  width: 20px;
}

.business-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.business-info i {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-description {
  color: var(--text-light);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }

  .automation-graphic {
    width: 300px;
    height: 300px;
  }

  .node {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }

  .connection-1,
  .connection-2,
  .connection-3 {
    height: 90px;
  }

  .features-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    padding: 0 1rem;
  }

  .chat-demo-info {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .chat-content {
    text-align: center;
  }

  .contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .chat-cta-section {
    padding: 2rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .services,
  .features,
  .pricing,
  .contact {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .automation-graphic {
    width: 250px;
    height: 250px;
  }

  .node {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Add-on Modal (dialog) */
dialog#addonModal{border:0;padding:0;width:min(92vw,720px);max-width:720px;max-height:90vh;background:transparent;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;box-sizing:border-box}
/* Keep visible when opened; native <dialog> centers itself, but we force centering for consistency */
dialog#addonModal[open]{display:block}
dialog#addonModal::backdrop{background:rgba(15,23,42,.6)}
dialog#addonModal .addon-card{max-height:85vh;overflow:auto}
.addon-card{position:relative;background:#fff;border-radius:var(--border-radius-lg);padding:2rem;box-shadow:var(--shadow-xl);font-size:1.0625rem;line-height:1.7}
.addon-close{position:absolute;top:10px;right:12px;border:0;background:transparent;font-size:2rem;line-height:1;cursor:pointer}
.addon-price{font-weight:700;color:var(--primary-color);margin:.5rem 0 1rem;font-size:1.25rem}
#addon-title{font-size:1.6rem;font-weight:800;margin:0 0 .5rem 0}
#addon-desc{font-size:1.0625rem}
@media (max-width: 480px){
  .addon-card{padding:1.5rem;font-size:1rem;line-height:1.65}
  #addon-title{font-size:1.4rem}
  .addon-close{font-size:1.75rem}
  .addon-price{font-size:1.125rem}
}

/* Tiny button for inline view links */
.btn.btn-xs{padding:.35rem .7rem;font-size:.85rem;line-height:1;border-radius:6px}
.btn-outline{background:transparent;border:2px solid var(--primary-color);color:var(--primary-color)}
.btn-outline:hover,.btn-outline:focus{background:rgba(37,99,235,.08)}
.btn-outline:focus{outline:3px solid rgba(37,99,235,.35);outline-offset:2px}

/* Loading States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: more) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --border-color: #666666;
  }
}

/* Onboarding Page Styles - Full Page No Scroll */
.onboarding-fullpage {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.onboarding-header {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.onboarding-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.onboarding-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.tally-fullpage-container {
  position: absolute;
  top: 160px;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0;
}

.tally-fullpage-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0;
  width: 100%;
  height: 100%;
}

/* Mobile Responsiveness for Full Page Onboarding */
@media (max-width: 768px) {
  .onboarding-header {
    top: 70px;
    padding: 0.75rem 1rem;
  }

  .onboarding-header h1 {
    font-size: 1.5rem;
  }

  .onboarding-description {
    font-size: 0.9rem;
  }

  .tally-fullpage-container {
    top: 140px;
  }
}

/* Hide footer on onboarding page */
body:has(.onboarding-fullpage) .footer {
  display: none;
}

/* Legacy onboarding styles (keeping for compatibility) */
.onboarding {
  padding: 120px 0 80px;
  background: var(--bg-primary);
  min-height: 100vh;
}

.onboarding-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.step-icon {
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.tally-form-container {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid var(--border-color);
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.form-intro h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-intro p {
  color: var(--text-secondary);
}

.tally-embed {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
}

.tally-embed iframe {
  border-radius: var(--border-radius);
}

.form-fallback {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.form-fallback p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-fallback a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.form-fallback a:hover {
  text-decoration: underline;
}

.onboarding-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card h3 i {
  color: var(--primary-color);
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.back-to-home {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Mobile Responsiveness for Onboarding */
@media (max-width: 768px) {
  .onboarding {
    padding: 100px 0 60px;
  }

  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .tally-form-container {
    padding: 1.5rem;
  }

  .onboarding-info {
    grid-template-columns: 1fr;
  }

  .back-to-home {
    flex-direction: column;
    align-items: center;
  }
}

/* Privacy Policy Styles */
.privacy-policy {
  padding: 120px 0 80px;
  background: var(--bg-primary);
  min-height: 100vh;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.privacy-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-style: italic;
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.policy-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}

.policy-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-section ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.policy-section li {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-info {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.back-to-home {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.nav-brand a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

/* Mobile Responsiveness for Privacy Policy */
@media (max-width: 768px) {
  .privacy-policy {
    padding: 100px 0 60px;
  }

  .privacy-content h1 {
    font-size: 2rem;
  }

  .policy-section h2 {
    font-size: 1.3rem;
  }

  .policy-section ul {
    padding-left: 1.5rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
