/* ==========================================================================
   GREAT PEOPLE BRAND DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Brand colors from logo */
  --color-brand-primary: #137A6F;
  --color-brand-primary-hover: #0f635a;
  --color-brand-primary-light: rgba(19, 122, 111, 0.12);
  --color-brand-secondary: #D6682C;
  --color-brand-secondary-hover: #b85624;

  /* Neutral Backgrounds & Layers */
  --color-bg-white: #ffffff;
  --color-bg-light-gray: #f2f3f3;
  --color-bg-subtle: #f9f9f9;
  --color-border-light: #eaeded;

  /* Text Colors */
  --color-text-dark: #16191f;
  --color-text-charcoal: #444a56;
  --color-text-muted: #687078;
  --color-text-white: #ffffff;

  /* Aliases used across templates and styles */
  --color-brand-accent: var(--color-brand-primary);
  --color-brand-accent-hover: var(--color-brand-primary-hover);
  --color-brand-blue: var(--color-brand-primary);
  --color-brand-blue-hover: var(--color-brand-primary-hover);
  --color-aws-orange: var(--color-brand-primary);
  --color-aws-orange-hover: var(--color-brand-primary-hover);
  --color-aws-blue: var(--color-brand-primary);
  --color-aws-blue-hover: var(--color-brand-primary-hover);

  /* State Alerts */
  --color-aws-alert-success: #2e7d32;
  --color-aws-alert-error: #d32f2f;

  /* Typography & Layout */
  --font-family-aws: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width-aws: 1220px;
  --header-height-aws: 65px;
  --utility-height-aws: 32px;
  --border-radius-aws: 0;

  /* Button depth */
  --shadow-btn-inset: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  --shadow-btn-inset-primary: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.22);
  --shadow-btn-inset-active: inset 0 2px 3px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   RESET & SYSTEM BASICS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  font-family: var(--font-family-aws);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--color-aws-blue);
  text-decoration: none;
  transition: color 0.15s, text-decoration 0.15s;
}

a:hover {
  color: var(--color-aws-blue-hover);
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

input:not([type="button"]):not([type="submit"]):not([type="reset"]), textarea, select {
  font: inherit;
  color: inherit;
/*  background: none;*/
/*  border: none;*/
/*  outline: none;*/
}

button {
    cursor: pointer;
    background: none;
      border: none;
      outline: none;
}

input:not([type="button"]):not([type="submit"]):not([type="reset"]):read-only,
input:not([type="button"]):not([type="submit"]):not([type="reset"]):disabled,
textarea:read-only,
textarea:disabled,
select:disabled {
  background: #f0f0f0;
 cursor: not-allowed;
}

ul {
  list-style: none;
}

/* Custom Scrollbar mirroring AWS scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light-gray);
}
::-webkit-scrollbar-thumb {
  background: #aab2b8;
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: #8795a1;
}

/* ==========================================================================
   AWS STYLE UTILITY & NAVIGATION HEADER
   ========================================================================== */
.top-utility-bar {
  height: var(--utility-height-aws);
  background-color: var(--color-bg-light-gray);
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.utility-container {
  max-width: var(--max-width-aws);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.utility-item {
  color: var(--color-text-muted);
}

.utility-item:hover {
  color: var(--color-text-dark);
  text-decoration: none;
}

.utility-item.highlight {
  color: var(--color-text-dark);
  font-weight: 600;
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-aws);
  background-color: var(--color-bg-white);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1002;
}

.logo-svg {
  width: 28px;
  height: 28px;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-img-sm {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: var(--color-text-dark);
}

.logo-text .accent-text {
  color: var(--color-aws-orange);
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
  margin-left: 28px;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-charcoal);
  padding: 0 4px;
  display: flex;
  align-items: center;
  height: var(--header-height-aws);
}

.nav-item:hover {
  color: var(--color-aws-blue);
  text-decoration: none;
}

.nav-item.active {
  color: var(--color-text-dark);
  border-bottom: 3px solid var(--color-aws-orange);
}

/* AWS Style Search Bar in Navigation */
.nav-search-container {
  flex-grow: 1;
  max-width: 260px;
  margin: 0 20px;
}

.search-form {
  display: flex;
  background-color: var(--color-bg-white);
  border: 1px solid #7d8a99;
  border-radius: var(--border-radius-aws);
  height: 32px;
  overflow: hidden;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0 10px;
  font-size: 0.8rem;
  color: var(--color-text-dark);
}

.search-input::placeholder {
  color: var(--color-text-muted);
}

.search-btn {
  padding: 0 10px;
  color: var(--color-text-charcoal);
  display: flex;
  align-items: center;
  height: 100%;
  border-left: 1px solid var(--color-border-light);
}

.search-btn:hover {
  background-color: var(--color-bg-light-gray);
}

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

.nav-login-btn {
  color: var(--color-text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-white);
}

.nav-login-btn:hover {
  color: var(--color-aws-blue);
  text-decoration: none;
  border-color: var(--color-aws-blue);
}

/* Mobile toggle button */
.mobile-nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1002;
}

.hamburger {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 2px;
  background-color: var(--color-text-dark);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: transform 0.2s ease, top 0.2s ease;
}

.hamburger::before { top: -5px; }
.hamburger::after { top: 5px; }

.mobile-nav-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--border-radius-aws);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn-inset);
  transition: background-color 0.1s, border-color 0.1s, box-shadow 0.1s;
}

