/* =====================================================
           RESET
        ===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  background: #fff;
  color: #444;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

button,
input {
  font: inherit;
}


/* =====================================================
           VARIABLES
        ===================================================== */

:root {
  --primary: #0dcaf0;
  --primary-dark: #08a9c9;
  --dark: #17202a;
  --dark-2: #202b36;
  --text: #66717b;
  --light: #f6f9fb;
  --white: #ffffff;
  --border: #e8edf0;

  --shadow:
    0 8px 30px rgba(23, 32, 42, .08);

  --radius: 6px;
}


/* =====================================================
           CONTAINER
        ===================================================== */

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


/* =====================================================
           TOPBAR
        ===================================================== */

.topbar {
  background: #f7f9fa;
  border-bottom: 1px solid #edf0f2;
  font-size: 13px;
}

.topbar-content {
  min-height: 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar a {
  color: #6d767d;
  transition: color .2s ease;
}

.topbar a:hover {
  color: var(--primary-dark);
}


/* =====================================================
           HEADER
        ===================================================== */

.header {
  position: relative;
  z-index: 1000;

  background: #fff;

  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.navbar {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}


/* =====================================================
           LOGO
        ===================================================== */

.logo {
  display: flex;
  align-items: center;

  gap: 10px;

  font-size: 23px;
  font-weight: 800;

  color: var(--dark);

  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  background: var(--primary);
  color: #fff;

  border-radius: 5px;

  font-family: monospace;
  font-size: 17px;
  font-weight: bold;
}

.logo span {
  color: var(--primary);
}


/* =====================================================
           NAVIGATION
        ===================================================== */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;

  padding: 29px 14px;

  color: #333;

  font-size: 14px;
  font-weight: 600;

  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
}

.arrow {
  font-size: 9px;
  transition: transform .2s ease;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}


/* =====================================================
           DROPDOWN
        ===================================================== */

.dropdown {
  position: absolute;

  top: 100%;
  left: 0;

  width: 220px;

  background: #fff;

  border-top: 3px solid var(--primary);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, .12);

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility .2s ease;
}

.nav-item:hover>.dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  border-bottom: 1px solid #f0f2f3;
}

.dropdown li:last-child {
  border-bottom: 0;
}

.dropdown a {
  display: block;

  padding: 12px 18px;

  color: #555;

  font-size: 14px;

  transition:
    color .2s ease,
    background .2s ease,
    padding .2s ease;
}

.dropdown a:hover {
  color: var(--primary-dark);
  background: #f2fcfe;

  padding-left: 23px;
}


/* =====================================================
           HEADER BUTTON
        ===================================================== */

.header-button {
  padding: 12px 18px;

  background: var(--primary);
  color: #fff;

  border-radius: 4px;

  font-size: 12px;
  font-weight: 800;

  white-space: nowrap;

  transition: background .2s ease;
}

.header-button:hover {
  background: var(--primary-dark);
}


/* =====================================================
           MOBILE MENU
        ===================================================== */

.mobile-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border: 0;

  background: transparent;

  color: var(--dark);

  font-size: 24px;

  cursor: pointer;
}


/* =====================================================
           HERO
        ===================================================== */

.hero {
  position: relative;

  min-height: 540px;

  display: flex;
  align-items: center;

  color: #fff;

  background:
    linear-gradient(90deg,
      rgba(15, 25, 35, .96),
      rgba(15, 25, 35, .78));
}

/*
         * Fondo tecnológico con CSS.
         * No depende de ninguna imagen externa.
         */

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  opacity: .16;

  background-image:
    linear-gradient(rgba(13, 202, 240, .35) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(13, 202, 240, .35) 1px,
      transparent 1px);

  background-size: 40px 40px;
}

.hero::after {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  top: -150px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(13, 202, 240, .25),
      transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 80%;

  padding: 85px 0;
}

.hero-label {
  display: inline-block;

  margin-bottom: 18px;

  padding: 7px 12px;

  border-radius: 3px;

  background: rgba(13, 202, 240, .14);
  border: 1px solid rgba(13, 202, 240, .35);

  color: var(--primary);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  max-width: 780px;

  font-size: clamp(38px, 5vw, 64px);

  line-height: 1.08;

  margin-bottom: 22px;

  color: #fff;
}

