/* hero-redesign.css */
:root {
  --primary: #00599d;
  --primary-container: #0072c6;
  --on-primary: #ffffff;
  --surface: #ffffff;
  --on-surface: #1a1c1c;
  --on-surface-variant: #414752;
  --tertiary: #8c4300;
  --outline: #717783;
  --outline-variant: #c0c7d3;
  --surface-container-low: #f3f3f3;
}

body {
  background-color: var(--surface);
  color: var(--on-surface);
  font-family: 'Inter', sans-serif;
}

/* Navbar */
.nav-new {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px; /* 64px */
  /* padding: 0 2rem; */
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
}

.nav-left-new {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-new {
  height: 4rem; /* 48px */
  width: auto;
}

.nav-links-new {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links-new {
    display: flex;
  }
}

.nav-link-new {
  color: var(--on-surface-variant);
  font-weight: 500;
  font-size: 0.875rem; /* 14px */
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.nav-link-new:hover {
  color: var(--primary);
}

.nav-link-new:active {
  transform: scale(0.95);
}

.nav-link-new.active-new {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.25rem;
}

html {
  scroll-behavior: smooth;
}

/* Nav Dropdown Mega Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

/* Invisible bridge so the hover state doesn't drop when moving to the menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 2rem;
  background: transparent;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--surface);
  width: 600px;
  max-width: 90vw;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 60;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--outline-variant);
  margin-top: 0.5rem;
}

.nav-dropdown:hover .mega-menu {
  display: block;
}

.mega-menu-inner {
  display: flex;
  padding: 2rem;
  gap: 2rem;
}

.mega-col {
  flex: 1;
}

.mega-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--surface-container-highest);
}

.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-list li a {
  text-decoration: none;
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
  display: block;
  padding: 5px;
  border-radius: 0.5rem;
}

.mega-list li a:hover {
  background-color: var(--surface-container-low);
  color: var(--primary);
}

.mega-footer {
  background-color: var(--surface-container-low);
  padding: 1rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--outline-variant);
}

.mega-view-all {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.mega-view-all:hover {
  color: var(--primary-container);
  text-decoration: underline;
}

.nav-actions-new {
  display: flex;
  align-items: center;
}

.btn-signin-new {
  background-color: var(--primary);
  color: var(--on-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-signin-new:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-signin-new:active {
  transform: scale(0.95);
}

/* Hero Section */
.hero-new {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8rem; 
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  overflow: hidden;
  background-color: var(--surface);
}

.hero-deco-1 {
  position: absolute;
  top: 25%;
  left: -5rem;
  width: 24rem; /* 384px */
  height: 24rem;
  background-color: rgba(0, 89, 157, 0.05);
  border-radius: 9999px;
  filter: blur(64px);
}

.hero-deco-2 {
  position: absolute;
  bottom: 25%;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background-color: rgba(140, 67, 0, 0.05);
  border-radius: 9999px;
  filter: blur(64px);
}

.hero-content-new {
  max-width: 80rem;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.hero-subtitle {
  font-weight: 700;
  color: var(--on-surface-variant);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  font-size: 1.25rem; /* 20px */
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.75rem; /* 28px */
  }
}

.text-primary-new {
  color: var(--primary);
}

.hero-title {
  font-weight: 800;
  color: var(--on-surface);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin-bottom: 1rem;
  font-size: 1.5rem; /* 24px */
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem; /* 56px */
  }
}

.text-highlight-new {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 89, 157, 0.15);
  padding-left: 5px;
  padding-right: 5px;
  }

/* .text-highlight-new::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 5px;
  height: 17%;
  background-color: rgba(0, 89, 157, 0.15);
  z-index: -1;
  border-radius: 2px;
} */

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  row-gap: 0.5rem;
  color: var(--outline);
  margin-bottom: 4rem;
  max-width: 64rem; /* 1024px */
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  font-size: 1.125rem; /* 18px */
}

@media (min-width: 768px) {
  .hero-tags {
    font-size: 1.25rem; /* 20px */
  }
}

.tag-separator {
  color: var(--outline-variant);
  font-weight: 300;
  font-size: 1.125rem; /* 18px */
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-hero-1 {
  width: 100%;
  padding: 0.8rem 2rem;
  background: linear-gradient(to right, var(--primary), var(--primary-container));
  color: var(--on-primary);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 89, 157, 0.2), 0 10px 10px -5px rgba(0, 89, 157, 0.1);
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

@media (min-width: 640px) {
  .btn-hero-1 {
    width: auto;
  }
}

.btn-hero-1:hover {
  transform: scale(1.02);
}

.btn-hero-1:active {
  transform: scale(0.95);
}

.btn-hero-2 {
  width: 100%;
  padding: 0.8rem 2rem;
  border: 2px solid var(--outline-variant);
  color: var(--primary);
  border-radius: 0.75rem;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  background: transparent;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

@media (min-width: 640px) {
  .btn-hero-2 {
    width: auto;
  }
}

.btn-hero-2:hover {
  background-color: var(--surface-container-low);
}

.btn-hero-2:active {
  transform: scale(0.95);
}

.btn-hero-3 {
  width: 100%;
  padding: 1rem 2rem;
  color: var(--on-surface-variant);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-subtext {
  font-size: 0.70rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .btn-hero-3 {
    width: auto;
  }
}

.btn-hero-3:hover {
  color: var(--primary);
}

.btn-hero-3:active {
  transform: scale(0.95);
}

.btn-logout-new {
  background-color: #df3030 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transition: none !important;
  transform: none !important;
}

.btn-logout-new:hover {
  background-color: #b91c1c !important;
  box-shadow: none !important;
}

.btn-logout-new:active {
  transform: none !important;
}

.hero-badge-minutes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #1C9E95;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.hero-badge-minutes svg {
  stroke: #0ea5e9;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero-badge-minutes {
    font-size: 1rem;
    gap: 0.75rem;
  }
  .hero-badge-minutes svg {
    width: 28px;
    height: 28px;
  }
}

