/*
Theme Name:   Helium Digital — Divi Child
Theme URI:    https://heliumdigital.co
Description:  Corporate parent landing page for Helium Digital. Single-page billboard. Blue + red brand system matching the hippo + balloon logo.
Author:       Helium Digital
Author URI:   https://heliumdigital.co
Template:     Divi
Version:      1.2.0
Text Domain:  helium-child
*/

/* ===============================================
   ROOT VARIABLES — Helium Brand System
   =============================================== */
:root {
  /* Brand colors */
  --hd-navy: #1B365D;
  --hd-navy-dark: #122847;
  --hd-navy-light: #2A4D7A;
  --hd-red: #E63946;
  --hd-red-dark: #C82F3C;

  /* Neutrals */
  --hd-white: #FFFFFF;
  --hd-off-white: #F8FAFC;
  --hd-gray-50: #F9FAFB;
  --hd-gray-100: #F3F4F6;
  --hd-gray-200: #E5E7EB;
  --hd-gray-400: #9CA3AF;
  --hd-gray-500: #6B7280;
  --hd-gray-600: #4B5563;
  --hd-gray-700: #374151;
  --hd-gray-900: #1F2937;

  /* Type */
  --hd-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --hd-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Layout */
  --hd-container: 1200px;
  --hd-container-narrow: 720px;
}

/* ===============================================
   IMPORT FONTS
   =============================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===============================================
   BASE
   =============================================== */
body, body.et_pb_pagebuilder_layout, body.et_divi_theme {
  font-family: var(--hd-font-body);
  color: var(--hd-gray-900);
  background: var(--hd-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hd-font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--hd-gray-900);
  margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }
a { color: var(--hd-navy); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--hd-red); }

/* ===============================================
   HIDE DIVI DEFAULTS — Header / Footer
   =============================================== */
#main-header,
#top-header,
.et_pb_section_promo,
#footer-bottom,
#footer-widgets,
.et_pb_widget_area {
  display: none !important;
}
#main-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ===============================================
   CUSTOM HEADER (sticky, minimal)
   =============================================== */
.hd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hd-white);
  border-bottom: 1px solid var(--hd-gray-200);
  padding: 1rem 0;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.hd-header-inner {
  max-width: var(--hd-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hd-navy);
  text-decoration: none;
}
.hd-logo:hover { color: var(--hd-navy); }
.hd-logo-image {
  height: 44px;
  width: auto;
  display: block;
}
/* Footer variant — adjust to dark background */
.hd-footer-brand .hd-logo-image {
  height: 48px;
}

.hd-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hd-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--hd-gray-700);
}
.hd-nav a:hover { color: var(--hd-navy); }

.hd-nav-cta {
  background: var(--hd-navy);
  color: var(--hd-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
}
.hd-nav-cta:hover { background: var(--hd-navy-dark); color: var(--hd-white) !important; }

/* ===============================================
   CONTAINERS
   =============================================== */
.hd-container {
  max-width: var(--hd-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hd-container-narrow {
  max-width: var(--hd-container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===============================================
   SECTION SPACING
   =============================================== */
.hd-section {
  padding: 6rem 0;
}
.hd-section-sm {
  padding: 4rem 0;
}
.bg-navy { background: var(--hd-navy); color: var(--hd-white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--hd-white); }
.bg-off-white { background: var(--hd-off-white); }
.bg-gray-50 { background: var(--hd-gray-50); }

/* ===============================================
   HERO
   =============================================== */
.hd-hero {
  position: relative;
  background: linear-gradient(135deg, var(--hd-navy) 0%, var(--hd-navy-dark) 100%);
  color: var(--hd-white);
  padding: 7rem 0 6rem;
  overflow: hidden;
}

.hd-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--hd-red);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(60px);
}

.hd-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hd-kicker {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--hd-red);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: 100px;
}

.hd-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--hd-white);
}
.hd-hero h1 .accent {
  color: var(--hd-red);
}

.hd-hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

.hd-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===============================================
   BUTTONS
   =============================================== */
.hd-btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.hd-btn-primary {
  background: var(--hd-red);
  color: var(--hd-white);
  border-color: var(--hd-red);
}
.hd-btn-primary:hover {
  background: var(--hd-red-dark);
  border-color: var(--hd-red-dark);
  color: var(--hd-white);
  transform: translateY(-1px);
}

