 /* ── HOME.CSS ── */
/* Only styles unique to home.html. main.css handles shared styles. */

html { scroll-behavior: smooth; }

/* ── HERO ── */
.hero {
  background: var(--text);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero-blob-1 {
  position: absolute;
  width: 350px; height: 350px;
  background: var(--brandcolor);
  border-radius: 50%;
  opacity: 0.07;
  top: -100px; right: -100px;
  pointer-events: none;
}

.hero-blob-2 {
  position: absolute;
  width: 200px; height: 200px;
  background: var(--brandcolor);
  border-radius: 50%;
  opacity: 0.04;
  bottom: -60px; left: -40px;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.25);
  color: var(--brandcolor);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brandcolor);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-carousel-wrapper {
  display: inline-block;
  height: clamp(2.8rem, 8vw, 5rem);
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}

.hero-carousel {
  display: flex;
  flex-direction: column;
  animation: carouselSlide 6s infinite;
}

.hero-carousel span {
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--brandcolor);
  height: clamp(2.8rem, 8vw, 5rem);
  display: flex;
  align-items: center;
}

@keyframes carouselSlide {
  0%,  20%  { transform: translateY(0); }
  25%, 45%  { transform: translateY(calc(-1 * clamp(2.8rem, 8vw, 5rem))); }
  50%, 70%  { transform: translateY(calc(-2 * clamp(2.8rem, 8vw, 5rem))); }
  75%, 95%  { transform: translateY(calc(-3 * clamp(2.8rem, 8vw, 5rem))); }
  100%      { transform: translateY(0); }
}

.hero-sub {
  font-size: 0.975rem;
  color: #999;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--brandcolor);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary:hover { background: var(--altbrandcolor); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: #ccc;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ── NAV LINKS + HAMBURGER ── */
.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
  font-family: cursive;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary-text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 4vw;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--background);
  border-bottom: 1px solid var(--light-grey);
  padding: 1rem 1.5rem;
  gap: 0.25rem;
  position: sticky;
  top: 70px;

  box-shadow: 0 4px 12px var(--shadow);
}

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

.mobile-menu-link {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--light-grey);
  transition: color 0.2s;
}

.mobile-menu-link:last-child { border-bottom: none; }
.mobile-menu-link:hover { color: var(--brandcolor); }
.mobile-menu-cta { color: var(--brandcolor); }

/* Mobile — hide nav links and add business button, show hamburger */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .habb { display: none; }
}

/* Desktop — show nav links and add business button, hide hamburger */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}
/* ── SHARED SECTION STYLES ── */
.section {
  padding: 3rem 1.5rem;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.eyebrow-black { color: var(--text); }
.eyebrow-yellow { color: var(--brandcolor); }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 0.6rem;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--secondary-text);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* ── PLUGS ── */
.plugs-section { background: var(--grey-100); }

.plugs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.plug-card {
  display: flex;
  flex-direction: column;
  background: var(--background);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  border: 1.5px solid var(--light-grey);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
}

.plug-card:hover {
  border-color: var(--brandcolor);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--sshadow);
}

.plug-card.coming-soon {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.plug-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.plug-live::before {
  content: '';
  width: 5px; height: 5px;
  background: #15803d;
  border-radius: 50%;
}

.plug-soon {
  display: inline-flex;
  align-items: center;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.plug-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.plug-desc { font-size: 0.8rem; color: var(--secondary-text); }

/* ── PREVIEW ── */
.preview-section { background: var(--background); }

.preview-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
}

.preview-scroll-wrapper::-webkit-scrollbar { display: none; }

.preview-track {
  display: flex;
  gap: 0.875rem;
  width: max-content;
  padding-right: 1.5rem;
}

.preview-card {
  width: 175px;
  flex-shrink: 0;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--light-grey);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}

.preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--sshadow);
}

.preview-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.preview-card-info { padding: 0.65rem 0.75rem; }

.preview-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-card-cat { font-size: 0.7rem; color: var(--secondary-text); text-transform: capitalize; }

.preview-cta-card {
  width: 175px;
  flex-shrink: 0;
  background: var(--text);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.875rem;
  text-align: center;
  cursor: pointer;
  gap: 0.75rem;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}

.preview-cta-card:hover { transform: translateY(-3px); opacity: 0.9; }

.preview-cta-card p {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.cta-arrow {
  width: 38px; height: 38px;
  background: var(--brandcolor);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-arrow svg { width: 18px; height: 18px; }

/* ── HOW IT WORKS ── */
.how-users-section { background: var(--grey-100); }
.how-biz-section { background: var(--background); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  background: var(--background);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--light-grey);
  box-shadow: 0 2px 6px var(--shadow);
}

.how-biz-section .step { background: var(--grey-100); }

.step-num {
  width: 32px; height: 32px;
  background: var(--brandcolor);
  color: var(--text);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.step-desc { font-size: 0.825rem; color: var(--secondary-text); line-height: 1.6; }

/* ── CONTACT ── */
.contact-section { background: var(--grey-100); }

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--background);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  border: 1.5px solid var(--light-grey);
  transition: border-color 0.2s, background 0.2s;
  box-shadow: 0 2px 6px var(--shadow);
}

.contact-card:hover {
  border-color: var(--brandcolor);
  background: #fffbeb;
}

.contact-icon {
  width: 42px; height: 42px;
  background: var(--brandcolor);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; color: var(--text); }
.contact-label { font-size: 0.7rem; color: var(--secondary-text); font-weight: 500; margin-bottom: 0.1rem; }
.contact-value { font-size: 0.875rem; font-weight: 700; }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  color: #666;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.78rem;
}

.footer strong { color: var(--brandcolor); }

/* ── RESPONSIVE ── */
@media (min-width: 768px) {
  .hero { padding: 5rem 2.5rem 4rem; }
  .section { padding: 4rem 2.5rem; }
  .preview-scroll-wrapper { margin: 0 -2.5rem; padding-left: 2.5rem; }
  .preview-track { padding-right: 2.5rem; }
  .preview-card { width: 200px; }
  .preview-cta-card { width: 200px; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
}

@media (min-width: 1024px) {
  .hero { 
    padding: 6rem 4rem 5rem;
    padding-left: 10%; 
  }
  .section { padding: 5rem 4rem; }
  .preview-scroll-wrapper { margin: 0 -4rem; padding-left: 4rem; }
  .preview-track { padding-right: 4rem; }
  .preview-card { width: 215px; }
  .preview-cta-card { width: 215px; }
}