.btn:hover {
  text-decoration: none;
}

.btn:active:not(:disabled) {
  box-shadow: var(--shadow-btn-inset-active);
}

/* Primary button: brand green with white text */
.btn-primary {
  background-color: var(--color-brand-primary);
  color: var(--color-text-white) !important;
  border-color: var(--color-brand-primary-hover);
  box-shadow: var(--shadow-btn-inset-primary);
}

.btn-primary:hover {
  background-color: var(--color-brand-primary-hover);
  border-color: #0a5249;
  text-decoration: none;
}

.btn-primary:active:not(:disabled) {
  background-color: #0a5249;
  box-shadow: var(--shadow-btn-inset-active);
}

/* Secondary: gray fill with inset depth */
.btn-secondary {
  background-color: #e8e8e8;
  color: var(--color-text-dark) !important;
  border-color: #c7c7c7;
  box-shadow: var(--shadow-btn-inset);
}

.btn-secondary:hover {
  background-color: #dedede;
  border-color: #b3b3b3;
  text-decoration: none;
}

.btn-secondary:active:not(:disabled) {
  background-color: #d4d4d4;
  box-shadow: var(--shadow-btn-inset-active);
}

.btn-large {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* Console CTA link button style */
.console-cta-btn {
  border-radius: var(--border-radius-aws);
  font-weight: 700;
}

.btn-text {
  color: var(--color-aws-blue);
  font-weight: 600;
  box-shadow: none;
  border: none;
  background: transparent;
}

.btn-text:hover {
  color: var(--color-aws-blue-hover);
  text-decoration: underline;
}

/* ==========================================================================
   PAGE SECTIONS & LAYOUT BLOCKS
   ========================================================================== */
.main-content {
  min-height: 50vh;
}

.container-row {
  width: 100%;
  padding: 60px 0;
}

.container-row.white-row {
  background-color: var(--color-bg-white);
}

.container-row.gray-row {
  background-color: var(--color-bg-light-gray);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.grid-container {
  max-width: var(--max-width-aws);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.section-subtitle {
  color: var(--color-text-charcoal);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 800px;
}

/* ==========================================================================
   PUBLIC PAGE HEADER (AWS-style banner, rounded)
   ========================================================================== */
.pub-page-header-row {
  width: 100%;
  padding: 28px 0 8px;
  background-color: var(--color-bg-white);
}

.pub-page-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px 40px;
  border-radius: 0;
  background:
    radial-gradient(ellipse 55% 90% at 100% 50%, rgba(19, 122, 111, 0.1), transparent 60%),
    linear-gradient(105deg, #e8f4f2 0%, #eef6f5 42%, #f4f7fb 100%);
  color: var(--color-text-dark);
}

.pub-page-header-main {
  min-width: 0;
  max-width: 52rem;
}

.pub-page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-charcoal);
}

.pub-page-breadcrumb a {
  color: var(--color-text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.pub-page-breadcrumb a:hover {
  color: var(--color-brand-primary);
}

.pub-page-breadcrumb .sep {
  color: var(--color-text-muted);
  user-select: none;
}

.pub-page-breadcrumb [aria-current="page"] {
  color: var(--color-text-dark);
  font-weight: 600;
}

.pub-page-header h1 {
  margin: 0 0 14px;
  color: var(--color-text-dark);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pub-page-header-lead {
  margin: 0;
  max-width: 44rem;
  color: var(--color-text-dark);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}

.pub-page-body.page-view,
.container-row.pub-page-body {
  padding-top: 36px;
}

@media (max-width: 768px) {
  .pub-page-header {
    padding: 28px 22px 32px;
    border-radius: 0;
  }
}

/* ==========================================================================
   AWS STYLE HERO SECTION
   ========================================================================== */
.aws-hero {
  background-color: var(--color-bg-light-gray);
  color: var(--color-text-dark);
  padding: 60px 0 80px 0;
  border-bottom: 1px solid var(--color-border-light);
}

/* Homepage hero — brand full-bleed with vector visual */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
  border-bottom: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(214, 104, 44, 0.22), transparent 50%),
    linear-gradient(135deg, #0B524A 0%, #137A6F 48%, #0F635A 100%);
  color: #ffffff;
}

.home-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 82, 74, 0.55) 0%, transparent 58%),
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    );
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 48px;
}

