/* ==========================================================================
   NUTANIX MAIN STYLESHEET
   Includes: Top Utility Navbar, Main Gradient Navbar, and Hero Section
   Brand Typefaces: Montserrat (Headings / Display) & Arial (Body)
   ========================================================================== */

/* --- Local Font Face Definition (100% Offline) --- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('montserrat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base Variables --- */
:root {
  --top-accent-color: #4f3439;
  --top-nav-bg: #ffffff;
  --text-dark: #000000;
  --text-white: #ffffff;
  --nutanix-blue: #0070e0;
  --nutanix-cyan: #00e5bf;
  --border-subtle: #e5e7eb;
  --font-stack: 'Montserrat', Arial, sans-serif;
  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --hero-gradient: linear-gradient(98deg, #5b1585 0%, #4a2399 26%, #1f54b0 62%, #14a8db 100%);
}

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

body {
  font-family: var(--font-stack);
  background-color: #ffffff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Brand Headings: Montserrat */
h1, h2, h3, h4, h5, h6,
.hero-heading,
.challenge-main-heading,
.modernize-title,
.assessment-heading,
.proof-title,
.proof-card-quote,
.carousel-main-title,
.slide-client-name,
.strategy-card-title,
.faq-section-title,
.faq-question-btn,
.form-title,
.form-submit-btn,
.btn-hero-cta,
.btn-pill-white,
.btn-tech-hub,
.btn-assessment,
.btn-report-dl,
.btn-guide-dl,
.top-nav-link,
.slide-stat-num {
  font-family: var(--font-heading);
}

/* Brand Body Text: Montserrat */
p, span, li, a, label, input, select, textarea,
.hero-subhead,
.challenge-body-p,
.assessment-subtext,
.block-card-desc,
.slide-quote-text,
.faq-a-text,
.footer-disclaimer-text,
.footer-link,
.bottom-legal-link,
.form-disclaimer-text {
  font-family: var(--font-stack);
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   1. TOP UTILITY NAVBAR (Matching Screenshot)
   ========================================================================== */
.top-accent-bar {
  height: 3px;
  background-color: var(--top-accent-color);
  width: 100%;
}

.top-navbar {
  height: 55px;
  background-color: var(--top-nav-bg);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1000;
}

.nav-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-img {
  height: 18px;
  max-height: 18px;
  width: auto;
  display: block;
  object-fit: contain;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-nav-link {
  color: var(--text-dark);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
  line-height: 1;
}

.top-nav-link:hover {
  color: var(--nutanix-blue);
}

.lang-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.lang-btn:hover {
  color: var(--nutanix-blue);
}

.chevron-icon {
  display: block;
  transition: transform 0.2s ease, stroke 0.15s ease;
}

.lang-selector:hover .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 130px;
  padding: 6px 0;
  display: none;
  flex-direction: column;
  z-index: 100;
}

.lang-selector:hover .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  padding: 8px 14px;
  font-size: 12px;
  color: #333333;
  font-weight: 500;
  transition: background 0.15s ease;
}

.lang-dropdown a:hover {
  background-color: #f1f5f9;
  color: var(--nutanix-blue);
}

.lang-dropdown a.active {
  font-weight: 700;
  color: var(--nutanix-blue);
}

/* ==========================================================================
   2. MAIN GRADIENT HERO & NAVBAR
   ========================================================================== */
.hero-wrapper {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  padding-bottom: 50px;
}

/* --- Main Navigation Header --- */
.main-navbar {
  padding: 18px 0;
  width: 100%;
}

.main-nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: opacity 0.2s ease;
}

.search-btn:hover {
  opacity: 0.8;
}

.btn-pill-white {
  background-color: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* --- Hero Content Layout (Balanced Spacing) --- */
.hero-content-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 36px;
  padding-top: 24px;
}

.hero-left {
  max-width: 560px;
}

.hero-heading {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-subhead {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
  margin-bottom: 28px;
}

.btn-hero-cta {
  background-color: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.btn-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  background-color: #f8fafc;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1080px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-left {
    max-width: 100%;
    text-align: center;
  }

  .hero-form-card {
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .hero-heading {
    font-size: 2.4rem;
  }

  .hero-subhead {
    font-size: 1.05rem;
  }

  .container {
    padding: 0 20px;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 16px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .top-nav-link:nth-child(1),
  .top-nav-link:nth-child(2) {
    display: none;
  }
}
