/* Font Face Declarations */
@font-face {
  font-family: 'Varta';
  src: url('https://assets.hubl.ca/fonts/Varta-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('https://assets.hubl.ca/fonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  --background-color: #faf9f6;
  --text-color: #121212;
  --fuchsia-color: #ff00ff;
}

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  padding-top: 80px;
  min-height: 100vh;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

/* Header & Navigation */
body > header.site-header[data-controller] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 2rem;
}

body > header.site-header[data-controller] .header-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

body > header.site-header[data-controller] .logo {
  display: flex;
  align-items: center;
}

body > header.site-header[data-controller] .logo-link {
  display: flex;
  align-items: center;
  gap: 17px;
  font-family: 'Varta', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: -0.02em;
}

body > header.site-header[data-controller] .logo-image {
  height: 50px;
  width: auto;
  display: block;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.burger-line {
  width: 25px;
  height: 1px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* Burger to X animation */
.site-header.open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.site-header.open .burger-line:nth-child(2) {
  opacity: 0;
}

.site-header.open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  flex-direction: column;
  padding: 0.5rem 0;
  min-width: 120px;
  white-space: nowrap;
}

.mobile-nav.open {
  display: flex;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  display: block;
}

.nav-link:hover {
  color: var(--text-color);
  background: rgba(0, 0, 0, 0.05);
  opacity: 0.8;
}

.desktop-nav {
  display: none;
}

/* Home Page Header (Brand & Hero) */
header.site-header:not([data-controller]) {
  position: relative;
  padding: 2rem 0;
  background-color: var(--background-color);
  margin-top: 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brand-section {
  text-align: center;
  margin-bottom: 3rem;
}

.brand-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -1.92px;
  color: var(--text-color);
  margin: 0;
  text-transform: capitalize;
}

.hero-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Badge Styles */
.badge-overlay {
  position: absolute;
  bottom: 10%;
  left: 5%;
  z-index: 10;
}

.badge-overlay .badge-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.badge-overlay .badge-icon img {
  width: 120px;
  height: 120px;
  display: block;
}

.badge-overlay .badge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgb(247, 247, 247);
  text-align: center;
  z-index: 11;
  white-space: nowrap;
}

.badge-overlay .badge-text p {
  margin: 0;
  font-weight: 500;
}

.badge-overlay .badge-text .highlight {
  font-size: 1.2rem;
}

.safety-badge {
  position: absolute;
  bottom: -10%;
  left: -2%;
  z-index: 10;
}

.safety-badge .badge-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.safety-badge .badge-icon img {
  width: 150px;
  height: 150px;
  display: block;
}

.safety-badge .badge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-color);
  text-align: center;
  z-index: 11;
  white-space: nowrap;
}

.safety-badge .badge-text p {
  margin: 0;
  font-weight: 500;
}

.safety-badge .badge-text .highlight {
  font-size: 1.2rem;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  box-sizing: border-box;
}

/* Intro Section */
.intro-section {
  margin: 4rem 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.intro-container {
  width: 100%;
}

.intro-content {
  text-align: center;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgb(87, 87, 87);
  margin: 5rem 0 1.5rem 0;
  text-align: center;
  text-transform: uppercase;
}

.lead-text {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-color);
  margin: 0 0 2rem 0;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.intro-image {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.support-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--text-color);
  margin: 2rem auto 0;
  max-width: 500px;
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 4rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features-section {
  margin: 4rem 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.features-container {
  width: 100%;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-item {
  margin: 0;
  padding: 0;
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-color);
  margin: 2rem 0 1.5rem 0;
}

.feature-image {
  position: relative;
  margin: 3rem 0;
  display: flex;
  justify-content: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.feature-image.safety-image {
  position: relative;
}

.safety-image .image-container {
  position: relative;
}

.feature-description {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--text-color);
  margin: 1.5rem auto 0;
  max-width: 500px;
}

/* Status Section */
.status-section {
  margin: 4rem 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.status-content {
  width: 100%;
}

.status-message {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-color);
  margin: 1rem 0 0 0;
}

.outro-image {
  margin: 0;
  display: flex;
  justify-content: center;
}

.outro-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contact Section */
.contact-section {
  margin: 4rem auto 4rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 900px;
}

.contact-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 2rem 0;
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.contact-item {
  padding: 0 1rem;
}

.contact-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.7;
}

.contact-item p {
  font-size: 1.3rem;
  margin: 0;
  word-break: break-all;
}

/* Components */
.reveal-btn {
  background: rgb(255, 200, 0);
  border: none;
  color: rgb(44, 40, 37);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-width: 280px;
  user-select: none;
  -webkit-user-select: none;
  display: inline-block;
  text-align: center;
}

.reveal-btn:hover {
  background: rgb(255, 210, 20);
}

.reveal-btn.revealed {
  background: rgb(255, 200, 0);
  border: none;
  cursor: default;
}

.reveal-btn .progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgb(44, 40, 37);
  width: 0%;
  transition: width 0s linear;
}

