/* Ledger Cold Wallet Setup - Modern multilingual site */
:root {
  --color1: #ffa76c;
  --color2: #fad74b;
  --color3: #005fb2;
  --color4: #00aead;
  --color5: #47fdac;
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-section: #0f1623;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --border: rgba(0, 95, 178, 0.3);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color4);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color5);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color5);
}
.logo a {
  color: inherit;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-main a {
  color: var(--text);
  font-weight: 500;
}
.nav-main a:hover {
  color: var(--color1);
}
.lang-switcher {
  display: flex;
  gap: 0.5rem;
}
.lang-switcher a {
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--color4);
  border-color: var(--color4);
  background: rgba(0, 174, 173, 0.1);
}

/* Hero / Page title block */
.hero-block {
  padding: 3rem 1.5rem;
  background: linear-gradient(160deg, var(--bg-section) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-block h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 0.75rem;
  line-height: 1.25;
}
.hero-block .subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Content sections - different blocks */
.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.section-block {
  margin-bottom: 3rem;
}
.section-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color4);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color4);
}
.section-block h3 {
  font-size: 1.2rem;
  color: var(--color2);
  margin: 1.5rem 0 0.75rem;
}
.section-block p {
  margin-bottom: 1rem;
  color: var(--text);
}
.section-block ul,
.section-block ol {
  margin: 1rem 0 1rem 1.5rem;
}
.section-block li {
  margin-bottom: 0.5rem;
}

/* Card block */
.card-block {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.card-block h3 {
  margin-top: 0;
  color: var(--color3);
}

/* Table block */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table-wrap th,
.table-wrap td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table-wrap th {
  background: var(--color3);
  color: #fff;
  font-weight: 600;
}
.table-wrap tr:last-child td {
  border-bottom: none;
}
.table-wrap tr:nth-child(even) {
  background: rgba(0, 95, 178, 0.06);
}

/* Image block - not too large */
.img-block {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 560px;
}
.img-block img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}

/* FAQ block + script */
.faq-block {
  margin: 2rem 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color4);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item .faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.faq-item .faq-answer p {
  margin: 0;
  padding-top: 0.75rem;
}

/* Inline links in content */
.content-wrap a {
  color: var(--color4);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content-wrap a:hover {
  color: var(--color5);
}

/* Footer */
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-menu h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color2);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  margin-bottom: 0.5rem;
}
.footer-menu a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-menu a:hover {
  color: var(--color5);
}
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 600px) {
  .nav-main {
    gap: 2rem;
  }
}

/* Utility colors for text */
.color1 { color: var(--color1); }
.color2 { color: var(--color2); }
.color3 { color: var(--color3); }
.color4 { color: var(--color4); }
.color5 { color: var(--color5); }

/* Responsive: minimum font size 16px, no horizontal scroll */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .header-inner { padding: 0.75rem 1rem; }
  .content-wrap { padding: 1.5rem 1rem 3rem; }
  .hero-block { padding: 2rem 1rem; }
}
