/* ═══════════════════════════════════════════
   PRICING PAGE — Sharp Agency
═══════════════════════════════════════════ */

/* ── Outline Button ──────────────────────── */
.btn--outline {
  background: transparent;
  border: 1px solid var(--border-3);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ── Hero ────────────────────────────────── */
.p-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  padding-top: var(--nav-h);
}
.p-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 28% 35%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 28% 35%, #000 0%, transparent 72%);
  pointer-events: none;
}

.p-hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.p-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 20px;
}
.p-hero__title em {
  font-style: normal;
  color: var(--accent);
}

.p-hero__sub {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.p-hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* Floating hero cards */
.p-hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-hero__cards {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.p-hero__card {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.3s;
}
.p-hero__card--side {
  flex: 0 0 130px;
  opacity: 0.6;
}
.p-hero__card--side:first-child { transform: perspective(700px) rotateY(10deg) translateY(10px); }
.p-hero__card--right { transform: perspective(700px) rotateY(-10deg) translateY(10px); }
.p-hero__card--center {
  flex: 0 0 195px;
  background: var(--bg-4);
  border-color: var(--border-accent);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  transform: translateY(-24px);
  opacity: 1;
}
.p-hero__card-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px;
}
.p-hero__card-tier {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3);
}
.p-hero__card-tag {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-3);
}
.p-hero__card-price {
  font-family: var(--font-ui); font-size: 1.15rem;
  font-weight: 700; color: var(--text); line-height: 1;
}
.p-hero__card-price span { font-size: 0.58em; font-weight: 400; color: var(--text-3); }
.p-hero__card-price--lg { font-size: 1.55rem; color: var(--accent); }
.p-hero__card-checks {
  display: flex; flex-direction: column; gap: 5px;
  margin-top: 6px;
}
.p-hero__card-checks span {
  font-family: var(--font-mono); font-size: 9.5px;
  color: var(--text-2); letter-spacing: 0.02em;
}
.p-hero__card-cta { margin-top: 14px; }

/* ── Process ─────────────────────────────── */
.p-process {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.p-process__grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: center;
}
.p-process__step {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 0 16px;
}
.p-process__num {
  font-family: var(--font-mono);
  font-size: 2.2rem; font-weight: 700;
  color: var(--text-4);
  line-height: 1; flex-shrink: 0;
}
.p-process__body h3 {
  font-family: var(--font-ui);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.p-process__body p {
  font-size: 13px; color: var(--text-3); line-height: 1.65;
}
.p-process__arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-4);
}

/* ── Main Plans ──────────────────────────── */
.p-plans {
  background: var(--bg);
  padding: 100px 0;
  position: relative;
}
.p-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.p-plan {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}
.p-plan:hover { border-color: var(--border-2); transform: translateY(-4px); }
.p-plan--featured {
  background: var(--bg-3);
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px var(--border-accent), 0 30px 70px rgba(0,0,0,0.4);
}
.p-plan--featured:hover { transform: translateY(-6px); }

.p-plan__badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #04181f; background: var(--accent);
  padding: 4px 14px; border-radius: 100px; font-weight: 700;
  margin-bottom: 20px; align-self: flex-start;
}
.p-plan__header { margin-bottom: 0; }
.p-plan__name {
  font-family: var(--font-ui);
  font-size: 1.25rem; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}
.p-plan__starting {
  display: block;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-3); letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.p-plan__price {
  font-family: var(--font-ui); font-weight: 800;
  color: var(--text); line-height: 1;
  font-size: 2rem; white-space: nowrap; margin-bottom: 12px;
}
.p-plan--featured .p-plan__price { color: var(--accent); }
.p-plan__price sup {
  font-size: 1.1rem; font-weight: 600;
  vertical-align: super; line-height: 0;
}
.p-plan__period {
  font-size: 1rem; font-weight: 400; color: var(--text-3);
}
.p-plan__desc {
  font-size: 13px; color: var(--text-3); line-height: 1.6;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.p-plan__features {
  list-style: none;
  display: flex; flex-direction: column; gap: 13px;
  flex: 1; margin-bottom: 32px;
}
.p-plan__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-ui); font-size: 13.5px;
  color: var(--text-2); line-height: 1.4;
}
.p-plan__features li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.p-plan__cta { margin-top: auto; }

/* ── Add-Ons ─────────────────────────────── */
.p-addons {
  background: var(--bg-2);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.p-addons__title {
  font-family: var(--font-ui);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--text);
  text-align: center; margin-bottom: 56px;
}
.p-addons__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.p-addon {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 4px;
  transition: border-color 0.3s, transform 0.3s;
}
.p-addon:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}
.p-addon__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-4);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.p-addon h3 {
  font-family: var(--font-ui); font-size: 12.5px;
  font-weight: 700; color: var(--text);
  margin-bottom: 6px; line-height: 1.3;
}
.p-addon__starting {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-3); letter-spacing: 0.06em;
}
.p-addon__price {
  font-family: var(--font-ui); font-size: 1.25rem;
  font-weight: 700; color: var(--accent);
  margin-bottom: 8px; line-height: 1.1;
}
.p-addon__mo {
  font-size: 0.65em; font-weight: 400; color: var(--text-3);
}
.p-addon p {
  font-size: 11px; color: var(--text-3); line-height: 1.55;
}