.hero h1 span {
  color: var(--primary);
}

.hero-description {
  max-width: 680px;

  margin-bottom: 35px;

  color: #cbd4da;

  font-size: 17px;
}


/* =====================================================
           SEARCH
        ===================================================== */

.search-wrapper {
  max-width: 820px;

  display: flex;

  padding: 8px;

  background: #fff;

  border-radius: 5px;

  box-shadow:
    0 12px 40px rgba(0, 0, 0, .25);
}

.search-icon {
  width: 50px;

  display: grid;
  place-items: center;

  color: #9ba5ab;

  font-size: 18px;
}

.search-input {
  flex: 1;

  min-width: 0;

  border: 0;
  outline: 0;

  color: #333;

  font-size: 15px;
}

.search-input::placeholder {
  color: #9ba3a8;
}

.search-button {
  border: 0;

  padding: 0 24px;

  border-radius: 4px;

  background: var(--primary);
  color: #fff;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition: background .2s ease;
}

.search-button:hover {
  background: var(--primary-dark);
}


/* =====================================================
           QUICK LINKS
        ===================================================== */

.quick-links {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-top: 20px;

  color: #9eabb2;

  font-size: 12px;
}

.quick-links a {
  color: #d1d8dc;

  transition: color .2s ease;
}

.quick-links a:hover {
  color: var(--primary);
}


/* =====================================================
           CATEGORIES
        ===================================================== */

.section {
  padding: 85px 0;
}

.section-light {
  background: var(--light);
}

.section-header {
  text-align: center;

  max-width: 700px;

  margin: 0 auto 45px;
}

.section-label {
  margin-bottom: 7px;

  color: var(--primary-dark);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  margin-bottom: 12px;

  color: var(--dark);

  font-size: clamp(28px, 4vw, 40px);

  line-height: 1.2;
}

.section-description {
  color: var(--text);
}


/* =====================================================
           CATEGORY CARDS
        ===================================================== */

.categories {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;
}

.category-card {
  padding: 28px 24px;

  background: #fff;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow:
    0 3px 12px rgba(0, 0, 0, .03);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.category-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(13, 202, 240, .4);

  box-shadow: var(--shadow);
}

.category-icon {
  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  margin-bottom: 18px;

  border-radius: 5px;

  background: rgba(13, 202, 240, .1);

  color: var(--primary-dark);

  font-family: monospace;

  font-size: 18px;
  font-weight: bold;
}

.category-card h3 {
  margin-bottom: 7px;

  color: var(--dark);

  font-size: 17px;
}

.category-card p {
  margin-bottom: 15px;

  color: #7a858c;

  font-size: 13px;
}

.category-link {
  color: var(--primary-dark);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
}


/* =====================================================
           FEATURED TOOLS
        ===================================================== */

.tools {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;
}

.tool-card {
  display: flex;

  flex-direction: column;

  padding: 25px;

  background: #fff;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.tool-card:hover {
  transform: translateY(-4px);

  box-shadow: var(--shadow);
}

.tool-header {
  display: flex;

  align-items: center;

  gap: 13px;

  margin-bottom: 15px;
}

.tool-icon {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  background: var(--dark);

  color: var(--primary);

  border-radius: 4px;

  font-family: monospace;
  font-weight: bold;
}

.tool-card h3 {
  color: var(--dark);

  font-size: 17px;
}

.tool-card p {
  flex: 1;

  margin-bottom: 18px;

  color: var(--text);

  font-size: 13px;
}

.tool-link {
  color: var(--primary-dark);

  font-size: 12px;
  font-weight: 800;
}


/* =====================================================
           INFO SECTION
        ===================================================== */

.info-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 60px;

  align-items: center;
}

.info-content h2 {
  margin-bottom: 18px;

  color: var(--dark);

  font-size: clamp(28px, 4vw, 40px);

  line-height: 1.2;
}

.info-content p {
  margin-bottom: 20px;

  color: var(--text);
}

.info-list {
  display: grid;

  gap: 13px;
}

.info-list li {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #555;

  font-size: 14px;
}