.hd-btn-secondary {
  background: transparent;
  color: var(--hd-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.hd-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--hd-white);
  color: var(--hd-white);
}

.hd-btn-navy {
  background: var(--hd-navy);
  color: var(--hd-white);
  border-color: var(--hd-navy);
}
.hd-btn-navy:hover {
  background: var(--hd-navy-dark);
  border-color: var(--hd-navy-dark);
  color: var(--hd-white);
  transform: translateY(-1px);
}

.hd-btn-outline {
  background: transparent;
  color: var(--hd-navy);
  border-color: var(--hd-navy);
}
.hd-btn-outline:hover {
  background: var(--hd-navy);
  color: var(--hd-white);
}

/* ===============================================
   INDUSTRIES STRIP (under hero)
   Quiet trust signal — who we build for.
   =============================================== */
.hd-industries {
  background: var(--hd-white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--hd-gray-200);
}
.hd-industries-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.hd-industries-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hd-gray-500);
  font-weight: 600;
  white-space: nowrap;
}
.hd-industries-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hd-industry {
  font-size: 1rem;
  font-weight: 600;
  color: var(--hd-navy);
  letter-spacing: -0.01em;
  position: relative;
}
.hd-industry::after {
  content: '·';
  position: absolute;
  right: -1.15rem;
  color: var(--hd-gray-400);
  font-weight: 400;
}
.hd-industry:last-child::after { display: none; }

@media (max-width: 740px) {
  .hd-industries-inner { gap: 1rem; }
  .hd-industries-list { gap: 0.75rem 1.5rem; }
  .hd-industry::after { right: -0.85rem; }
}

/* ===============================================
   SECTION HEADERS
   =============================================== */
.hd-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.hd-section-header .hd-kicker {
  color: var(--hd-red);
  background: rgba(230, 57, 70, 0.08);
  border-color: rgba(230, 57, 70, 0.2);
  margin-bottom: 1rem;
}
.hd-section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.hd-section-header .hd-lead {
  font-size: 1.15rem;
  color: var(--hd-gray-600);
  line-height: 1.6;
}

/* ===============================================
   WHAT WE DO — Three-column
   =============================================== */
.hd-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.hd-pillar {
  background: var(--hd-white);
  border: 1px solid var(--hd-gray-200);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.2s ease;
}
.hd-pillar:hover {
  border-color: var(--hd-navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(27, 54, 93, 0.08);
}
.hd-pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--hd-navy);
  color: var(--hd-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hd-pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--hd-gray-900);
}
.hd-pillar p {
  font-size: 0.95rem;
  color: var(--hd-gray-600);
  margin: 0;
  line-height: 1.6;
}

/* ===============================================
   PRODUCTS GRID
   5 standalones. Row 1 = 3 cards. Row 2 = 2 cards, centered via flexbox.
   =============================================== */
.hd-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.hd-product {
  flex: 0 1 calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
}

