/* ---------- ROOT VARIABLES ---------- */

:root {
  --accent: #f22bbb;
  --accent-dark: #b8127f;
  --accent-glow: rgba(242, 43, 187, 0.15);
  --navy: #0d1a3a;
  --button-bg: #0d1a3a;
  --button-text: #ffffff;
  --muted: #8a8fad;
  --white: #ffffff;
  --black: #03050a;
  --bg-dark: #070b1a;
  --bg-section: #0d1630;
  --bg-card: #111d40;
  --dark-gray: rgba(3, 5, 10, 0.95);
  --text-primary: #f0eeff;
  --text-muted: #8a8fad;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- GLOBAL ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--text-primary);
}

h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
}

p {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

section {
  padding: 80px 10%;
  background: var(--bg-dark);
}

#about {
  background: #f2eef8;
}

#services {
  background: #f5f3ef;
}

#example-automations {
  background: var(--bg-dark);
}

.section-content {
  max-width: 1200px;
  margin: auto;
}

@keyframes bg-fade {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- SCROLL ANIMATIONS ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ---------- NAV ACTIVE ---------- */

.nav-links a.nav-active {
  color: var(--navy);
}

.nav-links a.nav-active.hover-underline::after {
  width: 100%;
}

/* ---------- NAVBAR ---------- */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 76px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 68px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a:not(.nav-cta) {
  text-decoration: none;
  color: rgba(13, 26, 58, 0.65);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--navy);
}

.hover-underline {
  position: relative;
  display: inline-block;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.hover-underline:hover::after {
  width: 100%;
}

/* ---------- BUTTONS ---------- */

button,
.button {
  margin-top: 25px;
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  background: var(--button-bg);
  color: var(--button-text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

button:hover,
.button:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 28px 6px rgba(242, 43, 187, 0.22);
  outline: 1px solid rgba(242, 43, 187, 0.4);
  outline-offset: 2px;
}

.button-text {
  background:
    linear-gradient(rgba(245, 243, 239, 0.78), rgba(233, 214, 233, 0.78)),
    url('../assets/hero4.jpg') center 40% / 200%;
  color: #1a1830;
  border: none;
  overflow: hidden;
  letter-spacing: 0.05em;
}


.nav-cta {
  padding: 7px 18px;
  border-radius: 20px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid rgba(13, 26, 58, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transform: scale(1);
  box-shadow: 0 4px 18px rgba(242, 43, 187, 0);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  margin-top: 0;
}

.nav-cta:hover {
  border-color: rgba(242, 43, 187, 0.6);
  color: var(--navy);
  transform: scale(1.02);
  outline: none;
  box-shadow: 0 4px 18px rgba(242, 43, 187, 0.45);
}

/* ---------- HERO ---------- */

header.header-minimal {
  min-height: unset;
  padding-top: 0;
  background: none;
  animation: none;
  display: block;
  overflow: visible;
}

header {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(242, 43, 187, 0.10), transparent 30%),
    radial-gradient(circle at 78% 28%, rgba(60, 8, 90, 0.22), transparent 40%),
    linear-gradient(rgba(0, 0, 0, 0.52), rgba(5, 8, 20, 0.72)),
    url('../assets/hero3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: bg-fade 1.8s ease forwards;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  gap: 60px;
  color: white;
  width: 100%;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 1.15rem;
  max-width: 580px;
  line-height: 1.75;
}

.hero-location {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

.hero-trust {
  margin-top: 18px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.04em;
  max-width: 100%;
  line-height: 1.5;
}

/* Hero cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: #f5f3ef;
  color: #1a1830;
  padding: 20px 22px;
  border-radius: 10px;
  width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), 0 0 50px rgba(242, 43, 187, 0.45);
}

.hero-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  color: #1a1830;
}

.hero-card p {
  font-size: 0.84rem;
  color: #4a4760;
  line-height: 1.5;
  max-width: 100%;
}

/* ---------- SERVICES ---------- */

#services {
  position: relative;
}

#services h2,
#services h3 {
  color: #1a1830;
}

#services p {
  color: #4a4760;
  font-size: 1.1rem;
  line-height: 1.75;
}

#services ul {
  margin-top: 24px;
  list-style: none;
}

#services li {
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
  color: #3a3650;
}

#services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.55;
}

/* ---------- AUTOMATION CARDS ---------- */

#example-automations {
  position: relative;
}

#example-automations h2 {
  color: var(--text-primary);
}

#example-automations .section-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  margin-top: -12px;
  max-width: 560px;
}

.automation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.automation-card {
  background: #ffffff;
  border: 1px solid rgba(26, 24, 48, 0.08);
  border-radius: 10px;
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.automation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 24, 48, 0.1), 0 0 35px rgba(242, 43, 187, 0.28);
}

