/* UniToolx FAQ — cohesive with main site design system */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* UniToolx FAQ — common premium stylesheet (drop-in) */
/* Intent: override/upgrade the existing inline styles WITHOUT changing HTML structure/classes. */

:root{
  color-scheme: dark;

  /* Layout */
  --maxw: 1080px;
  --padX: clamp(16px, 3.2vw, 32px);
  --padY: clamp(22px, 3.6vw, 34px);

  /* Radii */
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 12px;

  /* Color system (dark) */
  --bg: #080b12;
  --bg2:#060910;
  --surface: rgba(255,255,255,.06);
  --surface2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.12);
  --border2: rgba(255,255,255,.18);

  --text: #e9eef7;
  --muted: rgba(233,238,247,.78);

  --link: #7ab7ff;

  /* Accent */
  --accent: #2b7dff;
  --accent2:#1d6fff;
  --accent3:#0e57ff;

  /* Effects */
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --ring: rgba(122,183,255,.55);

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

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

html{
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body{
  margin:0;
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text);

  /* Subtle premium background */
  background:
    radial-gradient(1200px 900px at 20% -10%, rgba(43,125,255,.22), transparent 60%),
    radial-gradient(900px 700px at 95% 0%, rgba(148,95,255,.14), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection{ background: rgba(122,183,255,.28); }

img, svg, video{ max-width:100%; height:auto; }

a{
  color: var(--link);
  text-decoration-color: rgba(122,183,255,.55);
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}
a:hover{ text-decoration-color: rgba(122,183,255,.9); }

:focus-visible{
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Container */
.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--padY) var(--padX) 70px;
}

/* Header rhythm */
header{
  padding: clamp(12px, 2.4vw, 18px) 0 clamp(6px, 1.2vw, 10px);
}

/* Breadcrumbs */
.crumbs{
  font-size: 13px;
  color: var(--muted);
}
.crumbs a{
  color: rgba(233,238,247,.88);
  text-decoration: none;
}
.crumbs a:hover{
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(233,238,247,.35);
}

/* Type scale */
h1{
  margin: 12px 0 10px;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h2{
  margin: 22px 0 10px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h3{
  margin: 16px 0 8px;
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.3;
}
p, li{
  font-size: clamp(15px, 1.5vw, 17px);
}
p{ margin: 0 0 12px; }
main p{ max-width: 72ch; }

.lead{
  margin: 0 0 18px;
  color: rgba(233,238,247,.90);
  font-size: clamp(16px, 1.7vw, 18px);
}

strong{ font-weight: 750; }

/* Lists */
ul, ol{
  margin: 10px 0 0 18px;
  padding: 0;
}
li{ margin: 6px 0; }
li > ul, li > ol{ margin-top: 8px; }

/* Grid layout */
.grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(14px, 2.2vw, 18px);
  align-items: start;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

/* Make sidebar feel “anchored” on desktop */
aside{ align-self: start; }
@media (min-width: 980px){
  aside{ position: sticky; top: 22px; }
}

/* CTA row */
.cta{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin: 18px 0 26px;
  align-items: center;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-weight: 800;
  letter-spacing: .01em;

  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent2) 60%, var(--accent3) 100%);
  border: 1px solid rgba(255,255,255,.12);

  box-shadow: 0 10px 24px rgba(29,111,255,.22), 0 2px 0 rgba(255,255,255,.10) inset;
  text-decoration: none;

  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.btn:hover{
  filter: brightness(1.06);
  text-decoration: none;
}
.btn:active{ transform: translateY(1px); }

.btn.secondary{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  color: var(--text);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.btn.secondary:hover{ border-color: rgba(255,255,255,.24); }

/* Mobile: make CTAs feel tappable + full-width */
@media (max-width: 520px){
  .cta .btn{
    width: 100%;
  }
}

/* Cards */
.card{
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(14px, 2vw, 18px);
  margin: 14px 0;

  box-shadow: var(--shadow2);
}
@supports (backdrop-filter: blur(10px)){
  .card{
    backdrop-filter: blur(10px);
  }
}

@media (hover:hover) and (pointer:fine){
  .card{
    transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
  }
  .card:hover{
    border-color: rgba(122,183,255,.20);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
  }
}

/* FAQ details */
.faq{ margin-top: 8px; }
.faq details{
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin: 10px 0;

  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.faq details[open]{
  border-color: rgba(122,183,255,.28);
  box-shadow: 0 0 0 1px rgba(122,183,255,.10), 0 18px 48px rgba(0,0,0,.45);
}

.faq summary{
  cursor: pointer;
  font-weight: 800;
  list-style: none;

  display: flex;
  align-items: flex-start;
  gap: 10px;
  user-select: none;
}
.faq summary::-webkit-details-marker{ display:none; }

/* Chevron */
.faq summary::before{
  content:"";
  width: 10px;
  height: 10px;
  margin-top: .45em;
  flex: 0 0 auto;

  border-right: 2px solid rgba(233,238,247,.62);
  border-bottom: 2px solid rgba(233,238,247,.62);
  transform: rotate(-45deg);
  transition: transform .18s ease, border-color .18s ease;
}
.faq details[open] summary::before{
  transform: rotate(45deg);
  border-color: rgba(122,183,255,.95);
}

.faq details > p{
  margin: 10px 0 0;
  color: rgba(233,238,247,.90);
}

/* Notes / small text */
.note{
  font-size: 13px;
  color: rgba(233,238,247,.70);
}

/* Footer */
footer{
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  opacity: .86;
  font-size: 13px;
  color: rgba(233,238,247,.68);
}

/* Optional: nicer inline code if ever used */
code{
  font-family: var(--mono);
  font-size: .95em;
  padding: .12em .38em;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; animation: none !important; }
}

/* Print: readable */
@media print{
  :root{ color-scheme: light; }
  body{
    background: #fff !important;
    color: #111 !important;
  }
  a{ color: #0b57d0 !important; }
  .card, .faq details{
    background: #fff !important;
    border-color: #ddd !important;
    box-shadow: none !important;
  }
  .btn{ display:none !important; }
  .wrap{ padding: 0 !important; }
}

