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

:root {
  --cream: #F2F1ED;
  --cream-2: #ECEBE5;
  --black: #0F0F12;
  --black-2: #17171B;
  --black-3: #1D1D22;
  --purple-2: #2a8a63;
  --purple-light: #e7f0eb;
  --amber: #D97706;
  --amber-light: #FEF3E2;
  --pink: #2a8a63;
  --purple: #1f6f50;
  --grad: linear-gradient(135deg, #2a8a63 0%, #237a58 50%, #1f6f50 100%);
  --gray-text: #5C5B57;
  --gray-text-dark: rgba(255,255,255,0.55);
  --border: rgba(19,19,19,0.1);
  --border-dark: rgba(255,255,255,0.1);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-light);
  padding: 6px 14px;
  border-radius: 50px;
}
.eyebrow-dark { color: #7fc9a5; background: rgba(31,111,80,0.15); }

.section-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 20px;
  max-width: 760px;
}
.section-h2.dark { color: #fff; }
.section-sub { font-size: 17px; color: var(--gray-text); max-width: 540px; line-height: 1.65; margin-bottom: 20px; }
.section-sub.dark { color: var(--gray-text-dark); }

/* ---------- LOGO ---------- */
.growly-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.growly-icon::before { content: 'G'; }
.growly-icon svg { display: none; }
.logo-mark-svg { display: none; }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(242,241,237,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 40px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 9px; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-text); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--black); }
.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: flex; background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 3px; gap: 2px; }
.lang-btn { background: none; border: none; font-family: var(--font-body); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 50px; cursor: pointer; color: var(--gray-text); transition: all 0.2s; }
.lang-btn.active { background: var(--black); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--black); }

.nav-login { color: var(--gray-text); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.nav-login:hover { color: var(--black); }
.nav-cta { background: var(--black); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 8px; transition: background 0.2s; }
.nav-cta:hover { background: var(--purple); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 136px 0 74px; overflow: hidden; }
.hero-bg-arc { position: absolute; top: -200px; left: -250px; width: 700px; height: 700px; border: 1px solid rgba(19,19,19,0.08); border-radius: 50%; pointer-events: none; }
.hero-glow { position: absolute; top: 80px; right: -100px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(31,111,80,0.18), transparent 70%); pointer-events: none; filter: blur(20px); }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: minmax(520px, 0.95fr) minmax(420px, 0.82fr); gap: clamp(36px, 6vw, 92px); align-items: center; }
.hero-left { position: relative; z-index: 1; }
.hero-h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 4.3vw, 72px); line-height: 1.04; letter-spacing: 0; margin-bottom: 22px; max-width: 760px; text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.15vw, 19px); color: var(--gray-text); max-width: 580px; line-height: 1.62; margin-bottom: 34px; }

/* ---------- PRIMARY ACTION ---------- */
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.swipe-cta {
  position: relative;
  width: 246px;
  height: 54px;
  border-radius: 27px;
  background: var(--black);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(31,111,80,0);
  transition: box-shadow 0.4s ease;
}
.swipe-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.swipe-cta.glow { box-shadow: 0 0 32px rgba(31,111,80,0.45), 0 0 60px rgba(31,111,80,0.25); }
.swipe-cta.glow::before { opacity: 1; }
.swipe-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
.swipe-cta.expanded .swipe-label { opacity: 0; transform: translateX(-20px); pointer-events: none; }
.swipe-arrow-track {
  position: absolute;
  top: 5px; left: 5px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: transform 0.45s cubic-bezier(0.65,0,0.35,1);
}
.swipe-cta.expanded .swipe-arrow-track { transform: translateX(192px) rotate(90deg); }
.swipe-arrow-track svg { color: var(--black); transition: color 0.3s; }
.swipe-email-form {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 56px 0 18px;
  opacity: 0;
  transition: opacity 0.3s ease 0.15s;
  z-index: 2;
}
.swipe-cta.expanded .swipe-email-form { opacity: 1; }
.swipe-email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  padding: 8px 0;
  min-width: 0;
}
.swipe-email-input::placeholder { color: rgba(255,255,255,0.5); }

.btn-ghost { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--black); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.btn-ghost:hover { gap: 10px; }