.automation-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #1a1830;
}

.automation-card p {
  font-size: 0.9rem;
  color: #5a5770;
  line-height: 1.6;
  max-width: 100%;
}

/* ---------- SHOWCASE CARDS ---------- */

.showcase-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(242, 43, 187, 0.18);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080c1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card-body {
  padding: 20px 22px 24px;
}

.showcase-card-body h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.showcase-card-body > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 100%;
}

.showcase-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-card-body li {
  font-size: 0.82rem;
  color: rgba(138, 143, 173, 0.75);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.45;
}

.showcase-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.showcase-cta {
  margin-top: 52px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-cta p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ---------- VALUE PROPS ---------- */

#value-props {
  background: #f5f3ef;
  padding: 52px 10%;
  border-top: 1px solid rgba(26, 24, 48, 0.06);
  border-bottom: 1px solid rgba(26, 24, 48, 0.06);
}

.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.value-prop h3 {
  font-size: 0.98rem;
  color: #1a1830;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.value-prop p {
  font-size: 0.88rem;
  color: #4a4760;
  line-height: 1.7;
  max-width: 100%;
}

/* ---------- HOW IT WORKS ---------- */

#how-it-works {
  position: relative;
  background:
    linear-gradient(rgba(10, 14, 30, 0.9), rgba(7, 11, 26, 0.88)),
    url('../assets/hero2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

#how-it-works ol {
  margin-top: 40px;
  max-width: 1200px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  padding-top: 0;
}

#how-it-works li {
  margin-bottom: 0;
  position: relative;
  padding-left: 0;
  padding-top: 44px;
}

/* Pixel bar step marker — square count = step number */
#how-it-works li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  border-radius: 1px;
  border: none;
  box-shadow: 0 0 8px rgba(242, 43, 187, 0.22);
  display: block;
}

#how-it-works li:nth-child(1)::before {
  width: 5px;
  background-image:
    linear-gradient(rgba(242, 43, 187, 0.85), rgba(242, 43, 187, 0.85));
  background-size: 5px 5px;
  background-repeat: no-repeat;
  background-position: 0 0;
}

#how-it-works li:nth-child(2)::before {
  width: 13px;
  background-image:
    linear-gradient(rgba(242, 43, 187, 0.85), rgba(242, 43, 187, 0.85)),
    linear-gradient(rgba(242, 43, 187, 0.55), rgba(242, 43, 187, 0.55));
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-position: 0 0, 8px 0;
}

#how-it-works li:nth-child(3)::before {
  width: 21px;
  background-image:
    linear-gradient(rgba(242, 43, 187, 0.85), rgba(242, 43, 187, 0.85)),
    linear-gradient(rgba(242, 43, 187, 0.62), rgba(242, 43, 187, 0.62)),
    linear-gradient(rgba(242, 43, 187, 0.38), rgba(242, 43, 187, 0.38));
  background-size: 5px 5px, 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-position: 0 0, 8px 0, 16px 0;
}

#how-it-works li:nth-child(4)::before {
  width: 29px;
  background-image:
    linear-gradient(rgba(242, 43, 187, 0.85), rgba(242, 43, 187, 0.85)),
    linear-gradient(rgba(242, 43, 187, 0.65), rgba(242, 43, 187, 0.65)),
    linear-gradient(rgba(242, 43, 187, 0.44), rgba(242, 43, 187, 0.44)),
    linear-gradient(rgba(242, 43, 187, 0.26), rgba(242, 43, 187, 0.26));
  background-size: 5px 5px, 5px 5px, 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-position: 0 0, 8px 0, 16px 0, 24px 0;
}

/* Diamond pixel connector trail */
#how-it-works li::after {
  content: '';
  position: absolute;
  top: 8px;
  left: calc(50% + 18px);
  width: calc(100% - 18px);
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Crect x='4' y='1' width='4' height='4' rx='0.5' transform='rotate(45 6 3)' fill='%23f22bbb' fill-opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 12px 6px;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
}

#how-it-works li:last-child::after {
  display: none;
}

#how-it-works li h3 {
  text-align: center;
  font-size: 1.05rem;
  margin-top: 0;
}

#how-it-works li p {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 100%;
}

/* ---------- ABOUT ---------- */

#about {
  position: relative;
  overflow: hidden;
}

#about .section-content {
  position: relative;
  z-index: 1;
}

.about-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#about h2 {
  color: #1a1830;
}

#about p {
  color: #3d3558;
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 720px;
}

/* ---------- CONTACT ---------- */

#contact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgb(238 227 235 / 91%), rgb(48 58 80 / 92%)),
    url('../assets/paper.jpg');
  background-size: cover;
  background-position: center;
}

