* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --success: #10b981;
  --error: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  color: var(--gray-900);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at -10% -10%, rgba(6, 182, 212, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 110% 5%, rgba(139, 92, 246, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 110% 60%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at -5% 100%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Floating Numbers Background */
.floating-numbers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.number-row {
  position: absolute;
  white-space: nowrap;
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  letter-spacing: 0.3em;
  color: rgba(100, 116, 139, 0.12);
  animation: scrollNumbers linear infinite;
  font-weight: 500;
}

.number-row:nth-child(1) { top: 5%; font-size: 14px; animation-duration: 60s; animation-delay: -15s; }
.number-row:nth-child(2) { top: 18%; font-size: 18px; animation-duration: 45s; animation-delay: -25s; animation-direction: reverse; color: rgba(6, 182, 212, 0.1); }
.number-row:nth-child(3) { top: 32%; font-size: 15px; animation-duration: 55s; animation-delay: -35s; }
.number-row:nth-child(4) { top: 45%; font-size: 20px; animation-duration: 40s; animation-delay: -10s; animation-direction: reverse; color: rgba(139, 92, 246, 0.1); }
.number-row:nth-child(5) { top: 58%; font-size: 16px; animation-duration: 50s; animation-delay: -30s; }
.number-row:nth-child(6) { top: 71%; font-size: 17px; animation-duration: 48s; animation-delay: -20s; animation-direction: reverse; color: rgba(6, 182, 212, 0.1); }
.number-row:nth-child(7) { top: 84%; font-size: 14px; animation-duration: 58s; animation-delay: -40s; }
.number-row:nth-child(8) { top: 94%; font-size: 19px; animation-duration: 42s; animation-delay: -5s; animation-direction: reverse; color: rgba(139, 92, 246, 0.1); }

@keyframes scrollNumbers {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* Header */
header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  height: 72px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(6, 182, 212, 0.5) 0%,
    rgba(139, 92, 246, 0.5) 50%,
    rgba(236, 72, 153, 0.5) 100%);
  opacity: 0.6;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Nav Overlay - Base Styles (hidden on desktop) */
.nav-overlay {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--gray-700);
}

/* Validator Section */
.validator-section {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  background: transparent;
}

.validator-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.validator-card.full-width {
  max-width: 1200px;
}


.validator-header {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: white;
  padding: 28px 32px;
  text-align: center;
}

.validator-header h1 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.validator-header p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.validator-content {
  padding: 32px;
  background: #ffffff;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.125rem;
  font-family: 'SF Mono', 'Consolas', monospace;
  letter-spacing: 0.05em;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  background: var(--gray-50);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.input-wrapper input.valid {
  border-color: var(--success);
  background: #f0fdf4;
}

.input-wrapper input.invalid {
  border-color: var(--error);
  background: #fef2f2;
}

.country-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.country-select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.country-select:hover {
  border-color: var(--gray-300);
}

.input-wrapper .icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
}

.btn-group {
  display: flex;
  gap: 12px;
}

.btn {
  flex: 1;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-700) 100%);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-900) 100%);
}

/* Result */
.result {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius);
  display: none;
}

.result.show {
  display: block;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
}

.result.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.result-header .status-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.result.success .status-icon {
  background: var(--success);
  color: white;
}

.result.error .status-icon {
  background: var(--error);
  color: white;
}

.result-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.result.success .result-header h3 {
  color: #166534;
}

.result.error .result-header h3 {
  color: #991b1b;
}

.result-details {
  display: grid;
  gap: 8px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.result-row .label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.result-row .value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
}

.privacy-notice {
  margin-top: 20px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.privacy-notice .icon {
  font-size: 1rem;
}

.privacy-notice p {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

.features > .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.75);
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--gray-900);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

.how-it-works > .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.75);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--gray-900);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.step p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  color: var(--gray-700);
  padding: 48px 20px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: var(--primary);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 4px;
}

.footer-col a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-credit a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--primary-dark);
}

