/* ============================================================
   Stellar iDea Labs — Main Stylesheet
   Brand: Charcoal #080C14 | Cyan #00AEEF | Indigo #6366F1
   Inspired by FoodBeacon logo palette
   ============================================================ */

:root {
  /* Dark backgrounds */
  --navy:        #080C14;
  --navy-light:  #0F1624;
  --navy-deep:   #04060A;

  /* Primary accent — FoodBeacon cyan */
  --gold:        #00AEEF;
  --gold-light:  #38C5F7;
  --gold-pale:   #E0F6FF;

  /* Secondary accent — deep electric blue */
  --teal:        #0072B8;
  --teal-light:  #0099D6;

  /* Neutrals */
  --white:       #ffffff;
  --gray-50:     #f8f9fa;
  --gray-100:    #f1f3f5;
  --gray-200:    #e9ecef;
  --gray-300:    #dee2e6;
  --gray-500:    #adb5bd;
  --gray-600:    #6c757d;
  --gray-700:    #495057;
  --gray-800:    #343a40;
  --gray-900:    #212529;

  /* Radius, shadow, transition */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.18);
  --transition:  all .2s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--gray-700); line-height: 1.75; }
.lead { font-size: 1.15rem; color: var(--gray-600); max-width: 680px; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-teal   { color: var(--teal); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.text-muted  { color: var(--gray-500); font-size: .88rem; }

/* ── LAYOUT ── */
.container       { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide  { max-width: 1400px; }
.section         { padding: 90px 0; }
.section-sm      { padding: 60px 0; }
.section-dark    { background: var(--navy); color: var(--white); }
.section-dark p  { color: rgba(255,255,255,.75); }
.section-accent  { background: var(--gold-pale); }
.section-gray    { background: var(--gray-50); }

.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }  .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mt-8{margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;}
.mt-40{margin-top:40px;} .mt-56{margin-top:56px;}
.mb-8{margin-bottom:8px;} .mb-16{margin-bottom:16px;} .mb-24{margin-bottom:24px;} .mb-40{margin-bottom:40px;}
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 600; border: none;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
  text-decoration: none;
}
.btn-primary       { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold          { background: var(--gold); color: var(--white); }
.btn-gold:hover    { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,174,239,.4); }
.btn-outline       { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white       { background: transparent; border: 2px solid rgba(255,255,255,.5); color: var(--white); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ── NAVIGATION ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,12,20,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,174,239,.12);
  height: 68px; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,12,20,.99);
  box-shadow: 0 2px 24px rgba(0,174,239,.1);
}
.navbar .container { height: 100%; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(0,174,239,.12); }
.nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown > a::after { content: '▾'; font-size: .75rem; opacity: .6; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #0F1624; border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(0,174,239,.15);
  padding: 8px 8px 8px; padding-top: 16px; min-width: 230px;
  opacity: 0; visibility: hidden; transition: var(--transition); pointer-events: none;
}
/* Transparent bridge fills the gap between the trigger link and the dropdown panel,
   so moving the mouse downward doesn't break the hover chain. */
.dropdown-menu::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; pointer-events: all; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75) !important; font-size: .85rem;
  padding: 10px 14px; border-radius: var(--radius-sm);
  transition: var(--transition); background: transparent !important;
}
.dropdown-menu a:hover { background: rgba(0,174,239,.1) !important; color: var(--gold) !important; }
.dropdown-menu a .icon { width: 20px; text-align: center; font-size: 1rem; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #04060A 0%, #080C14 55%, #0A1220 100%);
  position: relative; overflow: hidden; padding-top: 68px;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(255,255,255,.008) 3px, rgba(255,255,255,.008) 4px
  );
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,174,239,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 2;
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.hero-stat {
  text-align: center; padding: 20px 16px;
  background: rgba(0,174,239,.06); border: 1px solid rgba(0,174,239,.15);
  border-radius: var(--radius-md);
}
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat .lbl { font-size: .78rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }

/* ── SECTION HEADERS ── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header .eyebrow {
  display: inline-block; color: var(--gold); font-size: .78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray-600); }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); transition: var(--transition); overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.card-body { padding: 28px; }

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 32px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0); transition: transform .3s ease; transform-origin: left;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,174,239,.12);
  transform: translateY(-4px); border-color: rgba(0,174,239,.25);
}
.product-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.15rem; }
.product-card .vertical-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
  background: var(--gray-100); color: var(--gray-600);
}
.product-card .vertical-tag.gov    { background: rgba(0,114,184,.1);  color: #005a96; }
.product-card .vertical-tag.health { background: rgba(0,174,239,.1);  color: #0072B8; }
.product-card .vertical-tag.logi   { background: rgba(99,102,241,.1); color: #4338ca; }
.product-card .vertical-tag.ent    { background: rgba(139,92,246,.1); color: #6d28d9; }
.product-card .vertical-tag.hosp   { background: rgba(16,185,129,.1); color: #047857; }
.product-card .product-tagline {
  font-size: .8rem; font-weight: 600; color: var(--teal);
  margin: 8px 0 0; line-height: 1.4; font-style: italic;
}
.product-card p { font-size: .88rem; color: var(--gray-600); margin-bottom: 20px; line-height: 1.65; }
.product-card .card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-card a.learn-more {
  font-size: .85rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 6px; transition: var(--transition);
}
.product-card a.learn-more:hover { color: var(--gold); gap: 10px; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,174,239,.1); border: 1px solid rgba(0,174,239,.25);
  color: #0072B8; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 3px 9px; border-radius: 20px;
}

/* ── VERTICAL SECTION ── */
.vertical-block { padding: 56px 0; border-bottom: 1px solid var(--gray-200); }
.vertical-block:last-child { border-bottom: none; }
.vertical-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 28px;
}
.vertical-label .vl-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.vertical-label .vl-icon svg { width: 18px; height: 18px; }
.vertical-label::after {
  content: ''; height: 2px; width: 50px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ── TEAM ── */
.team-card { text-align: center; padding: 28px 20px; }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #0F1624);
  color: var(--gold); font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; border: 2px solid rgba(0,174,239,.3);
}
.team-card h4 { color: var(--navy); margin-bottom: 4px; }
.team-card .role { font-size: .82rem; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: .83rem; color: var(--gray-600); }