/* ── Compare Table ───────────────────────── */
.p-compare {
  background: var(--bg);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.p-compare__title {
  font-family: var(--font-ui);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--text);
  text-align: center; margin-bottom: 48px;
}
.p-compare__wrap { overflow-x: auto; }
.p-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-ui); font-size: 13.5px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.p-table thead tr {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border-2);
}
.p-table th {
  padding: 18px 20px;
  text-align: center;
  font-family: var(--font-ui); font-size: 13px;
  font-weight: 700; color: var(--text);
  white-space: nowrap;
}
.p-table__feat-col {
  text-align: left; font-weight: 600;
  color: var(--text-3); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  width: 30%;
}
.p-table__featured-col { color: var(--accent); }
.p-table tbody tr { border-bottom: 1px solid var(--border); }
.p-table tbody tr:last-child { border-bottom: none; }
.p-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.p-table td {
  padding: 14px 20px;
  text-align: center;
  color: var(--text-3);
}
.p-table td:first-child { text-align: left; color: var(--text-2); }
.p-table td svg { margin: 0 auto; display: block; color: var(--accent); }
.p-table__dash { color: var(--text-4); font-size: 1.1rem; }

/* ── FAQ ─────────────────────────────────── */
.p-faq {
  background: var(--bg-2);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.p-faq__title {
  font-family: var(--font-ui);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--text);
  text-align: center; margin-bottom: 48px;
}
.p-faq__list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.p-faq__item { border-bottom: 1px solid var(--border); }
.p-faq__item:first-child { border-top: 1px solid var(--border); }
.p-faq__q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 22px 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-ui); font-size: 15px;
  font-weight: 600; color: var(--text);
  text-align: left; transition: color 0.2s;
}
.p-faq__q:hover { color: var(--accent); }
.p-faq__q svg { flex-shrink: 0; transition: transform 0.3s var(--ease-expo); }
.p-faq__item--open .p-faq__q { color: var(--accent); }
.p-faq__item--open .p-faq__q svg { transform: rotate(180deg); }
.p-faq__a {
  max-height: 0; overflow: hidden;
  font-size: 14px; color: var(--text-3); line-height: 1.75;
  transition: max-height 0.4s var(--ease-expo), padding 0.3s;
  padding-bottom: 0;
}
.p-faq__item--open .p-faq__a {
  max-height: 240px;
  padding-bottom: 22px;
}

/* ── Final CTA ───────────────────────────── */
.p-final-cta {
  position: relative;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 100px 0;
  overflow: hidden;
}
.p-final-cta__bg { position: absolute; inset: 0; pointer-events: none; }
.p-final-cta__glow {
  position: absolute;
  width: 700px; height: 360px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0,200,255,0.06) 0%, transparent 70%);
  filter: blur(60px);
}
.p-final-cta__earth { display: none; }
.p-final-cta__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap; justify-content: center; text-align: center;
}
.p-final-cta__logo { height: 80px; object-fit: contain; }
.p-final-cta__text h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--text); margin-bottom: 8px;
}
.p-final-cta__text p {
  font-size: 15px; color: var(--text-2); line-height: 1.65;
}
.p-final-cta__text strong { color: var(--accent); font-weight: 600; }

/* ── Build banner (Step 1) + plans intro (Step 2) ── */
.p-build {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 64px;
}
.p-build__text { max-width: 560px; }
.p-build__text h3 {
  font-family: var(--font-ui); font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin: 6px 0 10px;
}
.p-build__text p { font-size: 14px; color: var(--text-3); line-height: 1.7; }
.p-build__price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.p-build__from {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3);
}
.p-build__amount {
  font-family: var(--font-ui); font-size: 2rem; font-weight: 800; white-space: nowrap;
  color: var(--accent); line-height: 1;
}
.p-build__note { font-family: var(--font-mono); font-size: 10px; color: var(--text-4); margin-bottom: 14px; }

.p-plans__intro { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.p-plans__intro h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -0.02em;
}
.p-plans__intro h2 em { font-style: normal; color: var(--accent); }
.p-plans__intro p { font-size: 15px; color: var(--text-3); line-height: 1.7; }

/* ── Hero scroll cue ─────────────────────────── */
.p-scroll {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-3); text-decoration: none;
  transition: color 0.2s;
}
.p-scroll:hover { color: var(--accent); }
.p-scroll__text {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.p-scroll__chev { animation: p-scroll-bounce 1.8s ease-in-out infinite; }
@keyframes p-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(5px); opacity: 1; }
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1100px) {
  .p-addons__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .p-hero { min-height: auto; }
  .p-hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .p-hero__right { display: none; }
  .p-hero__sub { max-width: 100%; }
  .p-plans__grid { grid-template-columns: 1fr; }
  .p-process__grid { grid-template-columns: 1fr; gap: 32px; }
  .p-process__arrow { display: none; }
  .p-process__step { padding: 0; }
  .p-final-cta__inner { gap: 32px; }
  .p-final-cta__logo { height: 60px; }
}
@media (max-width: 768px) {
  .p-scroll { display: none; }
  .p-build { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
@media (max-width: 640px) {
  .p-addons__grid { grid-template-columns: repeat(2, 1fr); }
  .p-hero__ctas { flex-direction: column; }
  .p-hero__ctas .btn { width: 100%; justify-content: center; }
  .p-table th, .p-table td { padding: 12px 12px; font-size: 12px; }
}