#contact h2 {
  color: #ffffff;
}

#contact p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

#contact label {
  color: rgba(255, 255, 255, 0.55);
}

form {
  margin-top: 40px;
  max-width: 550px;
}

label {
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #7a7590;
  letter-spacing: 0.02em;
  text-transform: none;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(26, 24, 48, 0.14);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.65);
  color: #1a1830;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(242, 43, 187, 0.28);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(242, 43, 187, 0.07);
}

input:hover,
textarea:hover {
  border-color: rgba(26, 24, 48, 0.24);
  background: rgba(255, 255, 255, 0.75);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

form button {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

form button:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 18px 4px rgba(242, 43, 187, 0.15);
}



#contact form .button-text:hover {
  filter: none;
}

#form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  min-height: 1.4em;
}

.form-status-success {
  color: #fff;
}

.form-status-error {
  color: #f2a0c8;
}


/* ---------- FOOTER ---------- */

footer {
  background: #040710;
  color: var(--text-primary);
  padding: 60px 10% 30px;
  border-top: 1px solid rgba(242, 43, 187, 0.12);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand h3 {
  font-family: var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1.6;
}

.footer-meta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.footer-meta a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.4s ease, opacity 0.4s ease;
}

.footer-meta a:hover {
  opacity: 1;
  color: #e06aaa;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.65;
}

/* ---------- HAMBURGER ---------- */

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 5px;
  margin-top: 0;
  z-index: 1001;
  position: relative;
  box-shadow: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  transition: 0.3s ease;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ---------- MOBILE ---------- */

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 0 6%;
    gap: 40px;
    text-align: center;
  }

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

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cards {
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    width: 100%;
    justify-content: center;
  }

  .hero-card {
    flex-shrink: 0;
    width: 220px;
  }

  #how-it-works ol {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
    padding: 20px 0;
  }

  /* Hide connector on right-edge items in 2-col */
  #how-it-works li:nth-child(2n)::after {
    display: none;
  }

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

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

  .value-props {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #value-props {
    padding-left: 4%;
    padding-right: 4%;
  }
}

@media (max-width: 768px) {
  header,
  #how-it-works {
    background-attachment: scroll;
  }

  .hamburger {
    display: flex;
    width: auto;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    list-style: none;
    align-items: flex-start;
  }

  .nav-links.active {
    visibility: visible;
    opacity: 1;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(13, 26, 58, 0.07);
    width: 100%;
  }

  .nav-links a {
    padding: 14px 20px;
    display: block;
    color: var(--navy);
  }

  .nav-links a:hover {
    background-color: rgba(242, 43, 187, 0.05);
    color: var(--accent);
  }

  .nav-cta {
    margin: 12px 20px;
    display: inline-flex;
  }

  .navbar {
    padding: 6px 5%;
  }

  .logo-img {
    height: 62px;
  }

  header {
    min-height: 100vh;
    padding-top: 110px;
  }

  .hero {
    flex-direction: column;
    padding: 0 5%;
    gap: 30px;
    text-align: center;
  }

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

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

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-cards {
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 30px;
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-card {
    flex-shrink: 0;
    width: 220px;
    padding: 15px;
  }

  section {
    padding: 50px 5%;
  }

  .section-content {
    max-width: 100%;
  }

  .automation-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .automation-card {
    max-width: 100%;
    padding: 20px;
  }

  .showcase-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  form {
    max-width: 100%;
  }

  input,
  textarea {
    padding: 10px 12px;
    font-size: 16px;
  }

  button {
    padding: 12px 20px;
    font-size: 0.95rem;
    width: 100%;
  }

  footer {
    padding: 40px 5% 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    margin-top: 20px;
  }

  p {
    font-size: 0.95rem;
    max-width: 100%;
  }

  #how-it-works {
    padding: 40px 5% !important;
  }

  #how-it-works ol {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0;
  }

  #how-it-works li {
    padding-top: 36px;
  }

  #how-it-works li::before {
    top: 8px;
  }

  #how-it-works li::after {
    display: none;
  }

  #how-it-works li h3 {
    font-size: 1rem;
  }

  #how-it-works li p {
    font-size: 0.9rem;
  }

  .section-note {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #how-it-works {
    padding: 30px 4% !important;
  }

  #how-it-works ol {
    gap: 24px;
    padding: 16px 0;
  }

  #how-it-works li::before {
    top: 8px;
  }

  .navbar {
    padding: 16px 4%;
  }

  h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 0 4%;
    width: 100%;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-card {
    width: 180px;
    padding: 12px;
  }

  section {
    padding: 30px 4%;
  }

  button {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  footer {
    padding: 30px 4% 15px;
  }

  p {
    font-size: 0.9rem;
  }
}