.home-hero .hero-left h1 {
  color: #ffffff;
  max-width: 14ch;
}

.home-hero .hero-left p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.home-hero-brand {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.home-hero-visual {
  position: relative;
  min-width: 0;
  animation: home-hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}

.home-hero .hero-left {
  animation: home-hero-fade 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #ffffff !important;
}

.home-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

@keyframes home-hero-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-grid {
  max-width: var(--max-width-aws);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-start;
}

.hero-left h2.overline {
  color: var(--color-aws-orange);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-left h1 {
  color: var(--color-text-dark);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-left p {
  color: var(--color-text-charcoal);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-actions-row {
  display: flex;
  gap: 16px;
}

/* AWS Right Column: Announcements Box */
.hero-right-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
  padding: 24px;
}

.hero-right-card h3 {
  color: var(--color-text-dark);
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 12px;
}

.announcement-item {
  margin-bottom: 20px;
}

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

.announcement-tag {
  color: var(--color-aws-orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-item h4 {
  font-size: 0.95rem;
  margin: 4px 0 6px 0;
}

.announcement-item h4 a {
  color: var(--color-text-dark);
}

.announcement-item h4 a:hover {
  color: var(--color-aws-blue);
  text-decoration: underline;
}

.announcement-item p {
  color: var(--color-text-charcoal);
  font-size: 0.8rem;
  line-height: 1.4;
}

.announcement-item-divider {
  border-top: 1px solid var(--color-border-light);
  padding-top: 16px;
}

/* Horizontal Nav Ribbon directly under hero */
.nav-ribbon {
  background-color: var(--color-bg-light-gray);
  border-bottom: 1px solid var(--color-border-light);
  height: 48px;
}

.ribbon-container {
  max-width: var(--max-width-aws);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-charcoal);
  overflow-x: auto;
}

.ribbon-item {
  color: var(--color-text-charcoal);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}

.ribbon-item:hover {
  color: var(--color-aws-blue);
  text-decoration: none;
}

.ribbon-item.active {
  color: var(--color-text-dark);
}

.ribbon-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-aws-orange);
}

/* ==========================================================================
   AWS STYLE DISCOVER / PRODUCT TABS
   ========================================================================== */
.aws-tabs-container {
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 32px;
}

.aws-tabs-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.aws-tab-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-charcoal);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}

