/* ==========================================================================
   AMDPARTNER.IT.COM: Commercial B2B Channel & Systems Integration Hub
   Theme: Crisp Light Enterprise Canvas (#ffffff, #f8fafc) + Solid Black Header
   Accents: Signature AMD Crimson Red (#ed1c24) + Dark Carbon (#121214)
   Namespace: .itp-*
   ========================================================================== */

:root {
  --itp-black: #000000;
  --itp-header-bg: #121214;
  --itp-header-nav: #1b1c20;
  --itp-bg-canvas: #ffffff;
  --itp-bg-subtle: #f8fafc;
  --itp-bg-section: #f1f5f9;
  --itp-bg-card: #ffffff;
  --itp-border: #e2e8f0;
  --itp-border-dark: #333338;
  --itp-border-subtle: #edf2f7;
  --itp-red: #ed1c24;
  --itp-red-hover: #c41219;
  --itp-red-soft: #fef2f2;
  --itp-teal: #008290;
  --itp-teal-light: #00c2de;
  --itp-text-dark: #0f172a;
  --itp-text-body: #334155;
  --itp-text-muted: #64748b;
  --itp-text-light: #94a3b8;
  --itp-text-pure: #ffffff;
  --itp-radius-sm: 4px;
  --itp-radius-md: 6px;
  --itp-radius-lg: 10px;
  --itp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --itp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --itp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --itp-font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --itp-font-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--itp-bg-canvas);
  color: var(--itp-text-body);
}

body {
  font-family: var(--itp-font-sans);
  line-height: 1.6;
  background-color: var(--itp-bg-canvas);
  color: var(--itp-text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--itp-text-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--itp-red);
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */
.itp-topbar {
  background-color: var(--itp-black);
  border-bottom: 1px solid #27272a;
  font-size: 0.75rem;
  color: #a1a1aa;
  padding: 6px 0;
}

.itp-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.itp-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.itp-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.itp-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.itp-topbar-right a {
  color: #a1a1aa;
}

.itp-topbar-right a:hover {
  color: var(--itp-text-pure);
}

.itp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--itp-header-bg);
  border-bottom: 2px solid var(--itp-red);
}

.itp-header-main {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.itp-brand-link {
  display: flex;
  align-items: center;
}

.itp-brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.itp-nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.itp-nav-menu a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #d4d4d8;
  padding: 8px 0;
  position: relative;
}

.itp-nav-menu a:hover,
.itp-nav-menu a.active {
  color: var(--itp-text-pure);
}

.itp-nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--itp-red);
}

.itp-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.itp-btn-login {
  background-color: var(--itp-red);
  color: var(--itp-text-pure);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 20px;
  border-radius: var(--itp-radius-sm);
  transition: background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.itp-btn-login:hover {
  background-color: var(--itp-red-hover);
  color: var(--itp-text-pure);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.itp-breadcrumbs {
  background-color: var(--itp-bg-subtle);
  border-bottom: 1px solid var(--itp-border);
  padding: 10px 0;
  font-size: 0.8rem;
  color: var(--itp-text-muted);
}

.itp-breadcrumbs-inner {
  display: flex;
  gap: 8px;
  align-items: center;
}

.itp-breadcrumbs a {
  color: var(--itp-text-muted);
}

.itp-breadcrumbs a:hover {
  color: var(--itp-red);
}

.itp-breadcrumbs span {
  color: var(--itp-text-dark);
  font-weight: 600;
}

/* ==========================================================================
   COMMERCIAL HERO BANNER
   ========================================================================== */
.itp-hero {
  position: relative;
  background-color: #0c121e;
  background-image: url('../images/3040666-teal-wave-hero-partner-hub.jpg');
  background-size: cover;
  background-position: center right;
  color: var(--itp-text-pure);
  padding: 68px 0 60px;
  overflow: hidden;
}

.itp-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(12, 18, 30, 0.94) 0%, rgba(12, 18, 30, 0.8) 55%, rgba(12, 18, 30, 0.4) 100%);
}

.itp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.itp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(237, 28, 36, 0.15);
  border: 1px solid rgba(237, 28, 36, 0.35);
  color: #ff6b72;
  padding: 4px 14px;
  border-radius: var(--itp-radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.itp-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--itp-text-pure);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.itp-hero-title span {
  color: var(--itp-red);
}

.itp-hero-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 32px;
}

.itp-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.itp-btn-primary {
  background-color: var(--itp-red);
  color: var(--itp-text-pure);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--itp-radius-sm);
  transition: background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.itp-btn-primary:hover {
  background-color: var(--itp-red-hover);
  color: var(--itp-text-pure);
}

.itp-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--itp-text-pure);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--itp-radius-sm);
  backdrop-filter: blur(4px);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.itp-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: var(--itp-text-pure);
  color: var(--itp-text-pure);
}

