/*
 * Dyson Technologies product page styles, served at https://manage.dysontech.com/site/product.css
 * Used by the GoHighLevel product pages on dysontech.com (template: Dyson Technologies/site/product-template/).
 * Everything is scoped under .dtp so it can't affect the rest of the GHL site.
 */

/* GHL wraps Code elements in padded section/row/column/.inner boxes: remove them around our page. */
[id^="section-"]:has(.dtp),
[id^="row-"]:has(.dtp),
[id^="col-"]:has(.dtp),
.inner:has(.dtp) {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* The page is hidden for up to 3s until this file loads (rule in the pasted snippet); reveal it now. */
html .dtp { visibility: visible; animation: none; }

.dtp {
  --blue: #1f4fff;
  --blue-dark: #1638c7;
  --ink: #0e1525;
  --muted: #5b6474;
  --line: #e2e5ea;
  --page: #f5f6f8;
  --night: #0b1120;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.dtp *, .dtp *::before, .dtp *::after { box-sizing: border-box; }
/* Resets use :where() (zero specificity) so the component classes below always win. */
.dtp :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
.dtp :where(ul) { list-style: none; }
.dtp :where(img) { max-width: 100%; display: block; }
.dtp :where(a) { color: var(--blue); }

.dtp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.dtp-section { padding: 88px 0; }
.dtp-section.alt { background: var(--page); }
.dtp-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.dtp-h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; margin-top: 10px; }
.dtp-lead { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 14px; }
.dtp-center { text-align: center; }
.dtp-center .dtp-lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.dtp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.dtp a.dtp-btn-primary, .dtp-btn-primary { background: var(--blue); color: #fff; }
.dtp a.dtp-btn-primary:hover { background: var(--blue-dark); }
.dtp a.dtp-btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3); }
.dtp a.dtp-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.dtp a.dtp-btn-outline { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.dtp a.dtp-btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dtp a.dtp-btn:focus-visible { outline: 3px solid #8aa4ff; outline-offset: 2px; }

/* Hero */
.dtp-hero { background: var(--night); color: #fff; padding: 72px 0 0; overflow: hidden; }
.dtp-hero-grid { display: grid; gap: 48px; align-items: end; }
.dtp-hero-copy { padding-bottom: 8px; }
.dtp-by { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.7); }
.dtp-by svg { width: 20px; height: 20px; }
.dtp-hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin-top: 18px; }
.dtp-hero .dtp-lead { color: rgba(255, 255, 255, 0.72); font-size: 19px; }
.dtp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dtp-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.dtp-facts li { display: flex; align-items: center; gap: 8px; }
.dtp-facts svg { width: 16px; height: 16px; color: #8aa4ff; flex: none; }

/* Browser-frame screenshot */
.dtp-shot { border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.dtp-shot-bar { display: flex; gap: 6px; padding: 12px 14px; background: #eef0f4; border-bottom: 1px solid var(--line); }
.dtp-shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd4dc; }
.dtp-shot img, .dtp-shot .dtp-ph { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; }
.dtp-ph {
  display: grid; place-items: center; text-align: center; padding: 20px;
  background: repeating-linear-gradient(45deg, #f5f6f8, #f5f6f8 12px, #eceef2 12px, #eceef2 24px);
  color: var(--muted); font-size: 14px; font-weight: 600;
}

/* Features */
.dtp-grid3 { display: grid; gap: 20px; margin-top: 48px; }
.dtp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.dtp-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: #eaf0ff; color: var(--blue); }
.dtp-icon svg { width: 22px; height: 22px; }
.dtp-card h3 { font-size: 18px; font-weight: 700; margin-top: 16px; letter-spacing: -0.01em; }
.dtp-card p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* Gallery */
.dtp-gallery { display: grid; gap: 20px; margin-top: 48px; }
.dtp-gallery figure { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.dtp-gallery img, .dtp-gallery .dtp-ph { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.dtp-gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* Steps */
.dtp-steps { display: grid; gap: 20px; margin-top: 48px; counter-reset: step; }
.dtp-step { position: relative; padding: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.dtp-step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
}
.dtp-step h3 { font-size: 18px; font-weight: 700; margin-top: 14px; }
.dtp-step p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* Pricing */
.dtp-plans { display: grid; gap: 20px; margin-top: 48px; align-items: stretch; }
.dtp-plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.dtp-plan.featured { border: 2px solid var(--blue); box-shadow: 0 18px 50px rgba(31, 79, 255, 0.14); position: relative; }
.dtp-badge {
  position: absolute; top: -13px; left: 30px; background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.dtp-plan h3 { font-size: 20px; font-weight: 700; }
.dtp-plan .dtp-for { color: var(--muted); font-size: 14px; margin-top: 4px; }
.dtp-price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.dtp-price strong { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.dtp-price span { color: var(--muted); font-size: 15px; }
.dtp-plan ul { margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; }
.dtp-plan li { display: flex; gap: 10px; align-items: flex-start; }
.dtp-plan li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.dtp-plan .dtp-btn { margin-top: auto; width: 100%; }
.dtp-fine { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Requirements */
.dtp-two { display: grid; gap: 40px; margin-top: 40px; }
.dtp-checks { display: grid; gap: 12px; }
.dtp-checks li { display: flex; gap: 10px; align-items: flex-start; }
.dtp-checks svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.dtp-two h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }

/* FAQ */
.dtp-faq { max-width: 800px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.dtp-faq details { border-bottom: 1px solid var(--line); }
.dtp-faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.dtp-faq summary::-webkit-details-marker { display: none; }
.dtp-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--muted);
}
.dtp-faq details[open] summary::after { content: "–"; }
.dtp-faq summary:focus-visible { outline: 3px solid #8aa4ff; outline-offset: 2px; }
.dtp-faq details p { padding: 0 0 20px; color: var(--muted); }

/* Closing call to action */
.dtp-final { background: var(--night); color: #fff; text-align: center; padding: 80px 0; }
.dtp-final .dtp-lead { color: rgba(255, 255, 255, 0.72); margin-left: auto; margin-right: auto; }
.dtp-final .dtp-cta-row { justify-content: center; }
.dtp-legal { text-align: center; font-size: 13px; color: var(--muted); padding: 22px 20px; background: #fff; }
.dtp-legal a { color: var(--muted); }

@media (min-width: 760px) {
  .dtp-grid3, .dtp-steps, .dtp-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dtp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dtp-gallery figure:first-child { grid-column: 1 / -1; }
  .dtp-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .dtp-hero-grid { grid-template-columns: 5fr 6fr; }
  .dtp-hero { padding-top: 96px; }
  .dtp-hero .dtp-shot { margin-bottom: -2px; }
  .dtp-hero-copy { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .dtp * { transition: none !important; }
}
