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

body {
  font-family: 'Roboto', sans-serif;
  color: #202124;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #dadce0;
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 24px;
  gap: 0;
  row-gap: 0;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
}

.header-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.header-nav .nav-tabs {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.header-top-left .logo-icon {
  width: 32px;
  height: 32px;
}

.header-top-left .google-wordmark {
  height: 24px;
  width: auto;
  fill: #5f6368;
}

.header-top-left .product-name {
  font-family: 'Google Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #757474;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 12px;
}

@media (min-width: 1200px) {
  .header-top-left .product-name {
    margin-right: 32px;
  }
}

.nav-tabs {
  display: flex;
  list-style: none;
  align-items: center;
  width: 100%;
}

.nav-tabs li a,
.nav-tabs li button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #515354;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-tabs li a:hover,
.nav-tabs li button:hover {
  color: #1a73e8;
}

.nav-tabs .material-symbols-outlined {
  font-size: 18px;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #5f6368;
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Roboto', sans-serif;
}

.lang-selector .material-symbols-outlined {
  font-size: 20px;
  color: #5f6368;
}

.signin-btn {
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a73e8;
  cursor: pointer;
}

.header-desc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px 14px;
  background: #fff;
  border-top: 1px solid #dadce0;
}

.header-desc-text {
  font-size: 15px;
  color: #5f6368;
  line-height: 1.5;
}

@media (min-width: 1100px) {
  .header-desc-text {
    white-space: nowrap;
  }
}

.btn-primary {
  display: inline-block;
  font-family: 'Google Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: #1a73e8;
  border: none;
  border-radius: 4px;
  padding: 10px 28px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: #1765cc;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.btn-go-analytics {
  background: #1A73E8;
  border-radius: 4px;
  padding: 8px 20px;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.btn-go-analytics:hover {
  background: #1461c4;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ===== BANNER ===== */
.announcement-banner {
  background: #e8710a;
  color: #fff;
  text-align: left;
  padding: 14px 24px;
  font-size: 15px;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .announcement-banner {
    padding-left: 64px;
    padding-right: 64px;
  }
}

@media (min-width: 1440px) {
  .announcement-banner {
    padding-left: max(64px, calc(50% - 560px));
    padding-right: max(64px, calc(50% - 560px));
  }
}

.announcement-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 0;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-text h1 {
  font-family: 'Google Sans', sans-serif;
  font-size: 48px;
  line-height: 56px;
  font-weight: 400;
  color: #202124;
  margin-bottom: 28px;
}

.hero-text .hero-description {
  font-size: 17px;
  line-height: 1.75;
  color: #5f6368;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-text .btn-primary {
  margin-bottom: 28px;
}

.hero-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #202124;
  margin-bottom: 6px;
}

.hero-text p em a {
  color: #1a73e8;
  font-style: italic;
}

.hero-text p em strong {
  font-style: italic;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* ===== CHOOSE YOUR PATH ===== */
.path-section {
  padding: 40px 0 60px;
}

.path-section h2 {
  font-family: 'Google Sans', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #202124;
  margin-bottom: 36px;
}

.path-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.path-card {
  border: 1px solid #dadce0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.path-card:hover {
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

.path-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #f8f9fa;
}

.path-card-body {
  padding: 24px;
}

.path-card-body h3 {
  font-family: 'Google Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 14px;
}

.path-card-body h3 a {
  color: #1a73e8;
}

.path-card-body h3 a:hover {
  text-decoration: underline;
}

.path-card-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #5f6368;
  margin-bottom: 22px;
}

/* ===== SKILLSHOP SECTION ===== */
.skillshop-section {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 0;
}

.skillshop-video {
  flex: 1;
  min-width: 0;
}

.skillshop-video .video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.skillshop-video .video-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.skillshop-text {
  flex: 1;
  min-width: 0;
}

.skillshop-text h1 {
  font-family: 'Google Sans', sans-serif;
  font-size: 48px;
  line-height: 56px;
  font-weight: 400;
  color: #202124;
  margin-bottom: 28px;
}

.skillshop-text .hero-description {
  font-size: 17px;
  line-height: 1.75;
  color: #5f6368;
  margin-bottom: 28px;
}

/* ===== FOOTER LINKBOXES ===== */
.footer-linkboxes {
  border-top: 1px solid #dadce0;
  padding: 40px 64px;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-linkboxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-linkbox h3 {
  font-family: 'Google Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 18px;
}

.footer-linkbox ul {
  list-style: none;
}

.footer-linkbox ul li {
  margin-bottom: 10px;
}

.footer-linkbox ul li a {
  font-size: 15px;
  color: #5f6368;
  transition: color 0.2s;
}

.footer-linkbox ul li a:hover {
  color: #1a73e8;
}

/* ===== RESPONSIVE ===== */
.hero-title-break {
  display: none;
}

@media (min-width: 480px) {
  .hero-title-break {
    display: inline;
  }
}

@media (max-width: 1200px) {
  .main-content {
    padding: 0 32px;
  }
}

@media (max-width: 1024px) {
  .header-top {
    padding: 8px 16px 0;
  }

  .header-nav {
    order: 3;
    flex: 1 0 100%;
    align-self: stretch;
    max-width: 100%;
    padding: 4px 0 10px;
    border-top: 1px solid #eceff1;
  }

  .header-nav .nav-tabs {
    width: 100%;
    box-sizing: border-box;
    padding-right: 8px;
    mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
  }

  .path-section h2 {
    font-size: 28px;
  }
}

@media (max-width: 960px) {
  .hero-section,
  .skillshop-section {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .hero-text,
  .skillshop-text {
    text-align: center;
  }

  .hero-text .hero-description,
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text h1,
  .skillshop-text h1 {
    font-size: 32px;
    line-height: 40px;
  }

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

  .footer-linkboxes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .main-content {
    padding: 0 20px;
  }

  .footer-linkboxes {
    padding: 32px 20px;
  }

  .header-desc-row {
    padding: 12px 20px 14px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .header-top {
    padding: 8px 12px 0;
  }

  .header-top-left .product-name {
    font-size: 18px;
  }

  .header-top-left .google-wordmark {
    height: 20px;
  }

  .header-nav {
    order: 3;
    padding: 0 0 6px;
    margin: 0 -4px 0 0;
  }

  .nav-tabs li a,
  .nav-tabs li button {
    padding: 12px 8px;
    font-size: 13px;
  }

  .hero-text h1,
  .skillshop-text h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .path-section h2 {
    font-size: 24px;
  }

  .path-section {
    padding: 28px 0 40px;
  }

  .hero-section,
  .skillshop-section {
    padding: 32px 0 40px;
  }

  .header-desc-row {
    padding-left: 12px;
    padding-right: 12px;
  }

  .announcement-banner {
    font-size: 14px;
    padding: 12px 16px;
  }

  .main-content {
    padding: 0 16px;
  }

  .path-card-body {
    padding: 18px;
  }

  .lang-selector {
    display: none;
  }

  .header-top-right {
    gap: 8px;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .header-top-left .product-name {
    margin-right: 0;
  }
}
