/* ============================================================
   Technology GO Landing Pages (Wind & Solar) — shared base
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --go-dark:    #0c4330;
  --go-green:   #10543c;
  --go-cream:   #f4f1ea;
  --go-yellow:  #fff186;
  --go-muted:   rgba(255,255,255,0.6);
  --go-link:    rgba(255,255,255,0.08);
}

/* ── Shared Layout Helpers ─────────────────────────────────── */
.go-lp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.go-lp-hero {
  background: #fff;
  position: relative;
  min-height: 580px;
  margin-bottom: -1px;
}

.go-lp-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 580px;
}

.go-lp-hero-content {
  flex: 0 0 auto;
  width: 55%;
  padding: 128px 40px 120px 11%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
  background: transparent;
}

.go-lp-hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.go-lp-hero-divider {
  display: block;
  width: 17px;
  height: 2.5px;
  background: var(--go-green);
  border-radius: 2px;
  flex-shrink: 0;
}

.go-lp-hero-label-text {
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--go-green);
  white-space: nowrap;
}

.go-lp-hero-heading {
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1.04;
  color: var(--go-green);
  margin: 0;
}

.go-lp-hero-description {
  max-width: 560px;
}

.go-lp-hero-description p {
  font-family: Generalsans, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--go-green);
  margin: 0 0 12px;
}

.go-lp-hero-description p:last-child {
  margin-bottom: 0;
}

.go-lp-hero-description strong {
  font-weight: 700;
}

.go-lp-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 8px;
}

/* CTA Buttons */
.go-lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--go-green);
  color: #fff;
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.go-lp-btn-primary:hover {
  background: var(--go-dark);
  color: #fff;
}

.go-lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--go-cream);
  color: var(--go-green);
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.go-lp-btn-secondary:hover {
  background: #e6e3dc;
  color: var(--go-green);
}

/* Hero image / canvas wrap — right-side layer */
.go-lp-hero-image-wrap {
  position: absolute;
  left: 55%;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 6%),
    linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, black 15%, black 75%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right, transparent 0%, black 6%),
    linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, black 15%, black 75%, transparent 100%);
  mask-composite: intersect;
}

/* ============================================================
   LOGO SCROLLER SECTION
   ============================================================ */
.go-lp-logo-section {
  background: var(--go-green);
  padding: 64px 0 40px;
}

.go-lp-section-subheading {
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.2;
  color: #fff;
  text-align: center;
  margin: 0 0 8px;
}

/* Override logo-scroller to work on dark background */
.go-lp-logo-section .embed-wrapper-logos {
  padding-top: 24px;
  padding-bottom: 8px;
}

/* ============================================================
   FEATURES (WHY CHOOSE) SECTION
   ============================================================ */
.go-lp-features-section {
  background: var(--go-green);
  padding: 80px 0 100px;
}

.go-lp-features-heading {
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.35;
  color: #fff;
  text-align: center;
  margin: 0 0 56px;
}

/* 3-column grid, 2 rows */
.go-lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* Cards */
.go-lp-card {
  background: var(--go-cream);
  border-radius: 8px;
  padding: 36px 40px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.go-lp-card--tall {
  min-height: 440px;
}

.go-lp-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2px;
}

.go-lp-card-icon img,
.go-lp-card-icon svg {
  display: block;
}

.go-lp-card-heading {
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  color: var(--go-green);
  margin: 0;
}

.go-lp-card-text {
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
  color: var(--go-green);
  margin: 0;
}

.go-lp-card-link {
  color: var(--go-green);
  text-decoration: underline;
  font-weight: 500;
}

.go-lp-card-link:hover {
  text-decoration: none;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.go-lp-cta-banner {
  background: var(--go-green);
  border-radius: 8px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 28px 40px;
  align-items: center;
  margin-top: 32px;
}

.go-lp-cta-banner-heading {
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  color: var(--go-cream);
  display: block;
}

.go-lp-cta-banner-desc {
  font-family: Generalsans, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--go-muted);
}