.aws-tab-btn:hover {
  color: var(--color-text-dark);
  background: #f5f5f5;
  text-decoration: none;
}

.aws-tab-btn:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: -2px;
}

.aws-tab-btn:active {
  background: #ededed;
  box-shadow: none;
}

.aws-tab-btn.active {
  color: var(--color-brand-primary);
  border-bottom-color: var(--color-brand-primary);
  background: transparent;
}

.aws-tab-btn.active:hover {
  color: var(--color-brand-primary);
  background: var(--color-brand-primary-light);
}

/* AWS Product Cards Grid */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.1s, box-shadow 0.1s;
}

.product-card:hover {
  border-color: #f1f1f1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.product-card-icon {
  color: var(--color-aws-orange);
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.product-card h3 a {
  color: var(--color-text-dark);
}

.product-card h3 a:hover {
  color: var(--color-aws-blue);
  text-decoration: none;
}

.product-card p {
  color: var(--color-text-charcoal);
  font-size: 0.85rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.product-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-aws-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card-link:hover {
  color: var(--color-aws-blue-hover);

}

/* ==========================================================================
   AWS CUSTOMER PROOF SECTION (Netflix/Riot Games Quote Layout)
   ========================================================================== */
.customer-proof-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
  background-color: var(--color-bg-white);
  overflow: hidden;
}

.customer-proof-left {
  padding: 40px;
  background-color: var(--color-bg-subtle);
  color: var(--color-text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--color-border-light);
}

.customer-proof-left h3 {
  color: var(--color-text-dark);
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.customer-proof-quote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 32px;
  position: relative;
}

.customer-proof-quote::before {
  content: '“';
  font-size: 3.5rem;
  position: absolute;
  top: -24px;
  left: -20px;
  opacity: 0.15;
  font-family: Georgia, serif;
}

.customer-proof-author {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.customer-proof-author strong {
  color: var(--color-text-dark);
  display: block;
  font-size: 0.95rem;
}

.customer-proof-right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.customer-logo-bar {
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 16px;
  margin-bottom: 24px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.customer-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.customer-metric-box h4 {
  font-size: 2.2rem;
  color: var(--color-aws-orange);
  font-weight: 800;
  line-height: 1.1;
}

.customer-metric-box p {
  font-size: 0.85rem;
  color: var(--color-text-charcoal);
  margin-top: 4px;
}

/* What's new — card grid (AWS-style, square corners) */
.whats-new-section .grid-container {
  max-width: var(--max-width-aws);
}

.whats-new-title {
  margin: 0 0 10px;
  color: var(--color-text-dark);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.whats-new-subtitle {
  margin: 0 0 28px;
  max-width: 52rem;
  color: var(--color-text-dark);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
}

.whats-new-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .whats-new-grid {
    grid-template-columns: 1fr;
  }
}

.whats-new-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f2f3f3;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.whats-new-card:hover,
.whats-new-card:focus-visible {
  text-decoration: none;
  color: inherit;
  outline: none;
  box-shadow: 0 0 0 2px rgba(19, 122, 111, 0.28), 0 10px 28px rgba(19, 122, 111, 0.18);
}

.whats-new-card.is-featured {
  box-shadow: 0 0 0 2px rgba(19, 122, 111, 0.2), 0 8px 24px rgba(19, 122, 111, 0.14);
}

.whats-new-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0B524A;
}

.whats-new-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.whats-new-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.whats-new-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 18px;
  background: #f2f3f3;
}

.whats-new-body h3 {
  margin: 0;
  color: var(--color-text-dark);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.whats-new-body p {
  margin: 0;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
}

.whats-new-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.whats-new-footer svg {
  flex-shrink: 0;
}

.whats-new-footer-link {
  color: var(--color-brand-primary);
}

.whats-new-card:hover .whats-new-footer-link,
.whats-new-card:focus-visible .whats-new-footer-link {
  text-decoration: underline;
}

/* Legacy announcement list kept for other pages if referenced */
.announcements-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border-light);
  background-color: var(--color-bg-white);
}

