/* ============================================
   Kidonest Network — Dark theme polish (black / gold / silver)
   Overrides light remnants in style.css
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --royal-blue: #d4af37;
  --royal-blue-light: #f0d78c;
  --deep-navy: #000000;
  --navy-mid: #121212;
  --gold: #d4af37;
  --gold-light: #f0d78c;
  --gold-dark: #8a6e2f;
  --emerald: #c9a227;
  --emerald-light: #e8c547;
  --white: #ffffff;
  --off-white: #0f0f0f;
  --gray-50: #141414;
  --gray-100: #1c1c1c;
  --gray-200: #2a2a2a;
  --gray-400: #9a9a9a;
  --gray-600: #c8c8c8;
  --gray-800: #f2f2f2;
  --text: #f2f2f2;
  --text-muted: #b8b8b8;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --border-gold: rgba(212, 175, 55, 0.35);
  --led-blue: #3b82f6;
  --gradient-primary: linear-gradient(135deg, #000000 0%, #1a1408 55%, #7a5c12 100%);
  --gradient-gold: linear-gradient(135deg, #8a6e2f 0%, #d4af37 50%, #f0d78c 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.22);
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

body {
  background: #000 !important;
  color: var(--text);
}

/* Restore Bootstrap-style side spacing (style.css * { padding:0 } clears gutters) */
.container,
.container-fluid,
.navbar-main .container,
.hero-section .hero-inner,
.section-padding > .container,
.section-padding-sm > .container,
.page-header > .container,
.footer .container,
.cta-section > .container,
.auth-section > .container,
.top-bar .container {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

@media (min-width: 576px) {
  .container,
  .navbar-main .container,
  .hero-section .hero-inner,
  .section-padding > .container,
  .section-padding-sm > .container,
  .page-header > .container,
  .footer .container,
  .cta-section > .container,
  .auth-section > .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .container,
  .navbar-main .container,
  .hero-section .hero-inner,
  .section-padding > .container,
  .section-padding-sm > .container,
  .page-header > .container,
  .footer .container,
  .cta-section > .container,
  .auth-section > .container {
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
  }
}

.row {
  --bs-gutter-x: 1.5rem;
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.row > * {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
}

/* Unicode icon helper */
.u-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
  speak: none;
}

/* Navbar — dark glass */
.navbar-main {
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid transparent;
}

.navbar-main.scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.brand-text h1 {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text h1 .nest {
  color: #e8e8e8;
}

.brand-text > span {
  color: var(--text-muted);
}

.navbar-nav .nav-link {
  color: var(--text-muted);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold);
}

/* Mobile: gold underline sits under the menu label (not mid/right of full row) */
@media (max-width: 991.98px) {
  .navbar-main .navbar-collapse {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
  }

  .navbar-main .navbar-nav {
    align-items: flex-start !important;
  }

  .navbar-main .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-main .navbar-nav .nav-link {
    display: inline-block;
    width: auto;
    max-width: 100%;
    padding: 10px 4px !important;
    text-align: left;
  }

  .navbar-main .navbar-nav .nav-link::after {
    left: 4px;
    right: auto;
    transform: none;
    width: 0;
    bottom: 4px;
  }

  .navbar-main .navbar-nav .nav-link:hover::after,
  .navbar-main .navbar-nav .nav-link.active::after {
    width: calc(100% - 8px);
  }

  .navbar-main .nav-auth-group {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    gap: 10px;
  }

  .navbar-main .nav-auth-group .nav-login {
    display: inline-flex;
  }

  .navbar-main .nav-auth-group .btn-register-nav {
    width: auto;
  }
}

.navbar-toggler {
  border-color: var(--border-gold);
}

.navbar-toggler-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(10deg);
}

/* Hero — same horizontal rhythm as other .container sections */
#hero.hero-section,
.hero-section {
  min-height: auto !important;
  background: #000;
  overflow-x: clip;
  overflow-y: visible;
  display: block !important;
  padding: 0 !important;
}

.hero-section .hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px !important;
  padding-bottom: 80px !important;
}

.hero-overlay {
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.35) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(212, 175, 55, 0.18) 0%, transparent 55%);
}

.hero-bg {
  overflow: hidden;
}

.hero-bg img {
  opacity: 0.55;
  object-position: center right;
}

.hero-section .hero-content {
  padding: 0 !important;
  max-width: none;
}

.hero-section .hero-subtitle {
  max-width: 100%;
}

.hero-section .hero-product-float {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.hero-section .hero-product-float img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .hero-section .hero-inner {
    padding-top: 88px !important;
    padding-bottom: 48px !important;
  }

  #hero.hero-section {
    min-height: auto !important;
    align-items: stretch;
  }

  #hero .hero-content {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .hero-section .hero-inner {
    padding-top: 72px !important;
    padding-bottom: 40px !important;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 7vw, 2rem);
    word-wrap: break-word;
  }

  .hero-brand-mark {
    gap: 10px;
  }

  .hero-brand-mark img {
    width: 56px;
  }

  .hero-brand-mark .brand-name {
    font-size: 1.35rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 16px;
  }

  .back-to-top {
    right: 80px;
    bottom: 24px;
  }
}

.hero-badge {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 16px;
}