.check {
  width: 24px;
  height: 24px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: rgba(13, 202, 240, .12);

  color: var(--primary-dark);

  font-size: 12px;
  font-weight: bold;
}


/* CODE PREVIEW */

.code-window {
  overflow: hidden;

  background: #17202a;

  border-radius: 6px;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, .15);
}

.code-header {
  display: flex;

  align-items: center;

  gap: 6px;

  padding: 12px 15px;

  background: #202b36;
}

.dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.code-body {
  padding: 25px;

  color: #d4e0e5;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 13px;

  line-height: 1.9;
}

.code-blue {
  color: #61dafb;
}

.code-green {
  color: #7ee787;
}

.code-yellow {
  color: #f2cc60;
}


/* =====================================================
           CTA
        ===================================================== */

.cta {
  position: relative;

  overflow: hidden;

  background: var(--primary);

  color: #fff;

  text-align: center;
}

.cta::before {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  top: -250px;
  left: -100px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, .08);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin-bottom: 12px;

  font-size: clamp(28px, 4vw, 42px);
}

.cta p {
  max-width: 620px;

  margin: 0 auto 25px;

  color: rgba(255, 255, 255, .9);
}

.cta-button {
  display: inline-block;

  padding: 13px 23px;

  background: #fff;

  color: var(--primary-dark);

  border-radius: 4px;

  font-size: 12px;
  font-weight: 800;

  transition:
    background .2s ease,
    color .2s ease;
}

.cta-button:hover {
  background: var(--dark);
  color: #fff;
}


/* =====================================================
           FOOTER
        ===================================================== */

footer {
  background: var(--dark);

  color: #9da8ae;
}

.footer-main {
  display: grid;

  grid-template-columns:
    1.5fr 1fr 1fr 1fr;

  gap: 45px;

  padding: 60px 0 45px;
}

.footer-logo {
  margin-bottom: 15px;

  color: #fff;

  font-size: 22px;
  font-weight: 800;
}

.footer-logo span {
  color: var(--primary);
}

.footer-column p {
  color: #89949b;

  font-size: 13px;
}

.footer-column h3 {
  margin-bottom: 17px;

  color: #fff;

  font-size: 15px;
}

.footer-column li {
  margin-bottom: 9px;
}

.footer-column a {
  color: #89949b;

  font-size: 13px;

  transition: color .2s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 20px 0;

  border-top:
    1px solid rgba(255, 255, 255, .07);

  color: #68747b;

  font-size: 12px;

  text-align: center;
}


/* =====================================================
           RESPONSIVE
        ===================================================== */

@media (max-width: 1050px) {

  .nav-link {
    padding-left: 9px;
    padding-right: 9px;
  }

  .categories {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns:
      repeat(2, 1fr);
  }
}


