/* ── BRANDT INTERACTIVE — SHARED STYLES ───────────────────────────────── */

:root {
  --navy:         #1E3A8A;
  --blue-mid:     #2563EB;
  --blue-bright:  #3B82F6;
  --blue-light:   #93C5FD;
  --blue-pale:    #EFF6FF;
  --blue-tint:    #EFF6FF;
  --ink:          #0F172A;
  --body:         #1E293B;
  --muted:        #64748B;
  --border:       #BFDBFE;
  --white:        #FFFFFF;
  --off-white:    #F8FAFC;
  --coral:        #FF6B6B;
  --amber:        #FBBF24;
  --mint:         #34D399;
  --violet:       #8B5CF6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Sora', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; }

.gradient-text {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-fun {
  background: linear-gradient(135deg, var(--coral) 0%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
  color: white; transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(30,58,138,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(30,58,138,0.35); }

.btn-green {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-light) 100%);
  color: var(--navy); transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(59,130,246,0.3); font-weight: 700;
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59,130,246,0.4); }

.btn-outline {
  border: 1.5px solid var(--border); color: var(--navy);
  background: white; transition: all 0.25s ease;
}
.btn-outline:hover { border-color: var(--blue-bright); background: var(--blue-tint); }

.btn-fun {
  background: linear-gradient(135deg, var(--coral) 0%, #FF8E53 100%);
  color: white; transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 4px 20px rgba(255,107,107,0.35);
}
.btn-fun:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 30px rgba(255,107,107,0.45); }

.card { background: white; border: 1px solid var(--border); transition: all 0.3s ease; }
.card:hover { border-color: var(--blue-bright); box-shadow: 0 8px 32px rgba(59,130,246,0.15); transform: translateY(-3px); }

.card-tint { background: var(--blue-tint); border: 1px solid var(--border); }

.navbar { background: rgba(255,255,255,0.93); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-link { color: #334155; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--navy); }

.hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(59,130,246,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(30,58,138,0.06) 0%, transparent 50%),
    var(--off-white);
}

.pill {
  background: white; border: 1px solid var(--border); border-radius: 2rem;
  padding: 0.4rem 1.1rem; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
  color: var(--body); white-space: nowrap; display: inline-flex; align-items: center;
  gap: 0.4rem; box-shadow: 0 2px 8px rgba(30,58,138,0.06);
}

.section-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright);
}

.accent-bar { height: 3px; width: 40px; background: linear-gradient(90deg, var(--blue-bright), var(--blue-light)); border-radius: 2px; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* ── Scroll animations ── */
.aos { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.aos.visible { opacity: 1; transform: translateY(0); }
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }
.aos-delay-4 { transition-delay: 0.4s; }

/* ── Animated blobs ── */
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-20px) scale(1.05); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20px,30px) scale(0.95); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 33% { transform: translate(15px,15px); } 66% { transform: translate(-15px,5px); } }
.blob1 { animation: float1 8s ease-in-out infinite; }
.blob2 { animation: float2 11s ease-in-out infinite; }
.blob3 { animation: float3 14s ease-in-out infinite; }

/* ── Feature cards — light variant (dark background sections) ── */
.feature-card-light {
  position: relative; overflow: hidden; border-radius: 0.75rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; min-height: 48px;
  transition: border-color 0.3s, background 0.3s;
}
.feature-card-light:hover,
.feature-card-light.active { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.35); }
.feature-card-light .fc-front {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1rem; height: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.feature-card-light:hover .fc-front,
.feature-card-light.active .fc-front { opacity: 0; transform: translateY(-6px); }
.feature-card-light .fc-back {
  position: absolute; inset: 0; padding: 0.65rem 1rem;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.95);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 0.75rem;
}
.feature-card-light:hover .fc-back,
.feature-card-light.active .fc-back { opacity: 1; transform: translateY(0); }

/* ── Feature cards — standard variant ── */
.feature-card {
  position: relative; overflow: hidden; border-radius: 1rem;
  background: var(--blue-tint); border: 1px solid var(--border);
  cursor: pointer; min-height: 90px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover,
.feature-card.active { border-color: var(--blue-bright); box-shadow: 0 8px 28px rgba(59,130,246,0.15); }
.feature-card .fc-front {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 1.1rem 1.25rem; height: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.feature-card:hover .fc-front,
.feature-card.active .fc-front { opacity: 0; transform: translateY(-8px); }
.feature-card .fc-back {
  position: absolute; inset: 0; padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; justify-content: center; gap: 0.3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 1rem;
}
.feature-card:hover .fc-back,
.feature-card.active .fc-back { opacity: 1; transform: translateY(0); }

/* ── FC cards (seminar + new-website pages) ── */
.fc {
  position: relative; overflow: hidden; border-radius: 1.25rem;
  cursor: pointer; min-height: 110px;
  transition: box-shadow 0.3s, transform 0.3s;
  background: white; border: 1px solid var(--border);
}
.fc:hover,
.fc.active { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(59,130,246,0.15); }
.fc .fc-front {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1.25rem 1.4rem; height: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fc:hover .fc-front,
.fc.active .fc-front { opacity: 0; transform: translateY(-10px); }
.fc .fc-back {
  position: absolute; inset: 0; padding: 1.25rem 1.4rem;
  display: flex; flex-direction: column; justify-content: center; gap: 0.35rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
}
.fc:hover .fc-back,
.fc.active .fc-back { opacity: 1; transform: translateY(0); }

/* ── Step cards ── */
.step-card {
  background: white; border: 2px solid var(--border); border-radius: 1.5rem;
  padding: 2rem; transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1); cursor: default;
}
.step-card:hover { border-color: var(--blue-bright); transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 20px 50px rgba(59,130,246,0.18); }

/* ── Check list items ── */
.check-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.9rem 1rem; border-radius: 0.9rem; transition: background 0.2s;
}
.check-item:hover { background: var(--blue-tint); }

/* ── Footer ── */
footer { background: var(--navy); color: rgba(255,255,255,0.65); }
.footer-heading { color: white; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-link { font-size: 0.875rem; transition: color 0.2s; display: block; margin-bottom: 0.65rem; color: rgba(255,255,255,0.6); }
.footer-link:hover { color: var(--blue-light); }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

#mobile-menu { display: none; }
#mobile-menu.open { display: block; }
