/* FreelancerPackZA storefront — J Live Solutions teal/navy */

:root {
  --navy: #0a1c2e;
  --navy-mid: #123048;
  --teal: #0c7c7c;
  --teal-bright: #12a0a0;
  --teal-soft: #d7efef;
  --sand: #e8eef1;
  --ink: #15202b;
  --muted: #5c6d7c;
  --white: #ffffff;
  --line: rgba(10, 28, 46, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: var(--teal);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 251, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--teal);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--navy-mid);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--teal) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.1rem;
  margin-inline: auto;
  background: var(--navy);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  padding: 0.65rem 0.35rem;
}

@media (min-width: 820px) {
  .nav {
    display: flex;
  }
  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero — full-bleed composition */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #071524 0%, #0f2f44 42%, #0c5c5c 100%);
  color: var(--white);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(18, 160, 160, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(10, 40, 70, 0.5), transparent 50%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 28px,
      rgba(255, 255, 255, 0.02) 28px,
      rgba(255, 255, 255, 0.02) 29px
    );
  animation: drift 18s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding: 4.5rem 0 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding: 5.5rem 0 4rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fd6d6;
  animation: rise 0.7s var(--ease) both;
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  animation: rise 0.8s var(--ease) 0.08s both;
}

.brand-hero span {
  color: #7ee0e0;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
  animation: rise 0.8s var(--ease) 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.8s var(--ease) 0.24s both;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #e8fffb;
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Hero document stack visual */
.hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rise 1s var(--ease) 0.2s both;
}

.doc-stack {
  position: relative;
  width: min(100%, 320px);
  height: 280px;
}

.doc-card {
  position: absolute;
  width: 78%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  padding: 1.1rem 1.2rem;
  border-radius: 3px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.doc-card .doc-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.doc-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.doc-card em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

.doc-lines {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.doc-lines i {
  display: block;
  height: 6px;
  background: var(--teal-soft);
  border-radius: 1px;
}

.doc-lines i:nth-child(2) { width: 82%; }
.doc-lines i:nth-child(3) { width: 64%; }

.doc-card-back {
  left: 0;
  top: 18%;
  transform: rotate(-8deg);
  opacity: 0.88;
  animation: floaty 5.5s ease-in-out infinite;
}

.doc-card-mid {
  right: 0;
  top: 8%;
  transform: rotate(6deg);
  opacity: 0.92;
  animation: floaty 6.2s ease-in-out 0.4s infinite;
}

.doc-card-front {
  left: 11%;
  bottom: 6%;
  width: 84%;
  z-index: 2;
  animation: floaty 4.8s ease-in-out 0.2s infinite;
}

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.pack {
  background: var(--white);
}

.pack-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pack-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0.15rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, padding-left 0.2s var(--ease);
}

.pack-list a:hover {
  background: var(--teal-soft);
  padding-left: 0.5rem;
}

.pack-list .num {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal);
  font-size: 1.05rem;
  min-width: 2rem;
}

.pack-list strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.pack-list span:last-child {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Price */
.price {
  background:
    linear-gradient(180deg, #f2f7f8 0%, #e4eef0 100%);
}

.price-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .price-panel {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.price-panel > div:first-child p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
}

.price-box {
  background: var(--navy);
  color: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: 3px;
}

.price-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fd6d6;
  font-weight: 600;
}

.price-amount {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-amount span {
  font-size: 1.4rem;
  margin-right: 0.15rem;
  vertical-align: super;
}

.price-note {
  margin: 0.5rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.price-box .btn-primary {
  background: #dffaf6;
}

.pay-hint {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.pay-hint.flash {
  animation: pulse 0.8s ease;
  color: #b8fff4;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.contact-ctas {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-ctas a {
  color: #b7e8e8;
  font-size: 0.88rem;
  text-decoration: none;
}

.contact-ctas a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq-list {
  margin-top: 1.75rem;
  max-width: 720px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 500;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0.65rem 0 0.35rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.site-footer .logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