/* Content Pages */
.content-page {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  background: transparent;
  min-height: calc(100vh - 72px - 200px);
}

.content-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.content-card h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.content-card h2 {
  font-size: 1.25rem;
  margin: 32px 0 16px;
  color: var(--gray-900);
}

.content-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.content-card ul {
  margin: 16px 0;
  padding-left: 24px;
}

.content-card li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.content-card a {
  color: var(--primary);
}

/* Contact Form */
.contact-form {
  margin-top: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px 20px 30px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.badge-icon {
  color: var(--success);
  font-weight: 700;
}

/* Input Help */
.input-help {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Trust Section */
.trust-section {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

.trust-section > .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.75);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
}

.trust-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Section Intro */
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Content Section */
.content-section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.content-section > .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.75);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.content-main h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.content-main h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--gray-900);
}

.content-main p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--gray-700);
  line-height: 1.6;
}

.list-icon {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* Definition List Style - for labeled items like "1-3", "5-8" */
.definition-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.definition-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  align-items: start;
}

.definition-list li:last-child {
  border-bottom: none;
}

.def-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  font-family: 'SF Mono', 'Consolas', monospace;
}

.def-content {
  color: var(--gray-700);
  line-height: 1.7;
}

.def-content strong {
  color: var(--gray-900);
  display: block;
  margin-bottom: 4px;
}

/* Numbered Steps List */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  counter-reset: step-counter;
}

.steps-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 12px 0;
  align-items: start;
  counter-increment: step-counter;
}

.steps-list li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box code {
  font-family: 'SF Mono', 'Consolas', monospace;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Responsive Definition List */
@media (max-width: 480px) {
  .definition-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .def-label {
    width: fit-content;
  }
}

.content-sidebar {
  position: sticky;
  top: 100px;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.info-card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Structure Section */
.structure-section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.structure-section > .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.75);
}

.structure-section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.iban-breakdown {
  max-width: 600px;
  margin: 40px auto;
}