.announcements-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--color-border-light);
  padding: 20px;
  align-items: flex-start;
}

.announcements-row:last-child {
  border-bottom: none;
}

.announcements-row .date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.announcements-row .content h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.announcements-row .content p {
  font-size: 0.85rem;
  color: var(--color-text-charcoal);
}

/* ==========================================================================
   AWS VIDEO PREVIEW & DOCUMENTATION PLAYER
   ========================================================================== */
.video-preview-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.aws-video-player-card {
  background-color: #000000;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

/* Interactive custom simulation inside the player */
.player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,0.5);
  z-index: 5;
  cursor: pointer;
}

.play-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-aws-orange);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.1s;
}

.player-overlay:hover .play-circle {
  transform: scale(1.1);
  background-color: var(--color-aws-orange-hover);
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--color-text-white);
  margin-left: 3px;
}

.aws-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(22, 25, 31, 0.9);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 6;
  font-size: 0.8rem;
  color: #ffffff;
}

.player-progress-bar {
  flex-grow: 1;
  height: 4px;
  background-color: rgba(255,255,255,0.25);
  position: relative;
  cursor: pointer;
}

.player-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-aws-orange);
  width: 0%;
}

.player-time {
  font-variant-numeric: tabular-nums;
}

.player-play-btn {
  color: var(--color-aws-orange);
}

/* ==========================================================================
   PLATFORM & VIDEO SIDEBAR FOLDERS
   ========================================================================== */
.two-column-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

.sidebar-folder-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--color-border-light);
  padding-right: 16px;
}

.sidebar-folder-btn {
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: left;
  border: 1px solid #c7c7c7;
  border-radius: 0;
  background-color: #fff;
  box-shadow: var(--shadow-btn-inset);
  cursor: pointer;
  transition: background-color 0.1s, border-color 0.1s, box-shadow 0.1s, color 0.1s;
}

.sidebar-folder-btn:hover {
  background-color: #dedede;
  border-color: #b3b3b3;
  color: var(--color-text-dark);
}

.sidebar-folder-btn:active {
  box-shadow: var(--shadow-btn-inset-active);
}

.sidebar-folder-btn.active {
  background-color: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
  font-weight: 700;
  border-color: rgba(19, 122, 111, 0.4);
  box-shadow: var(--shadow-btn-inset);
}

/* ==========================================================================
   AWS STYLE PRICING CALCULATOR
   ========================================================================== */
.licensing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-white);
}

.licensing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.licensing-table th,
.licensing-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
}

.licensing-table thead th {
  background: var(--color-bg-light-gray);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-charcoal);
}

.licensing-table tbody tr:hover {
  background: rgba(19, 122, 111, 0.04);
}

.licensing-total {
  font-weight: 700;
  color: var(--color-brand-primary);
}

.licensing-table-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.pricing-calculator-card {
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
  background-color: var(--color-bg-white);
  padding: 32px;
}

.slider-container {
  margin: 32px 0;
  text-align: center;
}

.slider-value-display {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-brand-primary);
  margin-bottom: 12px;
}

.slider-value-display span {
  font-size: 0.95rem;
  color: var(--color-text-charcoal);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background-color: var(--color-border-light);
  border: 1px solid #c9d1d6;
  border-radius: 0;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-brand-primary);
  border: 1px solid var(--color-brand-primary-hover);
  cursor: pointer;
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-brand-primary);
  border: 1px solid var(--color-brand-primary-hover);
  cursor: pointer;
}

.calculator-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background-color: var(--color-bg-light-gray);
  padding: 24px;
  border-radius: var(--border-radius-aws);
  border: 1px solid var(--color-border-light);
}

