*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: radial-gradient(circle at top left, #e0fbea 0, #f5f7ff 30%, #ffffff 70%);
  color: #111827;
  scroll-behavior: smooth;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #059669;
}

/* HERO */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 96px 0 72px;
}

.hero-text {
  max-width: 540px;
}

.hero-text h1 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-text h1 span {
  color: #059669;
}

.hero-text p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

.hero-ctas {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-ctas button {
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: #059669;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-ctas button:hover {
  transform: translateY(-1px);
  background: #047857;
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.4);
}

.hero-subtext {
  font-size: 12px;
  color: #6b7280;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* PHONE DEMO */

.phone-shell {
  padding: 10px;
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.6);
}

.phone-inner {
  width: 290px;
  height: 520px;
  border-radius: 24px;
  background: #f9fafb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ultra-minimal top notch bar could be added here if desired */

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.9);
}

.chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.chat-header-text {
  display: flex;
  flex-direction: column;
}

.chat-title {
  font-size: 13px;
  font-weight: 600;
}

.chat-status {
  font-size: 10px;
  color: #9ca3af;
}

.messages {
  flex: 1;
  padding: 10px 10px 14px;
  overflow-y: auto;
  background: #ffffff;
}

.bubble {
  max-width: 78%;
  padding: 9px 12px;
  border-radius: 16px;
  margin: 6px 0;
  line-height: 1.4;
  white-space: pre-line;
  font-size: 12px;
  animation: bubbleIn 0.12s ease-out;
}

.bubble.arnie {
  background: #e0e7ff;
  color: #111827;
  border-bottom-left-radius: 4px;
}

