/* style.css - Azure Professional Technical Design System */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap");

:root {
  /* Colors from DESIGN.md */
  --primary: #005bb1;
  --on-primary: #ffffff;
  --primary-container: rgba(23, 116, 217, 0.05);
  --on-primary-container: #001b3d;

  --surface: #f7f9fb;
  --on-surface: #191c1e;
  --on-surface-variant: #414753;

  --background: #f7f9fb;
  --on-background: #191c1e;

  --outline: #717784;
  --outline-variant: rgba(193, 198, 213, 0.3);

  --surface-container-low: #f2f4f6;
  --surface-container: #eceef0;
  --surface-bright: #f7f9fb;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Spacing & Layout */
  --container-max: 1280px;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
}

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

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--background);
  color: var(--on-background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Typography Classes */
.text-headline-xl {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.text-headline-lg {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.text-headline-md {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.text-body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
.text-body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.text-body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.text-label-lg {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.text-label-md {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.text-label-sm {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

/* Components */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

/* Advertorial Bar */
.advertorial-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  padding: 8px 0;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 60;
}

/* Navigation */
.nav-bar {
  top: 31px; /* Below advertorial bar */
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 64px;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo img {
  width: 140px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

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

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: var(--radius-lg);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.1s,
    background-color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-primary:hover {
  background-color: #004a8f;
}

/* Layout */
.main-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 128px 24px 96px;
}

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

.main-column {
  grid-column: span 12;
}

@media (min-width: 1024px) {
  .main-column {
    grid-column: span 8;
  }
}

.sidebar {
  grid-column: span 12;
}

@media (min-width: 1024px) {
  .sidebar {
    grid-column: span 4;
  }
}

/* Sections */
header.hero {
  margin-bottom: 64px;
}

.hero-tag {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  margin-bottom: 16px;
  color: var(--on-surface);
}

.hero-p {
  color: var(--on-surface-variant);
  max-width: 768px;
}

.byline {
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-500);
}

/* Cards & Elements */
.content-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.featured-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-content h2 {
  color: var(--on-surface);
}

.article-content p {
  color: var(--on-surface-variant);
}

/* Article Card — styled content block */
.article-card {
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Section H2 with blue accent line */
.section-heading {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 4px;
  color: var(--on-surface);
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* Article callout section — tinted background block */
.article-callout-section {
  background: linear-gradient(135deg, rgba(0, 91, 177, 0.04) 0%, rgba(0, 91, 177, 0.01) 100%);
  border: 1px solid rgba(0, 91, 177, 0.12);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}

.article-callout-section p {
  color: var(--on-surface-variant);
}


/* Grid Boxes */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background-color: var(--surface-container);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card .icon {
  color: var(--primary);
  font-size: 36px;
}

/* Callout Box */
.callout-box {
  background-color: rgba(0, 91, 177, 0.03);
  border: 1px solid rgba(0, 91, 177, 0.1);
  border-radius: var(--radius-2xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .callout-box {
    flex-direction: row;
    align-items: center;
  }
}

.callout-text {
  flex: 1;
}

.callout-visual {
  width: 100%;
  max-width: 256px;
  height: 256px;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 91, 177, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.callout-visual img {
  max-width: 100%;
  height: auto;
}

/* CTA Buttons */
.btn-cta {
  background-color: var(--primary);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 15px -3px rgba(0, 91, 177, 0.2);
  transition: all 0.2s;
  text-align: center;
}

.btn-cta:hover {
  background-color: #004a8f;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 91, 177, 0.1);
}

/* CTA Block (Center) */
.cta-center-block {
  text-align: center;
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-logo {
  width: 240px;
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
  display: block;
}

/* Disclaimer */
.disclaimer-box {
  background-color: var(--slate-100);
  padding: 16px;
  border-radius: var(--radius-lg);
  color: var(--slate-500);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 32px;
}

/* Info Callout */
.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin: 8px 0;
}

.info-callout__icon {
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-callout p {
  color: var(--on-surface-variant);
  font-size: 14px;
  line-height: 1.6;
}

/* Feature List Block */
.feature-list-block {
  background-color: var(--surface-container);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin: 32px 0;
}

.feature-list-block__title {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  display: block;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-list__item:hover {
  box-shadow: 0 4px 12px rgba(0, 91, 177, 0.08);
  transform: translateX(4px);
}

.feature-list__icon {
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
}

.feature-list__item span.text-body-sm {
  color: var(--on-surface-variant);
}


/* Sidebar Elements */
.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.metrics-box {
  background-color: var(--surface-container);
  border: 1px solid rgba(193, 198, 213, 0.2);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.metrics-title {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.metric-item:last-child {
  margin-bottom: 0;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background-color: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  flex-shrink: 0;
}

/* Colored icon variants */
.metric-icon--speed {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.metric-icon--db {
  background-color: #ede9fe;
  color: #6d28d9;
}

.metric-icon--bolt {
  background-color: #dcfce7;
  color: #15803d;
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--slate-500);
}

.metric-value {
  font-size: 24px;
  font-weight: 500;
  color: var(--on-surface);
}

.image-card {
  position: relative;
  border-radius: var(--radius-xl);
  height: 256px;
  overflow: hidden;
  background-color: var(--slate-900);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform 0.5s;
}

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

.image-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, var(--slate-900), transparent);
}

.image-card-title {
  color: #ffffff;
  margin-bottom: 8px;
}

.image-card-p {
  color: var(--slate-300);
  font-size: 14px;
  margin-bottom: 16px;
}

.image-card-link {
  color: #60a5fa;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.image-card-link:hover {
  text-decoration: underline;
}

.quote-box {
  background-color: var(--surface-container);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.quote-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.quote-text {
  font-size: 14px;
  color: var(--on-surface-variant);
  font-style: italic;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 40;
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none;
  }
}

/* Footer */
.footer {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  padding: 48px 24px;
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--slate-500);
  text-decoration: underline;
  text-decoration-color: var(--slate-200);
  text-underline-offset: 4px;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand span {
  font-size: 18px;
  font-weight: 600;
}

.footer-brand p {
  font-size: 14px;
  color: var(--slate-500);
}
