/* Synology vendor page (partner/synology.php) */

:root {
  --syn-blue: #0086E5;
  --syn-blue-dark: #006bb8;
  --syn-ink: #0d1218;
  --syn-muted: #5b6573;
  --syn-light: #f4f7fb;
  --syn-line: #e3e8ef;
  --syn-radius: 18px;
  --syn-shadow: 0 10px 30px rgba(13, 18, 24, 0.08);
}

body {
  overflow-x: hidden;
}

.syn-accent {
  color: var(--syn-blue);
}

.syn-h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.syn-h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--syn-ink);
}

.syn-h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.syn-page p {
  font-size: 1rem;
  line-height: 1.7;
}

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

.syn-section {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.syn-lead {
  max-width: 44rem;
  margin: 0.75rem auto 0;
  font-size: 1.1rem !important;
  color: var(--syn-muted);
}

/* hero */
.syn-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 540px;
  padding: 4.5rem 0;
  color: #fff;
  background: #080b12 url('/images/synology/742.webp') center / cover no-repeat;
}

.syn-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.syn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, 0.94) 0%, rgba(5, 8, 14, 0.7) 50%, rgba(5, 8, 14, 0.25) 100%);
}

.syn-hero .container {
  position: relative;
  z-index: 2;
}

.syn-hero .syn-hero-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 0 0 1.5rem;
}

.syn-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(0, 134, 229, 0.6);
  border-radius: 999px;
  background: rgba(0, 134, 229, 0.15);
  color: #7cc7ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.syn-hero h1 {
  margin-bottom: 1rem;
  color: #fff;
}

.syn-hero .syn-accent {
  color: #4fb3ff;
}

.container-lp .syn-hero p {
  max-width: 34rem;
  margin: 0;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
}

/* buttons */
.syn-btn,
.syn-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.syn-btn {
  border: 2px solid var(--syn-blue);
  background: var(--syn-blue);
  color: #fff;
}

.syn-btn:hover {
  border-color: var(--syn-blue-dark);
  background: var(--syn-blue-dark);
  color: #fff;
}

.syn-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.syn-btn:hover i {
  transform: translateX(4px);
}

.syn-btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.syn-btn-ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--syn-ink);
}

.syn-btn:focus-visible,
.syn-btn-ghost:focus-visible,
.syn-tile-link:focus-visible,
.syn-link:focus-visible {
  outline: 3px solid #8fd0ff;
  outline-offset: 3px;
}

/* empowering data management */
.syn-tabs {
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.syn-tabs .nav-link {
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  background: var(--syn-light);
  color: var(--syn-ink);
  font-weight: 700;
}

.syn-tabs .nav-link:hover {
  background: #e6edf6;
}

.syn-tabs .nav-link.active {
  background: var(--syn-blue);
  color: #fff;
}

.syn-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--syn-radius);
  background: #fff;
  box-shadow: var(--syn-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.syn-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 134, 229, 0.2);
}

.syn-tile-img {
  aspect-ratio: 352 / 230;
  overflow: hidden;
}

.syn-tile-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.syn-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.1rem 1.25rem 1.35rem;
}

.syn-tile-body h3 {
  margin-bottom: 0.6rem;
  color: var(--syn-ink);
}

.container-lp .syn-tile-body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--syn-muted);
}

.syn-tile-link {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--syn-blue);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.syn-tile-link i {
  margin-left: 0.35rem;
  font-size: 0.8em;
  transition: transform 0.2s;
}

.syn-tile-link:hover {
  color: var(--syn-blue-dark);
}

.syn-tile-link:hover i {
  transform: translateX(4px);
}

/* what synology does */
.syn-feature-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 134, 229, 0.18);
}

.syn-kicker {
  margin: 1rem 0 0.5rem;
  color: var(--syn-blue);
  font-size: 1.1rem !important;
  font-weight: 700;
}

.container-lp .syn-body {
  color: var(--syn-muted);
  font-size: 1.05rem;
}

/* dark highlights */
.syn-dark {
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(0, 134, 229, 0.22) 0%, transparent 65%),
    linear-gradient(180deg, #0f1620 0%, #080b12 100%);
}

.syn-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--syn-radius);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.syn-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 134, 229, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.syn-img-wrapper {
  aspect-ratio: 352 / 230;
  overflow: hidden;
}

.syn-img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.syn-icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 134, 229, 0.3) 0%, rgba(0, 134, 229, 0.08) 100%);
  color: #4fb3ff;
  font-size: 3.5rem;
}

.syn-text-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 1.5rem;
}

.syn-text-wrapper h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.container-lp .syn-text-wrapper p {
  flex: 1;
  margin-bottom: 1.1rem;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.75);
}

.syn-link {
  padding: 0;
  border: 0;
  background: none;
  color: #4fb3ff;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.syn-link i {
  margin-left: 0.35rem;
  font-size: 0.8em;
  transition: transform 0.2s;
}

.syn-link:hover {
  color: #8fd0ff;
}

.syn-link:hover i {
  transform: translateX(4px);
}

/* comparison table */
.syn-compare {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--syn-line);
  border-radius: var(--syn-radius);
  box-shadow: var(--syn-shadow);
}

.syn-compare th,
.syn-compare td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--syn-line);
  vertical-align: middle;
  font-size: 0.95rem;
}

.syn-compare thead th {
  background: var(--syn-light);
  text-align: center;
  vertical-align: bottom;
}

.syn-compare thead th img {
  display: block;
  width: auto;
  height: 120px;
  margin: 0 auto 0.6rem;
  object-fit: contain;
}

.syn-model {
  display: block;
  color: var(--syn-ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.syn-series-name {
  display: block;
  color: var(--syn-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.syn-compare tbody th {
  width: 24%;
  background: #fff;
  color: var(--syn-ink);
  font-weight: 600;
  text-align: left;
}

.syn-compare tbody td {
  text-align: center;
  color: var(--syn-muted);
}

.syn-compare tbody tr:nth-child(even) th,
.syn-compare tbody tr:nth-child(even) td {
  background: #fafbfd;
}

.syn-compare tfoot td {
  border-bottom: 0;
  background: var(--syn-light);
  text-align: center;
}

.syn-yes {
  color: #1aa365;
  font-size: 1.1rem;
}

.syn-no {
  color: #d64550;
  font-size: 1.1rem;
}

.syn-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: left;
}

.syn-bullets li {
  position: relative;
  margin-bottom: 0.4rem;
  padding-left: 1.1rem;
}

.syn-bullets li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--syn-blue);
}

@media (min-width: 992px) {
  .syn-compare tbody th {
    position: sticky;
    left: 0;
  }
}

@media (max-width: 767px) {
  .syn-section {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  .syn-hero {
    min-height: 0;
    padding: 3rem 0;
  }

  .syn-hero::before {
    background: rgba(5, 8, 14, 0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .syn-hero-video {
    display: none;
  }


  .syn-btn,
  .syn-btn i,
  .syn-btn-ghost,
  .syn-tile,
  .syn-tile-link i,
  .syn-card,
  .syn-link i {
    transition: none;
  }

  .syn-tile:hover,
  .syn-tile-link:hover i,
  .syn-card:hover,
  .syn-btn:hover i,
  .syn-link:hover i {
    transform: none;
  }
}
