/* Sharkify · sections: hero, ticker, problem, industries, how, langs, trust, pricing, capture */

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(7.5rem, 6rem + 6vw, 11rem) var(--pad-x) clamp(4rem, 3rem + 4vw, 7rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 80%;
  background:
    radial-gradient(42% 55% at 22% 30%, rgba(228, 197, 127, 0.14), transparent 70%),
    radial-gradient(38% 50% at 82% 20%, rgba(37, 211, 102, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 76rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy .lede {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips li {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

/* phone mockup: dark WhatsApp look */

.hero-visual {
  position: relative;
  justify-self: center;
}

.phone {
  margin: 0;
  width: min(340px, 88vw);
  background: #0b141a;
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 0.9rem 0.8rem 1rem;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 6px rgba(255, 255, 255, 0.03);
  transform: rotate(1.5deg);
}

.phone-top {
  width: 34%;
  height: 1.45rem;
  margin: 0 auto 0.6rem;
  background: #000;
  border-radius: 999px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.6rem;
  background: #1f2c34;
  border-radius: 14px 14px 0 0;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold), #8a6a2a);
  color: var(--ink);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.chat-id {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.chat-id strong {
  font-size: 0.92rem;
}

.chat-id small {
  color: #7fbf8e;
  font-size: 0.72rem;
}

.chat {
  background:
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1.5px) 0 0 / 18px 18px,
    #0b141a;
  padding: 0.8rem 0.6rem 0.9rem;
  border-radius: 0 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 320px;
}

.chat-day {
  align-self: center;
  font-size: 0.68rem;
  color: #8696a0;
  background: #1f2c34;
  border-radius: 8px;
  padding: 0.2rem 0.6rem;
  margin: 0 0 0.2rem;
}

.msg {
  max-width: 82%;
  padding: 0.5rem 0.65rem 0.95rem;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.45;
  position: relative;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.chat.play .msg {
  animation: msg-in 420ms var(--ease-out-expo) forwards;
}

.chat.play .msg:nth-child(2) { animation-delay: 0.3s; }
.chat.play .msg:nth-child(3) { animation-delay: 1s; }
.chat.play .msg:nth-child(4) { animation-delay: 1.9s; }
.chat.play .msg:nth-child(5) { animation-delay: 2.7s; }
.chat.play .msg:nth-child(6) { animation-delay: 3.5s; }

@keyframes msg-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.msg.in {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-top-left-radius: 2px;
}

.msg.out {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-top-right-radius: 2px;
}

.msg .t {
  position: absolute;
  right: 0.6rem;
  bottom: 0.28rem;
  font-size: 0.62rem;
  color: rgba(233, 237, 239, 0.6);
  white-space: nowrap;
  direction: ltr;
}

.msg[dir="rtl"] .t {
  right: auto;
  left: 0.6rem;
}

.msg.card-msg {
  border-left: 3px solid var(--gold);
}

.msg.card-msg small {
  color: rgba(233, 237, 239, 0.7);
}

.msg.typing {
  align-self: flex-end;
  background: #005c4b;
  display: inline-flex;
  gap: 4px;
  padding: 0.62rem 0.7rem;
  border-top-right-radius: 2px;
}

.chat.play .msg.typing {
  animation: typing-pulse 1s ease 0.55s forwards;
}

@keyframes typing-pulse {
  0% { opacity: 0; transform: translateY(10px); }
  15%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(0.95); height: 0; padding: 0; margin: -0.225rem 0; }
}

.msg.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(233, 237, 239, 0.75);
  animation: blink 1s infinite;
}

.msg.typing span:nth-child(2) { animation-delay: 0.18s; }
.msg.typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes blink {
  0%, 60%, 100% { opacity: 0.35; }
  30% { opacity: 1; }
}

.chat-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 0.8rem;
}

.float-chip {
  position: absolute;
  top: -0.9rem;
  right: -0.4rem;
  background: var(--ink-3);
  border: 1px solid var(--line-gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: start;
  }

  .phone {
    transform: none;
  }
}

/* ---------- ticker ---------- */

.ticker {
  border-block: 1px solid var(--line);
  padding: 1.05rem 0;
  overflow: hidden;
  background: var(--ink-2);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}

.ticker-list {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  white-space: nowrap;
}

.ticker-list li {
  color: var(--muted);
  font-size: 0.95rem;
}

.ticker-list strong {
  color: var(--gold);
  font-weight: 600;
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }

  .ticker-list {
    flex-wrap: wrap;
    white-space: normal;
    padding: 0 var(--pad-x);
  }

  .ticker-list[aria-hidden="true"] {
    display: none;
  }

  .chat .msg,
  .chat.play .msg {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .msg.typing {
    display: none;
  }

  .langs-track p {
    animation: none;
  }
}

/* ---------- problem ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  transition: transform 350ms var(--ease-out-expo), border-color 350ms;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
}

.stat-card:nth-child(2) {
  margin-left: clamp(0rem, 3vw, 2.5rem);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  color: var(--gold);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.stat-label {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

@media (max-width: 1023px) {
  .split {
    grid-template-columns: 1fr;
  }

  .stat-card:nth-child(2) {
    margin-left: 0;
  }
}

/* ---------- industries ---------- */

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.ind-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 350ms var(--ease-out-expo), border-color 350ms, box-shadow 350ms;
}

.ind-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ind-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.6rem;
}

.ind-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
}