.result-box h4 {
  font-size: 0.85rem;
  color: var(--color-text-charcoal);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.result-box p {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.result-box p.price {
  color: var(--color-brand-primary);
}

/* Pricing Grid Cards */
.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border: 2px solid var(--color-aws-orange);
}

.popular-tag {
  color: var(--color-aws-orange-hover);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.pricing-card-header h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card-header p {
  font-size: 0.85rem;
  color: var(--color-text-charcoal);
  margin-bottom: 20px;
  line-height: 1.4;
}

.pricing-card-price {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 16px;
}

.pricing-card-price span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-card-meta {
  margin: -12px 0 20px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-card-features li {
  font-size: 0.85rem;
  color: var(--color-text-charcoal);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-card-features li svg {
  color: var(--color-aws-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   AWS STYLE FORMS (CONTACT SUPPORT & CONSOLE PORTAL)
   ========================================================================== */
.form-panel {
  max-width: 540px;
  margin: 0 auto;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
  background-color: var(--color-bg-white);
  padding: 40px;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #aab2b8;
  border-radius: var(--border-radius-aws);
  background-color: var(--color-bg-white);
  font-size: 0.85rem;
}

.form-control:focus {
  border-color: var(--color-aws-blue);
  box-shadow: 0 0 0 1px var(--color-aws-blue);
}

textarea.form-control {
  height: 80px;
  padding: 8px 12px;
}

.form-control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border-light);
  padding-top: 20px;
  margin-top: 28px;
}

.form-error {
  color: var(--color-aws-alert-error);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.hidden {
  display: none !important;
}

/* Success View */
.success-card {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #e8f5e9;
  border: 1px solid var(--color-aws-alert-success);
  color: var(--color-aws-alert-success);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
}

.field-optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.field-validator {
  display: block;
  color: var(--color-aws-alert-error);
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
}

span.field-validator {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.contact-aside h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.contact-aside p {
  margin: 0 0 16px;
  color: var(--color-text-charcoal);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-aside-list {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--color-text-charcoal);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-aside-list li {
  margin-bottom: 8px;
}

.contact-aside-note {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.85rem !important;
}

.contact-map {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}

.contact-map-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.contact-map-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.contact-map-header a {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.contact-map-address {
  margin: 0 0 12px !important;
  font-size: 0.85rem !important;
  color: var(--color-text-muted) !important;
}

.contact-map-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-light-gray);
  aspect-ratio: 16 / 11;
}

.contact-map-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-panel {
  max-width: none;
  margin: 0;
}

.contact-message {
  min-height: 120px;
  resize: vertical;
}

.contact-form-actions {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* OAuth layout */
.oauth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin: 20px 0;
}

.oauth-divider::before, .oauth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border-light);
}

.oauth-divider:not(:empty)::before { margin-right: 12px; }
.oauth-divider:not(:empty)::after { margin-left: 12px; }

.oauth-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   AWS STYLE CORPORATE FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--color-bg-light-gray);
  color: var(--color-text-charcoal);
  border-top: 1px solid var(--color-border-light);
  padding: 48px 0 0 0;
}

.footer-container {
  max-width: var(--max-width-aws);
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-group h4 {
  color: var(--color-text-dark);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-group a {
  color: var(--color-text-charcoal);
  font-size: 0.8rem;
}

.footer-group a:hover {
  color: var(--color-aws-blue);
}

.footer-bottom {
  background-color: var(--color-bg-white);
  padding: 24px 20px;
  border-top: 1px solid var(--color-border-light);
}

.footer-bottom-container {
  max-width: var(--max-width-aws);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer-legal a {
  color: var(--color-text-muted);
}

.footer-legal a:hover {
  color: var(--color-aws-blue);
}

.footer-logo-text {
  font-size: 1.1rem;
  color: var(--color-text-dark);
}

.cta-banner {
  background-color: var(--color-bg-subtle);
  color: var(--color-text-dark);
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--color-border-light);
}

.cta-banner h3 {
  color: var(--color-text-dark);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--color-text-charcoal);
  margin-bottom: 24px;
  font-size: 1rem;
}

.case-study-toggle-row {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 20px;
}

.company-logo {
  font-size: 1.15rem;
  color: var(--color-text-dark);
  font-weight: 700;
  display: block;
}

.company-size {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-bottom: 24px;
}

.breadcrumb {
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.breadcrumb span {
  color: var(--color-text-muted);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: var(--color-bg-light-gray);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--color-border-light);
}

.video-thumb-icon {
  color: rgba(0, 0, 0, 0.08);
}

.video-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border-light);
  padding: 2px 6px;
  font-size: 0.7rem;
  color: var(--color-text-dark);
  font-weight: 600;
}

.feature-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-list-grid li {
  font-size: 0.85rem;
  color: var(--color-text-charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-check {
  color: var(--color-aws-orange);
}

.related-videos-section {
  margin-top: 56px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 40px;
}

.form-progress-header {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.step-dot {
  width: 20px;
  height: 4px;
  border-radius: 0;
  background: var(--color-border-light);
}

.step-dot.active {
  background: var(--color-brand-primary);
}

.mock-dashboard-light {
  font-size: 10px;
  width: 100%;
  height: 100%;
  border: none;
  padding: 20px;
  background: var(--color-bg-white);
}

.mock-dashboard-light .dashboard-header {
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-dashboard-light .mock-logo {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.mock-dashboard-light .mock-label {
  color: var(--color-text-muted);
  font-size: 8px;
}

.mock-dashboard-light .dashboard-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.mock-dashboard-light .dashboard-card {
  padding: 12px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
}

.mock-dashboard-light .dashboard-card h4 {
  font-size: 9px;
  color: var(--color-text-muted);
}

.mock-dashboard-light .value {
  font-size: 24px;
  color: var(--color-text-dark);
  font-family: var(--font-family-aws);
}

.mock-dashboard-light .dashboard-graph {
  height: 50px;
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.mock-dashboard-light .graph-bar {
  flex: 1;
  background-color: var(--color-aws-orange);
  min-height: 4px;
}

.mock-dashboard-light .dashboard-list {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-dashboard-light .dashboard-list-item {
  padding: 6px 8px;
  border-left: 2px solid var(--color-aws-orange);
  background: var(--color-bg-white);
}

.mock-dashboard-light .list-item-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--color-text-dark);
  display: block;
}

.mock-dashboard-light .list-item-detail {
  font-size: 7px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-hero {
    padding: 48px 0 56px;
  }

  .home-hero .hero-left h1 {
    max-width: none;
  }

  .home-hero-visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }
  
  .hero-left h1 {
    font-size: 2.2rem;
  }

  .product-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .customer-proof-panel {
    grid-template-columns: 1fr;
  }

  .pricing-plans-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 40px auto 0 auto;
  }

  .video-preview-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-utility-bar {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height-aws);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--header-height-aws));
    background-color: var(--color-bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 30px 20px;
    margin-left: 0;
    gap: 24px;
    transition: left 0.3s ease;
    border-top: 1px solid var(--color-border-light);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    height: auto;
  }

  .nav-item {
    height: auto;
    font-size: 1.1rem;
    padding: 8px 0;
    width: 100%;
  }

  .nav-item.active {
    border-bottom: none;
    color: var(--color-aws-orange);
  }

  .nav-search-container {
    max-width: 100%;
    margin: 10px 0;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .header-actions .btn {
    width: 100%;
  }

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

  .two-column-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-folder-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
    padding-right: 0;
    padding-bottom: 12px;
  }

  .sidebar-folder-btn {
    white-space: nowrap;
  }

  .calculator-results-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 1.8rem;
  }

  .hero-actions-row {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions-row .btn {
    width: 100%;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

/* Notification toast */
#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
}
.notification-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: slideIn 0.3s ease-out;
  color: #fff;
}
.notification-toast.error {
  background: #d32f2f;
}
.notification-toast.success {
  background: #2e7d32;
}
.notification-message {
  flex: 1;
}
.notification-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
}
.notification-close:hover {
  opacity: 1;
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
