:root {
      --bg-deep: #0c0a17;
      --bg-panel: #161029;
      --bg-panel-2: #1d1638;
      --frost: #b9a6ff;
      --ice: #8fd3f4;
      --text: #f1eefb;
      --text-muted: #a99fc4;
      --line: rgba(185, 166, 255, .18);
      --panel: rgba(255, 255, 255, .045);
      --panel-2: rgba(255, 255, 255, .075);
      --muted: #a79ec4;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased
    }

    body {
      background: var(--bg-deep);
      color: var(--text);
      font-family: 'Manrope', system-ui, sans-serif;
      overflow-x: hidden;
      min-height: 100vh;
    }

    h1,
    h2,
    h3,
    .display {
      font-family: 'Fraunces', serif;
      letter-spacing: -.02em
    }

    a {
      color: inherit;
      text-decoration: none
    }

    /* fundo */
    .bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden
    }

    .bg-mesh {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 10% -10%, rgba(185, 166, 255, .22), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 10%, rgba(143, 211, 244, .14), transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(185, 166, 255, .1), transparent 55%),
        var(--bg-deep);
    }

    .bg-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(185, 166, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(185, 166, 255, .04) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
      -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
      animation: gridDrift 40s linear infinite;
    }

    @keyframes gridDrift {
      to {
        background-position: 64px 64px
      }
    }

    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      opacity: .4;
      animation: orbFloat 18s ease-in-out infinite;
    }

    .orb-1 {
      width: 420px;
      height: 420px;
      top: -8%;
      left: -6%;
      background: radial-gradient(circle, var(--frost), transparent 70%)
    }

    .orb-2 {
      width: 360px;
      height: 360px;
      bottom: 5%;
      right: -4%;
      background: radial-gradient(circle, var(--ice), transparent 70%);
      animation-delay: -7s;
      animation-duration: 22s
    }

    .orb-3 {
      width: 220px;
      height: 220px;
      top: 42%;
      left: 38%;
      background: radial-gradient(circle, rgba(185, 166, 255, .5), transparent 70%);
      animation-delay: -12s;
      animation-duration: 26s;
      opacity: .25
    }

    @keyframes orbFloat {

      0%,
      100% {
        transform: translate(0, 0) scale(1)
      }

      33% {
        transform: translate(30px, -40px) scale(1.06)
      }

      66% {
        transform: translate(-20px, 25px) scale(.96)
      }
    }

    .stars {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none
    }

    .star {
      position: absolute;
      border-radius: 50%;
      background: #fff;
      animation: twinkle var(--d, 3s) ease-in-out infinite;
      opacity: 0
    }

    @keyframes twinkle {

      0%,
      100% {
        opacity: 0;
        transform: scale(.6)
      }

      50% {
        opacity: var(--o, .7);
        transform: scale(1)
      }
    }

    @media (prefers-reduced-motion:reduce) {

      .bg-grid,
      .orb,
      .star,
      .shimmer,
      .reveal {
        animation: none !important
      }

      .reveal {
        opacity: 1;
        transform: none
      }
    }

    .wrap {
      position: relative;
      z-index: 5;
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 20px
    }


    /* changelog */
    .changelog {
      display: grid;
      gap: 14px;
      margin-top: 8px
    }
    .change-card {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 18px 20px;
      transition: .15s
    }
    .change-card:hover {
      background: var(--panel-2);
      border-color: rgba(185, 166, 255, .35)
    }
    .change-card .tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: var(--frost);
      margin-bottom: 8px
    }
    .change-card .tag.fix {
      color: #f87171
    }
    .change-card h4 {
      font-size: 17px;
      margin-bottom: 6px
    }
    .change-card p {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.55
    }
    .change-card .date {
      margin-top: 10px;
      font-size: 12px;
      color: var(--muted)
    }


    /* botão menu (hambúrguer) */
    .menu-btn {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: var(--panel);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: .15s;
      padding: 0;
    }
    .menu-btn:hover {
      background: var(--panel-2);
      border-color: rgba(185, 166, 255, .4)
    }
    .menu-icon {
      width: 18px;
      height: 14px;
      position: relative;
      display: block
    }
    .menu-icon .bar {
      position: absolute;
      left: 0;
      right: 0;
      height: 2px;
      border-radius: 2px;
      background: var(--text);
      transition: .2s
    }
    .menu-icon .bar1 { top: 0 }
    .menu-icon .bar2 { top: 6px }
    .menu-icon .bar3 { top: 12px }
    body.menu-open .menu-icon .bar1 {
      top: 6px;
      transform: rotate(45deg)
    }
    body.menu-open .menu-icon .bar2 {
      opacity: 0
    }
    body.menu-open .menu-icon .bar3 {
      top: 6px;
      transform: rotate(-45deg)
    }

    .menu-backdrop {
      position: fixed;
      inset: 0;
      z-index: 40;
      background: rgba(0,0,0,.45);
      backdrop-filter: blur(2px);
    }
    .site-menu {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 50;
      width: min(320px, 88vw);
      height: 100vh;
      background: linear-gradient(180deg, #1a1430 0%, #0e0a1a 100%);
      border-left: 1px solid var(--line);
      box-shadow: -20px 0 60px rgba(0,0,0,.4);
      padding: 20px 18px 32px;
      display: flex;
      flex-direction: column;
      transform: translateX(100%);
      transition: transform .25s ease;
    }
    body.menu-open .site-menu {
      transform: translateX(0);
    }
    body.menu-open .site-menu[hidden],
    body.menu-open .menu-backdrop[hidden] {
      display: block !important;
    }
    .site-menu-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 18px;
      padding: 4px 6px 14px;
      border-bottom: 1px solid var(--line);
      font-weight: 800;
      font-size: 15px;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .menu-close {
      border: 0;
      background: transparent;
      color: var(--text);
      font-size: 18px;
      cursor: pointer;
      width: 36px;
      height: 36px;
      border-radius: 10px;
    }
    .menu-close:hover {
      background: var(--panel)
    }
    .site-menu-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin: 0;
      padding: 0
    }
    .site-menu-list a {
      display: block;
      padding: 14px 16px;
      border-radius: 14px;
      font-weight: 700;
      font-size: 15px;
      color: var(--text);
      background: transparent;
      border: 1px solid transparent;
      transition: .15s
    }
    .site-menu-list a:hover {
      background: rgba(185, 166, 255, .1);
      border-color: var(--line)
    }


    /* header */
    header {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(14px);
      background: rgba(12, 10, 23, .72);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 16px;
      height: 66px
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: 18px
    }

    .brand img {
      width: 28px;
      height: 28px;
      border-radius: 9px;
      object-fit: cover;
      box-shadow: 0 0 0 1px rgba(185, 166, 255, .25)
    }

    .nav-links {
      display: flex;
      gap: 6px;
      margin-left: 12px
    }

    .nav-links a {
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 600;
      padding: 8px 12px;
      border-radius: 999px;
      transition: .15s;
    }

    .nav-links a:hover {
      color: var(--text);
      background: rgba(185, 166, 255, .08)
    }

    .nav-right {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 10px
    }

    .avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 2px solid var(--frost);
      object-fit: cover;
      background: var(--bg-panel-2)
    }

    .user-chip {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 5px 12px 5px 5px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--panel);
      font-size: 13px;
      font-weight: 700;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 11px 18px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 14px;
      border: 1px solid transparent;
      cursor: pointer;
      transition: .18s ease;
      font-family: inherit;
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--frost), var(--ice));
      color: #160f2b;
      box-shadow: 0 10px 30px -12px rgba(185, 166, 255, .8);
    }

    .btn-primary:hover {
      transform: translateY(-2px)
    }

    .btn-primary .shimmer {
      position: absolute;
      inset: 0;
      background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .3) 50%, transparent 60%);
      transform: translateX(-120%);
      animation: shimmer 3.5s ease-in-out infinite;
    }

    @keyframes shimmer {

      0%,
      60% {
        transform: translateX(-120%)
      }

      100% {
        transform: translateX(120%)
      }
    }

    .btn-ghost {
      background: var(--panel);
      border-color: var(--line);
      color: var(--text)
    }

    .btn-ghost:hover {
      background: var(--panel-2);
      transform: translateY(-2px)
    }

    .btn-sm {
      padding: 8px 14px;
      font-size: 13px
    }

    /* hero */
    .hero {
      padding: 72px 0 36px;
      text-align: center
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: var(--panel);
      color: var(--muted);
      font-size: 12.5px;
      font-weight: 700;
    }

    .pill .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--ice);
      box-shadow: 0 0 0 0 rgba(143, 211, 244, .55);
      animation: pulseDot 2s ease-out infinite;
    }

    @keyframes pulseDot {
      0% {
        box-shadow: 0 0 0 0 rgba(143, 211, 244, .55)
      }

      70% {
        box-shadow: 0 0 0 10px rgba(143, 211, 244, 0)
      }

      100% {
        box-shadow: 0 0 0 0 rgba(143, 211, 244, 0)
      }
    }

    .hero h1 {
      font-size: clamp(34px, 6.5vw, 60px);
      line-height: 1.05;
      font-weight: 500;
      margin: 20px 0 0
    }

    .hero h1 em {
      font-style: italic;
      background: linear-gradient(110deg, var(--frost) 0%, var(--ice) 55%, var(--frost) 100%);
      background-size: 200% auto;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: gradShift 6s ease infinite;
    }

    @keyframes gradShift {

      0%,
      100% {
        background-position: 0% center
      }

      50% {
        background-position: 100% center
      }
    }

    .hero p {
      color: var(--muted);
      font-size: clamp(15px, 2.4vw, 18px);
      max-width: 620px;
      margin: 18px auto 0;
      line-height: 1.6
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-top: 28px
    }

    /* cards */
    .main-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
      margin-top: 48px
    }

    .card {
      position: relative;
      padding: 24px;
      border-radius: 20px;
      border: 1px solid var(--line);
      background: linear-gradient(165deg, rgba(29, 22, 56, .9), rgba(22, 16, 41, .95));
      transition: .25s ease;
      text-align: left;
      display: block;
      cursor: pointer;
      width: 100%;
      font-family: inherit;
      color: inherit;
      overflow: hidden;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(185, 166, 255, .08), transparent 40%);
      opacity: 0;
      transition: opacity .25s;
    }

    .card:hover {
      transform: translateY(-5px);
      border-color: rgba(185, 166, 255, .42);
      box-shadow: 0 24px 50px -30px rgba(143, 211, 244, .45)
    }

    .card:hover::before {
      opacity: 1
    }

    .card .icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(185, 166, 255, .1);
      border: 1px solid rgba(185, 166, 255, .15);
      margin-bottom: 12px;
      position: relative;
    }

    .card .icon svg {
      width: 20px;
      height: 20px;
      stroke: var(--frost)
    }

    .card h3 {
      font-size: 18px;
      margin: 0 0 8px;
      position: relative;
      font-weight: 700
    }

    .card p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
      margin: 0;
      position: relative
    }

    .card .go {
      margin-top: 14px;
      font-size: 13px;
      font-weight: 800;
      color: var(--ice);
      position: relative
    }

    .lock {
      position: absolute;
      top: 18px;
      right: 18px;
      font-size: 12px;
      color: var(--muted);
      z-index: 1
    }

    /* stats */
    .stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 12px;
      margin-top: 48px
    }

    .stat {
      padding: 20px;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: var(--panel);
      text-align: center
    }

    .stat b {
      display: block;
      font-family: 'Fraunces', serif;
      font-size: 30px;
      background: linear-gradient(120deg, var(--frost), var(--ice));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent
    }

    .stat span {
      color: var(--muted);
      font-size: 12.5px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase
    }

    section {
      padding: 64px 0
    }

    .sec-head {
      text-align: center;
      margin-bottom: 32px
    }

    .sec-head h2 {
      font-size: clamp(26px, 4.4vw, 38px);
      font-weight: 500
    }

    .sec-head p {
      color: var(--muted);
      margin: 12px auto 0;
      max-width: 560px;
      font-size: 15px;
      line-height: 1.6
    }

    .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 14px
    }

    .feature {
      padding: 20px;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: linear-gradient(165deg, rgba(29, 22, 56, .85), rgba(22, 16, 41, .9));
      transition: transform .2s, border-color .2s;
    }

    .feature:hover {
      transform: translateY(-3px);
      border-color: rgba(185, 166, 255, .35)
    }

    .feature .icon {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(185, 166, 255, .1);
      border: 1px solid rgba(185, 166, 255, .15);
      margin-bottom: 12px;
    }

    .feature .icon svg {
      width: 18px;
      height: 18px;
      stroke: var(--frost)
    }

    .feature h4 {
      margin: 0 0 6px;
      font-size: 15px;
      font-weight: 800
    }

    .feature p {
      margin: 0;
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.55
    }

    .cmd-tools {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-bottom: 20px
    }

    .search {
      flex: 1 1 260px;
      max-width: 360px;
      padding: 12px 16px;
      border-radius: 13px;
      border: 1px solid var(--line);
      background: var(--panel);
      color: var(--text);
      font-family: inherit;
      font-size: 14px;
      outline: none;
    }

    .search:focus {
      border-color: var(--frost)
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      margin-bottom: 22px
    }

    .chip {
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: var(--panel);
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      transition: .15s;
    }

    .chip:hover {
      color: var(--text)
    }

    .chip.on {
      background: linear-gradient(135deg, var(--frost), var(--ice));
      color: #160f2b;
      border-color: transparent
    }

    .cmd-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 12px
    }

    .cmd {
      padding: 16px;
      border-radius: 15px;
      border: 1px solid var(--line);
      background: var(--panel);
      transition: .15s
    }

    .cmd:hover {
      border-color: rgba(185, 166, 255, .45);
      background: var(--panel-2)
    }

    .cmd .top {
      display: flex;
      align-items: center;
      gap: 8px
    }

    .cmd code {
      font-family: ui-monospace, monospace;
      font-size: 14px;
      font-weight: 700;
      color: var(--ice)
    }

    .tag {
      margin-left: auto;
      font-size: 10.5px;
      font-weight: 800;
      letter-spacing: .05em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid var(--line);
      color: var(--muted)
    }

    .cmd p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5
    }

    .empty {
      text-align: center;
      color: var(--muted);
      padding: 40px 0;
      font-size: 14px
    }

    .cta {
      margin: 0 auto;
      max-width: 820px;
      text-align: center;
      padding: 44px 28px;
      border-radius: 26px;
      border: 1px solid var(--line);
      background: linear-gradient(160deg, rgba(185, 166, 255, .14), rgba(143, 211, 244, .07));
    }

    footer {
      border-top: 1px solid var(--line);
      padding: 28px 0;
      color: var(--muted);
      font-size: 13px;
      text-align: center;
      position: relative;
      z-index: 5
    }

    .reveal {
      opacity: 0;
      transform: translateY(18px);
      animation: revealUp .65s cubic-bezier(.22, 1, .36, 1) forwards
    }

    .reveal-d1 {
      animation-delay: .06s
    }

    .reveal-d2 {
      animation-delay: .12s
    }

    .reveal-d3 {
      animation-delay: .18s
    }

    .reveal-d4 {
      animation-delay: .24s
    }

    @keyframes revealUp {
      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    @media(max-width:640px) {
      .nav-links {
        display: none
      }

      .hero {
        padding: 48px 0 20px
      }
    }

    /* ── IA: escolha de modelo ── */
    .ia-tabs { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin:0 0 22px; }
    .ia-tab { cursor:pointer; border:1px solid var(--line); background:var(--panel); color:var(--text); border-radius:999px; padding:9px 16px; font:inherit; font-size:14px; font-weight:600; }
    .ia-tab:hover { border-color: var(--frost); }
    .ia-tab.on { background:linear-gradient(135deg,rgba(185,166,255,.28),rgba(143,211,244,.18)); border-color:var(--frost); }
    .ia-intro { text-align:center; color:var(--muted); max-width:640px; margin:0 auto 22px; line-height:1.6; font-size:15px; }
    .ia-intro b { color:var(--text); }
    .ia-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:14px; }
    .ia-card { border:1px solid var(--line); background:var(--panel); border-radius:16px; padding:18px; display:flex; flex-direction:column; gap:10px; }
    .ia-card.padrao { border-color:var(--frost); box-shadow:0 0 0 1px rgba(185,166,255,.25) inset; }
    .ia-card h4 { margin:0; font-size:16px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
    .ia-badge { font-size:11px; font-weight:700; padding:3px 8px; border-radius:999px; background:rgba(143,211,244,.16); color:var(--ice); }
    .ia-badge.aviso { background:rgba(255,196,120,.16); color:#ffc478; }
    .ia-card p { margin:0; color:var(--muted); font-size:14px; line-height:1.55; }
    .ia-ideal { font-size:13px; color:var(--text); }
    .ia-metrics { display:grid; grid-template-columns:1fr 1fr; gap:8px; font-size:12px; color:var(--muted); }
    .ia-dots { letter-spacing:2px; color:var(--frost); font-size:13px; }
    .ia-preco { margin-top:auto; padding-top:10px; border-top:1px dashed var(--line); font-size:13px; display:flex; flex-direction:column; gap:3px; }
    .ia-preco b { font-size:18px; color:var(--text); }
    .ia-preco small { color:var(--muted); }
    .ia-nota { text-align:center; color:var(--muted); font-size:12.5px; margin:18px auto 0; max-width:680px; line-height:1.6; }
    .ia-nota a { color:var(--ice); }
    .ia-links { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:10px; font-size:13px; }
    .ia-links a { color:var(--ice); }
    /* ── Suporte ── */
    .suporte-box { border:1px solid var(--line); background:var(--panel); border-radius:20px; padding:30px 24px; text-align:center; max-width:760px; margin:0 auto; }
    .suporte-box h3 { margin:0 0 8px; font-size:22px; }
    .suporte-box p { color:var(--muted); line-height:1.6; margin:0 auto; max-width:520px; }
    .suporte-lista { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; margin:20px 0; text-align:left; }
    .suporte-lista div { background:rgba(255,255,255,.04); border-radius:12px; padding:12px 14px; font-size:14px; color:var(--muted); line-height:1.45; }
    .suporte-lista b { display:block; color:var(--text); margin-bottom:2px; }
    .btn[disabled], .btn.off { opacity:.55; pointer-events:none; }
  


/* área de auth à esquerda do menu — menu sempre visível */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.user-chip .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.page-active {
  color: var(--ice) !important;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