.go-lp-btn-demo {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  background: transparent;
  color: var(--go-yellow);
  font-family: Generalsans, Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.go-lp-btn-demo:hover {
  background: var(--go-yellow);
  color: var(--go-green);
}

/* ── Navbar colour override (this page only) ────────────────── */
.detailednavbar,
.unique-nav-container {
  background-color: #10543c !important;
}

/* ── CTA section colour override (this page only) ───────────── */
.cta-section {
  background-color: #10543c !important;
}

/* ============================================================
   ANIMATION CANVAS
   ============================================================ */

/* Canvas fills the image-wrap exactly */
.go-lp-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Footer colour override (this page only) ───────────────── */
.footer.cta-section,
.footer.cta-section-copy {
  background-color: #10543c !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── 1440px – subtle tightening ────────────────────────────── */
@media (max-width: 1440px) {
  .go-lp-hero-content {
    padding-left: 8%;
  }
}

/* ── 1100px – moderate adjustments ─────────────────────────── */
@media (max-width: 1100px) {
  .go-lp-hero-content {
    padding-left: 5%;
    width: 58%;
  }

  .go-lp-cta-banner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .go-lp-cta-banner-text {
    grid-column: 1;
    grid-row: 1;
  }

  .go-lp-cta-banner-desc {
    grid-column: 1;
    grid-row: 2;
  }

  .go-lp-btn-demo {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
  }
}

/* ── 1024px – 3-col still, cards tighter ───────────────────── */
@media (max-width: 1024px) {
  .go-lp-features-grid {
    gap: 16px;
  }

  .go-lp-card {
    padding: 28px 28px 32px;
  }
}

/* ── 991px – keep CTA image visible (base.css hides it here) ─── */
@media (max-width: 991px) {
  .cta-image-contain {
    display: flex !important;
  }
}

/* ── 900px – CTA banner stacks ──────────────────────────────── */
@media (max-width: 900px) {
  .go-lp-cta-banner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    text-align: center;
  }

  .go-lp-cta-banner-text,
  .go-lp-cta-banner-desc,
  .go-lp-btn-demo {
    grid-column: auto;
    grid-row: auto;
  }

  .go-lp-btn-demo {
    order: 0;
    justify-content: center;
    align-self: center;
    justify-self: center;
  }
}

/* ── 768px – hero still side-by-side; features 2-col ────────── */
@media (max-width: 768px) {
  .cta-image-contain {
    display: none !important;
  }

  .go-lp-hero {
    min-height: auto;
  }

  .go-lp-hero-inner {
    min-height: auto;
  }

  .go-lp-hero-content {
    width: 55%;
    padding: 120px 4% 48px 6%;
    gap: 18px;
  }

  .go-lp-section-subheading {
    font-size: 28px;
  }

  .go-lp-features-section {
    padding: 60px 0 70px;
  }

  .go-lp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .go-lp-card--tall {
    min-height: auto;
  }

  .go-lp-cta-banner {
    padding: 32px 28px;
  }
}

/* ── 580px – hero stacks ─────────────────────────────────────── */
@media (max-width: 580px) {
  .go-lp-hero-inner {
    flex-direction: column;
  }

  .go-lp-hero-content {
    width: 100%;
    padding: 88px 6% 40px;
    gap: 20px;
  }

  .go-lp-hero-image-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    z-index: 1;
    margin-top: -48px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 75%, transparent 100%);
  }

  .go-lp-hero-description p {
    font-size: 16px;
  }

  .code-embed-21 {
    flex-shrink: 0;
  }
}

/* ── 555px – a touch more top breathing room ────────────────── */
@media (max-width: 555px) {
  .go-lp-hero-content {
    padding-top: 108px;
  }
}

/* ── 480px – 1-col features, small mobile ──────────────────── */
@media (max-width: 480px) {
  .go-lp-hero-content {
    padding: 80px 5% 36px;
  }

  .go-lp-features-section {
    padding: 48px 0 56px;
  }

  .go-lp-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 479px – hide stray Soldera logo in CTA ─────────────────── */
@media (max-width: 479px) {
  .code-embed-21 {
    display: none;
  }
}

/* ── 390px – a touch more top breathing room ────────────────── */
@media (max-width: 390px) {
  .go-lp-hero-content {
    padding-top: 120px;
  }
}