/* ── NEWS ── */
.news-card { padding: 24px; }
.news-meta { font-size: .78rem; color: var(--gray-500); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.news-meta .cat { background: var(--navy); color: var(--white); padding: 2px 10px; border-radius: 20px; font-weight: 600; }
.news-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; line-height: 1.35; }
.news-card p { font-size: .85rem; }

/* ── INCUBATOR STRIP ── */
.incubator-strip {
  background: linear-gradient(135deg, #04060A, #080C14);
  padding: 80px 0;
  border-top: 1px solid rgba(0,174,239,.1);
  border-bottom: 1px solid rgba(0,174,239,.1);
}
.incubator-strip .section-header h2 { color: var(--white); }
.incubator-strip .section-header p  { color: rgba(255,255,255,.6); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 1px; background: linear-gradient(90deg, var(--gold), var(--teal));
  z-index: 0; opacity: .4;
}
.process-step { text-align: center; padding: 20px 16px; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--gold);
  color: var(--gold); font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; position: relative; z-index: 2;
  box-shadow: 0 0 24px rgba(0,174,239,.2);
}
.process-step h4 { color: var(--white); margin-bottom: 8px; font-size: .95rem; }
.process-step p  { font-size: .82rem; color: rgba(255,255,255,.55); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #00AEEF 0%, #0072B8 100%);
  padding: 72px 0; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-banner .btn-primary { background: var(--navy); color: var(--white); }
.cta-banner .btn-primary:hover { background: var(--navy-light); }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* ── FOOTER ── */
.footer { background: #04060A; color: rgba(255,255,255,.65); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { filter: brightness(0) invert(1); opacity: .8; }
.footer-brand .wordmark { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand .wordmark span { color: var(--gold); }
.footer-brand p { font-size: .85rem; max-width: 280px; line-height: 1.7; }
.footer-col h5 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .85rem; margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-offices { margin-top: 20px; }
.footer-office { font-size: .82rem; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-office::before { content: '📍'; font-size: .75rem; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: .82rem;
}
.footer-bottom a { margin-left: 20px; }
.footer-bottom a:hover { color: var(--gold); }

/* ── PRODUCT PAGE HERO ── */
.product-hero {
  background: linear-gradient(135deg, #04060A, #080C14);
  padding: 140px 0 80px; color: var(--white);
  border-bottom: 1px solid rgba(0,174,239,.12);
}
.product-hero .eyebrow { color: var(--gold); }
.product-hero h1  { margin-bottom: 18px; }
.product-hero .lead { color: rgba(255,255,255,.75); max-width: 660px; margin-bottom: 32px; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold-light); }

/* ── FEATURE GRID ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-tile {
  padding: 28px; border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); transition: var(--transition); background: var(--white);
}
.feature-tile:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(0,174,239,.1); }
.feature-tile .ft-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-tile h4 { color: var(--navy); margin-bottom: 8px; }
.feature-tile p  { font-size: .87rem; color: var(--gray-600); }

/* ── AGENTIC CALLOUT ── */
.agentic-callout {
  background: linear-gradient(135deg, var(--navy), #0F1624);
  border-radius: var(--radius-lg); padding: 48px; color: var(--white);
  border: 1px solid rgba(0,174,239,.2); position: relative; overflow: hidden;
}
.agentic-callout::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,.15), transparent 70%);
}
.agentic-callout .ac-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,174,239,.12); border: 1px solid rgba(0,174,239,.25);
  color: var(--gold-light); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.agentic-callout h3 { color: var(--white); margin-bottom: 12px; }
.agentic-callout p { color: rgba(255,255,255,.72); margin-bottom: 0; }
.agentic-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.agentic-item { display: flex; align-items: flex-start; gap: 10px; }
.agentic-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 7px; flex-shrink: 0; }
.agentic-item p { font-size: .87rem; margin: 0; color: rgba(255,255,255,.7); }

/* ── STATS ── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-block .num { font-size: 2.6rem; font-weight: 800; color: var(--gold); display: block; }
.stat-block .lbl { font-size: .85rem; color: var(--gray-600); margin-top: 4px; }

/* ── CONTACT ── */
.contact-form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-800); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: .9rem; font-family: inherit;
  transition: var(--transition); outline: none; color: var(--gray-900);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(0,174,239,.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── PULSE ANIMATION ── */
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .agentic-items { grid-template-columns: 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