.iban-example {
  display: flex;
  justify-content: center;
  gap: 4px;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.iban-part {
  padding: 12px 16px;
  border-radius: 8px;
  color: white;
}

.iban-part.country { background: #0066cc; }
.iban-part.checksum { background: #8b5cf6; }
.iban-part.bank { background: #06b6d4; }
.iban-part.account { background: #ec4899; }

.iban-labels {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.iban-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.label-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.label-color.country { background: #0066cc; }
.label-color.checksum { background: #8b5cf6; }
.label-color.bank { background: #06b6d4; }
.label-color.account { background: #ec4899; }

.structure-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.structure-card {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.structure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.structure-card:nth-child(1) { border-top: 4px solid #0066cc; }
.structure-card:nth-child(2) { border-top: 4px solid #8b5cf6; }
.structure-card:nth-child(3) { border-top: 4px solid #06b6d4; }
.structure-card:nth-child(4) { border-top: 4px solid #ec4899; }

.structure-card h3 {
  font-size: 1.125rem;
  color: var(--gray-900);
  margin-bottom: 8px;
  padding: 24px 24px 0;
  font-family: 'SF Mono', 'Consolas', monospace;
}

.structure-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding: 0 24px 24px;
}

/* Centered content section */
.content-section.centered > .container > h2,
.content-section.centered > .container > .section-intro {
  text-align: center;
}

.content-section.centered > .container > h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--gray-900);
}

/* Background variants */
.bg-light {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
}

/* Countries Section */
.countries-section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.countries-section > .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.75);
}

.countries-section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.country-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.country-flag {
  font-size: 2rem;
}

.country-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.9rem;
}

.country-length {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* FAQ Section */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.faq-section > .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.75);
}

.faq-section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.cta-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  border-radius: 20px;
  padding: 48px 32px;
  color: white;
}

.cta-card h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.cta-card p {
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-large {
  display: inline-block;
  padding: 16px 32px;
  background: white;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-large.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-large.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
}

/* Tips Section */
.tips-section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.tips-section > .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.75);
}

.tips-section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 40px;
  color: var(--gray-900);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tip-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
}

.tip-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.tip-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .structure-cards {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 8px 0;
    font-size: 1rem;
  }

  .logo-img {
    height: 30px;
  }

  .hero {
    padding: 10px 20px 5px;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .hero .subtitle {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .hero-badges {
    display: none;
  }

  .validator-section {
    padding: 10px 15px 20px;
  }

  .trust-section > .container,
  .how-it-works > .container,
  .content-section > .container,
  .structure-section > .container,
  .features > .container,
  .countries-section > .container,
  .faq-section > .container,
  .tips-section > .container {
    padding: 25px 20px;
    border-radius: 16px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .trust-number {
    font-size: 1.5rem;
  }

  .features h2,
  .how-it-works h2,
  .faq-section h2,
  .countries-section h2,
  .structure-section h2,
  .tips-section h2,
  .content-main h2 {
    font-size: 1.5rem;
  }

  .section-intro {
    font-size: 0.9rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .iban-example {
    font-size: 1rem;
  }

  .iban-part {
    padding: 8px 10px;
  }

  .iban-labels {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-card {
    padding: 32px 20px;
  }

  .cta-card h2 {
    font-size: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 26px;
  }

  .hero {
    padding: 8px 15px 0;
  }

  .hero h1 {
    font-size: 1.3rem;
    margin-bottom: 3px;
  }

  .hero .subtitle {
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .validator-section {
    padding: 5px 10px 15px;
  }

  .trust-section > .container,
  .how-it-works > .container,
  .content-section > .container,
  .structure-section > .container,
  .features > .container,
  .countries-section > .container,
  .faq-section > .container,
  .tips-section > .container {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .countries-grid {
    grid-template-columns: 1fr;
  }

  .iban-example {
    flex-direction: column;
    align-items: center;
  }

  .validator-card {
    border-radius: 12px;
  }

  .validator-header {
    padding: 16px 20px;
  }

  .validator-header h2 {
    font-size: 1.1rem;
  }

  .validator-header p {
    font-size: 0.85rem;
  }

  .validator-content {
    padding: 15px;
  }

  .btn-group {
    flex-direction: column;
  }
}

/* ===== Bank Search Results ===== */
.search-results {
  margin-top: 20px;
}

.bank-result {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bank-result:last-child {
  border-bottom: none;
}

.bank-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bank-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
}

.bank-location {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.bank-codes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bank-codes span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.bank-codes strong {
  color: var(--gray-700);
}

/* Loading State */
.loading {
  text-align: center;
  padding: 20px;
  color: var(--gray-500);
}

.loading::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Bank Results */
@media (min-width: 480px) {
  .bank-result {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .bank-codes {
    text-align: right;
    flex-direction: column;
    gap: 4px;
  }
}

/* Language Switcher */
/* Language Dropdown */
.lang-dropdown {
  position: relative;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--gray-200);
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-dropdown-btn:hover {
  background: var(--gray-200);
}

.lang-dropdown-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.lang-dropdown:hover .lang-dropdown-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 140px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
}

.lang-dropdown:hover .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: background 0.15s;
}

.lang-dropdown-menu a:first-child {
  border-radius: 7px 7px 0 0;
}

.lang-dropdown-menu a:last-child {
  border-radius: 0 0 7px 7px;
}

.lang-dropdown-menu a:hover {
  background: var(--gray-100);
}

.lang-dropdown-menu a.active {
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.lang-flag {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .lang-dropdown {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--gray-200);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .lang-dropdown::before {
    content: 'Language';
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    flex-shrink: 0;
  }

  .lang-dropdown-btn {
    width: auto;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 8px 14px;
  }

  .lang-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin-top: 8px;
    display: none;
    width: 100%;
  }

  .lang-dropdown.open .lang-dropdown-menu {
    display: block;
  }

  .lang-dropdown-menu a {
    justify-content: center;
  }
}