.bubble.user {
  background: #d1fae5;
  color: #065f46;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.typing {
  display: flex;
  gap: 4px;
  padding: 0 10px 10px;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #9ca3af;
  animation: typingBounce 1.1s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.hidden {
  display: none;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes bubbleIn {
  from {
    transform: translateY(4px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* SECTION GENERIC */

section {
  position: relative;
}

.section-intro {
  max-width: 580px;
  margin: 10px auto 0;
  font-size: 15px;
  color: #4b5563;
  text-align: center;
}

/* HOW IT WORKS */

.how-section {
  padding: 80px 0 72px;
  background: radial-gradient(circle at top, #ecfdf5 0, #ffffff 55%);
}

.how-section h2 {
  text-align: center;
  font-size: 40px;
  letter-spacing: -0.03em;
  margin: 0;
}

.steps-flow {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: flex-start;
}

.step {
  background: #ffffff;
  padding: 18px 18px 22px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.step p {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

.step-connector {
  display: none; /* visually implied via layout; could be lines if desired */
}

/* FEATURES */

.features-section {
  padding: 80px 0 80px;
  background: #ffffff;
}

.features-section h2 {
  text-align: center;
  font-size: 40px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.features-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: flex-start;
}

.features-copy p {
  font-size: 15px;
  color: #4b5563;
}

.features-copy ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.features-copy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
}

.features-copy li span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #059669;
  margin-top: 6px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 16px 16px 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

/* PRICING */

.pricing-section {
  padding: 80px 0 80px;
  background: radial-gradient(circle at top, #eff6ff 0, #ffffff 45%);
}

.pricing-section h2 {
  text-align: center;
  font-size: 40px;
  letter-spacing: -0.03em;
  margin: 0;
}

.pricing-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 20px 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.pricing-card.highlight {
  border-color: #059669;
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.24);
  position: relative;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 600;
}

.pricing-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.pricing-tagline {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6b7280;
}

.price {
  margin: 0 0 12px;
}

.price span {
  font-size: 26px;
  font-weight: 700;
}

.price small {
  font-size: 13px;
  color: #6b7280;
  margin-left: 4px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.pricing-card li {
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}

.pricing-card button {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.pricing-card.highlight button {
  background: #059669;
}

.pricing-card button:hover {
  transform: translateY(-1px);
  background: #000000;
}

.pricing-card.highlight button:hover {
  background: #047857;
}

/* TESTIMONIALS */

.testimonials-section {
  padding: 80px 0 80px;
  background: #ffffff;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 36px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.testimonials-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e5f3ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-header h3 {
  margin: 0;
  font-size: 14px;
}

.testimonial-header p {
  margin: 0;
  font-size: 11px;
  color: #6b7280;
}

.quote {
  margin: 0;
  font-size: 13px;
  color: #374151;
}

/* LEAD FORM */

.lead-form-section {
  padding: 80px 0 80px;
  background: radial-gradient(circle at bottom, #ecfdf5 0, #ffffff 55%);
}

.lead-form-section h2 {
  text-align: center;
  font-size: 36px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.form-card {
  margin: 28px auto 0;
  max-width: 460px;
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 20px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-card input,
.form-card textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 10px 11px;
  font-size: 14px;
  font-family: inherit;
}

.form-card button {
  margin-top: 4px;
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  background: #059669;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-card button:hover {
  transform: translateY(-1px);
  background: #047857;
  box-shadow: 0 14px 36px rgba(5, 150, 105, 0.45);
}

.small-note {
  font-size: 11px;
  color: #6b7280;
}

/* FOOTER */

.footer {
  padding: 18px 0 26px;
  background: #0b1120;
  color: #9ca3af;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

/* FLOATING CTA */

.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  border-radius: 999px;
  padding: 11px 18px;
  background: #059669;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.5);
  z-index: 25;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.floating-cta:hover {
  transform: translateY(-2px);
  background: #047857;
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.6);
}

/* FADE IN */

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 72px;
  }
  .hero-visual {
    order: -1;
  }
  .steps-flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .features-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 34px;
  }
  .how-section h2,
  .features-section h2,
  .pricing-section h2 {
    font-size: 32px;
  }
  .testimonials-section h2,
  .lead-form-section h2 {
    font-size: 30px;
  }
}

/* DASHBOARD */
.dashboard-section {
  padding:80px 0;
  background:#ffffff;
}
.dashboard-section h2 {
  text-align:center;
  font-size:40px;
  margin:0 0 8px;
}
.dashboard-card {
  margin-top:30px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:20px;
  padding:20px;
  box-shadow:0 8px 24px rgba(15,23,42,0.06);
}
.dash-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}
.dash-badge {
  background:#ecfdf5;
  color:#047857;
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
}
.lead-table {
  display:flex;
  flex-direction:column;
  gap:10px;
}
.lead-row {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr 1fr;
  font-size:13px;
  padding:10px;
  border-radius:10px;
  background:white;
  border:1px solid #e5e7eb;
}
.lead-row.head {
  font-weight:600;
  background:#f3f4f6;
}
.good {color:#059669;font-weight:600;}
.bad {color:#dc2626;font-weight:600;}

/* DASHBOARD ENHANCED */
.dash-top-row {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:30px;
  align-items:center;
}
.metric-card {
  background:white;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:18px;
  box-shadow:0 8px 20px rgba(15,23,42,0.06);
}
.metric-card h3 {
  margin:0;
  font-size:14px;
  color:#374151;
}
.metric-value {
  font-size:26px;
  font-weight:700;
  margin:6px 0;
  color:#059669;
}
.metric-value span {
  font-size:12px;
  color:#6b7280;
}
.metric-sub {
  font-size:12px;
  color:#6b7280;
}

/* Dark mode toggle */
.toggle-wrap { text-align:center; }
.switch {
  position:relative;
  display:inline-block;
  width:46px;
  height:24px;
}
.switch input {display:none;}
.slider {
  position:absolute;
  cursor:pointer;
  top:0; left:0; right:0; bottom:0;
  background:#ccc;
  transition:.4s;
  border-radius:34px;
}
.slider:before {
  position:absolute;
  content:"";
  height:18px; width:18px;
  left:3px; bottom:3px;
  background:white;
  transition:.4s;
  border-radius:50%;
}
input:checked + .slider { background:#059669; }
input:checked + .slider:before { transform:translateX(22px); }
.toggle-text { font-size:12px; color:#4b5563; margin-top:4px; }

/* Carousel */
.carousel-controls {
  margin-top:30px;
  text-align:center;
}
.carousel-controls button {
  padding:8px 14px;
  margin:0 6px;
  border-radius:999px;
  border:1px solid #d1d5db;
  background:white;
  cursor:pointer;
  transition:.2s;
}
.carousel-controls button:hover {
  background:#ecfdf5;
  border-color:#059669;
  color:#047857;
}

.dash-carousel {
  margin-top:30px;
  position:relative;
  overflow:hidden;
  height:260px;
}
.carousel-panel {
  position:absolute;
  width:100%;
  left:100%;
  top:0;
  opacity:0;
  transition:all .5s ease;
}
.carousel-panel.active {
  left:0;
  opacity:1;
}

/* Dark dashboard */
.dashboard-dark .dashboard-card,
.dashboard-dark .metric-card {
  background:#1f2937;
  border-color:#374151;
  color:white;
}
.dashboard-dark h2,
.dashboard-dark p,
.dashboard-dark h3 {
  color:white !important;
}
.dashboard-dark .lead-row {
  background:#111827;
  border-color:#374151;
  color:white;
}

/* Dashboard border */
.dashboard-card {
  border:2px solid #d1d5db !important;
}

/* Bar chart canvas */
.bar-rect {
  fill:#059669;
  rx:4;
}

/* Enhanced dashboard border */
.dashboard-card {
    border: 1px solid #d4d4d8 !important;
}


/* Browser frame for dashboard */
.browser-frame {
  margin-top: 30px;
  border-radius: 18px;
  border: 1px solid #d4d4d8;
  background: #f9fafb;
  box-shadow: 0 14px 40px rgba(15,23,42,0.12);
  overflow: hidden;
}
.browser-bar {
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 14px;
  background:#e5e7eb;
  border-bottom:1px solid #d4d4d8;
}
.browser-dots span{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:999px;
  background:#d1d5db;
  margin-right:4px;
}
.browser-url{
  font-size:11px;
  color:#4b5563;
}
.browser-body{
  padding:18px;
  background:white;
}
.active-leads-title{
  margin:22px 4px 10px;
  font-size:14px;
  font-weight:600;
  color:#111827;
}

/* DASHBOARD LAYOUT REFINEMENTS */
.dash-top-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
  align-items: stretch;
}

.dash-main {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: flex-start;
}

.dash-leads .lead-table {
  margin-top: 4px;
}

.dash-calls {
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.06);
}

.upcoming-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.calls-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.call-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.call-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.call-meta {
  font-size: 11px;
  color: #6b7280;
}

.call-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 600;
}

/* Responsive tweaks for dashboard */
@media (max-width: 900px) {
  .dash-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* merged section */
.how-merged h2 { font-size:32px; margin-bottom:20px; }
.merged-grid { display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.merged-card { background:#f9fafb; padding:20px; border-radius:12px; border:1px solid #e5e7eb; box-shadow:0 4px 12px rgba(0,0,0,0.06); }

/* Enhanced merged section visuals */
.how-title { font-size:32px; margin-bottom:28px; text-align:center;}
.timeline-container {display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; position:relative;}
.timeline-step {background:#f9fafb; padding:20px; border-radius:14px; border:1px solid #e5e7eb; width:22%; text-align:center; transition:transform .3s, box-shadow .3s;}
.timeline-step:hover {transform:translateY(-6px); box-shadow:0 8px 24px rgba(0,0,0,0.08);}
.step-icon {font-size:34px; margin-bottom:10px; animation:float 3s ease-in-out infinite;}
@keyframes float {0%{transform:translateY(0);}50%{transform:translateY(-6px);}100%{transform:translateY(0);}}
.timeline-arrow {font-size:28px; color:#10b981; animation:pulse 2s infinite;}
@keyframes pulse {0%{opacity:0.4;}50%{opacity:1;}100%{opacity:0.4;}}
/* Section separator */
#how-it-works {border-top:2px solid #f0f2f5; margin-top:50px; padding-top:40px;}

/* Gilion‑style merged section */
.how-merged {
  background: #f7f9fc;
  padding: 80px 0;
}

.how-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
}

.how-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.how-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: 220px;
}

.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.how-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.how-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #4b5563;
}

/* Gradient accent stripe */
.how-merged {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* soft pattern circles */
.how-merged::before {
  content:"";
  position:absolute;
  top:-60px;
  right:-60px;
  width:180px;
  height:180px;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius:50%;
}

.how-merged::after {
  content:"";
  position:absolute;
  bottom:-80px;
  left:-80px;
  width:220px;
  height:220px;
  background: radial-gradient(circle, rgba(52,211,153,0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius:50%;
}

/* Editorial Gilion-Style Section */
.how-editorial {
  padding: 120px 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.editorial-bubble {
  display:inline-block;
  padding:6px 14px;
  font-size:12px;
  font-weight:600;
  color:#0f766e;
  background:#d1fae5;
  border-radius:999px;
  margin-bottom:24px;
}

.editorial-title {
  font-size:42px;
  font-weight:600;
  line-height:1.2;
  margin-bottom:24px;
  max-width:700px;
}

.editorial-intro {
  font-size:18px;
  line-height:1.6;
  color:#374151;
  max-width:720px;
  margin-bottom:50px;
}

.editorial-block {
  max-width:720px;
  margin-bottom:40px;
}

.editorial-block h3 {
  font-size:26px;
  margin-bottom:12px;
  font-weight:600;
}

.editorial-block p {
  font-size:17px;
  line-height:1.65;
  color:#4b5563;
}

.editorial-divider {
  width:100%;
  max-width:720px;
  height:1px;
  background:#e5e7eb;
  margin:40px 0;
}

/* Enhanced bubble */
.editorial-bubble {
  font-size:14px;
  padding:8px 18px;
  background:#ccf6e9;
  color:#0d766d;
  letter-spacing:0.3px;
}

/* Title animation */
@keyframes titleFade {
  0% {opacity:0; transform:translateY(20px);}
  100% {opacity:1; transform:translateY(0);}
}
.editorial-title {
  animation:titleFade 0.9s ease-out forwards;
}

/* Soft color accent under section */
.how-editorial {
  position:relative;
}
.how-editorial::after { content:''; display:none; }

/* Floating micro-gradient pulse */
.how-editorial::before {
  content:"";
  position:absolute;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  width:220px;
  height:220px;
  background:radial-gradient(circle, rgba(16,185,129,0.18), transparent 70%);
  border-radius:50%;
  filter:blur(40px);
  animation:pulseFloat 6s ease-in-out infinite;
  pointer-events:none;
}

/* Parallax bubbles movement */
@keyframes pulseFloat {
  0% { transform:translate(-50%,0); opacity:0.6; }
  50% { transform:translate(-50%, -18px); opacity:1; }
  100% { transform:translate(-50%,0); opacity:0.6; }
}

.how-editorial::after { content:''; display:none; }
@keyframes parallaxMove {
  0% { transform:translateY(0px); }
  50% { transform:translateY(14px); }
  100% { transform:translateY(0px); }
}

/* Vertical editorial timeline line */
.how-editorial .container {
  position:relative;
}
.how-editorial .container::before {
  content:"";
  position:absolute;
  top:180px;
  left:2px;
  width:2px;
  height:80%;
  background:linear-gradient(180deg, #e0e0e0, transparent);
  opacity:0.5;
}

/* Eye-tracking text highlight on scroll */
.editorial-block p {
  transition:color 0.5s ease;
}
.editorial-block p:hover {
  color:#111827;
}

/* Pricing hover */
.pricing-card {
  transition:transform .25s ease, box-shadow .25s ease;
}
.pricing-card:hover {
  transform:translateY(-6px);
  box-shadow:0 12px 32px rgba(0,0,0,0.08);
}

/* Pricing hover interaction */
.pricing-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15,23,42,0.12);
}

.soft-divider {
  width:100%;
  height:40px;
  background:linear-gradient(to bottom, rgba(0,0,0,0.04), transparent);
  margin:0;
}

/* Dashboard section subtle hero-style gradient backdrop */
.dashboard-tinted {
    background: linear-gradient(180deg, #f8fafc 0%, #eef6f3 100%);
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Ensure the actual dashboard frame is not tinted */
.dashboard-tinted .browser-frame {
    background: #ffffff !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

/* Prevent gradient bleeding inside dashboard container */
.dashboard-tinted .dashboard-container {
    background: transparent !important;
}

/* Center dashboard title like pricing */
.dashboard-tinted h2 {
  text-align:center;
  font-size:40px;
  letter-spacing:-0.03em;
  margin:0;
}

/* Spotlight glow behind dashboard frame */
.dashboard-tinted .browser-frame {
  position: relative;
  z-index: 2;
}

.dashboard-tinted .browser-frame::before {
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:120%;
  height:120%;
  background:radial-gradient(circle, rgba(16,185,129,0.12), transparent 70%);
  filter:blur(40px);
  z-index:-1;
}

/* Titles fade-in animation */
@keyframes titleFadeIn {
  0% { opacity:0; transform:translateY(10px); }
  100% { opacity:1; transform:translateY(0); }
}

h2, .editorial-title, .pricing-section h2 {
  opacity:0;
  animation:titleFadeIn 1s ease-out forwards;
}

/* Pricing bubble */
.pricing-bubble {
  display:inline-block;
  background:#d1fae5;
  color:#0d766d;
  font-size:12px;
  font-weight:600;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:16px;
  letter-spacing:0.3px;
}

/* Mouse-follow soft shadow */
#mouse-shadow {
  position:fixed;
  top:0;
  left:0;
  width:200px;
  height:200px;
  pointer-events:none;
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,0,0,0.12), transparent 70%);
  filter:blur(40px);
  transform:translate(-50%, -50%);
  z-index:2;
}

/* ===== Additional mobile refinements ===== */
@media (max-width: 768px) {

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    gap: 32px;
  }

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

  .phone-inner {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .how-editorial,
  .dashboard-section,
  .pricing-section,
  .lead-form-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .browser-frame {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .dash-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

}

/* ===== MOBILE FIX FOR DEMO CHAT (Option A – 360px fixed height) ===== */
@media(max-width: 768px){

  /* Fix phone container size */
  .demo-phone{
    width: 300px !important;
    height: auto !important;
    padding: 14px !important;
    border-radius: 24px !important;
    margin: 0 auto !important;
  }

  /* Inner phone screen stays fixed height */
  .phone-inner{
    height: 360px !important;
    max-height: 360px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
  }

  /* Chat messages scroll instead of resizing */
  .chat-messages{
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding-right: 6px !important;
  }

  /* Maintain desktop border feel */
  .demo-phone{
    border: 2px solid #e5e7eb !important;
  }
}

/* ===== Mobile Fix Pack ===== */
@media(max-width:768px){

  /* Clean navigation */
  header nav, .nav-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:8px !important;
  }
  .nav-links{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    justify-content:center !important;
  }
  .nav-links a{
    font-size:14px !important;
    padding:6px 12px !important;
  }

  /* Reduce hero-to-editorial gap */
  .demo-section{
    padding-bottom:10px !important;
  }

  /* Dashboard mobile layout fix */
  .browser-frame{
    width:95% !important;
    margin:0 auto !important;
  }
  .dash-main{
    display:flex !important;
    flex-direction:column !important;
    gap:24px !important;
  }
  .lead-card, .upcoming-call{
    width:100% !important;
  }

}


/* ========= MOBILE UPDATES ========= */
@media(max-width: 768px){

  /* ----- Hamburger menu ----- */
  .hamburger{
    font-size:26px;
    background:none;
    border:none;
    cursor:pointer;
    margin-top:6px;
  }

  .mobile-nav{
    display:none;
    flex-direction:column;
    gap:16px;
  }

  body.nav-open .mobile-nav{
    display:flex !important;
  }

  .nav-links a{
    font-size:16px !important;
    padding:8px 0 !important;
  }

  /* ----- Reduce Demo → How Arnie Works spacing ----- */
  .demo-section{
    padding-bottom:0px !important;
    margin-bottom:-10px !important;
  }

  /* ----- Dashboard fixes ----- */
  .dashboard-tinted h2{
    font-size:28px !important;
  }

  .lead-card, .upcoming-call{
    font-size:14px !important;
    padding:12px !important;
  }

  .kpi-box h3{
    font-size:20px !important;
  }
  .kpi-box p{
    font-size:14px !important;
  }

  .lead-card strong{
    font-size:15px !important;
  }

  /* Prevent overlap */
  .dash-main{
    gap:14px !important;
  }

  /* ----- Improve phone mockup realism ----- */
  .demo-phone{
    border-radius:32px !important;
    border:3px solid #d1d5db !important;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    padding:18px !important;
  }

  .phone-inner{
    background:linear-gradient(#ffffff, #fafafa) !important;
    border-radius:22px !important;
    border:1px solid #e5e7eb !important;
  }

  /* Fake speaker + camera notch */
  .phone-inner::before{
    content:"";
    display:block;
    width:60px;
    height:8px;
    background:#111;
    border-radius:8px;
    margin:6px auto 10px auto;
  }

}


/* MOBILE NAV & DASHBOARD FIXES */
@media(max-width:768px){

  /* Hamburger */
  .hamburger{
    font-size:28px;
    background:none;
    border:none;
    cursor:pointer;
    display:block;
    margin-left:auto;
  }

  .nav-links{
    display:none;
    flex-direction:column;
    gap:14px;
    margin-top:10px;
  }

  .nav-links.nav-open{
    display:flex !important;
  }

  /* Dashboard text smaller */
  .dash-top-row h3,
  .metric-value{
    font-size:16px !important;
  }

  .lead-row{
    font-size:12px !important;
    grid-template-columns:1.2fr 1fr 1fr 1fr 1fr !important;
  }

  .call-row{
    font-size:13px !important;
  }

  .dash-main{
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
  }
}

/* END FIXES */


@media(max-width:768px){
  .nav-links{
    display:none !important;
    flex-direction:column;
    gap:14px;
    width:100%;
    text-align:center;
    background:white;
    padding:12px 0;
    border-bottom:1px solid #e5e7eb;
  }
  .nav-links.nav-open{
    display:flex !important;
  }
  .hamburger{
    display:block !important;
  }
}

@media(max-width:768px){
  .dash-top-row{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
  .metric-card{
    padding:10px !important;
  }
  .metric-card h3{
    font-size:14px !important;
  }
  .metric-value{
    font-size:16px !important;
  }

  .lead-row{
    font-size:11px !important;
    padding:6px 4px !important;
    grid-template-columns:1fr 0.8fr 0.8fr 0.8fr 0.8fr !important;
  }
  .call-row{
    font-size:12px !important;
    padding:6px !important;
  }

  .dash-main{
    flex-direction:column !important;
    gap:12px !important;
  }
}

@media(max-width:768px){

  header{
    position:relative;
  }

  .hamburger{
    position:absolute;
    right:16px;
    top:12px;
    font-size:26px !important;
    padding:4px;
  }

  .nav-links{
    font-size:14px !important;
    gap:8px !important;
  }

  .nav-links a{
    font-size:14px !important;
    padding:4px 6px !important;
  }

  /* Slide-down animation */
  .nav-links{
    transform-origin: top;
    transform: scaleY(0);
    opacity:0;
    transition: all .25s ease;
  }
  .nav-links.nav-open{
    transform: scaleY(1);
    opacity:1;
  }

}

@media(max-width:768px){

  /* fix spacing between title + dashboard */
  .dashboard-tinted .editorial-sub{
    margin-bottom:10px !important;
  }

  /* grid alignment */
  .dash-main{
    display:flex !important;
    flex-direction:column !important;
    gap:16px !important;
    padding-left:4px !important;
    padding-right:4px !important;
  }

  .dash-top-row{
    display:grid;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .metric-card{
    padding:10px !important;
    margin:0 auto;
    width:95% !important;
  }

  .lead-row,
  .call-row{
    padding:6px !important;
    width:100% !important;
    box-sizing:border-box;
  }

  .lead-row{
    grid-template-columns:1.2fr 0.9fr 0.9fr 0.9fr 0.9fr !important;
    font-size:11px !important;
  }

  .call-row{
    font-size:12px !important;
  }

  .dash-calls,
  .dash-leads{
    width:100% !important;
  }

  /* spacing evenness */
  section{
    padding-top:50px !important;
    padding-bottom:50px !important;
  }
}

/* Hide hamburger on desktop */
.hamburger{
  display:none;
}

@media(max-width:768px){
  .hamburger{
    display:block !important;
  }
}

@media(max-width:768px){
  .nav-links{
    text-align:left !important;
    align-items:flex-start !important;
    padding-left:16px !important;
  }
}

@media(max-width:768px){
  .dashboard-tinted h2{
    margin-bottom:12px !important;
  }
  .dashboard-tinted .editorial-sub{
    margin-bottom:20px !important;
  }
  .browser-frame{
    margin-top:16px !important;
  }
}

/* ==== Align mobile menu items to RIGHT ==== */
@media(max-width:768px){
  .nav-links{
    text-align:right !important;
    align-items:flex-end !important;
    padding-right:16px !important;
    padding-left:0 !important;
  }
}

/* ===== MOBILE HERO / DEMO SPACING FIX ===== */
@media(max-width: 768px){

  /* More breathing room above the hero text */
  .hero {
    padding-top: 40px !important;
    padding-bottom: 20px !important;
  }

  .hero h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
    padding: 0 10px !important;
  }

  .hero p {
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
    padding: 0 14px !important;
  }

  /* Improve CTA spacing */
  .hero .cta-group {
    margin-top: 12px !important;
    margin-bottom: 24px !important;
  }

  /* Demo section spacing */
  .demo-section {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }

  /* Phone mockup space */
  .demo-phone {
    margin-top: 10px !important;
    margin-bottom: 20px !important;
  }
}

/* ===== EXTRA SPACING UNDER HERO TEXT ON MOBILE ===== */
@media(max-width: 768px){
  .hero p:last-of-type{
    margin-bottom: 26px !important;
  }
}


/* ===== Desktop demo spacing adjustment ===== */
@media(min-width: 1025px){
  .demo-section{
    display:flex;
    align-items:center;
    gap:40px; /* reduce spacing between phone and text */
  }
  .demo-content{
    margin-left:-40px; /* pull text closer to phone */
  }
}
