/* SkyBridge — GrowPips-inspired landing enhancements (keeps brand colors) */

@keyframes gp-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes gp-pulse-ring {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.25; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

@keyframes gp-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Hero upgrade */
.hero--gp {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0B1F3A 0%, #132d52 45%, #1a3a6b 100%);
}

.hero--gp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1600&q=80") center/cover;
  opacity: 0.12;
  pointer-events: none;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.25);
  animation: gp-pulse-ring 4s ease-in-out infinite;
}

.hero-shape--1 { width: 320px; height: 320px; top: 10%; right: 8%; }
.hero-shape--2 { width: 180px; height: 180px; bottom: 20%; left: 5%; animation-delay: 1s; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  animation: gp-fade-up 0.8s ease both;
}

.hero--gp h1 {
  max-width: 16ch;
  animation: gp-fade-up 0.8s ease 0.1s both;
}

.hero--gp .hero-sub {
  animation: gp-fade-up 0.8s ease 0.2s both;
}

.hero--gp .hero-buttons {
  animation: gp-fade-up 0.8s ease 0.3s both;
}

.hero-visual--gp {
  position: relative;
  animation: gp-fade-up 1s ease 0.35s both;
}

.hero-visual--gp img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: gp-float 6s ease-in-out infinite;
}

.hero-visual-float {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: #fff;
  color: var(--color-primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  max-width: 200px;
}

.hero-visual-float strong {
  display: block;
  font-size: 1.25rem;
  color: var(--color-secondary);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-dark);
  animation: gp-fade-up 0.8s ease 0.45s both;
}

.hero-trust span {
  font-size: 0.8125rem;
  color: var(--color-muted-on-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust span::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
}

/* Plan cards — detailed */
.plans-grid--gp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.plan-card--gp {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.plan-card--gp:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.12);
}

.plan-card--gp .plan-card-img {
  height: 140px;
  object-fit: cover;
  width: 100%;
}

.plan-card--gp .plan-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-daily-rate {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.1;
  margin: 0.5rem 0;
}

.plan-daily-rate small {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
}

.plan-specs {
  list-style: none;
  margin: 1rem 0 1.25rem;
  font-size: 0.8125rem;
  border-top: 1px solid var(--color-border);
}

.plan-specs li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.plan-specs li span:first-child { color: var(--color-muted); }
.plan-specs li span:last-child { font-weight: 600; color: var(--color-primary); }

.plan-card--gp .btn { margin-top: auto; width: 100%; }

.plan-card--gp.is-featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.plan-card--gp.is-featured .plan-card-img-wrap {
  position: relative;
}

.plan-card--gp.is-featured .plan-card-img-wrap::after {
  content: "Premier";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
}

/* Calculator */
.calc-section {
  background: linear-gradient(180deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.calc-field {
  margin-bottom: 1.25rem;
}

.calc-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.calc-field select,
.calc-field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.calc-result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--color-accent-muted);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
}

.calc-result-row--profit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border);
}

.calc-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Programs (grants-style) */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.program-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.program-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.program-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.program-card p {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.program-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.program-cta h3 { color: #fff; margin-bottom: 1rem; }
.program-cta p { color: var(--color-muted-on-dark); font-size: 0.9375rem; margin-bottom: 1rem; }
.program-cta ul { list-style: none; font-size: 0.875rem; color: var(--color-muted-on-dark); }
.program-cta li { padding: 0.35rem 0; padding-left: 1.25rem; position: relative; }
.program-cta li::before { content: "→"; position: absolute; left: 0; color: var(--color-accent); }

/* How it works — step cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.step-card:hover { transform: translateY(-4px); }

.step-card-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-muted);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* Why choose — icon cards */
.why-grid--gp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card--gp {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.why-card--gp:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-card--gp h3 { color: #fff; font-size: 1.0625rem; }
.why-card--gp p { color: var(--color-muted-on-dark); font-size: 0.875rem; margin-top: 0.5rem; }

/* Live stats band */
.stats--gp {
  background: var(--color-secondary);
  padding: 3rem 0;
}

.stats--gp .stat-item h3 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.stats--gp .stat-item p {
  color: rgba(255, 255, 255, 0.85);
}

/* Payment methods */
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

.payment-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.payment-badge:hover { transform: scale(1.05); }

.payment-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1563986768609-322da13575f3?w=1200&q=80") center/cover;
  opacity: 0.08;
}

.cta-band .container { position: relative; }

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--color-muted-on-dark);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.cta-band .hero-buttons { justify-content: center; }

/* Newsletter */
.newsletter-box {
  max-width: 480px;
  margin: 2rem auto 0;
  display: flex;
  gap: 0.5rem;
}

.newsletter-box input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-body);
}

.newsletter-box input::placeholder { color: var(--color-muted-on-dark); }

/* Testimonial with avatar */
.testimonial-card--gp {
  display: flex;
  flex-direction: column;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--color-accent);
}

@media (max-width: 1024px) {
  .plans-grid--gp { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: 1fr; }
  .program-cta { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .plans-grid--gp,
  .steps-grid,
  .programs-grid,
  .why-grid--gp {
    grid-template-columns: 1fr;
  }
  .hero--gp { min-height: auto; padding-bottom: 3rem; }
  .newsletter-box { flex-direction: column; }
}