@media (max-width: 800px) {

  .topbar-left {
    display: none;
  }

  .topbar-content {
    justify-content: center;
  }

  .navbar {
    min-height: 70px;
  }

  .mobile-toggle {
    display: block;
  }

  .header-button {
    display: none;
  }

  .nav-menu {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: none;

    flex-direction: column;
    align-items: stretch;

    background: #fff;

    border-top: 1px solid #eee;

    box-shadow:
      0 10px 25px rgba(0, 0, 0, .1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    width: 100%;

    border-bottom:
      1px solid #eee;
  }

  .nav-link {
    padding: 15px 20px;

    justify-content: space-between;
  }

  .dropdown {
    position: static;

    display: none;

    width: 100%;

    opacity: 1;
    visibility: visible;
    transform: none;

    box-shadow: none;

    border-top:
      1px solid #eee;
  }

  .nav-item.dropdown-open>.dropdown {
    display: block;
  }

  .dropdown a {
    padding-left: 35px;

    background: #fafafa;
  }

  .hero {
    min-height: 580px;
  }

  .hero-content {
    padding: 65px 0;
  }

  .search-wrapper {
    display: flex;
  }

  .quick-links {
    flex-wrap: wrap;
  }

  .tools {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }
}


@media (max-width: 560px) {

  .topbar {
    display: none;
  }

  .logo {
    font-size: 20px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-description {
    font-size: 15px;
  }

  .search-wrapper {
    display: grid;

    grid-template-columns:
      40px 1fr;
  }

  .search-button {
    grid-column:
      1 / -1;

    min-height: 48px;
  }

  .categories,
  .tools {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .section {
    padding: 65px 0;
  }
}

/* =====================================================
   JSON RESULT TABLE
===================================================== */

.json-result {
  width: 100%;

  background: #fff;


  border-radius: var(--radius);

  box-shadow:
    0 5px 20px rgba(23, 32, 42, .05);

  overflow: hidden;
}


/* HEADER */

.json-result-header {
  min-height: 70px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding: 15px 20px;

  background: #fff;

  border-bottom: 1px solid var(--border);
}

.json-result-label {
  display: block;

  margin-bottom: 2px;

  color: var(--primary-dark);

  font-size: 10px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.json-result-header h3 {
  color: var(--dark);

  font-size: 17px;
}



/* TABLE */

.json-table-wrapper {
  width: 100%;

  overflow-x: auto;
}

.json-table {
  width: 100%;

  border-collapse: collapse;

  table-layout: fixed;
}

.json-table th {
  padding: 12px 20px;

  background: var(--dark);

  color: #fff;

  text-align: left;

  font-size: 10px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: .6px;
}

.json-table th:first-child {
  width: 30%;
}

.json-table th:last-child {
  width: 70%;
}

.json-table td {
  padding: 14px 20px;

  border-bottom: 1px solid var(--border);

  vertical-align: top;

  font-size: 13px;
}

.json-table tr:last-child td {
  border-bottom: 0;
}

.json-table tbody tr {
  transition: background .15s ease;
}

.json-table tbody tr:hover {
  background: #f5fcfe;
}


/* KEY */

.json-key {
  display: inline-block;

  padding: 4px 7px;

  background: #f1f5f7;

  border-radius: 3px;

  color: #45525a;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 12px;

  word-break: break-word;
}


/* VALUE */

.json-value {
  display: block;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 12px;

  line-height: 1.6;

  word-break: break-word;

  white-space: pre-wrap;
}


/* JSON TYPES */

.json-string {
  color: #27864b;
}

.json-number {
  color: #0969da;
}

.json-boolean {
  color: #8250df;
}

.json-array {
  color: #b35900;
}

.json-object {
  color: #6f42c1;
}


/* MOBILE */

@media (max-width: 600px) {

  .json-result-header {
    padding: 14px 15px;
  }

  .json-table th,
  .json-table td {
    padding: 12px 15px;
  }

  .json-table th:first-child {
    width: 35%;
  }

  .json-table th:last-child {
    width: 65%;
  }

}

/* =====================================================
   RESULTS TABLE
===================================================== */

.results-wrapper {
  background: #fff;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow:
    0 4px 20px rgba(23, 32, 42, .05);

  overflow: hidden;
}


/* TOOLBAR */

.results-toolbar {
  min-height: 70px;

  padding: 15px 20px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  border-bottom: 1px solid var(--border);
}

.results-count {
  color: #7a858c;

  font-size: 13px;
}

.results-count strong {
  color: var(--dark);

  font-size: 14px;
}

.results-filter {
  display: flex;

  align-items: center;

  gap: 10px;
}

.results-filter label {
  color: #777;

  font-size: 12px;
  font-weight: 600;
}

.results-filter select {
  min-width: 150px;

  height: 38px;

  padding: 0 12px;

  border: 1px solid var(--border);

  border-radius: 4px;

  background: #fff;

  color: #555;

  outline: none;

  cursor: pointer;
}

.results-filter select:focus {
  border-color: var(--primary);
}


/* TABLE */

.table-container {
  width: 100%;

  overflow-x: auto;
}

.results-table {
  width: 100%;

  border-collapse: collapse;

  min-width: 760px;
}

.results-table thead {
  background: var(--dark);
}

.results-table th {
  padding: 15px 20px;

  color: #fff;

  text-align: left;

  font-size: 11px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: .5px;
}

.results-table td {
  padding: 17px 20px;

  border-bottom: 1px solid var(--border);

  color: #69747b;

  font-size: 13px;

  vertical-align: middle;
}

.results-table tbody tr {
  transition: background .2s ease;
}

.results-table tbody tr:hover {
  background: #f5fcfe;
}

.results-table tbody tr:last-child td {
  border-bottom: 0;
}


/* TOOL NAME */

.table-tool {
  display: flex;

  align-items: center;

  gap: 12px;

  min-width: 190px;
}

.table-tool-icon {
  width: 40px;
  height: 40px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  background: rgba(13, 202, 240, .10);

  color: var(--primary-dark);

  border-radius: 4px;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 11px;
  font-weight: 800;
}

.table-tool strong {
  display: block;

  color: var(--dark);

  font-size: 14px;
}

.table-tool small {
  display: block;

  margin-top: 2px;

  color: #9aa4aa;

  font-family: monospace;

  font-size: 10px;
}


/* BADGES */

.badge {
  display: inline-block;

  padding: 5px 9px;

  background: rgba(13, 202, 240, .10);

  color: var(--primary-dark);

  border-radius: 3px;

  font-size: 10px;
  font-weight: 800;

  white-space: nowrap;
}

.badge-security {
  background: rgba(108, 92, 231, .10);

  color: #6c5ce7;
}

.badge-web {
  background: rgba(39, 174, 96, .10);

  color: #27ae60;
}

.badge-utilities {
  background: rgba(241, 153, 52, .10);

  color: #d88920;
}


/* ACTION */

.table-action {
  display: inline-block;

  color: var(--primary-dark);

  font-size: 12px;
  font-weight: 800;

  white-space: nowrap;

  transition: color .2s ease;
}

.table-action:hover {
  color: var(--dark);
}


/* PAGINATION */

.pagination {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  padding: 22px;

  border-top: 1px solid var(--border);
}

.pagination-button {
  width: 34px;
  height: 34px;

  display: grid;

  place-items: center;

  border: 1px solid var(--border);

  border-radius: 4px;

  background: #fff;

  color: #666;

  font-size: 12px;
  font-weight: 700;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.pagination-button:hover {
  border-color: var(--primary);

  color: var(--primary-dark);
}

.pagination-button.active {
  background: var(--primary);

  border-color: var(--primary);

  color: #fff;
}

.pagination-button.disabled {
  opacity: .4;

  pointer-events: none;
}

.pagination-dots {
  padding: 0 5px;

  color: #999;

  font-size: 12px;
}


/* =====================================================
   TABLE RESPONSIVE
===================================================== */

@media (max-width: 700px) {

  .results-toolbar {
    align-items: flex-start;

    flex-direction: column;
  }

  .results-filter {
    width: 100%;
  }

  .results-filter select {
    flex: 1;
  }

}

.tool-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(23, 32, 42, .05);
  padding: 25px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

textarea {
  width: 100%;
  min-height: 260px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 15px;
  resize: vertical;
  font-family: Consolas, monospace;
  font-size: 13px;
  outline: none;
}

textarea:focus {
  border-color: var(--primary);
}

.dropzone {
  border: 2px dashed var(--primary);
  border-radius: 8px;
  background: #f8feff;
  padding: 35px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
}

.dropzone.drag {
  background: #eafcff;
  border-color: var(--primary-dark);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 25px 0;
}

.btn {
  border: none;
  padding: 13px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-light {
  background: #eef4f7;
}

.result {
  margin-top: 30px;
  display: none;
}

.preview {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.preview img {
  width: 100%;
  display: block;
}

.preview iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.info div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 15px;
  text-align: center;
}

.info small {
  color: #777;
  display: block;
}

.info strong {
  color: var(--dark);
  font-size: 14px;
}

.download {
  margin-top: 20px;
  text-align: right;
}

@media(max-width:900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px) {
  .info {
    grid-template-columns: 1fr;
  }
}

.status-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:20px 0;
    padding:12px 15px;
    background:#f8fbfc;
    border:1px solid var(--border);
    border-radius:6px;
}

.status{
    font-weight:600;
}

.ok{
    color:#198754;
}

.error{
    color:#dc3545;
}

.badge{
    background:rgba(13,202,240,.12);
    color:var(--primary-dark);
    padding:6px 12px;
    border-radius:4px;
    font-size:12px;
    font-weight:700;
}

textarea{
    font-family:Consolas, monospace;
    line-height:1.5;
    white-space:pre;
}