/* ---------- DEVICE MOCKUP ---------- */
.hero-right { position: relative; }
.device-frame { background: var(--black); border-radius: 16px; display: grid; grid-template-columns: 64px 1fr; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(19,19,19,0.35); max-width: 440px; margin-left: auto; transform-origin: center; }
.device-sidebar { background: var(--black-2); padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.device-rail { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.rail-item { width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.18); }
.rail-item.active { background: var(--purple); width: 26px; }

.device-main { background: var(--cream); padding: 28px 30px 30px; }
.device-toprow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.device-label { font-size: 12px; color: var(--gray-text); font-weight: 500; }
.device-status-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--amber-light); color: var(--amber); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 50px; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.device-today { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-bottom: 22px; }
.device-nextaction { margin-bottom: 24px; }
.device-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--gray-text); margin-bottom: 8px; }
.device-action-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.device-action-desc { font-size: 13px; color: var(--gray-text); line-height: 1.55; margin-bottom: 14px; max-width: 380px; }
.device-btn-green { background: var(--purple); color: #fff; border: none; font-family: var(--font-body); font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 7px; cursor: pointer; transition: background 0.2s; }
.device-btn-green:hover { background: var(--purple-2); }

.device-statrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); margin-bottom: 4px; }
.ds-label { font-size: 11px; color: var(--gray-text); margin-bottom: 4px; }
.ds-value { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.ds-sub { font-size: 11px; color: var(--gray-text); }

.device-table { border-top: 1px solid var(--border); padding-top: 14px; }
.dt-header { display: grid; grid-template-columns: 2fr 1fr 1fr; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--gray-text); text-transform: uppercase; margin-bottom: 10px; }
.dt-row { display: grid; grid-template-columns: 2fr 1fr 1fr; font-size: 12px; padding: 8px 0; border-top: 1px solid var(--border); color: var(--black); }
.dt-status { color: var(--gray-text); }
.dt-status.dt-configured { color: var(--amber); font-weight: 600; }

/* ---------- LOGO LOOP (real SVG logos) ---------- */
.logoloop-section { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.logoloop-label { text-align: center; font-size: 12px; font-weight: 600; color: var(--gray-text); letter-spacing: 0.04em; margin-bottom: 22px; }
.logoloop-track { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logoloop-inner { display: flex; gap: 16px; width: max-content; animation: loop-scroll 26s linear infinite; align-items: center; }
@keyframes loop-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-pill { background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 10px 22px; font-size: 13px; font-weight: 600; color: var(--black); white-space: nowrap; display: flex; align-items: center; gap: 9px; }
.logo-pill svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- WORKFLOW (redesigned steps, no problem section) ---------- */
.workflow-section { padding: 110px 0; background: var(--black); position: relative; overflow: hidden; }
.workflow-glow { position: absolute; top: -150px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(31,111,80,0.18), transparent 70%); pointer-events: none; }
.workflow-head { text-align: center; max-width: 700px; margin: 0 auto 56px; position: relative; z-index: 1; }
.workflow-head .eyebrow { margin-left: auto; margin-right: auto; }
.workflow-head .section-sub { margin-left: auto; margin-right: auto; }
.wf-steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; z-index: 1; }
.wf-step-card {
  background: var(--black-2);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 26px 20px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.wf-step-card:hover { border-color: rgba(31,111,80,0.4); transform: translateY(-4px); }
.wf-step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.25s;
}
.wf-step-card:hover::before { opacity: 1; }
.wf-step-num { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: #7fc9a5; margin-bottom: 18px; letter-spacing: 0.04em; }
.wf-step-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(31,111,80,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.wf-step-icon svg { width: 19px; height: 19px; }
.wf-step-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.wf-step-desc { font-size: 12.5px; color: rgba(255,255,255,0.5); line-height: 1.55; }
.wf-connector { display: none; }

/* ---------- TABBED CAPABILITIES (full stack section) ---------- */
.stack-section { padding: 110px 0; }
.stack-head { margin-bottom: 36px; }
.stack-tabs { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.stack-tab {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--gray-text);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.stack-tab.active { background: var(--black); color: #fff; border-color: var(--black); transform: scale(1.04); }
.stack-tab:hover:not(.active) { border-color: var(--gray-text); transform: translateY(-1px); }

.stack-panel { display: none; grid-template-columns: 1fr 1fr; gap: 18px; opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.35s ease; }
.stack-panel.active { display: grid; opacity: 1; transform: translateY(0); }
.stack-main-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px 34px;
}
.stack-main-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--purple-light); display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.stack-main-icon svg { width: 26px; height: 26px; color: var(--purple); }
.stack-main-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; }
.stack-main-desc { font-size: 14.5px; color: var(--gray-text); line-height: 1.7; margin-bottom: 26px; max-width: 420px; }
.stack-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.stack-tag-pill { background: var(--cream-2); border: 1px solid var(--border); border-radius: 50px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--black); }

