/* =====================================================
🔧 AUDVYNE RESET PRO
- Normalize + Reset + Base System
- Preparado para apps modernas (dark UI)
===================================================== */

/* =========================
1. BOX MODEL
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================
2. RESET MÁRGENES
========================= */
* {
  margin: 0;
  padding: 0;
}

/* =========================
3. HTML BASE
========================= */
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* =========================
4. BODY BASE
========================= */
body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  font-size: 16px;
  background-color: #0a0a0f;
  color: #ffffff;
}

/* =========================
5. MEDIA ELEMENTS
========================= */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* =========================
6. FORM ELEMENTS
========================= */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* RESET BOTONES */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* TEXTAREA */
textarea {
  resize: vertical;
}

/* =========================
7. LINKS
========================= */
a {
  text-decoration: none;
  color: inherit;
}

/* =========================
8. LISTAS
========================= */
ul,
ol {
  list-style: none;
}

/* =========================
9. TABLAS
========================= */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* =========================
10. HEADINGS
========================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

/* =========================
11. SMALL TEXT
========================= */
small {
  font-size: 0.875em;
}

/* =========================
12. STRONG
========================= */
strong {
  font-weight: 700;
}

/* =========================
13. CODE
========================= */
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* =========================
14. HR
========================= */
hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================
15. FOCUS (ACCESIBILIDAD)
========================= */
:focus-visible {
  outline: 2px solid #7c5cff;
  outline-offset: 2px;
}

/* =========================
16. SELECCIÓN
========================= */
::selection {
  background: #7c5cff;
  color: #fff;
}

/* =========================
17. SCROLLBAR (WEBKIT)
========================= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

/* =========================
18. PLACEHOLDER
========================= */
::placeholder {
  color: rgba(255,255,255,0.4);
}

/* =========================
19. DISABLED
========================= */
:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* =========================
20. HIDDEN ATTRIBUTE
========================= */
[hidden] {
  display: none !important;
}

/* =========================
21. ROOT VARIABLES BASE
========================= */
:root {
  --bg: #0a0a0f;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.6);
  --border: rgba(255,255,255,0.08);
  --primary: #7c5cff;
  --secondary: #00d4ff;
}

/* =========================
22. REDUCE MOTION (A11Y)
========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}