.reveal-btn.holding .progress-bar {
  width: 100%;
  transition: width 2s linear;
}

.reveal-btn.revealed .progress-bar {
  display: none;
}

.reveal-btn a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  border: none !important;
}

/* Footer */
.site-footer {
  margin: 6rem auto 4rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-color);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  max-width: 900px;
  width: calc(100% - 40px);
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hubl-name {
  font-family: 'Varta', serif;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: 'Outfit', sans-serif;
}

.footer-link:hover {
  color: var(--text-color);
  border-bottom-color: var(--text-color);
  opacity: 0.8;
}

.separator {
  color: rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .brand-tagline {
    font-size: 64px;
  }

  .lead-text {
    max-width: 650px;
  }

  .support-text {
    max-width: 650px;
  }

  .feature-description {
    max-width: 550px;
  }
}

@media (max-width: 950px) {
  .safety-badge {
    bottom: -13%;
    left: 2%;
  }
}

@media (max-width: 799px) {
  body > header.site-header[data-controller] .header-content {
    justify-content: space-between;
  }
}

@media (min-width: 800px) {
  .burger-menu {
    display: none;
  }

  .desktop-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
  }

  .desktop-nav .nav-link {
    padding: 0;
    background: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .desktop-nav .nav-link:hover {
    background: none;
    border-bottom-color: var(--text-color);
    opacity: 0.8;
  }
}

@media (max-width: 768px) {
  .brand-tagline {
    font-size: 48px;
  }

  .section-title {
    font-size: 14px;
  }

  .lead-text {
    font-size: 30px;
    max-width: 490px;
  }

  .support-text {
    font-size: 1rem;
    max-width: 350px;
  }

  .feature-title {
    font-size: 40px;
  }

  .feature-description {
    font-size: 1rem;
    max-width: 350px;
  }

  .status-message {
    font-size: 40px;
  }

  .header-content,
  .main-content {
    padding: 0 1rem;
  }

  .badge-overlay {
    bottom: 5%;
    left: 2%;
  }

  .badge-overlay .badge-icon img {
    width: 100px;
    height: 100px;
  }

  .safety-badge {
    bottom: -15%;
    left: 2%;
  }

  .safety-badge .badge-icon img {
    width: 130px;
    height: 130px;
  }

  .safety-badge .badge-text {
    font-size: 0.7rem;
  }

  .safety-badge .badge-text .highlight {
    font-size: 1.2rem;
  }
}

@media (max-width: 657px) {
  .lead-text {
    font-size: 25px;
    max-width: 380px;
  }

  .contact-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    font-size: 37px;
  }

  .site-footer {
    padding: 1.5rem;
  }

  .footer-nav {
    gap: 0.8rem 1.2rem;
  }

  .footer-nav .separator {
    display: none;
  }

  .contact-section {
    padding: 1.5rem;
  }
}

@media (max-width: 375px) {
  .brand-tagline {
    font-size: 34px;
  }
}