.hero-title {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.hero-brand-mark img {
  width: 72px;
  height: auto;
}

.hero-brand-mark .brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero-brand-mark .brand-name .kido { color: var(--gold); }
.hero-brand-mark .brand-name .nest { color: #e8e8e8; }

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.25rem 0 1rem;
  max-width: 28rem;
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-divider .diamond {
  color: var(--gold);
  font-size: 0.7rem;
}

.hero-tagline {
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hero-led {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  width: min(280px, 40%);
  height: 3px;
  border-radius: 999px;
  background: var(--led-blue);
  box-shadow: 0 0 18px 4px rgba(59, 130, 246, 0.65);
  z-index: 2;
  animation: ledPulse 2.8s ease-in-out infinite;
}

@keyframes ledPulse {
  0%, 100% { opacity: 0.7; box-shadow: 0 0 14px 3px rgba(59, 130, 246, 0.45); }
  50% { opacity: 1; box-shadow: 0 0 24px 6px rgba(59, 130, 246, 0.85); }
}

.hero-product-float {
  position: relative;
  z-index: 2;
  width: 100%;
  animation: floatY 5.5s ease-in-out infinite;
}

.hero-product-float img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.65));
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Surfaces / cards → dark */
.why-card,
.venture-card,
.faq-item,
.benefit-card,
.contact-info-card,
.contact-form-wrap,
.auth-card,
.opportunity-hero-card,
.growth-chart,
.news-card,
.ethics-card,
.timeline-content,
.login-details-card {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  color: var(--text);
}

.faq-question {
  color: var(--text);
}

.why-card h4,
.benefit-card h4,
.contact-info-card h4,
.auth-card-header h2,
.venture-card-body h4 {
  color: #fff;
}

.why-icon,
.about-feature-item i,
.auth-benefit-item i,
.contact-info-icon,
.auth-icon-wrap {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
}

.why-card:hover .why-icon {
  background: var(--gradient-gold);
  color: #000;
}

.auth-section {
  background: radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.12), transparent 50%), #000;
}

.auth-card {
  background: var(--surface-2);
}

.form-control-custom {
  background: #0a0a0a;
  border-color: #333;
  color: #fff;
}

.form-control-custom:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: #000;
}

.form-group label {
  color: var(--text-muted);
}

.btn-outline-dark {
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-dark:hover {
  background: var(--gold);
  color: #000;
}

.page-header {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(26, 20, 8, 0.9)),
    url("../images/product-2.png") center/cover;
}

.section-title {
  color: #fff;
}

.bg-off-white,
.bg-gray,
.founder-section {
  background: #0a0a0a;
}

.bg-navy {
  background: #000;
}

.glass-card {
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid var(--border-gold);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.feature-strip-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  background: #0a0a0a;
}

.feature-strip-item .u-icon {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.65rem;
  display: block;
}

.feature-strip-item h5 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8e8e8;
  font-weight: 600;
  margin: 0;
  padding: 0 0.25rem;
  line-height: 1.4;
}

.section-padding-sm {
  padding-left: 0;
  padding-right: 0;
}

.section-padding-sm > .container {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.learn-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.learn-item .u-icon {
  color: var(--gold);
  font-size: 1.25rem;
  margin-top: 2px;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.product-gallery .stack {
  display: grid;
  gap: 1rem;
}

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
}

.price-pill .amt {
  font-size: 1.6rem;
}

.terms-content {
  max-width: 860px;
  margin: 0 auto;
}

.terms-content h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.terms-content p,
.terms-content li {
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.terms-content ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.terms-content ul li {
  margin-bottom: 0.4rem;
}

.login-details-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem;
  text-align: center;
}

.login-details-card .cred-box {
  background: #000;
  border: 1px dashed var(--border-gold);
  padding: 1.25rem;
  margin: 1.5rem 0;
  text-align: left;
}

.login-details-card .cred-box dt {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.login-details-card .cred-box dd {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.team-frame {
  border: 1px solid var(--border-gold);
  overflow: hidden;
}

.team-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.legal-meta strong {
  color: var(--gold);
}

.legal-meta a {
  color: var(--gold);
}

.legal-fact {
  border-bottom-color: #2a2a2a;
}

.legal-fact dt {
  color: #9a9a9a;
}

.legal-fact dd {
  color: #f5f0e6;
}

.legal-verify {
  color: #9a9a9a;
}

.legal-cert-card {
  background: var(--surface, #111);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.legal-cert-header h3 {
  color: #fff;
}

.legal-cert-header span,
.legal-cert-caption {
  color: #9a9a9a;
}

.legal-cert-frame {
  border-color: var(--border-gold);
  background: #0a0a0a;
}

.legal-inline-link {
  color: var(--gold);
}

.legal-inline-link:hover {
  color: var(--gold-light, #f0d78c);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient-gold);
  z-index: 100000;
}

@media (max-width: 991px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .hero-led { display: none; }
}

@media (max-width: 575px) {
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-left: 0;
    padding-right: 0;
  }

  .feature-strip-item {
    padding: 1.15rem 1.25rem;
  }

  .section-padding-sm > .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product-float,
  .hero-led {
    animation: none;
  }
}

.navbar-main .brand-logo {
  width: 82px;
  height: 82px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.why-card,
.benefit-card,
.ethics-card,
.contact-info-card,
.auth-card,
.faq-item {
  background: #121212 !important;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.why-card h4,
.benefit-card h4 {
  color: #f2f2f2;
}

.lead, .why-card p, .benefit-card p, .ethics-card p {
  color: #c8c8c8;
}

.parent-reviews::before {
  background: linear-gradient(to bottom, #0a0a0a, transparent);
}

.parent-reviews::after {
  background: linear-gradient(to top, #0a0a0a, transparent);
}

.parent-review-card {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.parent-review-text {
  color: var(--text-muted);
}

.parent-review-author h5 {
  color: #fff;
}

.parent-review-author span {
  color: #9a9a9a;
}

.bank-details-card {
  background: var(--surface);
  border: 1px solid var(--border-gold);
}

.bank-detail-value {
  color: #fff;
}

.bank-details-note {
  color: var(--text-muted);
}