/* Metrics Row */
.itp-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.itp-metric-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--itp-text-pure);
  line-height: 1.1;
  margin-bottom: 4px;
}

.itp-metric-item h4 span {
  color: var(--itp-red);
}

.itp-metric-item p {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   PRODUCT TILES GRID (4-COLUMN AEM STYLE)
   ========================================================================== */
.itp-section {
  padding: 68px 0;
  border-bottom: 1px solid var(--itp-border);
}

.itp-section-alt {
  background-color: var(--itp-bg-subtle);
}

.itp-section-head {
  margin-bottom: 40px;
  max-width: 800px;
}

.itp-section-eyebrow {
  color: var(--itp-red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.itp-section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--itp-text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.itp-section-desc {
  font-size: 1.05rem;
  color: var(--itp-text-muted);
  line-height: 1.6;
}

.itp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.itp-product-card {
  background-color: var(--itp-bg-card);
  border: 1px solid var(--itp-border);
  border-radius: var(--itp-radius-md);
  overflow: hidden;
  box-shadow: var(--itp-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.itp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--itp-shadow-lg);
  border-color: var(--itp-red);
}

.itp-product-img-wrap {
  height: 200px;
  background-color: #121214;
  overflow: hidden;
  position: relative;
}

.itp-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.itp-product-card:hover .itp-product-img {
  transform: scale(1.05);
}

.itp-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--itp-red);
  color: var(--itp-text-pure);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.itp-product-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.itp-product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--itp-text-dark);
  margin-bottom: 8px;
}

.itp-product-desc {
  font-size: 0.88rem;
  color: var(--itp-text-body);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.itp-product-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--itp-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.itp-product-link:hover {
  color: var(--itp-red-hover);
}

/* ==========================================================================
   TECHNICAL INTEGRATION SIZING MATRIX (TABLE)
   ========================================================================== */
.itp-table-container {
  overflow-x: auto;
  border: 1px solid var(--itp-border);
  border-radius: var(--itp-radius-md);
  background-color: var(--itp-bg-card);
  box-shadow: var(--itp-shadow-sm);
}

.itp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.itp-table th {
  background-color: #0f172a;
  color: var(--itp-text-pure);
  padding: 14px 18px;
  font-weight: 700;
}

.itp-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--itp-border);
  color: var(--itp-text-body);
}

.itp-table tr:hover td {
  background-color: #f8fafc;
}

.itp-sku-name {
  font-weight: 700;
  color: var(--itp-text-dark);
}

.itp-status-pill {
  display: inline-block;
  background-color: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 9999px;
}

/* ==========================================================================
   ENABLEMENT TRACKS (3 COLUMNS)
   ========================================================================== */
.itp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.itp-track-card {
  background-color: var(--itp-bg-card);
  border: 1px solid var(--itp-border);
  border-top: 4px solid var(--itp-red);
  border-radius: var(--itp-radius-md);
  padding: 32px 28px;
  box-shadow: var(--itp-shadow-sm);
  display: flex;
  flex-direction: column;
}

.itp-track-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--itp-radius-sm);
  background-color: var(--itp-red-soft);
  color: var(--itp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.itp-track-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--itp-text-dark);
  margin-bottom: 12px;
}

.itp-track-desc {
  font-size: 0.92rem;
  color: var(--itp-text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* ==========================================================================
   AUTHORIZED DISTRIBUTORS STRIP
   ========================================================================== */
.itp-dist-banner {
  background-color: #0f172a;
  color: var(--itp-text-pure);
  padding: 48px 0;
}

.itp-dist-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.itp-dist-partner-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.itp-dist-award-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   CORPORATE B2B FOOTER
   ========================================================================== */
.itp-footer {
  background-color: #090a0f;
  color: #94a3b8;
  padding: 64px 0 36px;
  font-size: 0.84rem;
}

.itp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.itp-footer-brand h4 {
  color: var(--itp-text-pure);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.itp-footer-brand p {
  line-height: 1.6;
  color: #94a3b8;
}

.itp-footer-col h5 {
  color: var(--itp-text-pure);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.itp-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.itp-footer-col a {
  color: #94a3b8;
}

.itp-footer-col a:hover {
  color: var(--itp-red);
}

.itp-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.78rem;
  color: #64748b;
}

.itp-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.itp-footer-legal-links a {
  color: #94a3b8;
}

.itp-footer-legal-links a:hover {
  color: var(--itp-text-pure);
}

.itp-footer-disclaimer {
  line-height: 1.6;
  color: #64748b;
}

@media (max-width: 1024px) {
  .itp-grid-4 { grid-template-columns: 1fr 1fr; }
  .itp-grid-3 { grid-template-columns: 1fr; }
  .itp-metrics-bar { grid-template-columns: 1fr 1fr; }
  .itp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .itp-grid-4 { grid-template-columns: 1fr; }
  .itp-hero-title { font-size: 2.1rem; }
  .itp-footer-grid { grid-template-columns: 1fr; }
}