@media (max-width: 980px) {
  .hd-product { flex: 0 1 100%; max-width: 100%; }
}
.hd-product {
  background: var(--hd-white);
  border: 1px solid var(--hd-gray-200);
  border-radius: 8px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hd-product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--hd-navy);
  transition: background 0.2s ease;
}
.hd-product:hover {
  border-color: var(--hd-navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(27, 54, 93, 0.08);
  color: inherit;
}
.hd-product:hover::before { background: var(--hd-red); }

.hd-product-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hd-navy);
  margin-bottom: 0.25rem;
}
.hd-product-tagline {
  font-size: 0.85rem;
  color: var(--hd-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hd-product-desc {
  font-size: 0.95rem;
  color: var(--hd-gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.hd-product-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hd-red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===============================================
   LAUNCHED — standalone dedicated section
   Full-width navy with red glow. Big headline, feature pills, CTA.
   =============================================== */
.hd-launched {
  background: linear-gradient(135deg, var(--hd-navy) 0%, var(--hd-navy-dark) 100%);
  color: var(--hd-white);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hd-launched::before {
  content: '';
  position: absolute;
  top: -250px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: var(--hd-red);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}
.hd-launched::after {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: var(--hd-red);
  opacity: 0.06;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}
.hd-launched-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.hd-launched .hd-kicker {
  color: var(--hd-red);
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.35);
  margin-bottom: 1.5rem;
}
.hd-launched h2 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: var(--hd-white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 900;
}
.hd-launched-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.hd-launched-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.hd-launched-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hd-feature {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--hd-white);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}
.hd-feature:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}
.hd-launched-cta {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .hd-launched { padding: 5rem 0; }
  .hd-launched-features { gap: 0.5rem; }
  .hd-feature { font-size: 0.78rem; padding: 0.45rem 0.9rem; }
}

/* ===============================================
   FOUNDERS
   =============================================== */
.hd-founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.hd-founder {
  background: var(--hd-white);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--hd-gray-200);
  text-align: center;
  transition: all 0.2s ease;
}
.hd-founder:hover {
  border-color: var(--hd-navy);
  box-shadow: 0 12px 24px rgba(27, 54, 93, 0.08);
}
.hd-founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid var(--hd-navy);
  position: relative;
  background: linear-gradient(135deg, var(--hd-navy), var(--hd-navy-light));
}
.hd-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hd-founder-photo::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  background: var(--hd-red);
  border-radius: 50%;
  border: 3px solid var(--hd-white);
}
.hd-founder-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--hd-navy);
  letter-spacing: -0.01em;
}
.hd-founder-title {
  font-size: 0.85rem;
  color: var(--hd-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hd-founder-bio {
  font-size: 0.95rem;
  color: var(--hd-gray-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.hd-founder-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.hd-founder-link {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--hd-gray-200);
  color: var(--hd-gray-700);
  text-decoration: none;
  transition: all 0.2s ease;
}
.hd-founder-link:hover {
  border-color: var(--hd-navy);
  color: var(--hd-navy);
  background: var(--hd-gray-50);
}

/* ===============================================
   TALK TO US (chatbot + voicebot CTAs)
   =============================================== */
.hd-talk-to-us {
  background: linear-gradient(135deg, var(--hd-navy) 0%, var(--hd-navy-dark) 100%);
  color: var(--hd-white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hd-talk-to-us::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: var(--hd-red);
  opacity: 0.06;
  border-radius: 50%;
  filter: blur(60px);
}
.hd-talk-to-us h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--hd-white);
  margin-bottom: 1rem;
}
.hd-talk-to-us .hd-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hd-contact-modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.hd-contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.2s ease;
}
.hd-contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.hd-contact-icon {
  width: 56px;
  height: 56px;
  background: var(--hd-red);
  color: var(--hd-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}
.hd-contact-card h3 {
  font-size: 1.25rem;
  color: var(--hd-white);
  margin-bottom: 0.5rem;
}
.hd-contact-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.hd-fallback {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.hd-fallback a {
  color: var(--hd-white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.hd-fallback a:hover { color: var(--hd-red); border-color: var(--hd-red); }

/* ===============================================
   FOOTER
   =============================================== */
.hd-footer {
  background: var(--hd-gray-900);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.hd-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.hd-footer-brand .hd-logo {
  color: var(--hd-white);
  margin-bottom: 1rem;
}
.hd-footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 360px;
}
.hd-footer h4 {
  color: var(--hd-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hd-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hd-footer ul li {
  margin-bottom: 0.5rem;
}
.hd-footer ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.hd-footer ul li a:hover { color: var(--hd-red); }

.hd-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.hd-footer-bottom a { color: rgba(255,255,255,0.7); }
.hd-footer-bottom a:hover { color: var(--hd-red); }

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 980px) {
  .hd-section { padding: 4rem 0; }
  .hd-hero { padding: 5rem 0 4rem; }
  .hd-pillars { grid-template-columns: 1fr; }
  .hd-product-bundle { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
  .hd-founders { grid-template-columns: 1fr; }
  .hd-contact-modes { grid-template-columns: 1fr; }
  .hd-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hd-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hd-nav { display: none; }
}

@media (max-width: 640px) {
  .hd-hero-ctas { flex-direction: column; align-items: stretch; }
  .hd-hero-ctas .hd-btn { width: 100%; }
  .hd-footer-grid { grid-template-columns: 1fr; }
}
