/* Pricing page — builds on styles.css */

.btn-outline { border: 1px solid #c9c6be; background: transparent; }
.btn-outline:hover { background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link { font-weight: 600; font-size: 15px; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.section { padding-top: 72px; }
.section-title { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
.section-lead { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 17px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Hero */
.p-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 24px 0 40px; }
.p-hero h1 { margin: 0 0 24px; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.p-hero .lead { max-width: 44ch; font-size: 17px; }

/* Device mockup */
.devices { position: relative; aspect-ratio: 4 / 3; }
.devices-bg { position: absolute; inset: 0 0 8% 14%; border-radius: 20px; background: linear-gradient(135deg, #e9e3d8, #ddd5c6); }
.laptop { position: absolute; left: 0; bottom: 10%; width: 82%; }
.laptop-screen { background: #121414; border-radius: 14px 14px 0 0; padding: 2.2%; aspect-ratio: 16 / 10; }
.laptop-base { height: 14px; margin: 0 -5%; background: linear-gradient(#cfd0d2, #a9abae); border-radius: 0 0 14px 14px; }
.dash { display: grid; grid-template-columns: 26% 1fr; height: 100%; background: #fff; border-radius: 4px; overflow: hidden; font-size: clamp(7px, .75vw, 10px); color: var(--ink-2); }
.dash-side { display: flex; flex-direction: column; gap: 9%; padding: 8%; background: #f7f8fa; border-right: 1px solid #eceef1; }
.dash-side b { color: var(--ink); margin-bottom: 8%; }
.dash-side .on { color: #2f5bd8; font-weight: 600; }
.dash-main { padding: 4% 5%; display: flex; flex-direction: column; gap: 5%; }
.dash-main > b { color: var(--ink); font-size: 1.15em; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dash-stats div { border: 1px solid #eceef1; border-radius: 6px; padding: 6px 8px; display: grid; }
.dash-stats strong { font-size: 1.7em; color: var(--ink); }
.dash-chart { flex: 1; border: 1px solid #eceef1; border-radius: 6px; padding: 6px 8px; display: flex; flex-direction: column; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 6%; padding: 6px 4px 0; border-bottom: 1px solid #eceef1; }
.bars i { flex: 1; height: var(--h); background: #4a76e8; border-radius: 2px 2px 0 0; }
.phone { position: absolute; right: 0; bottom: 0; width: 27%; aspect-ratio: 9 / 18.5; background: #121414; border-radius: 22px; padding: 2.2%; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.phone-screen { height: 100%; background: #fff; border-radius: 17px; padding: 10% 8%; display: flex; flex-direction: column; gap: 5%; font-size: clamp(6px, .65vw, 9px); color: var(--ink-2); overflow: hidden; }
.phone-screen > b { color: var(--ink); font-size: 1.3em; }
.ph-top { display: flex; justify-content: space-between; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ph-grid span { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 6px; background: #f6f6f8; text-align: center; }
.ph-grid i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #7a3fc4; }
.ph-grid span:nth-child(2) i { border-color: #b23a6b; }
.ph-grid span:nth-child(3) i { border-color: #2f5bd8; }
.ph-label { font-weight: 600; color: var(--ink); }
.ph-item { display: flex; gap: 6px; align-items: flex-start; }
.ph-item i { flex: none; width: 10px; height: 10px; margin-top: 2px; border-radius: 50%; background: #2f5bd8; }
.ph-item em { font-style: normal; color: var(--muted); }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 8px 0 40px; }
.highlights div { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; line-height: 1.4; justify-content: center; }
.highlights svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.highlights svg.fill { fill: var(--ink); stroke: none; }

/* Price card */
.price-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px 48px; background: #ebe8e1; border-radius: 20px; }
.price { margin: 0; font-size: clamp(56px, 7vw, 84px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price .cur { font-weight: 500; margin-right: 8px; }
.price .per { font-size: 26px; letter-spacing: -.01em; font-weight: 600; }
.commit { margin: 10px 0 18px; font-size: 21px; font-weight: 500; }
.note { margin: 0; color: var(--ink-2); font-size: 15px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-size: 16px; color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: 14px; }
.ticks li::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111614' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.feature, .service { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.feature h3, .service h3 { margin: 18px 0 8px; font-size: 17px; letter-spacing: -.01em; }
.feature p, .service p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.f-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; }
.f-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f-icon svg.solid { fill: currentColor; stroke: none; }
.c-blue { background: #e6eefc; color: #2f5bd8; }
.c-green { background: #e2f4e8; color: #1f9d55; }
.c-purple { background: #efe9fb; color: #7a3fc4; }
.c-red { background: #fde8ec; color: #d6335a; }
.c-orange { background: #fff0e0; color: #ef8a17; }

/* Privacy */
.privacy {
  display: grid; grid-template-columns: 1.3fr .8fr .7fr; gap: 32px; align-items: center;
  margin-top: 72px; padding: 40px 44px; border-radius: 20px;
  background: linear-gradient(110deg, #eef2ee, #e2ece6);
}
.privacy h2 { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.privacy-copy p:last-child { margin: 0; color: var(--ink-2); max-width: 50ch; }
.vault { position: relative; justify-self: center; width: 180px; height: 170px; }
.server { position: absolute; left: 0; top: 10px; width: 120px; display: grid; gap: 6px; }
.server i { height: 44px; border-radius: 22px / 12px; background: linear-gradient(180deg, #ffffff, #dfe3e6); box-shadow: inset 0 -3px 0 #cfd4d8, 0 6px 14px rgba(0,0,0,.06); }
.lock { position: absolute; right: 8px; bottom: 0; width: 90px; filter: drop-shadow(0 10px 18px rgba(31,157,85,.3)); }
.ticks-card { background: #fff; border-radius: 14px; padding: 22px; gap: 16px; font-size: 14px; box-shadow: var(--shadow); }

/* Additional services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.service { border: 0; box-shadow: none; }
.t-purple { background: #f1edf9; } .t-blue { background: #eaf0fa; } .t-orange { background: #fbf1e3; } .t-green { background: #e8f3ec; }
.service .f-icon { background: rgba(255,255,255,.75); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 24px; align-items: start; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 500; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; }

/* Final CTA */
.final-cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr auto 1fr; align-items: center; gap: 32px;
  margin: 72px 0 40px; padding: 44px 48px; border-radius: 20px; background: #13262a; color: #fff;
}
.final-cta .eyebrow { color: rgba(255,255,255,.7); }
.final-cta h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.03em; position: relative; }
.final-copy, .final-actions { position: relative; z-index: 1; min-width: 0; }
.final-actions { display: grid; gap: 14px; }
.final-actions .btn { justify-content: center; }
.final-img {
  position: absolute; right: 0; top: 0; width: 34%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%);
}

/* Responsive */
@media (max-width: 1100px) {
  .features, .services { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlights div { justify-content: flex-start; }
  .privacy { grid-template-columns: 1fr 1fr; }
  .privacy-copy { grid-column: 1 / -1; }
  .final-cta { grid-template-columns: 1fr auto; }
  .final-img { opacity: .35; width: 50%; }
}
@media (max-width: 860px) {
  .p-hero, .price-card { grid-template-columns: 1fr; }
  .price-card { padding: 32px 24px; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features, .services { grid-template-columns: 1fr; }
  /* Highlights: 2x2 grid with the icon above the text, so the row uses the full width */
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .highlights div { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
  .privacy { grid-template-columns: 1fr; padding: 32px 24px; }
  .vault { display: none; }
  .final-cta { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
  .final-actions { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .price .per { font-size: 20px; }
}
