/* GOBOXY — premium utilities beyond Tailwind */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 9999px;
  background: #ff7a00;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.22);
}

.btn-primary:hover {
  background: #e86e00;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 122, 0, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: #fff;
  color: #0b1220;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(11, 18, 32, 0.22);
  background: #f4f6f9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  color: #0b1220;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(11, 18, 32, 0.05);
}

.btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 0.975rem;
}

.btn-xl {
  padding: 1.05rem 1.85rem;
  font-size: 1.05rem;
}

/* Brand logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.brand-logo-img {
  display: block;
  height: 2.65rem;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
  object-position: left center;
}

.brand-logo-img--lg {
  height: 3.25rem;
  max-width: 11rem;
}

@media (min-width: 640px) {
  .brand-logo-img {
    height: 2.85rem;
    max-width: 10.5rem;
  }

  .brand-logo-img--lg {
    height: 3.5rem;
    max-width: 12rem;
  }
}

/* Nav */
.nav-link {
  border-radius: 9999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(11, 18, 32, 0.55);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: #0b1220;
  background: rgba(11, 18, 32, 0.04);
}

.mobile-link {
  display: block;
  border-radius: 0.85rem;
  padding: 0.8rem 0.9rem;
  font-weight: 500;
  color: #0b1220;
  transition: background 0.2s ease;
}

.mobile-link:hover {
  background: rgba(11, 18, 32, 0.04);
}

/* Text */
.text-gradient {
  background: linear-gradient(135deg, #ff7a00 0%, #ff9a3d 55%, #0b1220 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff7a00;
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0b1220;
}

.section-sub {
  margin: 0.9rem auto 0;
  max-width: 36rem;
  font-size: 1.025rem;
  line-height: 1.65;
  color: rgba(11, 18, 32, 0.55);
}

/* Trust cards */
.trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(11, 18, 32, 0.07);
  background: #fff;
  padding: 1.1rem;
  box-shadow: 0 4px 24px rgba(11, 18, 32, 0.04);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.25);
  box-shadow: 0 14px 36px rgba(11, 18, 32, 0.08);
}

.trust-card h3 {
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: #fff4eb;
  color: #ff7a00;
}

.icon-wrap svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Feature cards */
.feature-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(11, 18, 32, 0.07);
  background: #fff;
  padding: 1.4rem;
  box-shadow: 0 4px 24px rgba(11, 18, 32, 0.04);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 18, 32, 0.12);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.08);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #fff4eb, #fff);
  border: 1px solid rgba(255, 122, 0, 0.12);
  color: #ff7a00;
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.925rem;
  line-height: 1.55;
  color: rgba(11, 18, 32, 0.55);
}

/* Steps */
.step-card {
  position: relative;
  border-radius: 1.35rem;
  border: 1px solid rgba(11, 18, 32, 0.07);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(11, 18, 32, 0.04);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #ff7a00, #ffb066);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.22);
  box-shadow: 0 18px 44px rgba(11, 18, 32, 0.1);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff7a00;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.step-card p {
  font-size: 0.925rem;
  line-height: 1.55;
  color: rgba(11, 18, 32, 0.55);
}

/* Tables */
.table-shell {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(11, 18, 32, 0.08);
  background: #fff;
  box-shadow: 0 8px 40px rgba(11, 18, 32, 0.06);
}

.table-shell .price-table {
  min-width: 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table thead th {
  padding: 0.95rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.45);
  background: #f4f6f9;
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}

.price-table tbody td {
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(11, 18, 32, 0.05);
  color: #0b1220;
  vertical-align: middle;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr {
  transition: background 0.2s ease;
}

.price-table tbody tr:hover {
  background: rgba(255, 122, 0, 0.03);
}

.price-table.compact thead th,
.price-table.compact tbody td {
  padding: 0.85rem 1.1rem;
}

.product-cell {
  font-weight: 650;
  letter-spacing: -0.01em;
}

.wholesale {
  font-weight: 700;
  color: #ff7a00;
}

.save-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: #fff4eb;
  color: #c45e00;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
}

.swatch {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  margin-right: 0.55rem;
  vertical-align: middle;
}

/* Perks */
.perk {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(11, 18, 32, 0.07);
  background: #f4f6f9;
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b1220;
}

.perk span {
  color: #ff7a00;
  font-weight: 800;
}

/* Hero phone mock */
.phone-mock {
  border-radius: 1.35rem;
  background: linear-gradient(160deg, #1a2436, #0b1220);
  border: 2px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem;
  min-height: 150px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  height: 100%;
  min-height: 140px;
  border-radius: 1.05rem;
  background: linear-gradient(180deg, #243044, #121b2b);
}

/* Sticky WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Header scrolled state */
#header.is-scrolled .mt-3 {
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
}

/* Focus rings */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ff7a00;
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary,
  .btn-secondary,
  .trust-card,
  .feature-card,
  .step-card,
  .whatsapp-float {
    transition: none;
  }

  .animate-float,
  .animate-float-slow,
  .animate-pulse-soft,
  .animate-pulse {
    animation: none !important;
  }
}