.stack-side { display: flex; flex-direction: column; gap: 14px; }
.stack-side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.stack-side-card:hover { border-color: var(--purple); transform: translateX(4px); }
.stack-side-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stack-side-icon svg { width: 20px; height: 20px; }
.ssi-pink { background: #e7f0eb; } .ssi-pink svg { color: #15533b; }
.ssi-amber { background: #FEF3C7; } .ssi-amber svg { color: #D97706; }
.ssi-green { background: #DCFCE7; } .ssi-green svg { color: #16A34A; }
.ssi-blue { background: #DBEAFE; } .ssi-blue svg { color: #2563EB; }
.ssi-purple { background: #e7f0eb; } .ssi-purple svg { color: #15533b; }
.stack-side-text { flex: 1; }
.stack-side-title { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.stack-side-desc { font-size: 12.5px; color: var(--gray-text); }
.stack-side-arrow { color: var(--gray-text); flex-shrink: 0; }

/* ---------- PRICING (interactive) ---------- */
.pricing-section { padding: 132px 0 112px; background: var(--black); position: relative; overflow: hidden; scroll-margin-top: 92px; }
.pricing-glow { position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%); width: 700px; height: 500px; background: radial-gradient(ellipse, rgba(31,111,80,0.15), transparent 70%); pointer-events: none; }
.pricing-head { text-align: center; max-width: 760px; margin: 0 auto 46px; position: relative; z-index: 1; }
.pricing-head .eyebrow { margin: 0 auto 20px; }
.pricing-head .section-h2 { margin: 0 auto 16px; }
.pricing-caption {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 8px;
  line-height: 1.6;
}
.pricing-subcaption {
  font-size: 14px;
  color: #7fc9a5;
  font-weight: 600;
  margin-bottom: 0;
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.1vw, 28px); position: relative; z-index: 1; align-items: stretch; }
.price-card {
  background: var(--black-2);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  padding: clamp(28px, 2.4vw, 38px);
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.price-card:hover {
  transform: translateY(-10px);
  border-color: rgba(31,111,80,0.5);
  box-shadow: 0 20px 50px -15px rgba(31,111,80,0.3);
}
.price-card.popular { border-color: rgba(31,111,80,0.4); padding-top: clamp(48px, 3.2vw, 58px); }
.price-card.popular:hover { box-shadow: 0 20px 60px -15px rgba(31,111,80,0.4); }
.popular-badge { position: absolute; top: 18px; left: 30px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 14px; border-radius: 50px; }
.price-plan { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.price-amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: 0; color: #fff; }
.price-amount.accent { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-period { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 22px; }
.price-card hr { border: none; border-top: 1px solid var(--border-dark); margin: 18px 0; }
.price-feat { display: flex; align-items: flex-start; gap: 10px; font-size: clamp(13.5px, 0.92vw, 15px); margin-bottom: 11px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.price-feat.dim { color: rgba(255,255,255,0.3); }
.check { color: #7fc9a5; flex-shrink: 0; font-weight: 700; }
.cross { color: rgba(255,255,255,0.25); flex-shrink: 0; }
.price-btn { width: 100%; padding: 14px; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: auto; border: none; font-family: var(--font-body); transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.price-btn.ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid var(--border-dark); }
.price-btn.ghost:hover { background: rgba(255,255,255,0.14); }
.price-btn.primary { background: var(--grad); color: #fff; }
.price-btn:hover { transform: translateY(-2px); }
.price-btn.primary:hover { filter: brightness(1.1); box-shadow: 0 16px 34px -20px rgba(31,111,80,0.9); }
.price-btn:disabled { cursor: wait; opacity: 0.72; }
.checkout-message { min-height: 24px; margin-top: 22px; color: rgba(255,255,255,0.72); text-align: center; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-section { padding: 110px 0; background: var(--black); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.3fr; gap: 60px; }
.faq-left { padding-top: 4px; }
.faq-left .eyebrow { margin-bottom: 26px; }
.faq-headline { font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px); font-weight: 800; color: #fff; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.faq-headline em { font-style: italic; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-family: var(--font-display); }
.faq-contact { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; }
.faq-contact a { color: #7fc9a5; text-decoration: none; font-weight: 600; }

.faq-list { }
.faq-item { border-top: 1px solid var(--border-dark); }
.faq-list .faq-item:last-of-type { border-bottom: 1px solid var(--border-dark); }
.faq-q { width: 100%; background: none; border: none; font-family: var(--font-body); font-size: 16px; font-weight: 600; text-align: left; padding: 22px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #fff; }
.faq-arrow { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; color: rgba(255,255,255,0.5); transition: transform 0.25s, background 0.25s; }
.faq-item.open .faq-arrow { transform: rotate(45deg); background: var(--grad); color: #fff; border-color: transparent; }
.faq-a { font-size: 14.5px; color: rgba(255,255,255,0.55); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding-bottom: 22px; max-width: 560px; }
.faq-item.open .faq-a { max-height: 220px; }
.faq-more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-dark); color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: 9px; cursor: pointer; font-family: var(--font-body); transition: background 0.2s; text-decoration: none; }
.faq-more:hover { background: rgba(255,255,255,0.12); }

/* ---------- FINAL CTA ---------- */
.final-cta { padding: 120px 0; }
.cta-card { max-width: 720px; margin: 0 auto; background: var(--black); border-radius: 24px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 420px; height: 420px; background: radial-gradient(circle, rgba(31,111,80,0.22), transparent 70%); pointer-events: none; }
.cta-h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 16px; position: relative; }
.cta-sub { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 36px; position: relative; }
.cta-form { display: flex; justify-content: center; max-width: 420px; margin: 0 auto; position: relative; }
.cta-input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 9px; padding: 13px 16px; color: #fff; font-size: 14px; font-family: var(--font-body); outline: none; transition: border-color 0.2s; }
.cta-input::placeholder { color: rgba(255,255,255,0.35); }
.cta-input:focus { border-color: var(--purple); }
.cta-submit { background: var(--grad); color: #fff; border: none; min-width: 240px; padding: 13px 22px; border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font-body); white-space: nowrap; transition: filter 0.2s; }
.cta-submit:hover { filter: brightness(1.1); }
.cta-note { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 16px; position: relative; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand-block { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: var(--gray-text); line-height: 1.6; margin-bottom: 20px; }
.footer-location { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gray-text); margin-bottom: 8px; }
.footer-location svg { flex-shrink: 0; color: var(--purple); }
.footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-text); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--black); text-decoration: none; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: var(--purple); }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.footer-social a:hover { border-color: var(--purple); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; color: var(--black); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray-text); flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--gray-text); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--black); }

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* stagger children reveal (workflow cards, case cards, pricing cards, stack side cards) */
.stagger-parent .stagger-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.stagger-parent.visible .stagger-child { opacity: 1; transform: translateY(0); }
.stagger-parent.visible .stagger-child:nth-child(1) { transition-delay: 0.02s; }
.stagger-parent.visible .stagger-child:nth-child(2) { transition-delay: 0.09s; }
.stagger-parent.visible .stagger-child:nth-child(3) { transition-delay: 0.16s; }
.stagger-parent.visible .stagger-child:nth-child(4) { transition-delay: 0.23s; }
.stagger-parent.visible .stagger-child:nth-child(5) { transition-delay: 0.30s; }
.stagger-parent.visible .stagger-child:nth-child(6) { transition-delay: 0.37s; }

/* scale-in variant for icons/badges */
.scale-in { opacity: 0; transform: scale(0.92); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* gentle float for glow blobs */
@keyframes gentle-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-14px, 18px); }
}
.hero-glow { animation: gentle-float 9s ease-in-out infinite, glow-breathe 5s ease-in-out infinite; }
.workflow-glow { animation: gentle-float 11s ease-in-out infinite; }
.pricing-glow { animation: gentle-float 10s ease-in-out infinite reverse; }
.cta-card::before { animation: gentle-float 9s ease-in-out infinite; }

@keyframes glow-breathe {
  0%, 100% { opacity: 0.75; filter: blur(20px); }
  50% { opacity: 1; filter: blur(28px); }
}

@keyframes device-rise {
  from { opacity: 0; transform: translateY(28px) scale(0.97) rotateY(-6deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotateY(-4deg); }
}
.device-frame { animation: device-rise 900ms cubic-bezier(0.16,1,0.3,1) 180ms both; }

@keyframes subtle-shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.price-btn.primary { position: relative; overflow: hidden; }
.price-btn.primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: subtle-shimmer 3.8s ease-in-out infinite;
  pointer-events: none;
}

/* number count-up uses opacity flash on update */
@keyframes num-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.num-pop { animation: num-pop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* tilt-on-hover card wrapper (JS sets --rx/--ry custom props) */
.tilt-card { transform: perspective(1400px) rotateY(calc(-4deg + var(--ry, 0deg))) rotateX(calc(1deg + var(--rx, 0deg))); transition: transform 0.25s cubic-bezier(0.16,1,0.3,1); will-change: transform; }

/* cursor-tracking glow spot for pricing/case cards */
.glow-spot { position: relative; overflow: hidden; }
.glow-spot::after {
  content: '';
  position: absolute;
  top: var(--gy, 50%); left: var(--gx, 50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(31,111,80,0.18), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.glow-spot:hover::after { opacity: 1; }
.price-card.popular.glow-spot::after { background: radial-gradient(circle, rgba(31,111,80,0.22), transparent 70%); }

/* tab panel transition handled in TABBED CAPABILITIES section above */

/* device mockup subtle float */

/* swipe cta idle pulse to draw attention before interaction */
@keyframes swipe-idle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,111,80,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(31,111,80,0); }
}
.swipe-cta:not(.expanded):not(:hover) { animation: swipe-idle-pulse 2.6s ease-out infinite; }

/* nav underline hover */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--purple);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

/* logo pill hover lift in marquee */
.logo-pill { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.logo-pill:hover { transform: translateY(-3px); box-shadow: 0 8px 20px -8px rgba(19,19,19,0.25); animation-play-state: paused; }

/* wf-step-card icon micro-bounce on hover */
.wf-step-icon { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.wf-step-card:hover .wf-step-icon { transform: scale(1.12) rotate(-4deg); }

/* stack side card icon shift */
.stack-side-icon { transition: transform 0.25s ease; }
.stack-side-card:hover .stack-side-icon { transform: scale(1.08); }
.stack-side-arrow { transition: transform 0.25s ease; }
.stack-side-card:hover .stack-side-arrow { transform: translateX(4px); }

/* faq arrow smoother */
.faq-arrow { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.25s ease; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; max-width: 760px; gap: 44px; }
  .hero-left { text-align: left; }
  .hero-h1 { max-width: 720px; font-size: clamp(38px, 7.2vw, 64px); }
  .hero-sub { max-width: 640px; }
  .hero-right { width: 100%; }
  .device-frame { margin: 0 auto; }
  .device-frame.tilt-card { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .wf-steps-row { grid-template-columns: 1fr 1fr; }
  .stack-panel { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .nav-right { gap: 8px; }
  .nav-login { display: none; }
  .nav-cta { padding: 9px 12px; font-size: 13px; }
  .logo-text { font-size: 17px; }
  .lang-btn { padding: 5px 9px; }
  .section-inner { padding: 0 22px; }
  .hero-inner { padding: 0 22px; }
  .hero { padding: 112px 0 54px; }
  .hero-h1 { font-size: clamp(42px, 12.4vw, 54px); line-height: 1.02; max-width: 100%; }
  .hero-sub { font-size: 16px; line-height: 1.58; margin-bottom: 28px; }
  .hero-actions { gap: 14px; align-items: stretch; }
  .swipe-cta { width: min(100%, 310px); }
  .swipe-cta.expanded .swipe-arrow-track { transform: translateX(calc(min(100vw - 44px, 310px) - 54px)) rotate(90deg); }
  .btn-ghost { justify-content: center; min-height: 44px; }
  .device-frame { grid-template-columns: 1fr; max-width: 100%; border-radius: 14px; }
  .device-sidebar { display: none; }
  .device-main { padding: 22px 18px 22px; }
  .device-action-title { font-size: 22px; }
  .device-statrow { grid-template-columns: 1fr; }
  .device-table { display: none; }
  .pricing-section { padding: 110px 0 86px; scroll-margin-top: 84px; }
  .pricing-head { margin-bottom: 34px; }
  .pricing-caption { font-size: 15px; }
  .pricing-subcaption { margin-bottom: 0; }
  .pricing-grid { gap: 16px; }
  .price-card { padding: 28px 22px; border-radius: 14px; }
  .price-card.popular { padding-top: 54px; }
  .price-card:hover { transform: none; }
  .price-amount { font-size: 40px; }
  .popular-badge { top: 18px; left: 22px; }
  .cta-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .wf-steps-row { grid-template-columns: 1fr; }
  .stack-tabs { overflow-x: auto; }
}

@media (max-width: 420px) {
  .nav-inner { padding-left: 12px; padding-right: 12px; }
  .nav-logo { gap: 7px; }
  .growly-icon { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; }
  .nav-cta { width: 96px; text-align: center; line-height: 1.15; }
  .hero-inner, .section-inner { padding-left: 18px; padding-right: 18px; }
  .hero-h1 { font-size: clamp(38px, 12vw, 48px); }
  .eyebrow { font-size: 11px; padding: 6px 12px; }
  .swipe-cta { width: 100%; }
}

/* Fast cross-fade for language switching (View Transitions API) */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 160ms;
  animation-timing-function: ease;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
