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

body {
  font-family: Oswald, "Helvetica Neue", "Arial Nova", Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: rgba(25, 25, 25, 0.98);
  color: #fff;
  padding: 1.25rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.input-group {
  margin-bottom: 2rem;
}

.input-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
}

.serial-input {
  width: 100%;
  padding: 1.125rem 1.5rem;
  font-size: 1.3rem;
  border: 2px solid #e5e5e5;
  border-radius: 0.75rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fafafa;
  font-weight: 500;
}

.serial-input::placeholder {
  color: #bdbdbd;
  opacity: 1;
}

::-ms-input-placeholder {
  color: #bdbdbd;
}

.serial-input:focus {
  outline: none;
  border-color: #f59e0b;
  background-color: #fff;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
  transform: translateY(-1px);
}

.serial-input.invalid {
  border-color: #f2b8b5;
  background-color: #fff7f7;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.serial-input.valid {
  border-color: #b7e4c7;
  background-color: #f6fffa;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.input-error {
  display: block;
  color: #ef4444;
  font-size: 1rem;
  margin-top: 0.5rem;
  min-height: 1.5rem;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-large {
  width: 100%;
  padding: 1.375rem 2rem;
  border-radius: 0.75rem;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.12);
}

.btn-copy.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  color: #22c55e;
  animation: copyPulse 1.2s ease;
}

@keyframes copyPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero {
  background: linear-gradient(165deg, #2d2d2d 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: #fff;
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 180px;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.info-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--animation-order) * 0.1s);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.info-item:hover::after {
  opacity: 1;
}

.info-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.info-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.info-value {
  font-size: 1.1rem;
  color: #e8e8e8;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  word-break: break-all;
}

.info-item p {
  font-size: 1rem;
  color: #e8e8e8;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.info-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.replacement-line {
  font-size: 1.05rem;
  color: #e8e8e8;
  line-height: 1.6;
}

.replacement-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.replacement-break {
  line-height: 0;
  margin: 0.25rem 0;
}

.id-label {
  font-weight: 600;
  margin-right: 0.25rem;
}

.id-value {
  font-weight: 400;
  word-break: break-all;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-image {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  transition: box-shadow 0.4s ease;
}

.wave {
  overflow: hidden;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

.wave svg {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleY(1.01);
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn svg {
  margin-right: 0.625rem;
}

.btn-secondary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-3px);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.15);
}

#downloads {
  background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  padding: 80px 0 160px 0;
  text-align: center;
  position: relative;
}

#downloads::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 10px;
}

.download-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.download-section::after {
  content: "Available on iOS and Android";
  display: block;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3.5rem;
  margin-top: 1.5rem;
  font-weight: 500;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.btn.btn-store {
  display: flex;
  align-items: center;
  padding: 1rem 1.75rem;
  border-radius: 1rem;
  text-decoration: none;
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #f0f0f0;
}

.btn.btn-store:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: #fbbf24;
}

.btn.btn-store img {
  max-height: 45px;
  margin-right: 12px;
}

.btn.btn-store span {
  font-size: 1.05rem;
  color: #333;
  font-weight: 600;
}

.footer {
  background-color: rgba(25, 25, 25, 0.97);
  color: #fff;
  padding: 50px 0;
}

.footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hidden {
  display: none !important;
}

.serial-setup-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  max-width: 520px;
  margin: 0 auto 3rem;
  text-align: left;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.setup-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.setup-description {
  font-size: 1.05rem;
  color: #e5e5e5;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.top-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.company-section {
  flex: 1 1 300px;
}

.company-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fbbf24;
}

.company-links {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.company-links li {
  margin-bottom: 8px;
  line-height: 1.2;
}

.company-section a {
  color: #fff;
  text-decoration: none;
}

.company-section a:hover {
  text-decoration: underline;
}

.worldwide-section {
  flex: 1 1 300px;
}

.worldwide-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fbbf24;
}

.language-columns {
  display: flex;
  gap: 20px;
}

.language-columns .lang-col {
  flex: 1;
}

.lang-item {
  margin-bottom: 15px;
  line-height: 1.2;
}

.lang-item h4 {
  font-weight: bold;
  margin-bottom: 5px;
  line-height: 1.2;
}

.lang-item ul {
  list-style: none;
  padding-left: 15px;
  margin: 0;
  line-height: 1.2;
}

.lang-item li {
  margin-bottom: 5px;
  line-height: 1.2;
}

.lang-item a {
  color: #fff;
  text-decoration: none;
}

.lang-item a:hover {
  text-decoration: underline;
}

.meta-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.meta-col {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
}

.meta-menu img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .meta-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .meta-col {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .meta-menu img {
    height: 25px;
  }
}

@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content {
    max-width: 55%;
    text-align: left;
    margin-bottom: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-image {
    max-width: 40%;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 3rem 0 0;
  }

  .hero .container {
    padding-bottom: 100px;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
  }

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

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .serial-input {
    font-size: 1.1rem;
    padding: 0.875rem 1rem;
  }

  .btn-primary {
    font-size: 1.1rem;
  }
}

.info-item:nth-child(1) {
  --animation-order: 1;
}

.info-item:nth-child(2) {
  --animation-order: 2;
}

.documents {
  background: linear-gradient(180deg, #f8f8f8 0%, #f3f3f3 100%);
  padding: 60px 0 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.documents-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.documents-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a1a1a;
}

.documents-subtitle {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #666;
  max-width: 480px;
}

.documents-filter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.documents-filter label {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}

.documents-select {
  min-width: 220px;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid #ddd;
  background: #fff;
  font: inherit;
  font-size: 0.98rem;
  color: #333;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.documents-select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.documents-table-wrapper {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e6e6e6;
  overflow: hidden;
}

.documents-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.documents-table thead {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.documents-table th,
.documents-table td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.documents-table th {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.documents-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.documents-table tbody tr:hover {
  background-color: #fff9ec;
}

.documents-table a {
  color: #f59e0b;
  font-weight: 600;
  text-decoration: none;
}

.documents-table a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .documents {
    padding: 40px 0 60px;
  }

  .documents-header {
    align-items: flex-start;
  }

  .documents-header h2 {
    font-size: 2rem;
  }

  .documents-table th,
  .documents-table td {
    padding: 0.85rem 1rem;
  }
}

.documents-placeholder {
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 1.2rem;
  color: #777;
  font-weight: 500;
}

/* Base skeleton */
.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 999px; /* pill-shaped line */
}

/* Specific to documents table skeleton bars */
.documents-skeleton-bar {
  display: inline-block;
  height: 0.9rem;
  width: 70%;
  max-width: 220px;
  background: #e2e2e2;
}

/* Extra spacing inside table rows */
.documents-table tbody td .documents-skeleton-bar {
  margin: 0.15rem 0;
}

/* Shimmer effect */
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: skeleton-shimmer 1.2s infinite;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}