.ind-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
}

.ind-hook {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.ind-card > p:not(.ind-hook):not(.ind-stat) {
  color: var(--muted);
  font-size: 0.97rem;
}

.ind-list {
  margin: 0.4rem 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ind-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  font-size: 0.93rem;
}

.ind-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.ind-stat {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.ind-stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-right: 0.5rem;
}

.exit-strip {
  margin-top: 1.2rem;
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius);
  padding: 1.3rem 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--gold-soft);
}

.exit-strip p {
  margin: 0;
  color: var(--text);
  max-width: 60ch;
}

@media (max-width: 1023px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- how it works ---------- */

.how {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}

.step p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}

@media (max-width: 1023px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- languages ---------- */

.langs {
  padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0;
  overflow: hidden;
}

.langs-track {
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.langs-line {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 4vw, 5rem);
  white-space: nowrap;
  color: var(--text);
  margin: 0 0 1.8rem;
}

.langs-line span {
  color: var(--gold);
  margin: 0 1.2rem;
}

.langs-caption {
  color: var(--muted);
  padding: 0 var(--pad-x);
  max-width: 76rem;
}

.langs-caption strong {
  color: var(--text);
}

/* ---------- trust ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.trust-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  background: var(--ink-2);
  transition: border-color 300ms, transform 350ms var(--ease-out-expo);
}

.trust-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
}

.trust-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
}

.trust-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

@media (max-width: 1023px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 599px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- pricing ---------- */

.pricing {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 350ms var(--ease-out-expo), border-color 350ms;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 28px 70px rgba(0, 0, 0, 0.45);
}

.badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price {
  font-family: var(--font-display);
  font-size: 2.7rem;
  line-height: 1;
  margin: 0.4rem 0 0.3rem;
}

.price .cur {
  font-size: 1.05rem;
  color: var(--muted);
  margin-right: 0.25rem;
}

.price .per {
  font-size: 1.05rem;
  color: var(--muted);
}

.price-for {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.3rem;
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
}

.price-card li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.price-card .btn {
  margin-top: auto;
}

.price-note {
  margin-top: 2.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 62ch;
}

.price-note strong {
  color: var(--gold);
}

@media (max-width: 1023px) {
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 30rem;
  }
}

/* ---------- capture ---------- */

.capture .split {
  align-items: center;
}

.capture-alt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.capture-email {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.lead-form {
  background: var(--ink-2);
  border: 1px solid var(--line-gold);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.field label small {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  padding: 0.85rem 1rem;
  transition: border-color 200ms;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(154, 163, 178, 0.55);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field select:invalid {
  color: rgba(154, 163, 178, 0.55);
}

.field textarea {
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0.9rem 0 0;
}

.form-status {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold);
  min-height: 1.3em;
}

.lead-form.sent .field,
.lead-form.sent button,
.lead-form.sent .form-note {
  display: none;
}

.lead-form.sent {
  text-align: center;
  padding: 3rem 2rem;
}

.lead-form.sent .form-status {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
}

/* ---------- sticky mobile WhatsApp bar ---------- */

.sticky-wa {
  display: none;
}

@media (max-width: 767px) {
  .sticky-wa {
    display: block;
    position: fixed;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 40;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 400ms var(--ease-out-expo), transform 400ms var(--ease-out-expo);
    pointer-events: none;
  }

  .sticky-wa.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .sticky-wa .btn {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 8px 28px rgba(37, 211, 102, 0.35);
  }

  body {
    padding-bottom: 0;
  }
}
